Skip to content

Commit b3863cd

Browse files
committed
Add 1.0 to the list of supported versions
1 parent 0e3837a commit b3863cd

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ to use the gem.
3232
The current version of this gem supports *all* the following versions of
3333
BigBlueButton:
3434

35+
* 1.0
3536
* 0.9 (includes all 0.9.x)
3637
* 0.81
3738
* 0.8
@@ -93,4 +94,3 @@ Contact:
9394
* Mconf: A scalable opensource multiconference system for web and mobile devices
9495
* PRAV Labs - UFRGS - Porto Alegre - Brazil
9596
* http://www.inf.ufrgs.br/prav/gtmconf
96-

lib/bigbluebutton_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class BigBlueButtonApi
6868
# salt:: Secret salt for this server
6969
# version:: API version e.g. 0.81
7070
def initialize(url, salt, version=nil, debug=false)
71-
@supported_versions = ['0.8', '0.81', '0.9']
71+
@supported_versions = ['0.8', '0.81', '0.9', '1.0']
7272
@url = url
7373
@salt = salt
7474
@debug = debug

spec/bigbluebutton_api_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
end
4646

4747
it "when the version is higher than thew highest supported, use the highest supported" do
48-
BigBlueButton::BigBlueButtonApi.new(url, salt, "5.0", nil).version.should eql('0.9')
48+
BigBlueButton::BigBlueButtonApi.new(url, salt, "5.0", nil).version.should eql('1.0')
4949
end
5050

5151
it "compares versions in the format 'x.xx' properly" do
@@ -61,7 +61,7 @@
6161
BigBlueButton::BigBlueButtonApi.any_instance.should_receive(:get_api_version).and_return("0.9")
6262
}
6363
subject { BigBlueButton::BigBlueButtonApi.new(url, salt) }
64-
it { subject.supported_versions.should == ["0.8", "0.81", "0.9"] }
64+
it { subject.supported_versions.should == ["0.8", "0.81", "0.9", "1.0"] }
6565
end
6666
end
6767

0 commit comments

Comments
 (0)