bigbluebutton_rails 0.1.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. data/CHANGELOG.rdoc +1 -12
  2. data/Gemfile.lock +1 -1
  3. data/README.rdoc +32 -46
  4. data/Rakefile +1 -0
  5. data/app/controllers/bigbluebutton/rooms_controller.rb +16 -17
  6. data/app/controllers/bigbluebutton/servers_controller.rb +2 -6
  7. data/app/models/bigbluebutton_room.rb +1 -35
  8. data/app/models/bigbluebutton_server.rb +1 -1
  9. data/app/views/bigbluebutton/rooms/_form.html.erb +3 -7
  10. data/app/views/bigbluebutton/rooms/edit.html.erb +2 -2
  11. data/app/views/bigbluebutton/rooms/external.html.erb +1 -2
  12. data/app/views/bigbluebutton/rooms/index.html.erb +37 -2
  13. data/app/views/bigbluebutton/rooms/invite.html.erb +2 -2
  14. data/app/views/bigbluebutton/rooms/join.html.erb +1 -1
  15. data/app/views/bigbluebutton/rooms/new.html.erb +1 -1
  16. data/app/views/bigbluebutton/rooms/show.html.erb +4 -10
  17. data/app/views/bigbluebutton/servers/_activity_list.html.erb +6 -6
  18. data/app/views/bigbluebutton/servers/index.html.erb +3 -4
  19. data/app/views/bigbluebutton/servers/show.html.erb +4 -3
  20. data/config/locales/en.yml +3 -7
  21. data/lib/bigbluebutton_rails/exceptions.rb +0 -4
  22. data/lib/bigbluebutton_rails/rails/routes.rb +35 -28
  23. data/lib/bigbluebutton_rails/version.rb +1 -1
  24. data/spec/controllers/bigbluebutton/rooms_controller_exception_handling_spec.rb +10 -13
  25. data/spec/controllers/bigbluebutton/rooms_controller_json_responses_spec.rb +13 -13
  26. data/spec/controllers/bigbluebutton/rooms_controller_spec.rb +115 -114
  27. data/spec/controllers/bigbluebutton/servers_controller_json_responses_spec.rb +1 -12
  28. data/spec/controllers/bigbluebutton/servers_controller_spec.rb +0 -11
  29. data/spec/generators/install_generator_spec.rb +1 -1
  30. data/spec/models/bigbluebutton_room_spec.rb +80 -166
  31. data/spec/models/bigbluebutton_server_spec.rb +4 -4
  32. data/spec/rails_app/features/activity_monitor_servers.feature +0 -6
  33. data/spec/rails_app/features/create_rooms.feature +0 -5
  34. data/spec/rails_app/features/create_servers.feature +2 -7
  35. data/spec/rails_app/features/edit_rooms.feature +0 -7
  36. data/spec/rails_app/features/edit_servers.feature +2 -8
  37. data/spec/rails_app/features/join_rooms.feature +0 -1
  38. data/spec/rails_app/features/list_and_show_rooms.feature +2 -10
  39. data/spec/rails_app/features/step_definitions/activity_monitor_servers_step.rb +10 -10
  40. data/spec/rails_app/features/step_definitions/common_steps.rb +4 -6
  41. data/spec/rails_app/features/step_definitions/create_rooms_steps.rb +0 -1
  42. data/spec/rails_app/features/step_definitions/join_mobile_steps.rb +3 -1
  43. data/spec/rails_app/features/step_definitions/join_rooms_steps.rb +7 -3
  44. data/spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb +5 -12
  45. data/spec/rails_app/features/step_definitions/list_and_show_servers_steps.rb +5 -1
  46. data/spec/rails_app/features/support/{patches/application_controller.rb → application_controller.rb} +0 -0
  47. data/spec/rails_app/features/support/paths.rb +10 -12
  48. data/spec/rails_app/features/support/templates.rb +46 -90
  49. data/spec/routing/bigbluebutton/custom_controllers_routing_spec.rb +22 -38
  50. data/spec/routing/bigbluebutton/rooms_routing_spec.rb +58 -142
  51. data/spec/routing/bigbluebutton/servers_routing_spec.rb +1 -9
  52. metadata +9 -12
  53. data/app/views/bigbluebutton/rooms/_rooms.html.erb +0 -37
  54. data/app/views/bigbluebutton/servers/rooms.html.erb +0 -2
  55. data/spec/rails_app/features/support/patches/bigbluebutton_room.rb +0 -9
@@ -5,211 +5,127 @@ describe Bigbluebutton::RoomsController do
5
5
 
6
6
  describe "routing" do
7
7
 
8
- # default and scoped routes
8
+ # normal and scoped routes
9
9
  ['bigbluebutton', 'webconference'].each do |prefix|
10
10
 
11
11
  it {
12
- {:get => "/#{prefix}/rooms"}.
13
- should route_to(:controller => "bigbluebutton/rooms", :action => "index")
12
+ {:get => "/#{prefix}/servers/server-1/rooms"}.
13
+ should route_to(:controller => "bigbluebutton/rooms", :action => "index", :server_id => "server-1")
14
14
  }
15
15
  it {
16
- {:get => "/#{prefix}/rooms/new"}.
17
- should route_to(:controller => "bigbluebutton/rooms", :action => "new")
16
+ {:get => "/#{prefix}/servers/server-1/rooms/new"}.
17
+ should route_to(:controller => "bigbluebutton/rooms", :action => "new", :server_id => "server-1")
18
18
  }
19
19
  it {
20
- {:get => "/#{prefix}/rooms/room-1"}.
21
- should route_to(:controller => "bigbluebutton/rooms", :action => "show", :id => "room-1")
20
+ {:get => "/#{prefix}/servers/server-1/rooms/external"}.
21
+ should route_to(:controller => "bigbluebutton/rooms", :action => "external", :server_id => "server-1")
22
22
  }
23
23
  it {
24
- {:get => "/#{prefix}/rooms/room-1/edit"}.
25
- should route_to(:controller => "bigbluebutton/rooms", :action => "edit", :id => "room-1")
24
+ {:post => "/#{prefix}/servers/server-1/rooms/external"}.
25
+ should route_to(:controller => "bigbluebutton/rooms", :action => "external_auth", :server_id => "server-1")
26
26
  }
27
27
  it {
28
- {:put => "/#{prefix}/rooms/room-1"}.
29
- should route_to(:controller => "bigbluebutton/rooms", :action => "update", :id => "room-1")
28
+ {:get => "/#{prefix}/servers/server-1/rooms/room-1/edit"}.
29
+ should route_to(:controller => "bigbluebutton/rooms", :action => "edit", :server_id => "server-1", :id => "room-1")
30
30
  }
31
31
  it {
32
- {:delete => "/#{prefix}/rooms/room-1"}.
33
- should route_to(:controller => "bigbluebutton/rooms", :action => "destroy", :id => "room-1")
32
+ {:get => "/#{prefix}/servers/server-1/rooms/room-1"}.
33
+ should route_to(:controller => "bigbluebutton/rooms", :action => "show", :server_id => "server-1", :id => "room-1")
34
34
  }
35
35
  it {
36
- {:get => "/#{prefix}/rooms/external"}.
37
- should route_to(:controller => "bigbluebutton/rooms", :action => "external")
36
+ {:put => "/#{prefix}/servers/server-1/rooms/room-1"}.
37
+ should route_to(:controller => "bigbluebutton/rooms", :action => "update", :server_id => "server-1", :id => "room-1")
38
38
  }
39
39
  it {
40
- {:post => "/#{prefix}/rooms/external"}.
41
- should route_to(:controller => "bigbluebutton/rooms", :action => "external_auth")
40
+ {:delete => "/#{prefix}/servers/server-1/rooms/room-1"}.
41
+ should route_to(:controller => "bigbluebutton/rooms", :action => "destroy", :server_id => "server-1", :id => "room-1")
42
42
  }
43
43
  it {
44
- {:get => "/#{prefix}/rooms/room-1/join"}.
45
- should route_to(:controller => "bigbluebutton/rooms", :action => "join", :id => "room-1")
44
+ {:get => "/#{prefix}/servers/server-1/rooms/room-1/join"}.
45
+ should route_to(:controller => "bigbluebutton/rooms", :action => "join", :server_id => "server-1", :id => "room-1")
46
46
  }
47
47
  it {
48
- {:get => "/#{prefix}/rooms/room-1/join_mobile"}.
49
- should route_to(:controller => "bigbluebutton/rooms", :action => "join_mobile" ,:id => "room-1")
48
+ {:get => "/#{prefix}/servers/server-1/rooms/room-1/join_mobile"}.
49
+ should route_to(:controller => "bigbluebutton/rooms", :action => "join_mobile", :server_id => "server-1" ,:id => "room-1")
50
50
  }
51
51
  it {
52
- {:get => "/#{prefix}/rooms/room-1/running"}.
53
- should route_to(:controller => "bigbluebutton/rooms", :action => "running", :id => "room-1")
52
+ {:get => "/#{prefix}/servers/server-1/rooms/room-1/running"}.
53
+ should route_to(:controller => "bigbluebutton/rooms", :action => "running", :server_id => "server-1", :id => "room-1")
54
54
  }
55
55
  it {
56
- {:get => "/#{prefix}/rooms/room-1/end"}.
57
- should route_to(:controller => "bigbluebutton/rooms", :action => "end", :id => "room-1")
56
+ {:get => "/#{prefix}/servers/server-1/rooms/room-1/end"}.
57
+ should route_to(:controller => "bigbluebutton/rooms", :action => "end", :server_id => "server-1", :id => "room-1")
58
58
  }
59
59
  it {
60
- {:get => "/#{prefix}/rooms/room-1/invite"}.
61
- should route_to(:controller => "bigbluebutton/rooms", :action => "invite", :id => "room-1")
60
+ {:get => "/#{prefix}/servers/server-1/rooms/room-1/invite"}.
61
+ should route_to(:controller => "bigbluebutton/rooms", :action => "invite", :server_id => "server-1", :id => "room-1")
62
62
  }
63
63
  it {
64
- {:post => "/#{prefix}/rooms/room-1/join"}.
65
- should route_to(:controller => "bigbluebutton/rooms", :action => "auth", :id => "room-1")
64
+ {:post => "/#{prefix}/servers/server-1/rooms/room-1/join"}.
65
+ should route_to(:controller => "bigbluebutton/rooms", :action => "auth", :server_id => "server-1", :id => "room-1")
66
66
  }
67
67
 
68
68
  end
69
69
 
70
70
  # room matchers inside users
71
71
  it {
72
- { :get => "/users/1/rooms" }.
73
- should route_to(:controller => "bigbluebutton/rooms", :action => "index",
74
- :user_id => "1")
72
+ should route(:get, "/users/1/room/room-1").
73
+ to(:action => :show, :user_id => "1", :id => "room-1")
75
74
  }
76
75
  it {
77
- { :get => "/users/1/rooms/new" }.
78
- should route_to(:controller => "bigbluebutton/rooms", :action => "new",
79
- :user_id => "1")
76
+ should route(:get, "/users/1/room/room-1/join").
77
+ to(:action => :join, :user_id => "1", :id => "room-1")
80
78
  }
81
79
  it {
82
- { :get => "/users/1/rooms/room-1" }.
83
- should route_to(:controller => "bigbluebutton/rooms", :action => "show",
84
- :user_id => "1", :id => "room-1")
80
+ should route(:get, "/users/1/room/room-1/join_mobile").
81
+ to(:action => :join_mobile, :user_id => "1", :id => "room-1")
85
82
  }
86
83
  it {
87
- { :get => "/users/1/rooms/room-1/edit" }.
88
- should route_to(:controller => "bigbluebutton/rooms", :action => "edit",
89
- :user_id => "1", :id => "room-1")
84
+ should route(:get, "/users/1/room/room-1/running").
85
+ to(:action => :running, :user_id => "1", :id => "room-1")
90
86
  }
91
87
  it {
92
- { :put => "/users/1/rooms/room-1" }.
93
- should route_to(:controller => "bigbluebutton/rooms", :action => "update",
94
- :user_id => "1", :id => "room-1")
88
+ should route(:get, "/users/1/room/room-1/end").
89
+ to(:action => :end, :user_id => "1", :id => "room-1")
95
90
  }
96
91
  it {
97
- { :delete => "/users/1/rooms/room-1" }.
98
- should route_to(:controller => "bigbluebutton/rooms", :action => "destroy",
99
- :user_id => "1", :id => "room-1")
92
+ should route(:get, "/users/1/room/room-1/invite").
93
+ to(:action => :invite, :user_id => "1", :id => "room-1")
100
94
  }
101
95
  it {
102
- { :get => "/users/1/rooms/external" }.
103
- should route_to(:controller => "bigbluebutton/rooms", :action => "external",
104
- :user_id => "1")
96
+ should route(:post, "/users/1/room/room-1/join").
97
+ to(:action => :auth, :user_id => "1", :id => "room-1")
105
98
  }
106
- it {
107
- { :post => "/users/1/rooms/external" }.
108
- should route_to(:controller => "bigbluebutton/rooms", :action => "external_auth",
109
- :user_id => "1")
110
- }
111
- it {
112
- { :get => "/users/1/rooms/room-1/join" }.
113
- should route_to(:controller => "bigbluebutton/rooms", :action => "join",
114
- :user_id => "1", :id => "room-1")
115
- }
116
- it {
117
- { :get => "/users/1/rooms/room-1/join_mobile" }.
118
- should route_to(:controller => "bigbluebutton/rooms", :action => "join_mobile",
119
- :user_id => "1", :id => "room-1")
120
- }
121
- it {
122
- { :get => "/users/1/rooms/room-1/running" }.
123
- should route_to(:controller => "bigbluebutton/rooms", :action => "running",
124
- :user_id => "1", :id => "room-1")
125
- }
126
- it {
127
- { :get => "/users/1/rooms/room-1/end" }.
128
- should route_to(:controller => "bigbluebutton/rooms", :action => "end",
129
- :user_id => "1", :id => "room-1")
130
- }
131
- it {
132
- { :get => "/users/1/rooms/room-1/invite" }.
133
- should route_to(:controller => "bigbluebutton/rooms", :action => "invite",
134
- :user_id => "1", :id => "room-1")
135
- }
136
- it {
137
- { :post => "/users/1/rooms/room-1/join" }.
138
- should route_to(:controller => "bigbluebutton/rooms", :action => "auth",
139
- :user_id => "1", :id => "room-1")
140
- }
141
-
142
99
 
143
100
  # room matchers inside users/spaces
101
+ # FIXME shoulda-matcher is not working here, why?
144
102
  it {
145
- { :get => "/users/1/spaces/2/rooms" }.
146
- should route_to(:controller => "bigbluebutton/rooms", :action => "index",
147
- :user_id => "1", :space_id => "2")
148
- }
149
- it {
150
- { :get => "/users/1/spaces/2/rooms/new" }.
151
- should route_to(:controller => "bigbluebutton/rooms", :action => "new",
152
- :user_id => "1", :space_id => "2")
153
- }
154
- it {
155
- { :get => "/users/1/spaces/2/rooms/room-1" }.
156
- should route_to(:controller => "bigbluebutton/rooms", :action => "show",
157
- :user_id => "1", :space_id => "2", :id => "room-1")
158
- }
159
- it {
160
- { :get => "/users/1/spaces/2/rooms/room-1/edit" }.
161
- should route_to(:controller => "bigbluebutton/rooms", :action => "edit",
162
- :user_id => "1", :space_id => "2", :id => "room-1")
163
- }
164
- it {
165
- { :put => "/users/1/spaces/2/rooms/room-1" }.
166
- should route_to(:controller => "bigbluebutton/rooms", :action => "update",
167
- :user_id => "1", :space_id => "2", :id => "room-1")
168
- }
169
- it {
170
- { :delete => "/users/1/spaces/2/rooms/room-1" }.
171
- should route_to(:controller => "bigbluebutton/rooms", :action => "destroy",
172
- :user_id => "1", :space_id => "2", :id => "room-1")
173
- }
174
- it {
175
- { :get => "/users/1/spaces/2/rooms/external" }.
176
- should route_to(:controller => "bigbluebutton/rooms", :action => "external",
177
- :user_id => "1", :space_id => "2")
178
- }
179
- it {
180
- { :post => "/users/1/spaces/2/rooms/external" }.
181
- should route_to(:controller => "bigbluebutton/rooms", :action => "external_auth",
182
- :user_id => "1", :space_id => "2")
103
+ { :get => "/users/1/spaces/2/room/room-1" }.
104
+ should route_to(:controller => "bigbluebutton/rooms", :action => "show", :user_id => "1", :space_id => "2", :id => "room-1")
183
105
  }
184
106
  it {
185
- { :get => "/users/1/spaces/2/rooms/room-1/join" }.
186
- should route_to(:controller => "bigbluebutton/rooms", :action => "join",
187
- :user_id => "1", :space_id => "2", :id => "room-1")
107
+ { :get => "/users/1/spaces/2/room/room-1/join" }.
108
+ should route_to(:controller => "bigbluebutton/rooms", :action => "join", :user_id => "1", :space_id => "2", :id => "room-1")
188
109
  }
189
110
  it {
190
- { :get => "/users/1/spaces/2/rooms/room-1/join_mobile" }.
191
- should route_to(:controller => "bigbluebutton/rooms", :action => "join_mobile",
192
- :user_id => "1", :space_id => "2", :id => "room-1")
111
+ { :get => "/users/1/spaces/2/room/room-1/join_mobile" }.
112
+ should route_to(:controller => "bigbluebutton/rooms", :action => "join_mobile", :user_id => "1", :space_id => "2", :id => "room-1")
193
113
  }
194
114
  it {
195
- { :get => "/users/1/spaces/2/rooms/room-1/running" }.
196
- should route_to(:controller => "bigbluebutton/rooms", :action => "running",
197
- :user_id => "1", :space_id => "2", :id => "room-1")
115
+ { :get => "/users/1/spaces/2/room/room-1/running" }.
116
+ should route_to(:controller => "bigbluebutton/rooms", :action => "running", :user_id => "1", :space_id => "2", :id => "room-1")
198
117
  }
199
118
  it {
200
- { :get => "/users/1/spaces/2/rooms/room-1/end" }.
201
- should route_to(:controller => "bigbluebutton/rooms", :action => "end",
202
- :user_id => "1", :space_id => "2", :id => "room-1")
119
+ { :get => "/users/1/spaces/2/room/room-1/end" }.
120
+ should route_to(:controller => "bigbluebutton/rooms", :action => "end", :user_id => "1", :space_id => "2", :id => "room-1")
203
121
  }
204
122
  it {
205
- { :get => "/users/1/spaces/2/rooms/room-1/invite" }.
206
- should route_to(:controller => "bigbluebutton/rooms", :action => "invite",
207
- :user_id => "1", :space_id => "2", :id => "room-1")
123
+ { :get => "/users/1/spaces/2/room/room-1/invite" }.
124
+ should route_to(:controller => "bigbluebutton/rooms", :action => "invite", :user_id => "1", :space_id => "2", :id => "room-1")
208
125
  }
209
126
  it {
210
- { :post => "/users/1/spaces/2/rooms/room-1/join" }.
211
- should route_to(:controller => "bigbluebutton/rooms", :action => "auth",
212
- :user_id => "1", :space_id => "2", :id => "room-1")
127
+ { :post => "/users/1/spaces/2/room/room-1/join" }.
128
+ should route_to(:controller => "bigbluebutton/rooms", :action => "auth", :user_id => "1", :space_id => "2", :id => "room-1")
213
129
  }
214
130
  end
215
131
 
@@ -5,7 +5,7 @@ describe Bigbluebutton::ServersController do
5
5
 
6
6
  describe "routing" do
7
7
 
8
- # default and scoped routes
8
+ # normal and scoped routes
9
9
  ['bigbluebutton', 'webconference'].each do |prefix|
10
10
  it {
11
11
  {:get => "/#{prefix}/servers"}.
@@ -35,14 +35,6 @@ describe Bigbluebutton::ServersController do
35
35
  {:delete => "/#{prefix}/servers/server-1"}.
36
36
  should route_to(:controller => "bigbluebutton/servers", :action => "destroy", :id => "server-1")
37
37
  }
38
- it {
39
- {:get => "/#{prefix}/servers/server-1/activity"}.
40
- should route_to(:controller => "bigbluebutton/servers", :action => "activity", :id => "server-1")
41
- }
42
- it {
43
- {:get => "/#{prefix}/servers/server-1/rooms"}.
44
- should route_to(:controller => "bigbluebutton/servers", :action => "rooms", :id => "server-1")
45
- }
46
38
  end
47
39
 
48
40
  end
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.1.1
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-12 00:00:00.000000000Z
13
+ date: 2012-05-05 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &75116260 !ruby/object:Gem::Requirement
17
+ requirement: &82688600 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *75116260
25
+ version_requirements: *82688600
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bigbluebutton-api-ruby
28
- requirement: &75115360 !ruby/object:Gem::Requirement
28
+ requirement: &82686790 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 0.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *75115360
36
+ version_requirements: *82686790
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
@@ -57,7 +57,6 @@ files:
57
57
  - app/models/bigbluebutton_room.rb
58
58
  - app/models/bigbluebutton_server.rb
59
59
  - app/views/bigbluebutton/rooms/_form.html.erb
60
- - app/views/bigbluebutton/rooms/_rooms.html.erb
61
60
  - app/views/bigbluebutton/rooms/edit.html.erb
62
61
  - app/views/bigbluebutton/rooms/external.html.erb
63
62
  - app/views/bigbluebutton/rooms/index.html.erb
@@ -72,7 +71,6 @@ files:
72
71
  - app/views/bigbluebutton/servers/edit.html.erb
73
72
  - app/views/bigbluebutton/servers/index.html.erb
74
73
  - app/views/bigbluebutton/servers/new.html.erb
75
- - app/views/bigbluebutton/servers/rooms.html.erb
76
74
  - app/views/bigbluebutton/servers/show.html.erb
77
75
  - bigbluebutton_rails.gemspec
78
76
  - config/locales/en.yml
@@ -166,6 +164,7 @@ files:
166
164
  - spec/rails_app/features/step_definitions/list_and_show_rooms_steps.rb
167
165
  - spec/rails_app/features/step_definitions/list_and_show_servers_steps.rb
168
166
  - spec/rails_app/features/step_definitions/web_steps.rb
167
+ - spec/rails_app/features/support/application_controller.rb
169
168
  - spec/rails_app/features/support/configurations.rb
170
169
  - spec/rails_app/features/support/content.rb
171
170
  - spec/rails_app/features/support/env.rb
@@ -173,8 +172,6 @@ files:
173
172
  - spec/rails_app/features/support/factories/bigbluebutton_server_integration.rb
174
173
  - spec/rails_app/features/support/hooks.rb
175
174
  - spec/rails_app/features/support/locales.rb
176
- - spec/rails_app/features/support/patches/application_controller.rb
177
- - spec/rails_app/features/support/patches/bigbluebutton_room.rb
178
175
  - spec/rails_app/features/support/paths.rb
179
176
  - spec/rails_app/features/support/selectors.rb
180
177
  - spec/rails_app/features/support/templates.rb
@@ -225,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
222
  version: '0'
226
223
  segments:
227
224
  - 0
228
- hash: -99991885
225
+ hash: -350868175
229
226
  required_rubygems_version: !ruby/object:Gem::Requirement
230
227
  none: false
231
228
  requirements:
@@ -234,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
231
  version: '0'
235
232
  segments:
236
233
  - 0
237
- hash: -99991885
234
+ hash: -350868175
238
235
  requirements: []
239
236
  rubyforge_project:
240
237
  rubygems_version: 1.8.10
@@ -1,37 +0,0 @@
1
- <div id="bbbrails_rooms_links">
2
- <%= link_to('View servers list', bigbluebutton_servers_path) %><br/>
3
- <%= link_to('New room', new_bigbluebutton_room_path) %>
4
- </div>
5
-
6
- <ul id="bbbrails_rooms_list">
7
- <% @rooms.each do |room| %>
8
- <li>
9
- <div class="field">
10
- <label><%= BigbluebuttonRoom.human_attribute_name(:server_id) %></label> <%= room.server_id %>
11
- <%= link_to('(view server)', bigbluebutton_server_path(room.server)) unless room.server.nil? %>
12
- </div>
13
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:meetingid) %></label> <%= room.meetingid %></div>
14
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:randomize_meetingid) %></label> <%= room.randomize_meetingid %></div>
15
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:name) %></label> <%= room.name %></div>
16
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:private) %></label> <%= room.private %></div>
17
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:attendee_password) %></label> <%= room.attendee_password %></div>
18
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:moderator_password) %></label> <%= room.moderator_password %></div>
19
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:welcome_msg) %></label> <%= room.welcome_msg %></div>
20
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:logout_url) %></label> <%= room.logout_url %></div>
21
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:dial_number) %></label> <%= room.dial_number %></div>
22
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:voice_bridge) %></label> <%= room.voice_bridge %></div>
23
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:max_participants) %></label> <%= room.max_participants %></div>
24
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:external) %></label> <%= room.external %></div>
25
- <div class="field"><label><%= BigbluebuttonRoom.human_attribute_name(:param) %></label> <%= room.param %></div>
26
- <div class="field"><label>Access</label>
27
- <%= link_to 'Show', bigbluebutton_room_path(room) %> |
28
- <%= link_to 'Join', join_bigbluebutton_room_path(room) %> |
29
- <%= link_to 'Invite', invite_bigbluebutton_room_path(room) %> |
30
- <%= link_to 'Mobile Join', join_mobile_bigbluebutton_room_path(room) %> |
31
- <%= link_to 'Edit', edit_bigbluebutton_room_path(room) %> |
32
- <%= link_to 'End', end_bigbluebutton_room_path(room), :confirm => 'Are you sure?' %> |
33
- <%= link_to 'Destroy', bigbluebutton_room_path(room), :confirm => 'Are you sure?', :method => :delete %>
34
- </div>
35
- </li>
36
- <% end %>
37
- </ul>
@@ -1,2 +0,0 @@
1
- <h1>Listing rooms for the server <%= @server.name %>:</h1>
2
- <%= render 'bigbluebutton/rooms/rooms' %>
@@ -1,9 +0,0 @@
1
- class BigbluebuttonRoom < ActiveRecord::Base
2
-
3
- protected
4
-
5
- def select_server
6
- self.server
7
- end
8
-
9
- end