maestrano-rails 0.9.3 → 0.9.4
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.
- checksums.yaml +4 -4
- data/Gemfile +20 -0
- data/Gemfile.lock +175 -0
- data/README.md +3 -1
- data/Rakefile +17 -7
- data/lib/generators/maestrano/templates/groups_controller.rb +1 -1
- data/maestrano-rails.gemspec +77 -0
- data/test/dummy_activerecord/app/controllers/maestrano/account/groups_controller.rb +1 -1
- data/test/dummy_activerecord/app/models/mno_crew.rb +0 -2
- data/test/dummy_activerecord/app/models/mno_monster.rb +0 -2
- data/test/dummy_activerecord/config/application.rb +1 -1
- data/test/dummy_activerecord/config/environments/development.rb +1 -1
- data/test/dummy_activerecord/config/environments/test.rb +1 -1
- data/test/dummy_activerecord/log/test.log +497 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/260526788a28cefa81bc600586be1311 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/58e369b37e5157ea746a485eea17e9f7 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/59fddb0a51ca581e6a53e9219cd298bf +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/7ae10239eda2588a95fdcc7d871bef52 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/8d5d60255600aa010a32e1d1a9bc6db6 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/a5b83efac01dc54c4751dd02b18fecf2 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/b3d9b0e88cdded276ebdce333e338a85 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/b6d2aa6ccdbfae33b9016a32418f5697 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy_activerecord/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy_mongoid/app/controllers/maestrano/account/groups_controller.rb +1 -1
- data/test/tmp/app/models/monster.rb +2 -11
- data/test/tmp/db/migrate/20140731080123_add_maestrano_to_monsters.rb +15 -0
- metadata +66 -102
- data/lib/generators/maestrano/USAGE +0 -2
- data/lib/maestrano/rails/version.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 208686d35190aa53e5b6eb0508a2000c9daa72ad
|
4
|
+
data.tar.gz: 48e7356e3e922073f024a255a745e955db5f5208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45e0889f0f759b983759196b59e196c77bd88dbb166e1f30890b7ff2d1c6b032fc070035fbdd7e270fba208ccd6eda49c0855c90428d8c3f222ba3a13f73706e
|
7
|
+
data.tar.gz: e8e2648de7600f965dc0f5a28b8b67fbe4751c0a18a9bf877b3916cabcd07333be88f82636a74f18c729c897ca9a19dd153dba76454c401097594f3bbdee5745
|
data/Gemfile
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gem 'rails'
|
4
|
+
gem 'jquery-rails'
|
5
|
+
gem 'maestrano', '~> 0.9.0'
|
6
|
+
|
7
|
+
group :test do
|
8
|
+
gem 'test-unit'
|
9
|
+
gem 'mocha'
|
10
|
+
gem 'shoulda'
|
11
|
+
|
12
|
+
gem 'database_cleaner'
|
13
|
+
gem 'sqlite3'
|
14
|
+
gem 'mongoid'
|
15
|
+
gem 'bson_ext'
|
16
|
+
end
|
17
|
+
|
18
|
+
group :development do
|
19
|
+
gem 'jeweler'
|
20
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
actionmailer (4.1.4)
|
5
|
+
actionpack (= 4.1.4)
|
6
|
+
actionview (= 4.1.4)
|
7
|
+
mail (~> 2.5.4)
|
8
|
+
actionpack (4.1.4)
|
9
|
+
actionview (= 4.1.4)
|
10
|
+
activesupport (= 4.1.4)
|
11
|
+
rack (~> 1.5.2)
|
12
|
+
rack-test (~> 0.6.2)
|
13
|
+
actionview (4.1.4)
|
14
|
+
activesupport (= 4.1.4)
|
15
|
+
builder (~> 3.1)
|
16
|
+
erubis (~> 2.7.0)
|
17
|
+
activemodel (4.1.4)
|
18
|
+
activesupport (= 4.1.4)
|
19
|
+
builder (~> 3.1)
|
20
|
+
activerecord (4.1.4)
|
21
|
+
activemodel (= 4.1.4)
|
22
|
+
activesupport (= 4.1.4)
|
23
|
+
arel (~> 5.0.0)
|
24
|
+
activesupport (4.1.4)
|
25
|
+
i18n (~> 0.6, >= 0.6.9)
|
26
|
+
json (~> 1.7, >= 1.7.7)
|
27
|
+
minitest (~> 5.1)
|
28
|
+
thread_safe (~> 0.1)
|
29
|
+
tzinfo (~> 1.1)
|
30
|
+
addressable (2.3.6)
|
31
|
+
arel (5.0.1.20140414130214)
|
32
|
+
bson (1.10.2)
|
33
|
+
bson_ext (1.10.2)
|
34
|
+
bson (~> 1.10.2)
|
35
|
+
builder (3.2.2)
|
36
|
+
database_cleaner (1.3.0)
|
37
|
+
descendants_tracker (0.0.4)
|
38
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
39
|
+
durran-validatable (2.0.1)
|
40
|
+
erubis (2.7.0)
|
41
|
+
faraday (0.9.0)
|
42
|
+
multipart-post (>= 1.2, < 3)
|
43
|
+
git (1.2.7)
|
44
|
+
github_api (0.12.0)
|
45
|
+
addressable (~> 2.3)
|
46
|
+
descendants_tracker (~> 0.0.4)
|
47
|
+
faraday (~> 0.8, < 0.10)
|
48
|
+
hashie (>= 3.2)
|
49
|
+
multi_json (>= 1.7.5, < 2.0)
|
50
|
+
nokogiri (~> 1.6.3)
|
51
|
+
oauth2
|
52
|
+
hashie (3.2.0)
|
53
|
+
highline (1.6.21)
|
54
|
+
hike (1.2.3)
|
55
|
+
i18n (0.6.11)
|
56
|
+
jeweler (2.0.1)
|
57
|
+
builder
|
58
|
+
bundler (>= 1.0)
|
59
|
+
git (>= 1.2.5)
|
60
|
+
github_api
|
61
|
+
highline (>= 1.6.15)
|
62
|
+
nokogiri (>= 1.5.10)
|
63
|
+
rake
|
64
|
+
rdoc
|
65
|
+
jquery-rails (3.1.1)
|
66
|
+
railties (>= 3.0, < 5.0)
|
67
|
+
thor (>= 0.14, < 2.0)
|
68
|
+
json (1.8.1)
|
69
|
+
jwt (1.0.0)
|
70
|
+
leshill-will_paginate (2.3.11)
|
71
|
+
macaddr (1.7.1)
|
72
|
+
systemu (~> 2.6.2)
|
73
|
+
maestrano (0.9.0)
|
74
|
+
json (~> 1.8)
|
75
|
+
mime-types (~> 1.25)
|
76
|
+
nokogiri (>= 1.5.0)
|
77
|
+
rest-client (~> 1.4)
|
78
|
+
uuid (~> 2.3)
|
79
|
+
mail (2.5.4)
|
80
|
+
mime-types (~> 1.16)
|
81
|
+
treetop (~> 1.4.8)
|
82
|
+
metaclass (0.0.4)
|
83
|
+
mime-types (1.25.1)
|
84
|
+
mini_portile (0.6.0)
|
85
|
+
minitest (5.4.0)
|
86
|
+
mocha (1.1.0)
|
87
|
+
metaclass (~> 0.0.1)
|
88
|
+
mongo (1.10.2)
|
89
|
+
bson (= 1.10.2)
|
90
|
+
mongoid (1.0.6)
|
91
|
+
activesupport (>= 2.2.2)
|
92
|
+
durran-validatable (>= 2.0.1)
|
93
|
+
leshill-will_paginate (>= 2.3.11)
|
94
|
+
mongo (>= 0.18.2)
|
95
|
+
multi_json (1.10.1)
|
96
|
+
multi_xml (0.5.5)
|
97
|
+
multipart-post (2.0.0)
|
98
|
+
netrc (0.7.7)
|
99
|
+
nokogiri (1.6.3.1)
|
100
|
+
mini_portile (= 0.6.0)
|
101
|
+
oauth2 (1.0.0)
|
102
|
+
faraday (>= 0.8, < 0.10)
|
103
|
+
jwt (~> 1.0)
|
104
|
+
multi_json (~> 1.3)
|
105
|
+
multi_xml (~> 0.5)
|
106
|
+
rack (~> 1.2)
|
107
|
+
polyglot (0.3.5)
|
108
|
+
rack (1.5.2)
|
109
|
+
rack-test (0.6.2)
|
110
|
+
rack (>= 1.0)
|
111
|
+
rails (4.1.4)
|
112
|
+
actionmailer (= 4.1.4)
|
113
|
+
actionpack (= 4.1.4)
|
114
|
+
actionview (= 4.1.4)
|
115
|
+
activemodel (= 4.1.4)
|
116
|
+
activerecord (= 4.1.4)
|
117
|
+
activesupport (= 4.1.4)
|
118
|
+
bundler (>= 1.3.0, < 2.0)
|
119
|
+
railties (= 4.1.4)
|
120
|
+
sprockets-rails (~> 2.0)
|
121
|
+
railties (4.1.4)
|
122
|
+
actionpack (= 4.1.4)
|
123
|
+
activesupport (= 4.1.4)
|
124
|
+
rake (>= 0.8.7)
|
125
|
+
thor (>= 0.18.1, < 2.0)
|
126
|
+
rake (10.3.2)
|
127
|
+
rdoc (4.1.1)
|
128
|
+
json (~> 1.4)
|
129
|
+
rest-client (1.7.2)
|
130
|
+
mime-types (>= 1.16, < 3.0)
|
131
|
+
netrc (~> 0.7)
|
132
|
+
shoulda (3.5.0)
|
133
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
134
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
135
|
+
shoulda-context (1.2.1)
|
136
|
+
shoulda-matchers (2.6.2)
|
137
|
+
activesupport (>= 3.0.0)
|
138
|
+
sprockets (2.12.1)
|
139
|
+
hike (~> 1.2)
|
140
|
+
multi_json (~> 1.0)
|
141
|
+
rack (~> 1.0)
|
142
|
+
tilt (~> 1.1, != 1.3.0)
|
143
|
+
sprockets-rails (2.1.3)
|
144
|
+
actionpack (>= 3.0)
|
145
|
+
activesupport (>= 3.0)
|
146
|
+
sprockets (~> 2.8)
|
147
|
+
sqlite3 (1.3.9)
|
148
|
+
systemu (2.6.4)
|
149
|
+
test-unit (2.5.5)
|
150
|
+
thor (0.19.1)
|
151
|
+
thread_safe (0.3.4)
|
152
|
+
tilt (1.4.1)
|
153
|
+
treetop (1.4.15)
|
154
|
+
polyglot
|
155
|
+
polyglot (>= 0.3.1)
|
156
|
+
tzinfo (1.2.1)
|
157
|
+
thread_safe (~> 0.1)
|
158
|
+
uuid (2.3.7)
|
159
|
+
macaddr (~> 1.0)
|
160
|
+
|
161
|
+
PLATFORMS
|
162
|
+
ruby
|
163
|
+
|
164
|
+
DEPENDENCIES
|
165
|
+
bson_ext
|
166
|
+
database_cleaner
|
167
|
+
jeweler
|
168
|
+
jquery-rails
|
169
|
+
maestrano (~> 0.9.0)
|
170
|
+
mocha
|
171
|
+
mongoid
|
172
|
+
rails
|
173
|
+
shoulda
|
174
|
+
sqlite3
|
175
|
+
test-unit
|
data/README.md
CHANGED
@@ -213,7 +213,7 @@ class Maestrano::Account::GroupsController < Maestrano::Rails::WebHookController
|
|
213
213
|
end
|
214
214
|
|
215
215
|
organization.destroy
|
216
|
-
render json: {success: true}
|
216
|
+
render json: {success: true}
|
217
217
|
end
|
218
218
|
end
|
219
219
|
```
|
@@ -250,6 +250,8 @@ class Maestrano::Account::GroupUsersController < Maestrano::Rails::WebHookContro
|
|
250
250
|
organization.remove_user(user)
|
251
251
|
user.block_access! if user.reload.organizations.empty?
|
252
252
|
end
|
253
|
+
|
254
|
+
render json: {success: true}
|
253
255
|
end
|
254
256
|
end
|
255
257
|
```
|
data/Rakefile
CHANGED
@@ -20,13 +20,7 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
20
20
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
21
|
end
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
Bundler::GemHelper.install_tasks
|
27
|
-
|
28
23
|
require 'rake/testtask'
|
29
|
-
|
30
24
|
Rake::TestTask.new(:test) do |t|
|
31
25
|
t.libs << 'lib'
|
32
26
|
t.libs << 'test'
|
@@ -34,5 +28,21 @@ Rake::TestTask.new(:test) do |t|
|
|
34
28
|
t.verbose = false
|
35
29
|
end
|
36
30
|
|
31
|
+
require 'jeweler'
|
32
|
+
Jeweler::Tasks.new do |gem|
|
33
|
+
gem.name = "maestrano-rails"
|
34
|
+
gem.homepage = "https://maestrano.com"
|
35
|
+
gem.license = "MIT"
|
36
|
+
gem.summary = "Rails plugin for Maestrano API"
|
37
|
+
gem.description = "Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details."
|
38
|
+
|
39
|
+
gem.email = ["arnaud.lachaume@maestrano.com"]
|
40
|
+
gem.authors = ["Arnaud Lachaume"]
|
41
|
+
|
42
|
+
gem.files = FileList['app/**/*.rb', 'lib/**/*.rb', 'Gemfile*', 'LICENSE', 'README.md', 'Rakefile', 'maestrano-rails.gemspec']
|
43
|
+
gem.test_files = FileList['test/**/*']
|
44
|
+
end
|
45
|
+
Jeweler::RubygemsDotOrgTasks.new
|
46
|
+
|
37
47
|
|
38
|
-
task :default => :test
|
48
|
+
task :default => :test
|
@@ -0,0 +1,77 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: maestrano-rails 0.9.4 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "maestrano-rails"
|
9
|
+
s.version = "0.9.4"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Arnaud Lachaume"]
|
14
|
+
s.date = "2014-08-04"
|
15
|
+
s.description = "Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details."
|
16
|
+
s.email = ["arnaud.lachaume@maestrano.com"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE",
|
19
|
+
"README.md"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"LICENSE",
|
25
|
+
"README.md",
|
26
|
+
"Rakefile",
|
27
|
+
"app/controllers/maestrano/rails/metadata_controller.rb",
|
28
|
+
"app/controllers/maestrano/rails/saml_base_controller.rb",
|
29
|
+
"app/controllers/maestrano/rails/web_hook_controller.rb",
|
30
|
+
"lib/generators/active_record/maestrano_group_generator.rb",
|
31
|
+
"lib/generators/active_record/maestrano_user_generator.rb",
|
32
|
+
"lib/generators/active_record/templates/migration.rb",
|
33
|
+
"lib/generators/maestrano/group_generator.rb",
|
34
|
+
"lib/generators/maestrano/install_generator.rb",
|
35
|
+
"lib/generators/maestrano/orm_helpers.rb",
|
36
|
+
"lib/generators/maestrano/templates/group_users_controller.rb",
|
37
|
+
"lib/generators/maestrano/templates/groups_controller.rb",
|
38
|
+
"lib/generators/maestrano/templates/maestrano.rb",
|
39
|
+
"lib/generators/maestrano/templates/saml_controller.rb",
|
40
|
+
"lib/generators/maestrano/user_generator.rb",
|
41
|
+
"lib/generators/mongoid/maestrano_group_generator.rb",
|
42
|
+
"lib/generators/mongoid/maestrano_user_generator.rb",
|
43
|
+
"lib/maestrano-rails.rb",
|
44
|
+
"lib/maestrano/rails.rb",
|
45
|
+
"lib/maestrano/rails/controllers/maestrano_security.rb",
|
46
|
+
"lib/maestrano/rails/models/maestrano_auth_resource.rb",
|
47
|
+
"lib/maestrano/rails/routing/routes.rb",
|
48
|
+
"maestrano-rails.gemspec"
|
49
|
+
]
|
50
|
+
s.homepage = "https://maestrano.com"
|
51
|
+
s.licenses = ["MIT"]
|
52
|
+
s.rubygems_version = "2.2.2"
|
53
|
+
s.summary = "Rails plugin for Maestrano API"
|
54
|
+
s.test_files = ["test/controllers", "test/controllers/generic_controller_test.rb", "test/controllers/group_users_controller_test.rb", "test/controllers/groups_controller_test.rb", "test/controllers/metadata_controller_test.rb", "test/controllers/saml_controller_test.rb", "test/dummy", "test/dummy/app", "test/dummy/app/assets", "test/dummy/app/assets/images", "test/dummy/db", "test/dummy/db/development.sqlite3", "test/dummy/db/test.sqlite3", "test/dummy/log", "test/dummy/log/development.log", "test/dummy/log/test.log", "test/dummy/tmp", "test/dummy/tmp/cache", "test/dummy/tmp/cache/assets", "test/dummy_activerecord", "test/dummy_activerecord/README.rdoc", "test/dummy_activerecord/Rakefile", "test/dummy_activerecord/app", "test/dummy_activerecord/app/assets", "test/dummy_activerecord/app/assets/javascripts", "test/dummy_activerecord/app/assets/javascripts/application.js", "test/dummy_activerecord/app/assets/javascripts/pages.js", "test/dummy_activerecord/app/assets/stylesheets", "test/dummy_activerecord/app/assets/stylesheets/application.css", "test/dummy_activerecord/app/assets/stylesheets/pages.css", "test/dummy_activerecord/app/controllers", "test/dummy_activerecord/app/controllers/application_controller.rb", "test/dummy_activerecord/app/controllers/maestrano", "test/dummy_activerecord/app/controllers/maestrano/account", "test/dummy_activerecord/app/controllers/maestrano/account/group_users_controller.rb", "test/dummy_activerecord/app/controllers/maestrano/account/groups_controller.rb", "test/dummy_activerecord/app/controllers/maestrano/auth", "test/dummy_activerecord/app/controllers/maestrano/auth/saml_controller.rb", "test/dummy_activerecord/app/controllers/pages_controller.rb", "test/dummy_activerecord/app/helpers", "test/dummy_activerecord/app/helpers/application_helper.rb", "test/dummy_activerecord/app/helpers/pages_helper.rb", "test/dummy_activerecord/app/mailers", "test/dummy_activerecord/app/models", "test/dummy_activerecord/app/models/admin", "test/dummy_activerecord/app/models/admin.rb", "test/dummy_activerecord/app/models/admin/monster.rb", "test/dummy_activerecord/app/models/mno_crew.rb", "test/dummy_activerecord/app/models/mno_monster.rb", "test/dummy_activerecord/app/models/monster.rb", "test/dummy_activerecord/app/views", "test/dummy_activerecord/app/views/layouts", "test/dummy_activerecord/app/views/layouts/application.html.erb", "test/dummy_activerecord/app/views/pages", "test/dummy_activerecord/app/views/pages/home.html.erb", "test/dummy_activerecord/config", "test/dummy_activerecord/config.ru", "test/dummy_activerecord/config/application.rb", "test/dummy_activerecord/config/boot.rb", "test/dummy_activerecord/config/database.yml", "test/dummy_activerecord/config/environment.rb", "test/dummy_activerecord/config/environments", "test/dummy_activerecord/config/environments/development.rb", "test/dummy_activerecord/config/environments/production.rb", "test/dummy_activerecord/config/environments/test.rb", "test/dummy_activerecord/config/initializers", "test/dummy_activerecord/config/initializers/backtrace_silencers.rb", "test/dummy_activerecord/config/initializers/inflections.rb", "test/dummy_activerecord/config/initializers/maestrano.rb", "test/dummy_activerecord/config/initializers/mime_types.rb", "test/dummy_activerecord/config/initializers/secret_token.rb", "test/dummy_activerecord/config/initializers/session_store.rb", "test/dummy_activerecord/config/initializers/wrap_parameters.rb", "test/dummy_activerecord/config/locales", "test/dummy_activerecord/config/locales/en.yml", "test/dummy_activerecord/config/routes.rb", "test/dummy_activerecord/db", "test/dummy_activerecord/db/development.sqlite3", "test/dummy_activerecord/db/migrate", "test/dummy_activerecord/db/migrate/20140526125222_create_monsters.rb", "test/dummy_activerecord/db/migrate/20140526125242_create_admin_monsters.rb", "test/dummy_activerecord/db/migrate/20140526144828_create_mno_monsters.rb", "test/dummy_activerecord/db/migrate/20140526151139_create_mno_crews.rb", "test/dummy_activerecord/db/schema.rb", "test/dummy_activerecord/db/test.sqlite3", "test/dummy_activerecord/lib", "test/dummy_activerecord/lib/assets", "test/dummy_activerecord/log", "test/dummy_activerecord/log/development.log", "test/dummy_activerecord/log/test.log", "test/dummy_activerecord/public", "test/dummy_activerecord/public/404.html", "test/dummy_activerecord/public/422.html", "test/dummy_activerecord/public/500.html", "test/dummy_activerecord/public/favicon.ico", "test/dummy_activerecord/script", "test/dummy_activerecord/script/rails", "test/dummy_activerecord/tmp", "test/dummy_activerecord/tmp/cache", "test/dummy_activerecord/tmp/cache/assets", "test/dummy_activerecord/tmp/cache/assets/test", "test/dummy_activerecord/tmp/cache/assets/test/sprockets", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/260526788a28cefa81bc600586be1311", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/58e369b37e5157ea746a485eea17e9f7", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/59fddb0a51ca581e6a53e9219cd298bf", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/7ae10239eda2588a95fdcc7d871bef52", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/8d5d60255600aa010a32e1d1a9bc6db6", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/a5b83efac01dc54c4751dd02b18fecf2", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/b3d9b0e88cdded276ebdce333e338a85", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/b6d2aa6ccdbfae33b9016a32418f5697", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6", "test/dummy_activerecord/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655", "test/dummy_mongoid", "test/dummy_mongoid/README.rdoc", "test/dummy_mongoid/Rakefile", "test/dummy_mongoid/app", "test/dummy_mongoid/app/assets", "test/dummy_mongoid/app/assets/javascripts", "test/dummy_mongoid/app/assets/javascripts/application.js", "test/dummy_mongoid/app/assets/javascripts/pages.js", "test/dummy_mongoid/app/assets/stylesheets", "test/dummy_mongoid/app/assets/stylesheets/application.css", "test/dummy_mongoid/app/assets/stylesheets/pages.css", "test/dummy_mongoid/app/controllers", "test/dummy_mongoid/app/controllers/application_controller.rb", "test/dummy_mongoid/app/controllers/maestrano", "test/dummy_mongoid/app/controllers/maestrano/account", "test/dummy_mongoid/app/controllers/maestrano/account/group_users_controller.rb", "test/dummy_mongoid/app/controllers/maestrano/account/groups_controller.rb", "test/dummy_mongoid/app/controllers/maestrano/auth", "test/dummy_mongoid/app/controllers/maestrano/auth/saml_controller.rb", "test/dummy_mongoid/app/controllers/pages_controller.rb", "test/dummy_mongoid/app/helpers", "test/dummy_mongoid/app/helpers/application_helper.rb", "test/dummy_mongoid/app/helpers/pages_helper.rb", "test/dummy_mongoid/app/mailers", "test/dummy_mongoid/app/models", "test/dummy_mongoid/app/models/mno_crew.rb", "test/dummy_mongoid/app/models/mno_monster.rb", "test/dummy_mongoid/app/models/monster.rb", "test/dummy_mongoid/app/views", "test/dummy_mongoid/app/views/layouts", "test/dummy_mongoid/app/views/layouts/application.html.erb", "test/dummy_mongoid/app/views/pages", "test/dummy_mongoid/app/views/pages/home.html.erb", "test/dummy_mongoid/config", "test/dummy_mongoid/config.ru", "test/dummy_mongoid/config/application.rb", "test/dummy_mongoid/config/boot.rb", "test/dummy_mongoid/config/environment.rb", "test/dummy_mongoid/config/environments", "test/dummy_mongoid/config/environments/development.rb", "test/dummy_mongoid/config/environments/production.rb", "test/dummy_mongoid/config/environments/test.rb", "test/dummy_mongoid/config/initializers", "test/dummy_mongoid/config/initializers/backtrace_silencers.rb", "test/dummy_mongoid/config/initializers/inflections.rb", "test/dummy_mongoid/config/initializers/maestrano.rb", "test/dummy_mongoid/config/initializers/mime_types.rb", "test/dummy_mongoid/config/initializers/secret_token.rb", "test/dummy_mongoid/config/initializers/session_store.rb", "test/dummy_mongoid/config/initializers/wrap_parameters.rb", "test/dummy_mongoid/config/locales", "test/dummy_mongoid/config/locales/en.yml", "test/dummy_mongoid/config/mongoid.yml", "test/dummy_mongoid/config/routes.rb", "test/dummy_mongoid/db", "test/dummy_mongoid/db/migrate", "test/dummy_mongoid/db/migrate/20140526125222_create_monsters.rb", "test/dummy_mongoid/db/migrate/20140526125242_create_admin_monsters.rb", "test/dummy_mongoid/db/migrate/20140526144828_create_mno_monsters.rb", "test/dummy_mongoid/db/migrate/20140526151139_create_mno_crews.rb", "test/dummy_mongoid/db/schema.rb", "test/dummy_mongoid/lib", "test/dummy_mongoid/lib/assets", "test/dummy_mongoid/log", "test/dummy_mongoid/log/test.log", "test/dummy_mongoid/public", "test/dummy_mongoid/public/404.html", "test/dummy_mongoid/public/422.html", "test/dummy_mongoid/public/500.html", "test/dummy_mongoid/public/favicon.ico", "test/dummy_mongoid/script", "test/dummy_mongoid/script/rails", "test/generators", "test/generators/group", "test/generators/group/active_record_generator_test.rb", "test/generators/group/mongoid_generator_test.rb", "test/generators/group_generator_test.rb", "test/generators/install_generator_test.rb", "test/generators/user", "test/generators/user/active_record_generator_test.rb", "test/generators/user/mongoid_generator_test.rb", "test/generators/user_generator_test.rb", "test/maestrano-rails_test.rb", "test/models", "test/models/maestrano_group_via_test.rb", "test/models/maestrano_user_via_test.rb", "test/test_files", "test/test_files/config", "test/test_files/config/routes.rb", "test/test_helper.rb", "test/tmp", "test/tmp/app", "test/tmp/app/models", "test/tmp/app/models/monster.rb", "test/tmp/db", "test/tmp/db/migrate", "test/tmp/db/migrate/20140731080123_add_maestrano_to_monsters.rb"]
|
55
|
+
|
56
|
+
if s.respond_to? :specification_version then
|
57
|
+
s.specification_version = 4
|
58
|
+
|
59
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
|
+
s.add_runtime_dependency(%q<rails>, [">= 0"])
|
61
|
+
s.add_runtime_dependency(%q<jquery-rails>, [">= 0"])
|
62
|
+
s.add_runtime_dependency(%q<maestrano>, ["~> 0.9.0"])
|
63
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
64
|
+
else
|
65
|
+
s.add_dependency(%q<rails>, [">= 0"])
|
66
|
+
s.add_dependency(%q<jquery-rails>, [">= 0"])
|
67
|
+
s.add_dependency(%q<maestrano>, ["~> 0.9.0"])
|
68
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
69
|
+
end
|
70
|
+
else
|
71
|
+
s.add_dependency(%q<rails>, [">= 0"])
|
72
|
+
s.add_dependency(%q<jquery-rails>, [">= 0"])
|
73
|
+
s.add_dependency(%q<maestrano>, ["~> 0.9.0"])
|
74
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
@@ -44,7 +44,7 @@ module Dummy
|
|
44
44
|
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
45
45
|
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
46
46
|
# parameters by using an attr_accessible or attr_protected declaration.
|
47
|
-
config.active_record.whitelist_attributes = true
|
47
|
+
# config.active_record.whitelist_attributes = true
|
48
48
|
|
49
49
|
# Enable the asset pipeline
|
50
50
|
config.assets.enabled = true
|
@@ -23,7 +23,7 @@ Dummy::Application.configure do
|
|
23
23
|
config.action_dispatch.best_standards_support = :builtin
|
24
24
|
|
25
25
|
# Raise exception on mass assignment protection for Active Record models
|
26
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
26
|
+
# config.active_record.mass_assignment_sanitizer = :strict
|
27
27
|
|
28
28
|
# Log the query plan for queries taking more than this (works
|
29
29
|
# with SQLite, MySQL, and PostgreSQL)
|
@@ -30,7 +30,7 @@ Dummy::Application.configure do
|
|
30
30
|
config.action_mailer.delivery_method = :test
|
31
31
|
|
32
32
|
# Raise exception on mass assignment protection for Active Record models
|
33
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
33
|
+
# config.active_record.mass_assignment_sanitizer = :strict
|
34
34
|
|
35
35
|
# Print deprecation notices to the stderr
|
36
36
|
config.active_support.deprecation = :stderr
|
@@ -650,3 +650,500 @@ Completed 302 Found in 0.1ms (ActiveRecord: 0.0ms)
|
|
650
650
|
[1m[35m (0.0ms)[0m commit transaction
|
651
651
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
652
652
|
[1m[35m (0.0ms)[0m rollback transaction
|
653
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
654
|
+
---------------------------------------------------------------------------------------------------------------------
|
655
|
+
GenericControllerTest: test_: with a maestrano session should be successful if the maestrano session is still valid.
|
656
|
+
---------------------------------------------------------------------------------------------------------------------
|
657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
658
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
659
|
+
[1m[35m (0.0ms)[0m begin transaction
|
660
|
+
Processing by PagesController#home as HTML
|
661
|
+
Rendered pages/home.html.erb within layouts/application (0.4ms)
|
662
|
+
Completed 200 OK in 26ms (Views: 26.2ms | ActiveRecord: 0.0ms)
|
663
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
664
|
+
--------------------------------------------------------------------------------------------------------------------
|
665
|
+
GenericControllerTest: test_: with a maestrano session should initialize redirect to SSO initialization if invalid.
|
666
|
+
--------------------------------------------------------------------------------------------------------------------
|
667
|
+
[1m[35m (0.0ms)[0m begin transaction
|
668
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
670
|
+
Processing by PagesController#home as HTML
|
671
|
+
Redirected to http://localhost::3000/maestrano/auth/saml/init
|
672
|
+
Filter chain halted as :verify_maestrano_session rendered or redirected
|
673
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
674
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
675
|
+
-----------------------------------------------------------------------------------------------------------
|
676
|
+
GenericControllerTest: test_: with a maestrano session should not redirect to SSO init if sso is disabled.
|
677
|
+
-----------------------------------------------------------------------------------------------------------
|
678
|
+
[1m[35m (0.1ms)[0m begin transaction
|
679
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
680
|
+
[1m[35m (0.1ms)[0m begin transaction
|
681
|
+
Processing by PagesController#home as HTML
|
682
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
683
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
684
|
+
------------------------------------------------------------------------------
|
685
|
+
GenericControllerTest: test_: with no maestrano session should be successful.
|
686
|
+
------------------------------------------------------------------------------
|
687
|
+
[1m[35m (0.0ms)[0m begin transaction
|
688
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
690
|
+
Processing by PagesController#home as HTML
|
691
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
692
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
693
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
694
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
695
|
+
--------------------------------------------------------------------------------------------------------------------------------------
|
696
|
+
[1m[35m (0.0ms)[0m begin transaction
|
697
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
698
|
+
[1m[35m (0.0ms)[0m begin transaction
|
699
|
+
[1m[36mMnoMonster Load (0.4ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-2' ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m
|
700
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
701
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-07-31 08:01:23.181641"], ["email", "monster@monst.com"], ["first_name", "Mon"], ["last_name", "Ster"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-31 08:01:23.181641"]]
|
702
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
703
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
704
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
705
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoMonster from another provider if it exists.
|
706
|
+
--------------------------------------------------------------------------------------------------------------------------------------------------------
|
707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
708
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
709
|
+
[1m[35m (0.0ms)[0m begin transaction
|
710
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
711
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.186468"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-31 08:01:23.186468"]]
|
712
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
713
|
+
[1m[35mMnoMonster Load (0.1ms)[0m SELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1
|
714
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
715
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "mno_monsters" ("created_at", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.187899"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-31 08:01:23.187899"]]
|
716
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
717
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
718
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
719
|
+
MaestranoUserViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoMonster if it exists.
|
720
|
+
--------------------------------------------------------------------------------------------------------------------------------
|
721
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
722
|
+
[1m[35m (0.0ms)[0m commit transaction
|
723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
724
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
725
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "mno_monsters" ("created_at", "email", "first_name", "last_name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", "2014-07-31 08:01:23.190045"], ["email", "monster@co.com"], ["first_name", "John"], ["last_name", "Jack"], ["provider", "maestrano"], ["uid", "usr-1"], ["updated_at", "2014-07-31 08:01:23.190045"]]
|
726
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
727
|
+
[1m[36mMnoMonster Load (0.1ms)[0m [1mSELECT "mno_monsters".* FROM "mno_monsters" WHERE "mno_monsters"."provider" = 'maestrano' AND "mno_monsters"."uid" = 'usr-1' ORDER BY "mno_monsters"."id" ASC LIMIT 1[0m
|
728
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
729
|
+
---------------------------------------------------------------------------------------------------
|
730
|
+
MaestranoUserViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
731
|
+
---------------------------------------------------------------------------------------------------
|
732
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
733
|
+
[1m[35m (0.0ms)[0m commit transaction
|
734
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
735
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
736
|
+
------------------------------------------------------------------------------------------------------------
|
737
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
738
|
+
------------------------------------------------------------------------------------------------------------
|
739
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
740
|
+
[1m[35m (0.0ms)[0m commit transaction
|
741
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
742
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
743
|
+
----------------------------------------------------------------------------------------------
|
744
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
745
|
+
----------------------------------------------------------------------------------------------
|
746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
747
|
+
[1m[35m (0.0ms)[0m commit transaction
|
748
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
749
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
750
|
+
-----------------------------------------------------------------------------------------------------------------------
|
751
|
+
MaestranoUserViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
752
|
+
-----------------------------------------------------------------------------------------------------------------------
|
753
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
754
|
+
[1m[35m (0.0ms)[0m commit transaction
|
755
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
756
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
757
|
+
------------------------------
|
758
|
+
MaestranoRailsTest: test_truth
|
759
|
+
------------------------------
|
760
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
761
|
+
[1m[35m (0.0ms)[0m commit transaction
|
762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
763
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
764
|
+
---------------------------------------------------------------------------------------
|
765
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano initializer.
|
766
|
+
---------------------------------------------------------------------------------------
|
767
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
768
|
+
[1m[35m (0.0ms)[0m commit transaction
|
769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
771
|
+
----------------------------------------------------------------------------------
|
772
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano routes.
|
773
|
+
----------------------------------------------------------------------------------
|
774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
775
|
+
[1m[35m (0.4ms)[0m commit transaction
|
776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
777
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
778
|
+
----------------------------------------------------------------------------------------------------------
|
779
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/group_users_controller.
|
780
|
+
----------------------------------------------------------------------------------------------------------
|
781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
782
|
+
[1m[35m (0.0ms)[0m commit transaction
|
783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
784
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
785
|
+
-----------------------------------------------------------------------------------------------------
|
786
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/account/groups_controller.
|
787
|
+
-----------------------------------------------------------------------------------------------------
|
788
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
789
|
+
[1m[35m (0.0ms)[0m commit transaction
|
790
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
791
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
792
|
+
------------------------------------------------------------------------------------------------
|
793
|
+
InstallGeneratorTest: test_: InstallGenerator should create the maestrano/auth/saml_controller.
|
794
|
+
------------------------------------------------------------------------------------------------
|
795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
796
|
+
[1m[35m (0.0ms)[0m commit transaction
|
797
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
798
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
799
|
+
----------------------------------------------------------------------------------------------
|
800
|
+
SamlBaseControllerTest: test_: consume phase error should redirect to maestrano on any error.
|
801
|
+
----------------------------------------------------------------------------------------------
|
802
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
803
|
+
[1m[35m (0.0ms)[0m commit transaction
|
804
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
805
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
806
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
807
|
+
Bla
|
808
|
+
Redirected to http://api-sandbox.maestrano.io/app_access_unauthorized?err=internal
|
809
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
810
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
811
|
+
--------------------------------------------------------------------------------------------------------------------
|
812
|
+
SamlBaseControllerTest: test_: consume phase should reset the maestrano session successfully if one already exists.
|
813
|
+
--------------------------------------------------------------------------------------------------------------------
|
814
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
815
|
+
[1m[35m (0.0ms)[0m commit transaction
|
816
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
817
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
818
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
819
|
+
Redirected to http://test.host/
|
820
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
821
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
822
|
+
---------------------------------------------------------------------------------
|
823
|
+
SamlBaseControllerTest: test_: consume phase should set a saml_request in scope.
|
824
|
+
---------------------------------------------------------------------------------
|
825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
826
|
+
[1m[35m (0.0ms)[0m commit transaction
|
827
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
828
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
829
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
830
|
+
Redirected to http://test.host/
|
831
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
832
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
833
|
+
--------------------------------------------------------------------------------------
|
834
|
+
SamlBaseControllerTest: test_: consume phase should set the group_auth_hash in scope.
|
835
|
+
--------------------------------------------------------------------------------------
|
836
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
837
|
+
[1m[35m (0.0ms)[0m commit transaction
|
838
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
839
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
840
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
841
|
+
Redirected to http://test.host/
|
842
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
843
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
844
|
+
-------------------------------------------------------------------------------
|
845
|
+
SamlBaseControllerTest: test_: consume phase should set the maestrano session.
|
846
|
+
-------------------------------------------------------------------------------
|
847
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
848
|
+
[1m[35m (0.0ms)[0m commit transaction
|
849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
850
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
851
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
852
|
+
Redirected to http://test.host/
|
853
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
854
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
855
|
+
-------------------------------------------------------------------------------------
|
856
|
+
SamlBaseControllerTest: test_: consume phase should set the user_auth_hash in scope.
|
857
|
+
-------------------------------------------------------------------------------------
|
858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
859
|
+
[1m[35m (0.0ms)[0m commit transaction
|
860
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
861
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
862
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
863
|
+
Redirected to http://test.host/
|
864
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
865
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
866
|
+
------------------------------------------------------------------------------------------
|
867
|
+
SamlBaseControllerTest: test_: consume phase should set the user_group_rel_hash in scope.
|
868
|
+
------------------------------------------------------------------------------------------
|
869
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
870
|
+
[1m[35m (0.0ms)[0m commit transaction
|
871
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
872
|
+
Processing by Maestrano::Auth::SamlController#consume as HTML
|
873
|
+
Parameters: {"SAMLResponse"=>"g45ad5v40xc4b3fd478"}
|
874
|
+
Redirected to http://test.host/
|
875
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
876
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
877
|
+
---------------------------------------------------------------------------------------------------------------------------
|
878
|
+
SamlBaseControllerTest: test_: init phase should create a saml request successfully if a maestrano session is already set.
|
879
|
+
---------------------------------------------------------------------------------------------------------------------------
|
880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
881
|
+
[1m[35m (0.0ms)[0m commit transaction
|
882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
883
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
884
|
+
Parameters: {"a_param"=>"value"}
|
885
|
+
Redirected to http://idpprovider.com?r=request
|
886
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
887
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
888
|
+
-----------------------------------------------------------------------------------------------------------------------
|
889
|
+
SamlBaseControllerTest: test_: init phase should create a saml request using params and session and redirect the user.
|
890
|
+
-----------------------------------------------------------------------------------------------------------------------
|
891
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
892
|
+
[1m[35m (0.0ms)[0m commit transaction
|
893
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
894
|
+
Processing by Maestrano::Auth::SamlController#init as HTML
|
895
|
+
Parameters: {"a_param"=>"value"}
|
896
|
+
Redirected to http://idpprovider.com?r=request
|
897
|
+
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
|
898
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
899
|
+
-----------------------------------------------------------------
|
900
|
+
GroupsControllerTest: test_: authenticated should be successful.
|
901
|
+
-----------------------------------------------------------------
|
902
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
903
|
+
[1m[35m (0.0ms)[0m commit transaction
|
904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
905
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
906
|
+
Parameters: {"id"=>"cld-1"}
|
907
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
908
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
909
|
+
-----------------------------------------------------------------
|
910
|
+
GroupsControllerTest: test_: unauthenticated should deny access.
|
911
|
+
-----------------------------------------------------------------
|
912
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
913
|
+
[1m[35m (0.0ms)[0m commit transaction
|
914
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
915
|
+
Processing by Maestrano::Account::GroupsController#destroy as HTML
|
916
|
+
Parameters: {"id"=>"cld-1"}
|
917
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
918
|
+
Completed 401 Unauthorized in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
919
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
920
|
+
--------------------------------------------------------------------------------------------------------
|
921
|
+
UserGeneratorTest: test_: UserGenerator should call the active_record migration generator successfully.
|
922
|
+
--------------------------------------------------------------------------------------------------------
|
923
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
924
|
+
[1m[35m (0.0ms)[0m commit transaction
|
925
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
926
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
927
|
+
--------------------------------------------------------------------------------------------------
|
928
|
+
UserGeneratorTest: test_: UserGenerator should call the mongoid migration generator successfully.
|
929
|
+
--------------------------------------------------------------------------------------------------
|
930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
931
|
+
[1m[35m (0.0ms)[0m commit transaction
|
932
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
933
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
934
|
+
-------------------------------------------------------------------
|
935
|
+
MetadataControllerTest: test_: authenticated should be successful.
|
936
|
+
-------------------------------------------------------------------
|
937
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
938
|
+
[1m[35m (0.0ms)[0m commit transaction
|
939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
940
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
941
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
942
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
943
|
+
-------------------------------------------------------------------
|
944
|
+
MetadataControllerTest: test_: unauthenticated should deny access.
|
945
|
+
-------------------------------------------------------------------
|
946
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
947
|
+
[1m[35m (0.0ms)[0m commit transaction
|
948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
949
|
+
Processing by Maestrano::Rails::MetadataController#index as HTML
|
950
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
951
|
+
Completed 401 Unauthorized in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
952
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
953
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
954
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should create a monster using the mapping block.
|
955
|
+
---------------------------------------------------------------------------------------------------------------------------------------
|
956
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
957
|
+
[1m[35m (0.0ms)[0m commit transaction
|
958
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
959
|
+
[1m[35mMnoCrew Load (0.3ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'usr-2' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
960
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
961
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.328273"], ["name", "Monster Co"], ["provider", "maestrano"], ["uid", "usr-2"], ["updated_at", "2014-07-31 08:01:23.328273"]]
|
962
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
963
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
964
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
965
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should not return a MnoCrew from another provider if it exists.
|
966
|
+
------------------------------------------------------------------------------------------------------------------------------------------------------
|
967
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
968
|
+
[1m[35m (0.0ms)[0m commit transaction
|
969
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
970
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
971
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-31 08:01:23.330662"], ["name", "SomeOtherCrew"], ["provider", "someoneelse"], ["uid", "usr-1"], ["updated_at", "2014-07-31 08:01:23.330662"]]
|
972
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
973
|
+
[1m[36mMnoCrew Load (0.1ms)[0m [1mSELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1[0m
|
974
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
975
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", "2014-07-31 08:01:23.331956"], ["name", "Your Group"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-31 08:01:23.331956"]]
|
976
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
977
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
978
|
+
------------------------------------------------------------------------------------------------------------------------------
|
979
|
+
MaestranoGroupViaTest: test_: class methods find_or_create_for_maestrano class method should return the MnoCrew if it exists.
|
980
|
+
------------------------------------------------------------------------------------------------------------------------------
|
981
|
+
[1m[35m (0.0ms)[0m begin transaction
|
982
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
983
|
+
[1m[35m (0.0ms)[0m begin transaction
|
984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "mno_crews" ("created_at", "name", "provider", "uid", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-07-31 08:01:23.333704"], ["name", "SomeCrew"], ["provider", "maestrano"], ["uid", "cld-1"], ["updated_at", "2014-07-31 08:01:23.333704"]]
|
986
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
987
|
+
[1m[35mMnoCrew Load (0.1ms)[0m SELECT "mno_crews".* FROM "mno_crews" WHERE "mno_crews"."provider" = 'maestrano' AND "mno_crews"."uid" = 'cld-1' ORDER BY "mno_crews"."id" ASC LIMIT 1
|
988
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
989
|
+
----------------------------------------------------------------------------------------------------
|
990
|
+
MaestranoGroupViaTest: test_: class methods maestrano_*_via should have the right field definition.
|
991
|
+
----------------------------------------------------------------------------------------------------
|
992
|
+
[1m[35m (0.0ms)[0m begin transaction
|
993
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
995
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
996
|
+
-------------------------------------------------------------------------------------------------------------
|
997
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if provider is something else.
|
998
|
+
-------------------------------------------------------------------------------------------------------------
|
999
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1000
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1002
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1003
|
+
-----------------------------------------------------------------------------------------------
|
1004
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return false if uid is blank.
|
1005
|
+
-----------------------------------------------------------------------------------------------
|
1006
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1007
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1008
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1009
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1010
|
+
------------------------------------------------------------------------------------------------------------------------
|
1011
|
+
MaestranoGroupViaTest: test_: instance methods maestrano? should return true if provider is maestrano and uid not null.
|
1012
|
+
------------------------------------------------------------------------------------------------------------------------
|
1013
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1014
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1015
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1016
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1017
|
+
---------------------------------------------------------------------
|
1018
|
+
GroupUsersControllerTest: test_: authenticated should be successful.
|
1019
|
+
---------------------------------------------------------------------
|
1020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1021
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1023
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
1024
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
1025
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
1026
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1027
|
+
---------------------------------------------------------------------
|
1028
|
+
GroupUsersControllerTest: test_: unauthenticated should deny access.
|
1029
|
+
---------------------------------------------------------------------
|
1030
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1031
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1032
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1033
|
+
Processing by Maestrano::Account::GroupUsersController#destroy as HTML
|
1034
|
+
Parameters: {"group_id"=>"cld-1", "id"=>"usr-1"}
|
1035
|
+
Filter chain halted as :authenticate_maestrano! rendered or redirected
|
1036
|
+
Completed 401 Unauthorized in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
1037
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1038
|
+
-------------------------------------------------------------------------------------------
|
1039
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should create the right migration.
|
1040
|
+
-------------------------------------------------------------------------------------------
|
1041
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1042
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1043
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1044
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1045
|
+
---------------------------------------------------------------------------------------
|
1046
|
+
ActiveRecordGroupGeneratorTest: test_: namespaced model should edit the model content.
|
1047
|
+
---------------------------------------------------------------------------------------
|
1048
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1049
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1050
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1051
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1052
|
+
---------------------------------------------------------------------------------------
|
1053
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should create the right migration.
|
1054
|
+
---------------------------------------------------------------------------------------
|
1055
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1056
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1057
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1058
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1059
|
+
-----------------------------------------------------------------------------------
|
1060
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should edit the model content.
|
1061
|
+
-----------------------------------------------------------------------------------
|
1062
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1063
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1064
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1065
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1066
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1067
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
1068
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1070
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1071
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1072
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1073
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1074
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
1075
|
+
---------------------------------------------------------------------------------------------------------------------------
|
1076
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1077
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1078
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1079
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1080
|
+
----------------------------------------------------------------------------------------------
|
1081
|
+
ActiveRecordGroupGeneratorTest: test_: normal model should not include parameters in rails 4.
|
1082
|
+
----------------------------------------------------------------------------------------------
|
1083
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1084
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1085
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1086
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1087
|
+
----------------------------------------------------------------------------------------------------------
|
1088
|
+
GroupGeneratorTest: test_: GroupGenerator should call the active_record migration generator successfully.
|
1089
|
+
----------------------------------------------------------------------------------------------------------
|
1090
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1091
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1092
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1093
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1094
|
+
----------------------------------------------------------------------------------------------------
|
1095
|
+
GroupGeneratorTest: test_: GroupGenerator should call the mongoid migration generator successfully.
|
1096
|
+
----------------------------------------------------------------------------------------------------
|
1097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1098
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1099
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1100
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1101
|
+
------------------------------------------------------------------------------------------
|
1102
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should create the right migration.
|
1103
|
+
------------------------------------------------------------------------------------------
|
1104
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1105
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1106
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1107
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1108
|
+
--------------------------------------------------------------------------------------
|
1109
|
+
ActiveRecordUserGeneratorTest: test_: namespaced model should edit the model content.
|
1110
|
+
--------------------------------------------------------------------------------------
|
1111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1112
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1114
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1115
|
+
--------------------------------------------------------------------------------------
|
1116
|
+
ActiveRecordUserGeneratorTest: test_: normal model should create the right migration.
|
1117
|
+
--------------------------------------------------------------------------------------
|
1118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1119
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1120
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1121
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1122
|
+
----------------------------------------------------------------------------------
|
1123
|
+
ActiveRecordUserGeneratorTest: test_: normal model should edit the model content.
|
1124
|
+
----------------------------------------------------------------------------------
|
1125
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1126
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1127
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1128
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1129
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1130
|
+
ActiveRecordUserGeneratorTest: test_: normal model should include parameters if rails 3 and strong_parameter not present.
|
1131
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1132
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1133
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1134
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1135
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1136
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1137
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters if rails 3 and strong_parameter present.
|
1138
|
+
--------------------------------------------------------------------------------------------------------------------------
|
1139
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1140
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1141
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1142
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1143
|
+
---------------------------------------------------------------------------------------------
|
1144
|
+
ActiveRecordUserGeneratorTest: test_: normal model should not include parameters in rails 4.
|
1145
|
+
---------------------------------------------------------------------------------------------
|
1146
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1147
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1149
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|