bigbluebutton_rails 1.4.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +10 -1
  4. data/CHANGELOG.md +259 -0
  5. data/Gemfile +14 -19
  6. data/Gemfile.lock +194 -188
  7. data/README.md +416 -0
  8. data/Rakefile +12 -12
  9. data/TODO.md +13 -0
  10. data/app/controllers/bigbluebutton/playback_types_controller.rb +44 -0
  11. data/app/controllers/bigbluebutton/recordings_controller.rb +17 -10
  12. data/app/controllers/bigbluebutton/rooms_controller.rb +65 -36
  13. data/app/controllers/bigbluebutton/servers_controller.rb +12 -8
  14. data/app/models/bigbluebutton_metadata.rb +1 -1
  15. data/app/models/bigbluebutton_playback_format.rb +22 -1
  16. data/app/models/bigbluebutton_playback_type.rb +29 -0
  17. data/app/models/bigbluebutton_recording.rb +38 -19
  18. data/app/models/bigbluebutton_room.rb +150 -73
  19. data/app/models/bigbluebutton_room_options.rb +10 -7
  20. data/app/models/bigbluebutton_server.rb +69 -13
  21. data/app/models/bigbluebutton_server_config.rb +49 -0
  22. data/app/views/bigbluebutton/recordings/_form.html.erb +4 -0
  23. data/app/views/bigbluebutton/recordings/_recordings.html.erb +10 -3
  24. data/app/views/bigbluebutton/rooms/_form.html.erb +18 -6
  25. data/app/views/bigbluebutton/rooms/_rooms.html.erb +6 -3
  26. data/app/views/bigbluebutton/rooms/invite.html.erb +5 -5
  27. data/app/views/bigbluebutton/rooms/show.html.erb +18 -6
  28. data/app/views/bigbluebutton/servers/_form.html.erb +1 -1
  29. data/app/views/bigbluebutton/servers/show.html.erb +5 -0
  30. data/app/workers/bigbluebutton_finish_meetings.rb +11 -0
  31. data/app/workers/bigbluebutton_update_recordings.rb +11 -0
  32. data/app/workers/bigbluebutton_update_server_configs.rb +18 -0
  33. data/bigbluebutton_rails.gemspec +8 -7
  34. data/config/locales/en.yml +52 -7
  35. data/config/locales/pt-br.yml +162 -0
  36. data/config/resque/resque.rake +27 -0
  37. data/config/resque/workers_schedule.yml +17 -0
  38. data/lib/bigbluebutton_rails.rb +30 -2
  39. data/lib/bigbluebutton_rails/background_tasks.rb +31 -0
  40. data/lib/bigbluebutton_rails/controller_methods.rb +12 -8
  41. data/lib/bigbluebutton_rails/dial_number.rb +48 -0
  42. data/lib/bigbluebutton_rails/rails/routes.rb +9 -2
  43. data/lib/bigbluebutton_rails/utils.rb +9 -2
  44. data/lib/bigbluebutton_rails/version.rb +1 -1
  45. data/lib/generators/bigbluebutton_rails/install_generator.rb +0 -8
  46. data/lib/generators/bigbluebutton_rails/templates/migration.rb +28 -6
  47. data/lib/generators/bigbluebutton_rails/templates/migration_2_0_0.rb +56 -0
  48. data/lib/tasks/bigbluebutton_rails/meetings.rake +1 -13
  49. data/lib/tasks/bigbluebutton_rails/recordings.rake +1 -12
  50. data/lib/tasks/bigbluebutton_rails/server_configs.rake +10 -0
  51. data/spec/bigbluebutton_rails_spec.rb +0 -13
  52. data/spec/controllers/bigbluebutton/playback_types_controller_spec.rb +76 -0
  53. data/spec/controllers/bigbluebutton/recordings_controller_spec.rb +109 -37
  54. data/spec/controllers/bigbluebutton/rooms_controller_exception_handling_spec.rb +1 -0
  55. data/spec/controllers/bigbluebutton/rooms_controller_json_responses_spec.rb +27 -3
  56. data/spec/controllers/bigbluebutton/rooms_controller_spec.rb +338 -77
  57. data/spec/controllers/bigbluebutton/servers_controller_json_responses_spec.rb +8 -0
  58. data/spec/controllers/bigbluebutton/servers_controller_spec.rb +182 -47
  59. data/spec/factories/bigbluebutton_meeting.rb +2 -2
  60. data/spec/factories/bigbluebutton_playback_format.rb +2 -2
  61. data/spec/factories/bigbluebutton_playback_type.rb +7 -0
  62. data/spec/factories/bigbluebutton_recording.rb +8 -0
  63. data/spec/factories/bigbluebutton_room.rb +10 -3
  64. data/spec/factories/bigbluebutton_server.rb +6 -1
  65. data/spec/factories/bigbluebutton_server_config.rb +6 -0
  66. data/spec/generators/install_generator_spec.rb +0 -16
  67. data/spec/lib/bigbluebutton_rails/background_tasks_spec.rb +61 -0
  68. data/spec/lib/bigbluebutton_rails/dial_number_spec.rb +78 -0
  69. data/spec/lib/bigbluebutton_rails/utils_spec.rb +56 -0
  70. data/spec/lib/tasks/meetings_rake_spec.rb +14 -1
  71. data/spec/lib/tasks/recordings_rake_spec.rb +14 -1
  72. data/spec/models/bigbluebutton_meeting_db_spec.rb +3 -3
  73. data/spec/models/bigbluebutton_meeting_spec.rb +4 -4
  74. data/spec/models/bigbluebutton_playback_format_db_spec.rb +0 -1
  75. data/spec/models/bigbluebutton_playback_format_spec.rb +75 -4
  76. data/spec/models/bigbluebutton_playback_type_db_spec.rb +14 -0
  77. data/spec/models/bigbluebutton_playback_type_spec.rb +76 -0
  78. data/spec/models/bigbluebutton_recording_db_spec.rb +3 -1
  79. data/spec/models/bigbluebutton_recording_spec.rb +234 -58
  80. data/spec/models/bigbluebutton_room_db_spec.rb +8 -6
  81. data/spec/models/bigbluebutton_room_options_db_spec.rb +1 -0
  82. data/spec/models/bigbluebutton_room_options_spec.rb +137 -38
  83. data/spec/models/bigbluebutton_room_spec.rb +540 -153
  84. data/spec/models/bigbluebutton_server_config_spec.rb +115 -0
  85. data/spec/models/bigbluebutton_server_spec.rb +180 -23
  86. data/spec/rails_app/app/controllers/my_playback_types_controller.rb +7 -0
  87. data/spec/rails_app/app/views/frontpage/show.html.erb +1 -0
  88. data/spec/rails_app/app/views/my_playback_types/index.html.erb +33 -0
  89. data/spec/rails_app/config/application.rb +0 -3
  90. data/spec/rails_app/config/database.yml.travis +10 -0
  91. data/spec/rails_app/config/environments/development.rb +1 -6
  92. data/spec/rails_app/config/environments/production.rb +2 -0
  93. data/spec/rails_app/config/environments/test.rb +2 -0
  94. data/spec/rails_app/config/routes.rb +5 -2
  95. data/spec/rails_app/db/seeds.rb +1 -1
  96. data/spec/rails_app/features/config.yml.example +3 -4
  97. data/spec/rails_app/features/join_rooms.feature +14 -14
  98. data/spec/rails_app/features/step_definitions/activity_monitor_servers_step.rb +2 -2
  99. data/spec/rails_app/features/step_definitions/create_rooms_steps.rb +4 -4
  100. data/spec/rails_app/features/step_definitions/destroy_rooms_steps.rb +2 -2
  101. data/spec/rails_app/features/step_definitions/join_rooms_steps.rb +10 -10
  102. data/spec/rails_app/features/step_definitions/web_steps.rb +2 -2
  103. data/spec/rails_app/features/support/configurations.rb +1 -1
  104. data/spec/rails_app/features/support/templates.rb +12 -12
  105. data/spec/rails_app/lib/tasks/db/populate.rake +19 -6
  106. data/spec/routing/bigbluebutton/custom_controllers_routing_spec.rb +1 -1
  107. data/spec/routing/bigbluebutton/recordings_only_routing_spec.rb +2 -2
  108. data/spec/routing/bigbluebutton/recordings_routing_spec.rb +2 -2
  109. data/spec/routing/bigbluebutton/rooms_only_routing_spec.rb +1 -1
  110. data/spec/routing/bigbluebutton/rooms_routing_spec.rb +15 -1
  111. data/spec/routing/bigbluebutton/servers_only_routing_spec.rb +1 -1
  112. data/spec/routing/bigbluebutton/servers_routing_spec.rb +1 -1
  113. data/spec/spec_helper.rb +23 -31
  114. data/spec/support/matchers/delegate_matcher.rb +8 -1
  115. data/spec/support/matchers/shoulda/respond_with_json_matcher.rb +2 -2
  116. data/spec/support/mocked_server.rb +2 -0
  117. data/spec/support/shared_contexts/rake.rb +23 -0
  118. data/spec/workers/bigbluebutton_finish_meetings_spec.rb +14 -0
  119. data/spec/workers/bigbluebutton_update_recordings_spec.rb +14 -0
  120. data/spec/workers/bigbluebutton_update_server_configs_spec.rb +47 -0
  121. metadata +70 -59
  122. data/CHANGELOG.rdoc +0 -111
  123. data/README.rdoc +0 -319
  124. data/TODO.rdoc +0 -16
  125. data/config/schedule.rb +0 -7
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c9687e5b7cb9d7a46841c69500d2e9cc5362be38
4
+ data.tar.gz: 914f67a881910033c18550e2dc239c056ac12ca9
5
+ SHA512:
6
+ metadata.gz: 47dc457d18c9fed76fe02fb491eeaeaab33114af0e953a2b0da256296bd3eeb8a79c7640f995a1a1ac080d78dab14889305f6c29590e6bdbe1153a70ea0c9d59
7
+ data.tar.gz: 07b8fae4cc3b53ba89403dcd15f1c9486e5f5d13af88b87473c6d6a46199a9ae47400c51a4eb1a908f8059647190066778ed5c8b7637063f3f931b9ee2325bb8
@@ -1 +1 @@
1
- 1.9.3-p484
1
+ 2.2.0
@@ -1,4 +1,13 @@
1
+ sudo: false
2
+ language: ruby
3
+ bundler_args: "--without production development"
4
+ before_script:
5
+ - "cp spec/rails_app/config/database.yml.travis spec/rails_app/config/database.yml"
6
+ - "mysql -e 'create database bigbluebutton_rails_test;'"
7
+ - "mysql -e 'create database bigbluebutton_rails_dev;'"
8
+ cache: bundler
1
9
  script: "bundle exec rake rails_app:install rails_app:db spec"
2
10
  rvm:
3
- - 1.9.2
11
+ - 2.1.2
12
+ - 2.2.0
4
13
  - 1.9.3
@@ -0,0 +1,259 @@
1
+ # Change Log
2
+
3
+ ## [2.0.0] - 2016-04-07
4
+
5
+ To learn how to migrate to 2.0.0 see:
6
+ https://github.com/mconf/bigbluebutton_rails/wiki/Migrate-to-2.0.0
7
+
8
+ * New dependencies: `resque-scheduler` (to schedule background jobs).
9
+ * Dependencies removed: `whenever`.
10
+ * Updated the default ruby to 2.2.0.
11
+ * Updated to Rails 4, won't work with older versions.
12
+ * [#1637] Support for BigBlueButton 0.9 (includes all 0.9.x).
13
+ * Add 1.0 as a supported version of BigBlueButton.
14
+ * Drop support for BigBlueButton 0.7.
15
+ * [#827] Meeting "passwords" are now called "keys" to make it explicit that they
16
+ are not real passwords.
17
+ * [#828] Meeting keys sent to API calls are now separate from the keys defined by
18
+ the users. The ones defined by the users are used internally only; the
19
+ ones sent in API calls are generated by the gem. Meeting keys now can be changed
20
+ while a meeting is running without breaking API calls.
21
+ * [#722] Use the API parameter `createTime` in all `join` API calls to prevent
22
+ URLs from being reused.
23
+ * [#722] Use the API parameter `userID` in all `join` API calls.
24
+ * [#1142, #1482] Improve the names for playback types, that now won't show up as the
25
+ keys defined in BigBlueButton (e.g. `presentation`) but as a translated string defined
26
+ in the locale files. Also added tooltips to explain what each playback format does.
27
+ * [#1140, #1141] Fetch and store default web conference configurations. The gem now keeps
28
+ information related to the server's configurations (currently only the list of
29
+ available layouts) so that this information can be used by the application. The information
30
+ is updated automatically every hour or whenever a server is updated (e.g. a new salt is
31
+ configured).
32
+ * [#1532] Fix join redirecting to the desktop client on tablets.
33
+ * [#1475] Fix issues when servers are removed and improve how a server is associated
34
+ with a room, which is now more dynamic.
35
+ * [#915] Set recordings as unavailable only for the target server when synchronizing
36
+ the recordings of the server. Previously it would set all recordings from other servers
37
+ as unavailable.
38
+ * [#1571] Add localization of layout names.
39
+ * [#1616] Add the metadata `invitation-url` to create calls. Used to store the URL of
40
+ a room in a recording's metadata.
41
+ * [#606] Always call `end` before creating a new meeting. This prevents a meeting create
42
+ from failing after parameters changed (e.g. access key).
43
+ * [#1686, #1787] Automatically set the version number of a server (taken from the API) instead
44
+ of requiring it to be specified manually.
45
+ * [#1703] Add option to set the background image of a conference room.
46
+ * [#1823] Include methods to help applications generate unique dial numbers.
47
+ * [#1707] Speed up tests, mostly by using the gem `webmock`.
48
+ * Join calls now use the parameter `createTime`. See
49
+ http://docs.bigbluebutton.org/dev/api.html#join
50
+ * Rename `BigbluebuttonMeeting#record` to `#recorded` and `BigbluebuttonRoom#record`
51
+ to `#record_meeting` to prevent conflicts with Rails.
52
+ * Add translation to pt-br.
53
+ * Add attribute `size` to recordings (currently on Mconf-Live only). Works
54
+ even if the web conference server doesn't have it.
55
+ * Removed the name uniqueness requirement for a room, since this parameter is not
56
+ necessarily unique in BigBlueButton.
57
+ * Don't generate voice bridges automatically, let the web conference server generate
58
+ it. It's still possible to set custom voice bridges, but the gem will not generate
59
+ them anymore.
60
+ * Show the dial number in the welcome message if there's a dial number set in the room.
61
+ * Set defaults for `auto_start_recording` and `allow_start_stop_recording` following the
62
+ defaults in BigBlueButton.
63
+ * Accept HTTPS as the web conference server protocol.
64
+ * Fix setting `false` values in `config.xml` options.
65
+ * Fix room delegates to server when the server is nil.
66
+
67
+
68
+ ## [1.4.0] - 2014-09-28
69
+
70
+ To learn how to migrate to 1.4.0 see:
71
+ https://github.com/mconf/bigbluebutton_rails/wiki/Migrate-to-1.4.0
72
+
73
+ * New dependencies:
74
+ * resque: To keep track of meetings that happened.
75
+ * strong_parameters: To allow controllers to decide which parameters can
76
+ be modified and which can't. Default in Rails 4, should also be used
77
+ in Rails 3.
78
+ * With strong_parameters in all controllers now the application can decide
79
+ which parameters can be accessed and which can't. You can have different
80
+ logics for different types of users.
81
+ * Use `params[:redir_url]` (if present) to redirect the user to a custom URL
82
+ in all actions where possible. This can be set by the application to
83
+ redirect the user to a custom location after updating a model, for
84
+ instance.
85
+ * Register meetings that happened: new model `BigbluebuttonMeeting` that
86
+ stores instances of meetings that happened in a room. Uses resque to
87
+ monitor when meetings started. They are also associated with recordings,
88
+ so the application can show a registry of meetings that happened and their
89
+ respective recording.
90
+ * MySQL as a default database (was sqlite).
91
+ * First logic layout to set a custom config.xml when joining a room:
92
+ * Every room has an associated BigbluebuttonRoomOptions model;
93
+ * This model contains custom options that will be set in the config.xml
94
+ when a user joins the associated room;
95
+ * When the user joins, the library will get the default config.xml from
96
+ the server, modify it according to the BigbluebuttonRoomOptions, and
97
+ set it on the server to use it in the `join` API call;
98
+ * Currently the only parameters that can be customized are: `default
99
+ layout`, `presenter_share_only`, `auto_start_audio`, and
100
+ `auto_start_video`.
101
+ * Fixed the mobile urls generated in `join_mobile`.
102
+ * Updated ruby to 1.9.3-p484.
103
+ * New controller method `bigbluebutton_create_options`. Can return a hash of
104
+ parameters that will override the parameters in the database when sending
105
+ a create call. Can be used to force some options when creating a meeting
106
+ without needing to save it to the database.
107
+ * Removed the routes to join external rooms. This feature was never really
108
+ used, so was just consuming space and time. Removed the actions
109
+ `RoomsController#external` and `RoomsController#external_auth`. The flag
110
+ `external` in `BigbluebuttonRoom` is still there, since it is used to
111
+ identify external meetings when fetching the meetings from a server.
112
+ * New logic to join meetings from mobile devices: now there's no specific
113
+ page to join from a mobile. Once /join is called, if the user is in a
114
+ mobile device (detected using the user's "user-agent") then a page will be
115
+ rendered and the user will be automatically redirected to the conference
116
+ using the mobile client. This page has also more information just in case
117
+ the user is not properly redirected (if the mobile client is not
118
+ installed, for example).
119
+ * Removed the login via QR Code.
120
+
121
+ ## [1.3.0] - 2013-07-27
122
+
123
+ To learn how to migrate to 1.3.0 see:
124
+ https://github.com/mconf/bigbluebutton_rails/wiki/Migrate-to-1.3.0
125
+
126
+ * New dependency:
127
+ * whenever: To configure cron to trigger resque.
128
+ * Support for recordings. Details at
129
+ https://github.com/mconf/bigbluebutton_rails/wiki/How-Recordings-Work.
130
+ #459.
131
+ * Updated most of the dependencies to their latest version.
132
+ * Tested against Rails 3.2 (was Rails 3.0).
133
+ * New option `:as` in router helpers (more at
134
+ https://github.com/mconf/bigbluebutton_rails/wiki/How-to%3A-Routes)
135
+ * New option `:only` in router helpers (more at
136
+ https://github.com/mconf/bigbluebutton_rails/wiki/How-to%3A-Routes)
137
+ * Set the HTTP header `x-forwarded-for` with the IP of the client so servers
138
+ can know who is creating/joining a meeting, for example.
139
+ * Removed assets (jquery, image) from the generator and from the gem.
140
+ * Removed the option to randomize meeting IDs, now they are fixed and
141
+ generated as a globally unique meeting ID
142
+ (`"#{SecureRandom.uuid}-#{Time.now.to_i}"`). #734, #735.
143
+ * Added logic to control who can create meetings (method called
144
+ `bigbluebutton_can_create?`).
145
+
146
+ ## [1.2.0] - 2012-05-04
147
+
148
+ * Updated ruby to 1.9.3-194.
149
+ * Support to BigBlueButton 0.8 rc1.
150
+ * Updated bigbluebutton-api-ruby to 1.1.0.
151
+
152
+ ## [1.1.0] - 2012-05-04
153
+
154
+ * Rooms are now decoupled from servers:
155
+ * A room can exist without a server;
156
+ * Everytime a 'send_create' is called in a room, the method
157
+ 'select_server' is called to select a server where the meeting will be
158
+ held. The room is saved if the server changed;
159
+ * The method 'select_server' by default selects the server with less
160
+ rooms;
161
+ * The routes for rooms are not nested with servers anymore
162
+ ('/bigbluebutton/rooms' instead of '/bigbluebutton/server/:id/rooms').
163
+ * Because of this change all path helpers for rooms **must be
164
+ updated!**
165
+ * rooms/external now receives a parameter "server_id" to indicate the server
166
+ in which the external rooms is running. The views were updated.
167
+ * "bigbluebutton_routes :room_matchers" now generates all routes available
168
+ for rooms, not only a selected set as before.
169
+
170
+ ## [1.0.0] - 2012-05-04
171
+
172
+ * First version with support to BigBlueButton 0.8:
173
+ * The support is still very basic: you can use the gem with BBB 0.8 but
174
+ not all features are supported yet, such as pre-upload of slides and
175
+ anything related to recordings.
176
+ * Updated bigbluebutton-api-ruby to 0.1.0 to support BBB 0.8.
177
+ * Added several integration tests.
178
+ * Several small bug fixes
179
+
180
+ ## [0.0.6] - 2011-09-02
181
+
182
+ * After fetch_meetings, the rooms that are not found in the DB are **not**
183
+ saved by default anymore.
184
+ * New action to join external rooms (rooms that are not in the DB but exist
185
+ in the BBB server).
186
+ * Fixed some errors and warnings for Ruby 1.8.
187
+ * Some changes in the logic of RoomsController#auth to enable a user to join
188
+ a room that has a blank password.
189
+ * Improvements in the mobile_join view to show a link that includes user
190
+ authentication. But the QR code is still a bare link to the BBB server.
191
+ * Made some improvements based on tips by rails_best_practices and increased
192
+ the test coverage to 100% for almost all classes.
193
+
194
+
195
+ ## [0.0.5] - 2011-06-21
196
+
197
+ * URLs for both servers and rooms are now defined with a string attribute
198
+ (called "param") instead of the model ID.
199
+ * New return values for bigbluebutton_role: :password and nil.
200
+ * Private rooms now require a password to be valid.
201
+ * New action "join_mobile" for rooms that renders a QR code to join the
202
+ conference using the protocol "bigbluebutton://".
203
+ * New action "activity" for servers that shows a view to monitors a BBB
204
+ server.
205
+ * Added json responses for most of the actions.
206
+ * logout_url can be an incomplete url and it will be completed with the
207
+ current domain/protocol when a room is created in the BBB server.
208
+ * The generator bigbluebutton_rails:public was removed. It's features are
209
+ now inside bigbluebutton_rails:install.
210
+ * After fetch_meetings all rooms are automatically stored in the DB if they
211
+ are not there yet.
212
+
213
+ ## [0.0.4] - 2011-05-16
214
+
215
+ * A random voice_bridge with 5 digits (recommended) is set when a room is
216
+ created.
217
+ * Routes generators now allow specifying custom controllers instead of the
218
+ defaults Bigbluebutton::ServersController and
219
+ Bigbluebutton::RoomsController.
220
+ * Some bug fixes (including fixes for ruby 1.8).
221
+
222
+ ## [0.0.3] - 2011-04-28
223
+
224
+ * Rooms can be public or private
225
+ * New route RoomsController#invite used to request a password to join a room
226
+ or to allow anonymous users to join.
227
+ * Room's "meeting_id" attribute renamed to "meetingid".
228
+ * A room can have it's meetingid randomly generated for each "send_create"
229
+ call if randomize_meetingid is set.
230
+ * New attributes for rooms: logout_url, dial_number, voice_bridge and
231
+ max_participant.
232
+
233
+ ## [0.0.2] - 2011-04-08
234
+
235
+ * New "fetch" and "send" methods in BigbluebuttonRooms to fetch info about
236
+ meetings from BBB and store in the model.
237
+ * New class BigbluebuttonAttendee to store attendee information returned by
238
+ BBB in get_meeting_info.
239
+ * New class BigbluebuttonMeeting to store meeting information returned by
240
+ BBB in get_meetings.
241
+
242
+ ## 0.0.1
243
+
244
+ * First version
245
+ * DB models for BigBlueButton servers and rooms
246
+ * Controller to access servers and rooms
247
+ * rooms_controller interacts with a BBB server using bigbluebutton-api-ruby
248
+
249
+ [2.0.0]: https://github.com/mconf/bigbluebutton_rails/compare/v1.4.0...v2.0.0
250
+ [1.4.0]: https://github.com/mconf/bigbluebutton_rails/compare/v1.3.0...v1.4.0
251
+ [1.3.0]: https://github.com/mconf/bigbluebutton_rails/compare/v1.2.0...v1.3.0
252
+ [1.2.0]: https://github.com/mconf/bigbluebutton_rails/compare/v1.1.0...v1.2.0
253
+ [1.1.0]: https://github.com/mconf/bigbluebutton_rails/compare/v1.0.0...v1.1.0
254
+ [1.0.0]: https://github.com/mconf/bigbluebutton_rails/compare/v0.0.6...v1.0.0
255
+ [0.0.6]: https://github.com/mconf/bigbluebutton_rails/compare/v0.0.5...v0.0.6
256
+ [0.0.5]: https://github.com/mconf/bigbluebutton_rails/compare/v0.0.4...v0.0.5
257
+ [0.0.4]: https://github.com/mconf/bigbluebutton_rails/compare/v0.0.3...v0.0.4
258
+ [0.0.3]: https://github.com/mconf/bigbluebutton_rails/compare/v0.0.2...v0.0.3
259
+ [0.0.2]: https://github.com/mconf/bigbluebutton_rails/compare/v0.0.1...v0.0.2
data/Gemfile CHANGED
@@ -2,15 +2,13 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- gem "strong_parameters"
6
- gem "resque"
7
- gem "browser"
5
+ gem 'mysql2'
6
+ gem "jquery-rails"
7
+ gem "forgery"
8
8
 
9
9
  group :development do
10
- gem "forgery"
11
10
  gem "rdoc"
12
11
  gem "rails_best_practices"
13
- gem "spork-rails"
14
12
  end
15
13
 
16
14
  group :test do
@@ -18,32 +16,29 @@ group :test do
18
16
  gem "simplecov", ">= 0.4.0", :require => false
19
17
  end
20
18
 
19
+ gem 'minitest'
21
20
  gem "cucumber-rails", :require => false
22
21
  gem "database_cleaner"
23
- gem "shoulda-matchers"
22
+ gem 'shoulda-matchers', '~> 2.6.1'
24
23
  gem "factory_girl"
25
24
  gem "generator_spec"
26
- gem "rspec-rails"
25
+ gem "rspec-rails", '~> 2.99.0'
26
+ gem 'rspec-activemodel-mocks'
27
27
  gem "bbbot-ruby", :git => "git://github.com/mconf/bbbot-ruby.git"
28
+ gem "capybara", "~> 2.2.0"
29
+ gem "capybara-mechanize" # for remote requests
30
+ gem "capybara-webkit" # best option found for js
31
+ gem "launchy"
32
+ gem "webmock"
28
33
 
29
34
  # to use redis in-memory and clean it in-between tests, used for resque
30
35
  gem "fakeredis", :require => "fakeredis/rspec"
31
-
32
- gem "capybara", "~> 2.0.0"
33
- gem "capybara-mechanize", "~> 1.0.0" # for remote requests
34
- gem "capybara-webkit" # best option found for js
35
- gem "launchy"
36
36
  end
37
37
 
38
38
  # Gems used by the test application
39
39
  group :assets do
40
- gem 'sass-rails', '~> 3.2.3'
41
- gem 'coffee-rails', '~> 3.2.1'
40
+ gem 'sass-rails', '~> 4.0.0'
41
+ gem 'coffee-rails', '~> 4.0.0'
42
42
  gem 'therubyracer', '~> 0.12.0'
43
43
  gem 'uglifier', '>= 1.0.3'
44
44
  end
45
- group :development do
46
- gem 'mysql2'
47
- gem "jquery-rails"
48
- gem "whenever"
49
- end
@@ -1,134 +1,127 @@
1
1
  GIT
2
2
  remote: git://github.com/mconf/bbbot-ruby.git
3
- revision: 506444359a5c2921718ccb13c7786ebe7e9109b2
3
+ revision: fcfd8c4c71371653335a46d7462ee14a9301f546
4
4
  specs:
5
5
  bbbot-ruby (0.0.1)
6
6
 
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- bigbluebutton_rails (1.4.0)
11
- bigbluebutton-api-ruby (~> 1.3.0)
12
- browser (~> 0.5.0)
13
- rails (>= 3.0.0)
10
+ bigbluebutton_rails (2.0.0)
11
+ bigbluebutton-api-ruby (~> 1.4.0)
12
+ browser (~> 0.8.0)
13
+ rails (>= 4.0.0)
14
14
  resque (~> 1.25.1)
15
- strong_parameters (~> 0.2.0)
15
+ resque-scheduler (~> 3.0)
16
16
 
17
17
  GEM
18
18
  remote: http://rubygems.org/
19
19
  specs:
20
- actionmailer (3.2.9)
21
- actionpack (= 3.2.9)
22
- mail (~> 2.4.4)
23
- actionpack (3.2.9)
24
- activemodel (= 3.2.9)
25
- activesupport (= 3.2.9)
26
- builder (~> 3.0.0)
20
+ actionmailer (4.1.4)
21
+ actionpack (= 4.1.4)
22
+ actionview (= 4.1.4)
23
+ mail (~> 2.5.4)
24
+ actionpack (4.1.4)
25
+ actionview (= 4.1.4)
26
+ activesupport (= 4.1.4)
27
+ rack (~> 1.5.2)
28
+ rack-test (~> 0.6.2)
29
+ actionview (4.1.4)
30
+ activesupport (= 4.1.4)
31
+ builder (~> 3.1)
27
32
  erubis (~> 2.7.0)
28
- journey (~> 1.0.4)
29
- rack (~> 1.4.0)
30
- rack-cache (~> 1.2)
31
- rack-test (~> 0.6.1)
32
- sprockets (~> 2.2.1)
33
- activemodel (3.2.9)
34
- activesupport (= 3.2.9)
35
- builder (~> 3.0.0)
36
- activerecord (3.2.9)
37
- activemodel (= 3.2.9)
38
- activesupport (= 3.2.9)
39
- arel (~> 3.0.2)
40
- tzinfo (~> 0.3.29)
41
- activeresource (3.2.9)
42
- activemodel (= 3.2.9)
43
- activesupport (= 3.2.9)
44
- activesupport (3.2.9)
45
- i18n (~> 0.6)
46
- multi_json (~> 1.0)
47
- addressable (2.3.2)
48
- arel (3.0.2)
49
- awesome_print (1.1.0)
50
- bigbluebutton-api-ruby (1.3.0)
33
+ activemodel (4.1.4)
34
+ activesupport (= 4.1.4)
35
+ builder (~> 3.1)
36
+ activerecord (4.1.4)
37
+ activemodel (= 4.1.4)
38
+ activesupport (= 4.1.4)
39
+ arel (~> 5.0.0)
40
+ activesupport (4.1.4)
41
+ i18n (~> 0.6, >= 0.6.9)
42
+ json (~> 1.7, >= 1.7.7)
43
+ minitest (~> 5.1)
44
+ thread_safe (~> 0.1)
45
+ tzinfo (~> 1.1)
46
+ addressable (2.3.6)
47
+ arel (5.0.1.20140414130214)
48
+ awesome_print (1.2.0)
49
+ bigbluebutton-api-ruby (1.4.0)
51
50
  xml-simple (>= 1.1.1)
52
- browser (0.5.0)
53
- builder (3.0.4)
54
- capybara (2.0.3)
51
+ browser (0.8.0)
52
+ builder (3.2.2)
53
+ capybara (2.2.1)
55
54
  mime-types (>= 1.16)
56
55
  nokogiri (>= 1.3.3)
57
56
  rack (>= 1.0.0)
58
57
  rack-test (>= 0.5.4)
59
- selenium-webdriver (~> 2.0)
60
- xpath (~> 1.0.0)
58
+ xpath (~> 2.0)
61
59
  capybara-mechanize (1.0.1)
62
60
  capybara (~> 2.0, >= 2.0.1)
63
61
  mechanize (~> 2.5)
64
- capybara-webkit (0.14.2)
65
- capybara (~> 2.0, >= 2.0.2)
62
+ capybara-webkit (1.2.0)
63
+ capybara (>= 2.0.2, < 2.4.0)
66
64
  json
67
- childprocess (0.3.9)
68
- ffi (~> 1.0, >= 1.0.11)
69
- chronic (0.9.0)
70
- code_analyzer (0.3.0)
65
+ code_analyzer (0.4.5)
71
66
  sexp_processor
72
- coffee-rails (3.2.2)
67
+ coffee-rails (4.0.1)
73
68
  coffee-script (>= 2.2.0)
74
- railties (~> 3.2.0)
75
- coffee-script (2.2.0)
69
+ railties (>= 4.0.0, < 5.0)
70
+ coffee-script (2.3.0)
76
71
  coffee-script-source
77
72
  execjs
78
- coffee-script-source (1.4.0)
73
+ coffee-script-source (1.7.1)
79
74
  colored (1.2)
80
- cucumber (1.3.2)
75
+ crack (0.4.2)
76
+ safe_yaml (~> 1.0.0)
77
+ cucumber (1.3.15)
81
78
  builder (>= 2.1.2)
82
79
  diff-lcs (>= 1.1.3)
83
- gherkin (~> 2.12.0)
84
- multi_json (~> 1.3)
85
- cucumber-rails (1.4.0)
86
- capybara (>= 1.1.2)
87
- cucumber (>= 1.2.0)
88
- nokogiri (>= 1.5.0)
89
- rails (>= 3.0.0)
90
- database_cleaner (0.9.1)
91
- diff-lcs (1.1.3)
92
- domain_name (0.5.13)
80
+ gherkin (~> 2.12)
81
+ multi_json (>= 1.7.5, < 2.0)
82
+ multi_test (>= 0.1.1)
83
+ cucumber-rails (1.4.1)
84
+ capybara (>= 1.1.2, < 3)
85
+ cucumber (>= 1.3.8, < 2)
86
+ mime-types (~> 1.16)
87
+ nokogiri (~> 1.5)
88
+ rails (>= 3, < 5)
89
+ database_cleaner (1.3.0)
90
+ diff-lcs (1.2.5)
91
+ docile (1.1.5)
92
+ domain_name (0.5.19)
93
93
  unf (>= 0.0.5, < 1.0.0)
94
94
  erubis (2.7.0)
95
- execjs (1.4.0)
96
- multi_json (~> 1.0)
97
- factory_girl (4.1.0)
95
+ execjs (2.2.1)
96
+ factory_girl (4.4.0)
98
97
  activesupport (>= 3.0.0)
99
- fakeredis (0.4.2)
100
- redis (~> 3.0.0)
101
- ffi (1.1.5)
102
- ffi (1.1.5-java)
103
- forgery (0.5.0)
104
- generator_spec (0.8.7)
105
- activerecord (>= 3.0, < 4.0)
106
- railties (>= 3.0, < 4.0)
107
- gherkin (2.12.1)
98
+ fakeredis (0.5.0)
99
+ redis (~> 3.0)
100
+ ffi (1.9.3-java)
101
+ forgery (0.6.0)
102
+ generator_spec (0.9.2)
103
+ activesupport (>= 3.0.0)
104
+ railties (>= 3.0.0)
105
+ gherkin (2.12.2)
108
106
  multi_json (~> 1.3)
109
- gherkin (2.12.1-java)
107
+ gherkin (2.12.2-java)
110
108
  multi_json (~> 1.3)
111
- hike (1.2.1)
109
+ hike (1.2.3)
112
110
  http-cookie (1.0.2)
113
111
  domain_name (~> 0.5)
114
- i18n (0.6.1)
115
- journey (1.0.4)
116
- jquery-rails (2.1.4)
112
+ i18n (0.6.11)
113
+ jquery-rails (2.3.0)
117
114
  railties (>= 3.0, < 5.0)
118
115
  thor (>= 0.14, < 2.0)
119
- json (1.7.5)
120
- json (1.7.5-java)
121
- launchy (2.1.2)
116
+ json (1.8.1)
117
+ json (1.8.1-java)
118
+ launchy (2.4.2)
122
119
  addressable (~> 2.3)
123
- launchy (2.1.2-java)
120
+ launchy (2.4.2-java)
124
121
  addressable (~> 2.3)
125
- ffi (~> 1.1.1)
126
122
  spoon (~> 0.0.1)
127
123
  libv8 (3.16.14.3)
128
- libwebsocket (0.1.5)
129
- addressable
130
- mail (2.4.4)
131
- i18n (>= 0.4.0)
124
+ mail (2.5.4)
132
125
  mime-types (~> 1.16)
133
126
  treetop (~> 1.4.8)
134
127
  mechanize (2.7.2)
@@ -140,133 +133,148 @@ GEM
140
133
  nokogiri (~> 1.4)
141
134
  ntlm-http (~> 0.1, >= 0.1.1)
142
135
  webrobots (>= 0.0.9, < 0.2)
143
- mime-types (1.19)
136
+ mime-types (1.25.1)
137
+ mini_portile (0.6.0)
138
+ minitest (5.4.0)
144
139
  mono_logger (1.1.0)
145
- multi_json (1.3.7)
146
- mysql2 (0.3.13)
140
+ multi_json (1.10.1)
141
+ multi_test (0.1.1)
142
+ mysql2 (0.3.16)
147
143
  net-http-digest_auth (1.4)
148
- net-http-persistent (2.9)
149
- nokogiri (1.5.5)
150
- nokogiri (1.5.5-java)
144
+ net-http-persistent (2.9.4)
145
+ nokogiri (1.6.2.1)
146
+ mini_portile (= 0.6.0)
147
+ nokogiri (1.6.2.1-java)
151
148
  ntlm-http (0.1.1)
152
- polyglot (0.3.3)
153
- progressbar (0.11.0)
154
- rack (1.4.1)
155
- rack-cache (1.2)
156
- rack (>= 0.4)
157
- rack-protection (1.5.0)
158
- rack
159
- rack-ssl (1.3.2)
149
+ polyglot (0.3.5)
150
+ rack (1.5.2)
151
+ rack-protection (1.5.3)
160
152
  rack
161
153
  rack-test (0.6.2)
162
154
  rack (>= 1.0)
163
- rails (3.2.9)
164
- actionmailer (= 3.2.9)
165
- actionpack (= 3.2.9)
166
- activerecord (= 3.2.9)
167
- activeresource (= 3.2.9)
168
- activesupport (= 3.2.9)
169
- bundler (~> 1.0)
170
- railties (= 3.2.9)
171
- rails_best_practices (1.12.0)
155
+ rails (4.1.4)
156
+ actionmailer (= 4.1.4)
157
+ actionpack (= 4.1.4)
158
+ actionview (= 4.1.4)
159
+ activemodel (= 4.1.4)
160
+ activerecord (= 4.1.4)
161
+ activesupport (= 4.1.4)
162
+ bundler (>= 1.3.0, < 2.0)
163
+ railties (= 4.1.4)
164
+ sprockets-rails (~> 2.0)
165
+ rails_best_practices (1.15.4)
172
166
  activesupport
173
167
  awesome_print
174
- code_analyzer
168
+ code_analyzer (>= 0.4.3)
175
169
  colored
176
170
  erubis
177
171
  i18n
178
- progressbar
179
- railties (3.2.9)
180
- actionpack (= 3.2.9)
181
- activesupport (= 3.2.9)
182
- rack-ssl (~> 1.3.2)
172
+ json
173
+ require_all
174
+ ruby-progressbar
175
+ railties (4.1.4)
176
+ actionpack (= 4.1.4)
177
+ activesupport (= 4.1.4)
183
178
  rake (>= 0.8.7)
184
- rdoc (~> 3.4)
185
- thor (>= 0.14.6, < 2.0)
186
- rake (10.0.1)
187
- rdoc (3.12)
179
+ thor (>= 0.18.1, < 2.0)
180
+ rake (10.3.2)
181
+ rdoc (4.1.1)
188
182
  json (~> 1.4)
189
- redis (3.0.5)
190
- redis-namespace (1.3.1)
191
- redis (~> 3.0.0)
183
+ redis (3.1.0)
184
+ redis-namespace (1.5.2)
185
+ redis (~> 3.0, >= 3.0.4)
192
186
  ref (1.0.5)
193
- resque (1.25.1)
187
+ require_all (1.3.2)
188
+ resque (1.25.2)
194
189
  mono_logger (~> 1.0)
195
190
  multi_json (~> 1.0)
196
- redis-namespace (~> 1.2)
191
+ redis-namespace (~> 1.3)
197
192
  sinatra (>= 0.9.2)
198
193
  vegas (~> 0.1.2)
199
- rspec-core (2.14.4)
200
- rspec-expectations (2.14.0)
194
+ resque-scheduler (3.1.0)
195
+ mono_logger (~> 1.0)
196
+ redis (~> 3.0)
197
+ resque (~> 1.25)
198
+ rufus-scheduler (~> 2.0)
199
+ rspec-activemodel-mocks (1.0.1)
200
+ activemodel (>= 3.0)
201
+ activesupport (>= 3.0)
202
+ rspec-mocks (>= 2.99, < 4.0)
203
+ rspec-collection_matchers (1.0.0)
204
+ rspec-expectations (>= 2.99.0.beta1)
205
+ rspec-core (2.99.1)
206
+ rspec-expectations (2.99.1)
201
207
  diff-lcs (>= 1.1.3, < 2.0)
202
- rspec-mocks (2.14.2)
203
- rspec-rails (2.14.0)
208
+ rspec-mocks (2.99.1)
209
+ rspec-rails (2.99.0)
204
210
  actionpack (>= 3.0)
211
+ activemodel (>= 3.0)
205
212
  activesupport (>= 3.0)
206
213
  railties (>= 3.0)
207
- rspec-core (~> 2.14.0)
208
- rspec-expectations (~> 2.14.0)
209
- rspec-mocks (~> 2.14.0)
210
- rubyzip (0.9.9)
211
- sass (3.2.5)
212
- sass-rails (3.2.6)
213
- railties (~> 3.2.0)
214
- sass (>= 3.1.10)
215
- tilt (~> 1.3)
216
- selenium-webdriver (2.35.1)
217
- childprocess (>= 0.2.5)
218
- libwebsocket (~> 0.1.3)
219
- multi_json (~> 1.0)
220
- rubyzip
221
- sexp_processor (4.1.2)
222
- shoulda-matchers (2.2.0)
214
+ rspec-collection_matchers
215
+ rspec-core (~> 2.99.0)
216
+ rspec-expectations (~> 2.99.0)
217
+ rspec-mocks (~> 2.99.0)
218
+ ruby-progressbar (1.5.1)
219
+ rufus-scheduler (2.0.24)
220
+ tzinfo (>= 0.3.22)
221
+ safe_yaml (1.0.4)
222
+ sass (3.2.19)
223
+ sass-rails (4.0.3)
224
+ railties (>= 4.0.0, < 5.0)
225
+ sass (~> 3.2.0)
226
+ sprockets (~> 2.8, <= 2.11.0)
227
+ sprockets-rails (~> 2.0)
228
+ sexp_processor (4.4.3)
229
+ shoulda-matchers (2.6.1)
223
230
  activesupport (>= 3.0.0)
224
- simplecov (0.7.1)
225
- multi_json (~> 1.0)
226
- simplecov-html (~> 0.7.1)
227
- simplecov-html (0.7.1)
228
- sinatra (1.3.6)
231
+ simplecov (0.8.2)
232
+ docile (~> 1.1.0)
233
+ multi_json
234
+ simplecov-html (~> 0.8.0)
235
+ simplecov-html (0.8.0)
236
+ sinatra (1.4.6)
229
237
  rack (~> 1.4)
230
- rack-protection (~> 1.3)
231
- tilt (~> 1.3, >= 1.3.3)
232
- spoon (0.0.1)
233
- spork (1.0.0rc3)
234
- spork-rails (3.2.1)
235
- rails (>= 3.0.0, < 3.3.0)
236
- spork (>= 1.0rc0)
237
- sprockets (2.2.1)
238
+ rack-protection (~> 1.4)
239
+ tilt (>= 1.3, < 3)
240
+ spoon (0.0.4)
241
+ ffi
242
+ sprockets (2.11.0)
238
243
  hike (~> 1.2)
239
244
  multi_json (~> 1.0)
240
245
  rack (~> 1.0)
241
246
  tilt (~> 1.1, != 1.3.0)
242
- strong_parameters (0.2.1)
243
- actionpack (~> 3.0)
244
- activemodel (~> 3.0)
245
- railties (~> 3.0)
246
- therubyracer (0.12.0)
247
+ sprockets-rails (2.1.3)
248
+ actionpack (>= 3.0)
249
+ activesupport (>= 3.0)
250
+ sprockets (~> 2.8)
251
+ therubyracer (0.12.1)
247
252
  libv8 (~> 3.16.14.0)
248
253
  ref
249
- thor (0.16.0)
250
- tilt (1.3.3)
251
- treetop (1.4.14)
254
+ thor (0.19.1)
255
+ thread_safe (0.3.4)
256
+ thread_safe (0.3.4-java)
257
+ tilt (1.4.1)
258
+ treetop (1.4.15)
252
259
  polyglot
253
260
  polyglot (>= 0.3.1)
254
- tzinfo (0.3.35)
255
- uglifier (1.3.0)
261
+ tzinfo (1.2.1)
262
+ thread_safe (~> 0.1)
263
+ uglifier (2.5.1)
256
264
  execjs (>= 0.3.0)
257
- multi_json (~> 1.0, >= 1.0.2)
258
- unf (0.1.2)
265
+ json (>= 1.8.0)
266
+ unf (0.1.4)
259
267
  unf_ext
260
- unf (0.1.2-java)
268
+ unf (0.1.4-java)
261
269
  unf_ext (0.0.6)
262
270
  vegas (0.1.11)
263
271
  rack (>= 1.0.0)
272
+ webmock (1.21.0)
273
+ addressable (>= 2.3.6)
274
+ crack (>= 0.3.2)
264
275
  webrobots (0.1.1)
265
- whenever (0.8.2)
266
- activesupport (>= 2.3.4)
267
- chronic (>= 0.6.3)
268
- xml-simple (1.1.3)
269
- xpath (1.0.0)
276
+ xml-simple (1.1.5)
277
+ xpath (2.0.0)
270
278
  nokogiri (~> 1.3)
271
279
 
272
280
  PLATFORMS
@@ -276,11 +284,10 @@ PLATFORMS
276
284
  DEPENDENCIES
277
285
  bbbot-ruby!
278
286
  bigbluebutton_rails!
279
- browser
280
- capybara (~> 2.0.0)
281
- capybara-mechanize (~> 1.0.0)
287
+ capybara (~> 2.2.0)
288
+ capybara-mechanize
282
289
  capybara-webkit
283
- coffee-rails (~> 3.2.1)
290
+ coffee-rails (~> 4.0.0)
284
291
  cucumber-rails
285
292
  database_cleaner
286
293
  factory_girl
@@ -289,16 +296,15 @@ DEPENDENCIES
289
296
  generator_spec
290
297
  jquery-rails
291
298
  launchy
299
+ minitest
292
300
  mysql2
293
301
  rails_best_practices
294
302
  rdoc
295
- resque
296
- rspec-rails
297
- sass-rails (~> 3.2.3)
298
- shoulda-matchers
303
+ rspec-activemodel-mocks
304
+ rspec-rails (~> 2.99.0)
305
+ sass-rails (~> 4.0.0)
306
+ shoulda-matchers (~> 2.6.1)
299
307
  simplecov (>= 0.4.0)
300
- spork-rails
301
- strong_parameters
302
308
  therubyracer (~> 0.12.0)
303
309
  uglifier (>= 1.0.3)
304
- whenever
310
+ webmock