bigbluebutton_rails 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/CHANGELOG.rdoc +8 -0
- data/Gemfile +13 -7
- data/Gemfile.lock +112 -86
- data/README.rdoc +26 -80
- data/Rakefile +2 -1
- data/TODO_08 +13 -0
- data/app/controllers/bigbluebutton/rooms_controller.rb +9 -9
- data/app/controllers/bigbluebutton/servers_controller.rb +1 -1
- data/app/models/bigbluebutton_room.rb +16 -14
- data/app/models/bigbluebutton_server.rb +1 -1
- data/app/views/bigbluebutton/rooms/_form.html.erb +1 -1
- data/app/views/bigbluebutton/rooms/external.html.erb +3 -3
- data/app/views/bigbluebutton/rooms/invite.html.erb +3 -3
- data/app/views/bigbluebutton/servers/_form.html.erb +1 -1
- data/bigbluebutton_rails.gemspec +2 -2
- data/lib/bigbluebutton_rails/version.rb +1 -1
- data/spec/controllers/bigbluebutton/rooms_controller_spec.rb +42 -37
- data/spec/factories/bigbluebutton_room.rb +3 -1
- data/spec/models/bigbluebutton_room_db_spec.rb +34 -0
- data/spec/models/bigbluebutton_room_spec.rb +452 -457
- data/spec/models/bigbluebutton_server_db_spec.rb +14 -0
- data/spec/models/bigbluebutton_server_spec.rb +162 -176
- data/spec/rails_app/.gitignore +2 -1
- data/spec/rails_app/db/seeds.rb +16 -4
- data/spec/rails_app/features/activity_monitor_servers.feature +53 -0
- data/spec/rails_app/features/config.yml.example +13 -0
- data/spec/rails_app/features/create_rooms.feature +17 -0
- data/spec/rails_app/features/create_servers.feature +17 -0
- data/spec/rails_app/features/destroy_rooms.feature +12 -0
- data/spec/rails_app/features/destroy_servers.feature +11 -0
- data/spec/rails_app/features/edit_rooms.feature +26 -0
- data/spec/rails_app/features/edit_servers.feature +24 -0
- data/spec/rails_app/features/join_external_rooms.feature +61 -0
- data/spec/rails_app/features/join_mobile.feature +10 -0
- data/spec/rails_app/features/join_rooms.feature +117 -0
- data/spec/rails_app/features/list_and_show_rooms.feature +18 -0
- data/spec/rails_app/features/list_and_show_servers.feature +16 -0
- data/spec/rails_app/features/step_definitions/activity_monitor_servers_step.rb +102 -0
- data/spec/rails_app/features/step_definitions/common_steps.rb +99 -3
- data/spec/rails_app/features/step_definitions/create_rooms_steps.rb +38 -0
- data/spec/rails_app/features/step_definitions/{bigbluebutton_server_steps.rb → create_servers_steps.rb} +11 -6
- data/spec/rails_app/features/step_definitions/destroy_rooms_steps.rb +17 -0
- data/spec/rails_app/features/step_definitions/destroy_servers_steps.rb +15 -0
- data/spec/rails_app/features/step_definitions/edit_rooms_steps.rb +15 -0
- data/spec/rails_app/features/step_definitions/edit_servers_steps.rb +15 -0
- data/spec/rails_app/features/step_definitions/join_mobile_steps.rb +5 -0
- data/spec/rails_app/features/step_definitions/join_rooms_steps.rb +49 -0
- data/spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb +11 -0
- data/spec/rails_app/features/step_definitions/list_and_show_servers_steps.rb +11 -0
- data/spec/rails_app/features/support/configurations.rb +34 -0
- data/spec/rails_app/features/support/content.rb +27 -7
- data/spec/rails_app/features/support/env_custom.rb +21 -0
- data/spec/rails_app/features/support/factories/bigbluebutton_server_integration.rb +5 -0
- data/spec/rails_app/features/support/hooks.rb +14 -0
- data/spec/rails_app/features/support/locales.rb +18 -0
- data/spec/rails_app/features/support/paths.rb +25 -10
- data/spec/rails_app/features/support/selectors.rb +26 -0
- data/spec/rails_app/features/support/templates.rb +241 -0
- metadata +43 -20
- data/spec/factories/integration/bigbluebutton_server_integration.rb +0 -8
- data/spec/integration_conf.yml.example +0 -5
- data/spec/rails_app/features/join_external_bigbluebutton_rooms.feature +0 -19
- data/spec/rails_app/features/manage_bigbluebutton_rooms.feature +0 -9
- data/spec/rails_app/features/manage_bigbluebutton_servers.feature +0 -9
- data/spec/rails_app/features/step_definitions/bigbluebutton_room_steps.rb +0 -64
- data/spec/rails_app/features/support/env_gem.rb +0 -10
- data/spec/rails_app/features/support/forms.rb +0 -12
- data/spec/support/integration/integration_conf.rb +0 -16
@@ -0,0 +1,18 @@
|
|
1
|
+
module LocalesHelpers
|
2
|
+
|
3
|
+
# translate a string, useful in the feature descriptions, to a key to find
|
4
|
+
# the complete message in the locale files
|
5
|
+
def message_to_locale_key(msg)
|
6
|
+
case msg.downcase
|
7
|
+
when /the meeting is not running/
|
8
|
+
key = 'bigbluebutton_rails.rooms.errors.auth.not_running'
|
9
|
+
when /authentication failure/
|
10
|
+
key = 'bigbluebutton_rails.rooms.errors.auth.failure'
|
11
|
+
else
|
12
|
+
key = ''
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
|
18
|
+
World(LocalesHelpers)
|
@@ -14,29 +14,44 @@ module NavigationHelpers
|
|
14
14
|
p = '/'
|
15
15
|
when /new server/i
|
16
16
|
p = new_bigbluebutton_server_path
|
17
|
+
when /servers index/i, /create server/i
|
18
|
+
p = bigbluebutton_servers_path
|
19
|
+
when /show server/i
|
20
|
+
p = bigbluebutton_server_path(@server)
|
21
|
+
when /edit server/i
|
22
|
+
p = edit_bigbluebutton_server_path(@server)
|
23
|
+
when /update server/i
|
24
|
+
p = bigbluebutton_server_path(@server)
|
25
|
+
when /server activity monitor/i
|
26
|
+
p = activity_bigbluebutton_server_path(@server)
|
17
27
|
when /new room/i
|
18
28
|
p = new_bigbluebutton_server_room_path(@server)
|
29
|
+
when /rooms index/i, /create room/i
|
30
|
+
p = bigbluebutton_server_rooms_path(@server)
|
19
31
|
when /join external room/i
|
20
32
|
p = external_bigbluebutton_server_rooms_path(@server)
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
33
|
+
when /show room/i
|
34
|
+
p = bigbluebutton_server_room_path(@server, @room)
|
35
|
+
when /edit room/i
|
36
|
+
p = edit_bigbluebutton_server_room_path(@server, @room)
|
37
|
+
when /update room/i
|
38
|
+
p = bigbluebutton_server_room_path(@server, @room)
|
39
|
+
when /join room/i
|
40
|
+
p = join_bigbluebutton_server_room_path(@server, @room)
|
41
|
+
when /invite room/i
|
42
|
+
p = invite_bigbluebutton_server_room_path(@server, @room)
|
43
|
+
when /mobile join/i
|
44
|
+
p = join_mobile_bigbluebutton_server_room_path(@server, @room)
|
28
45
|
|
29
46
|
else
|
30
|
-
=begin
|
31
47
|
begin
|
32
48
|
page_name =~ /^the (.*) page$/
|
33
49
|
path_components = $1.split(/\s+/)
|
34
50
|
self.send(path_components.push('path').join('_').to_sym)
|
35
51
|
rescue NoMethodError, ArgumentError
|
36
|
-
=end
|
37
52
|
raise "Can't find mapping from \"#{page_name}\" to a path.\n" +
|
38
53
|
"Now, go and add a mapping in #{__FILE__}"
|
39
|
-
|
54
|
+
end
|
40
55
|
end
|
41
56
|
|
42
57
|
p += params if params
|
@@ -56,6 +56,32 @@ module HtmlSelectorsHelpers
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
def doesnt_have_element(element, attrs={}, method=:css)
|
60
|
+
selector = make_selector(element, attrs, method)
|
61
|
+
if respond_to? :should
|
62
|
+
case method
|
63
|
+
when :xpath
|
64
|
+
should_not have_xpath(selector)
|
65
|
+
else # :css
|
66
|
+
should_not have_selector(selector)
|
67
|
+
end
|
68
|
+
else
|
69
|
+
case method
|
70
|
+
when :xpath
|
71
|
+
assert !has_xpath?(selector)
|
72
|
+
else # :css
|
73
|
+
assert !has_xpath?(selector)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Creates a css selector to match a form with certain action, method and possibly other attribues
|
79
|
+
def form_selector(action, method='post', attrs={})
|
80
|
+
attrs[:action] = action
|
81
|
+
attrs[:method] = method
|
82
|
+
make_selector("form", attrs)
|
83
|
+
end
|
84
|
+
|
59
85
|
# Maps a name to a selector. Used primarily by the
|
60
86
|
#
|
61
87
|
# When /^(.+) within (.+)$/ do |step, scope|
|
@@ -0,0 +1,241 @@
|
|
1
|
+
# Verifies the templates (views)
|
2
|
+
module TemplateHelpers
|
3
|
+
|
4
|
+
# calls the specific methods that verify the template for each page
|
5
|
+
def check_template(page_name)
|
6
|
+
begin
|
7
|
+
method = ("check " + page_name).split(" ").join('_').to_sym
|
8
|
+
self.send(method)
|
9
|
+
rescue NoMethodError
|
10
|
+
raise "Can't find method to check the template for \"#{page_name}\"\n" +
|
11
|
+
"Now, go and add the method \"#{method}\" in #{__FILE__}"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
# servers/new
|
16
|
+
def check_new_server
|
17
|
+
within(form_selector(bigbluebutton_servers_path, 'post')) do
|
18
|
+
check_server_form
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
# server/:id/edit
|
23
|
+
def check_edit_server
|
24
|
+
within(form_selector(bigbluebutton_server_path(@server), 'post')) do
|
25
|
+
check_server_form
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
# internal form in servers/new and server/:id/edit
|
30
|
+
def check_server_form
|
31
|
+
has_element("input#bigbluebutton_server_name",
|
32
|
+
{ :name => 'bigbluebutton_server[name]', :type => 'text' })
|
33
|
+
has_element("input#bigbluebutton_server_url",
|
34
|
+
{ :name => 'bigbluebutton_server[url]', :type => 'text' })
|
35
|
+
has_element("input#bigbluebutton_server_salt",
|
36
|
+
{ :name => 'bigbluebutton_server[salt]', :type => 'text' })
|
37
|
+
has_element("input#bigbluebutton_server_version",
|
38
|
+
{ :name => 'bigbluebutton_server[version]', :type => 'text' })
|
39
|
+
has_element("input#bigbluebutton_server_param",
|
40
|
+
{ :name => 'bigbluebutton_server[param]', :type => 'text' })
|
41
|
+
has_element("label", { :for => 'bigbluebutton_server_name' })
|
42
|
+
has_element("label", { :for => 'bigbluebutton_server_url' })
|
43
|
+
has_element("label", { :for => 'bigbluebutton_server_salt' })
|
44
|
+
has_element("label", { :for => 'bigbluebutton_server_version' })
|
45
|
+
has_element("label", { :for => 'bigbluebutton_server_param' })
|
46
|
+
has_element("input", { :name => 'commit', :type => 'submit' })
|
47
|
+
end
|
48
|
+
|
49
|
+
# servers/new
|
50
|
+
def check_new_room
|
51
|
+
within(form_selector(bigbluebutton_server_rooms_path(@server), 'post')) do
|
52
|
+
check_room_form
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# server/:id/show
|
57
|
+
def check_show_server
|
58
|
+
server = BigbluebuttonServer.last
|
59
|
+
page_has_content(server.name)
|
60
|
+
page_has_content(server.url)
|
61
|
+
page_has_content(server.salt)
|
62
|
+
page_has_content(server.version)
|
63
|
+
page_has_content(server.param)
|
64
|
+
has_element("a", { :href => new_bigbluebutton_server_room_path(server) }) # new room link
|
65
|
+
end
|
66
|
+
|
67
|
+
# servers/
|
68
|
+
def check_servers_index
|
69
|
+
has_element("a", { :href => new_bigbluebutton_server_path }) # new server link
|
70
|
+
n = 1
|
71
|
+
BigbluebuttonServer.all.each do |server|
|
72
|
+
within(make_selector("ul#bbbrails_servers_list>li:nth(#{n})")) do
|
73
|
+
# server data
|
74
|
+
has_content(server.name)
|
75
|
+
has_content(server.url)
|
76
|
+
has_content(server.salt)
|
77
|
+
has_content(server.version)
|
78
|
+
has_content(server.param)
|
79
|
+
has_content(server.url)
|
80
|
+
# action links
|
81
|
+
has_element("a", { :href => bigbluebutton_server_path(server) }) # show
|
82
|
+
has_element("a", { :href => bigbluebutton_server_rooms_path(server) }) # index
|
83
|
+
has_element("a", { :href => activity_bigbluebutton_server_path(server) }) # activity
|
84
|
+
has_element("a", { :href => edit_bigbluebutton_server_path(server) }) # edit
|
85
|
+
has_element("a", { :href => bigbluebutton_server_path(server), :"data-method" => 'delete' }) # destroy
|
86
|
+
end
|
87
|
+
n += 1
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# servers/:id/activity
|
92
|
+
def check_server_activity_monitor
|
93
|
+
# checks only the 'skeleton', the content depends on the rooms currently running
|
94
|
+
within(make_selector("div.bbbrails_countdown")) do
|
95
|
+
has_element("span.bbbrails_countdown_value")
|
96
|
+
has_element("a.bbbrails_refresh_now",
|
97
|
+
{ :href => activity_bigbluebutton_server_path(@server) })
|
98
|
+
end
|
99
|
+
has_element("div#bbbrails_server_activity_meetings")
|
100
|
+
end
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
# room/:id/edit
|
106
|
+
def check_edit_room
|
107
|
+
within(form_selector(bigbluebutton_server_room_path(@server, @room), 'post')) do
|
108
|
+
check_room_form
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
# internal form in rooms/new and room/:id/edit
|
113
|
+
def check_room_form
|
114
|
+
has_element("input#bigbluebutton_room_name",
|
115
|
+
{ :name => 'bigbluebutton_room[name]', :type => 'text' })
|
116
|
+
has_element("input#bigbluebutton_room_meetingid",
|
117
|
+
{ :name => 'bigbluebutton_room[meetingid]', :type => 'text' })
|
118
|
+
has_element("input#bigbluebutton_room_randomize_meetingid",
|
119
|
+
{ :name => 'bigbluebutton_room[randomize_meetingid]', :type => 'checkbox' })
|
120
|
+
has_element("input#bigbluebutton_room_private",
|
121
|
+
{ :name => 'bigbluebutton_room[private]', :type => 'checkbox' })
|
122
|
+
has_element("input#bigbluebutton_room_attendee_password",
|
123
|
+
{ :name => 'bigbluebutton_room[attendee_password]', :type => 'password' })
|
124
|
+
has_element("input#bigbluebutton_room_moderator_password",
|
125
|
+
{ :name => 'bigbluebutton_room[moderator_password]', :type => 'password' })
|
126
|
+
has_element("input#bigbluebutton_room_welcome_msg",
|
127
|
+
{ :name => 'bigbluebutton_room[welcome_msg]', :type => 'text' })
|
128
|
+
has_element("input#bigbluebutton_room_logout_url",
|
129
|
+
{ :name => 'bigbluebutton_room[logout_url]', :type => 'text' })
|
130
|
+
has_element("input#bigbluebutton_room_dial_number",
|
131
|
+
{ :name => 'bigbluebutton_room[dial_number]', :type => 'text' })
|
132
|
+
has_element("input#bigbluebutton_room_max_participants",
|
133
|
+
{ :name => 'bigbluebutton_room[max_participants]', :type => 'text' })
|
134
|
+
has_element("input#bigbluebutton_room_external",
|
135
|
+
{ :name => 'bigbluebutton_room[external]', :type => 'checkbox' })
|
136
|
+
has_element("input#bigbluebutton_room_param",
|
137
|
+
{ :name => 'bigbluebutton_room[param]', :type => 'text' })
|
138
|
+
has_element("input#bigbluebutton_room_voice_bridge",
|
139
|
+
{ :name => 'bigbluebutton_room[voice_bridge]', :type => 'text' })
|
140
|
+
has_element("label", { :for => 'bigbluebutton_room_name' })
|
141
|
+
has_element("label", { :for => 'bigbluebutton_room_meetingid' })
|
142
|
+
has_element("label", { :for => 'bigbluebutton_room_randomize_meetingid' })
|
143
|
+
has_element("label", { :for => 'bigbluebutton_room_private' })
|
144
|
+
has_element("label", { :for => 'bigbluebutton_room_attendee_password' })
|
145
|
+
has_element("label", { :for => 'bigbluebutton_room_moderator_password' })
|
146
|
+
has_element("label", { :for => 'bigbluebutton_room_welcome_msg' })
|
147
|
+
has_element("label", { :for => 'bigbluebutton_room_logout_url' })
|
148
|
+
has_element("label", { :for => 'bigbluebutton_room_dial_number' })
|
149
|
+
has_element("label", { :for => 'bigbluebutton_room_max_participants' })
|
150
|
+
has_element("label", { :for => 'bigbluebutton_room_external' })
|
151
|
+
has_element("label", { :for => 'bigbluebutton_room_param' })
|
152
|
+
has_element("label", { :for => 'bigbluebutton_room_voice_bridge' })
|
153
|
+
has_element("input", { :name => 'commit', :type => 'submit' })
|
154
|
+
end
|
155
|
+
|
156
|
+
# room/:id/show
|
157
|
+
def check_show_room
|
158
|
+
room = BigbluebuttonRoom.last
|
159
|
+
page_has_content(room.name)
|
160
|
+
page_has_content(room.meetingid)
|
161
|
+
page_has_content(room.randomize_meetingid)
|
162
|
+
page_has_content(room.private)
|
163
|
+
page_has_content(room.attendee_password)
|
164
|
+
page_has_content(room.moderator_password)
|
165
|
+
page_has_content(room.welcome_msg)
|
166
|
+
page_has_content(room.logout_url)
|
167
|
+
page_has_content(room.dial_number)
|
168
|
+
page_has_content(room.voice_bridge)
|
169
|
+
page_has_content(room.max_participants)
|
170
|
+
page_has_content(room.external)
|
171
|
+
page_has_content(room.param)
|
172
|
+
end
|
173
|
+
|
174
|
+
# rooms/external
|
175
|
+
def check_join_external_room
|
176
|
+
within(form_selector(external_bigbluebutton_server_rooms_path(@server), 'post')) do
|
177
|
+
has_element("input#meeting", { :name => 'meeting', :type => 'hidden', :value => @room.meetingid })
|
178
|
+
has_element("input#user_name", { :name => 'user[name]', :type => 'text' })
|
179
|
+
has_element("input#user_password", { :name => 'user[password]', :type => 'password' })
|
180
|
+
has_element("label", { :for => 'user_name' })
|
181
|
+
has_element("label", { :for => 'user_password' })
|
182
|
+
has_element("input", { :name => 'commit', :type => 'submit' })
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# rooms/:id/invite
|
187
|
+
def check_invite_room
|
188
|
+
within(form_selector(join_bigbluebutton_server_room_path(@server, @room), 'post')) do
|
189
|
+
has_element("input#user_name", { :name => 'user[name]', :type => 'text' })
|
190
|
+
has_element("input#user_password", { :name => 'user[password]', :type => 'password' })
|
191
|
+
has_element("label", { :for => 'user_name' })
|
192
|
+
has_element("label", { :for => 'user_password' })
|
193
|
+
has_element("input", { :name => 'commit', :type => 'submit' })
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
# rooms/
|
198
|
+
def check_rooms_index
|
199
|
+
has_element("a", { :href => new_bigbluebutton_server_room_path(@server) }) # new room link
|
200
|
+
n = 1
|
201
|
+
BigbluebuttonRoom.all.each do |room|
|
202
|
+
within(make_selector("ul#bbbrails_rooms_list>li:nth(#{n})")) do
|
203
|
+
# room data
|
204
|
+
has_content(room.name)
|
205
|
+
has_content(room.meetingid)
|
206
|
+
has_content(room.attendee_password)
|
207
|
+
has_content(room.moderator_password)
|
208
|
+
has_content(room.logout_url)
|
209
|
+
has_content(room.dial_number)
|
210
|
+
has_content(room.voice_bridge)
|
211
|
+
has_content(room.param)
|
212
|
+
# action links
|
213
|
+
has_element("a", { :href => bigbluebutton_server_room_path(@server, room) }) # show
|
214
|
+
has_element("a", { :href => join_bigbluebutton_server_room_path(@server, room) }) # join
|
215
|
+
has_element("a", { :href => invite_bigbluebutton_server_room_path(@server, room) }) # invite
|
216
|
+
has_element("a", { :href => join_mobile_bigbluebutton_server_room_path(@server, room) }) # join_mobile
|
217
|
+
has_element("a", { :href => edit_bigbluebutton_server_room_path(@server, room) }) # edit
|
218
|
+
has_element("a", { :href => end_bigbluebutton_server_room_path(@server, room) }) # end
|
219
|
+
has_element("a", { :href => bigbluebutton_server_room_path(@server, room), :"data-method" => 'delete' }) # destroy
|
220
|
+
end
|
221
|
+
n += 1
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
def check_join_room # nothing to check, it only redirects to the BBB client
|
226
|
+
end
|
227
|
+
|
228
|
+
# rooms/:id/join_mobile
|
229
|
+
def check_mobile_join
|
230
|
+
url = join_bigbluebutton_server_room_url(@server, @room, :mobile => '1')
|
231
|
+
url.gsub!(/http:\/\//i, "bigbluebutton://")
|
232
|
+
has_element("a", { :href => url })
|
233
|
+
|
234
|
+
# a soft check that there's an img from chart.googleapis with the qr-code
|
235
|
+
img = find(make_selector("img"))
|
236
|
+
img[:src].should match(/#{"https://chart.googleapis.com/chart?"}.*/)
|
237
|
+
end
|
238
|
+
|
239
|
+
end
|
240
|
+
|
241
|
+
World(TemplateHelpers)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bigbluebutton_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,30 +10,30 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-12-20 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
|
-
requirement: &
|
17
|
+
requirement: &82484000 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.0.
|
22
|
+
version: 3.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *82484000
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: bigbluebutton-api-ruby
|
28
|
-
requirement: &
|
28
|
+
requirement: &82482980 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0
|
33
|
+
version: 0.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *82482980
|
37
37
|
description: It allows you to interact with BigBlueButton from your Ruby on Rails
|
38
38
|
application
|
39
39
|
email: mconf-dev@googlegroups.com
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- Gemfile.lock
|
51
51
|
- README.rdoc
|
52
52
|
- Rakefile
|
53
|
+
- TODO_08
|
53
54
|
- app/controllers/bigbluebutton/rooms_controller.rb
|
54
55
|
- app/controllers/bigbluebutton/servers_controller.rb
|
55
56
|
- app/helpers/bigbluebutton_rails_helper.rb
|
@@ -98,13 +99,13 @@ files:
|
|
98
99
|
- spec/controllers/bigbluebutton/servers_controller_spec.rb
|
99
100
|
- spec/factories/bigbluebutton_room.rb
|
100
101
|
- spec/factories/bigbluebutton_server.rb
|
101
|
-
- spec/factories/integration/bigbluebutton_server_integration.rb
|
102
102
|
- spec/factories/user.rb
|
103
103
|
- spec/generators/install_generator_spec.rb
|
104
104
|
- spec/generators/views_generator_spec.rb
|
105
105
|
- spec/helpers/bigbluebutton_rails_helper_spec.rb
|
106
|
-
- spec/
|
106
|
+
- spec/models/bigbluebutton_room_db_spec.rb
|
107
107
|
- spec/models/bigbluebutton_room_spec.rb
|
108
|
+
- spec/models/bigbluebutton_server_db_spec.rb
|
108
109
|
- spec/models/bigbluebutton_server_spec.rb
|
109
110
|
- spec/rails_app/.gitignore
|
110
111
|
- spec/rails_app/Rakefile
|
@@ -137,20 +138,43 @@ files:
|
|
137
138
|
- spec/rails_app/config/routes.rb
|
138
139
|
- spec/rails_app/db/seeds.rb
|
139
140
|
- spec/rails_app/doc/README_FOR_APP
|
140
|
-
- spec/rails_app/features/
|
141
|
-
- spec/rails_app/features/
|
142
|
-
- spec/rails_app/features/
|
143
|
-
- spec/rails_app/features/
|
144
|
-
- spec/rails_app/features/
|
141
|
+
- spec/rails_app/features/activity_monitor_servers.feature
|
142
|
+
- spec/rails_app/features/config.yml.example
|
143
|
+
- spec/rails_app/features/create_rooms.feature
|
144
|
+
- spec/rails_app/features/create_servers.feature
|
145
|
+
- spec/rails_app/features/destroy_rooms.feature
|
146
|
+
- spec/rails_app/features/destroy_servers.feature
|
147
|
+
- spec/rails_app/features/edit_rooms.feature
|
148
|
+
- spec/rails_app/features/edit_servers.feature
|
149
|
+
- spec/rails_app/features/join_external_rooms.feature
|
150
|
+
- spec/rails_app/features/join_mobile.feature
|
151
|
+
- spec/rails_app/features/join_rooms.feature
|
152
|
+
- spec/rails_app/features/list_and_show_rooms.feature
|
153
|
+
- spec/rails_app/features/list_and_show_servers.feature
|
154
|
+
- spec/rails_app/features/step_definitions/activity_monitor_servers_step.rb
|
145
155
|
- spec/rails_app/features/step_definitions/common_steps.rb
|
156
|
+
- spec/rails_app/features/step_definitions/create_rooms_steps.rb
|
157
|
+
- spec/rails_app/features/step_definitions/create_servers_steps.rb
|
158
|
+
- spec/rails_app/features/step_definitions/destroy_rooms_steps.rb
|
159
|
+
- spec/rails_app/features/step_definitions/destroy_servers_steps.rb
|
160
|
+
- spec/rails_app/features/step_definitions/edit_rooms_steps.rb
|
161
|
+
- spec/rails_app/features/step_definitions/edit_servers_steps.rb
|
162
|
+
- spec/rails_app/features/step_definitions/join_mobile_steps.rb
|
163
|
+
- spec/rails_app/features/step_definitions/join_rooms_steps.rb
|
164
|
+
- spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
|
165
|
+
- spec/rails_app/features/step_definitions/list_and_show_servers_steps.rb
|
146
166
|
- spec/rails_app/features/step_definitions/web_steps.rb
|
147
167
|
- spec/rails_app/features/support/application_controller.rb
|
168
|
+
- spec/rails_app/features/support/configurations.rb
|
148
169
|
- spec/rails_app/features/support/content.rb
|
149
170
|
- spec/rails_app/features/support/env.rb
|
150
|
-
- spec/rails_app/features/support/
|
151
|
-
- spec/rails_app/features/support/
|
171
|
+
- spec/rails_app/features/support/env_custom.rb
|
172
|
+
- spec/rails_app/features/support/factories/bigbluebutton_server_integration.rb
|
173
|
+
- spec/rails_app/features/support/hooks.rb
|
174
|
+
- spec/rails_app/features/support/locales.rb
|
152
175
|
- spec/rails_app/features/support/paths.rb
|
153
176
|
- spec/rails_app/features/support/selectors.rb
|
177
|
+
- spec/rails_app/features/support/templates.rb
|
154
178
|
- spec/rails_app/features/support/within.rb
|
155
179
|
- spec/rails_app/lib/tasks/cucumber.rake
|
156
180
|
- spec/rails_app/public/404.html
|
@@ -179,7 +203,6 @@ files:
|
|
179
203
|
- spec/routing/bigbluebutton/servers_routing_spec.rb
|
180
204
|
- spec/spec_helper.rb
|
181
205
|
- spec/support/controllers/bigbluebutton/rooms_controller.rb
|
182
|
-
- spec/support/integration/integration_conf.rb
|
183
206
|
- spec/support/matchers/have_same_attributes_as.rb
|
184
207
|
- spec/support/matchers/shoulda/be_boolean.rb
|
185
208
|
- spec/support/matchers/shoulda/respond_with_json_matcher.rb
|
@@ -199,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
222
|
version: '0'
|
200
223
|
segments:
|
201
224
|
- 0
|
202
|
-
hash:
|
225
|
+
hash: 1011782033
|
203
226
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
227
|
none: false
|
205
228
|
requirements:
|
@@ -208,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
231
|
version: '0'
|
209
232
|
segments:
|
210
233
|
- 0
|
211
|
-
hash:
|
234
|
+
hash: 1011782033
|
212
235
|
requirements: []
|
213
236
|
rubyforge_project:
|
214
237
|
rubygems_version: 1.8.10
|