maestrano-rails 0.5.0 → 0.6.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.
- data/README.md +89 -2
- data/app/controllers/maestrano/rails/metadata_controller.rb +8 -0
- data/lib/generators/maestrano/install_generator.rb +4 -4
- data/lib/generators/maestrano/templates/group_users_controller.rb +4 -4
- data/lib/generators/maestrano/templates/groups_controller.rb +3 -3
- data/lib/generators/maestrano/templates/maestrano.rb +50 -17
- data/lib/maestrano/rails/routing/routes.rb +9 -1
- data/lib/maestrano/rails/version.rb +1 -1
- data/test/controllers/group_users_controller_test.rb +2 -2
- data/test/controllers/groups_controller_test.rb +2 -2
- data/test/controllers/metadata_controller_test.rb +25 -0
- data/test/dummy/app/controllers/maestrano/{account_hook → account}/group_users_controller.rb +4 -4
- data/test/dummy/app/controllers/maestrano/{account_hook → account}/groups_controller.rb +3 -3
- data/test/dummy/config/initializers/maestrano.rb +3 -3
- data/test/dummy/log/test.log +1043 -0
- data/test/generators/install_generator_test.rb +4 -4
- metadata +10 -7
@@ -19,14 +19,14 @@ class InstallGeneratorTest < Rails::Generators::TestCase
|
|
19
19
|
assert_file "app/controllers/maestrano/auth/saml_controller.rb"
|
20
20
|
end
|
21
21
|
|
22
|
-
should "create the maestrano/
|
22
|
+
should "create the maestrano/account/groups_controller" do
|
23
23
|
run_generator
|
24
|
-
assert_file "app/controllers/maestrano/
|
24
|
+
assert_file "app/controllers/maestrano/account/groups_controller.rb"
|
25
25
|
end
|
26
26
|
|
27
|
-
should "create the maestrano/
|
27
|
+
should "create the maestrano/account/group_users_controller" do
|
28
28
|
run_generator
|
29
|
-
assert_file "app/controllers/maestrano/
|
29
|
+
assert_file "app/controllers/maestrano/account/group_users_controller.rb"
|
30
30
|
end
|
31
31
|
|
32
32
|
should "create the maestrano routes" do
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: maestrano-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.6.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Arnaud Lachaume
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2014-05
|
13
|
+
date: 2014-06-05 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: "0.
|
34
|
+
version: "0.6"
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id002
|
37
37
|
- !ruby/object:Gem::Dependency
|
@@ -88,6 +88,7 @@ extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
89
89
|
|
90
90
|
files:
|
91
|
+
- app/controllers/maestrano/rails/metadata_controller.rb
|
91
92
|
- app/controllers/maestrano/rails/saml_base_controller.rb
|
92
93
|
- app/controllers/maestrano/rails/web_hook_controller.rb
|
93
94
|
- lib/generators/active_record/maestrano_group_generator.rb
|
@@ -116,14 +117,15 @@ files:
|
|
116
117
|
- test/controllers/generic_controller_test.rb
|
117
118
|
- test/controllers/group_users_controller_test.rb
|
118
119
|
- test/controllers/groups_controller_test.rb
|
120
|
+
- test/controllers/metadata_controller_test.rb
|
119
121
|
- test/controllers/saml_controller_test.rb
|
120
122
|
- test/dummy/app/assets/javascripts/application.js
|
121
123
|
- test/dummy/app/assets/javascripts/pages.js
|
122
124
|
- test/dummy/app/assets/stylesheets/application.css
|
123
125
|
- test/dummy/app/assets/stylesheets/pages.css
|
124
126
|
- test/dummy/app/controllers/application_controller.rb
|
125
|
-
- test/dummy/app/controllers/maestrano/
|
126
|
-
- test/dummy/app/controllers/maestrano/
|
127
|
+
- test/dummy/app/controllers/maestrano/account/group_users_controller.rb
|
128
|
+
- test/dummy/app/controllers/maestrano/account/groups_controller.rb
|
127
129
|
- test/dummy/app/controllers/maestrano/auth/saml_controller.rb
|
128
130
|
- test/dummy/app/controllers/pages_controller.rb
|
129
131
|
- test/dummy/app/helpers/application_helper.rb
|
@@ -222,14 +224,15 @@ test_files:
|
|
222
224
|
- test/controllers/generic_controller_test.rb
|
223
225
|
- test/controllers/group_users_controller_test.rb
|
224
226
|
- test/controllers/groups_controller_test.rb
|
227
|
+
- test/controllers/metadata_controller_test.rb
|
225
228
|
- test/controllers/saml_controller_test.rb
|
226
229
|
- test/dummy/app/assets/javascripts/application.js
|
227
230
|
- test/dummy/app/assets/javascripts/pages.js
|
228
231
|
- test/dummy/app/assets/stylesheets/application.css
|
229
232
|
- test/dummy/app/assets/stylesheets/pages.css
|
230
233
|
- test/dummy/app/controllers/application_controller.rb
|
231
|
-
- test/dummy/app/controllers/maestrano/
|
232
|
-
- test/dummy/app/controllers/maestrano/
|
234
|
+
- test/dummy/app/controllers/maestrano/account/group_users_controller.rb
|
235
|
+
- test/dummy/app/controllers/maestrano/account/groups_controller.rb
|
233
236
|
- test/dummy/app/controllers/maestrano/auth/saml_controller.rb
|
234
237
|
- test/dummy/app/controllers/pages_controller.rb
|
235
238
|
- test/dummy/app/helpers/application_helper.rb
|