maestrano-rails 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/maestrano/rails/models/maestrano_auth_resource.rb +7 -1
- data/lib/maestrano/rails/version.rb +1 -1
- data/test/{dummy → dummy_activerecord}/README.rdoc +0 -0
- data/test/{dummy → dummy_activerecord}/Rakefile +0 -0
- data/test/{dummy → dummy_activerecord}/app/assets/javascripts/application.js +0 -0
- data/test/{dummy → dummy_activerecord}/app/assets/javascripts/pages.js +0 -0
- data/test/{dummy → dummy_activerecord}/app/assets/stylesheets/application.css +0 -0
- data/test/{dummy → dummy_activerecord}/app/assets/stylesheets/pages.css +0 -0
- data/test/{dummy → dummy_activerecord}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/controllers/maestrano/account/group_users_controller.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/controllers/maestrano/account/groups_controller.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/controllers/maestrano/auth/saml_controller.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/controllers/pages_controller.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/helpers/application_helper.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/helpers/pages_helper.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/models/admin.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/models/admin/monster.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/models/mno_crew.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/models/mno_monster.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/models/monster.rb +0 -0
- data/test/{dummy → dummy_activerecord}/app/views/layouts/application.html.erb +0 -0
- data/test/{dummy → dummy_activerecord}/app/views/pages/home.html.erb +0 -0
- data/test/{dummy → dummy_activerecord}/config.ru +0 -0
- data/test/{dummy → dummy_activerecord}/config/application.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/boot.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/database.yml +0 -0
- data/test/{dummy → dummy_activerecord}/config/environment.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/environments/development.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/environments/production.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/environments/test.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/initializers/backtrace_silencers.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/initializers/inflections.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/initializers/maestrano.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/initializers/mime_types.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/initializers/secret_token.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/initializers/session_store.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/initializers/wrap_parameters.rb +0 -0
- data/test/{dummy → dummy_activerecord}/config/locales/en.yml +0 -0
- data/test/{dummy → dummy_activerecord}/config/routes.rb +0 -0
- data/test/{dummy → dummy_activerecord}/db/development.sqlite3 +0 -0
- data/test/{dummy → dummy_activerecord}/db/migrate/20140526125222_create_monsters.rb +0 -0
- data/test/{dummy → dummy_activerecord}/db/migrate/20140526125242_create_admin_monsters.rb +0 -0
- data/test/{dummy → dummy_activerecord}/db/migrate/20140526144828_create_mno_monsters.rb +0 -0
- data/test/{dummy → dummy_activerecord}/db/migrate/20140526151139_create_mno_crews.rb +0 -0
- data/test/{dummy → dummy_activerecord}/db/schema.rb +0 -0
- data/test/{dummy → dummy_activerecord}/db/test.sqlite3 +0 -0
- data/test/dummy_activerecord/log/development.log +76 -0
- data/test/dummy_activerecord/log/test.log +1761 -0
- data/test/{dummy → dummy_activerecord}/public/404.html +0 -0
- data/test/{dummy → dummy_activerecord}/public/422.html +0 -0
- data/test/{dummy → dummy_activerecord}/public/500.html +0 -0
- data/test/{dummy → dummy_activerecord}/public/favicon.ico +0 -0
- data/test/{dummy → dummy_activerecord}/script/rails +0 -0
- data/test/dummy_mongoid/README.rdoc +261 -0
- data/test/dummy_mongoid/Rakefile +7 -0
- data/test/dummy_mongoid/app/assets/javascripts/application.js +15 -0
- data/test/dummy_mongoid/app/assets/javascripts/pages.js +2 -0
- data/test/dummy_mongoid/app/assets/stylesheets/application.css +13 -0
- data/test/dummy_mongoid/app/assets/stylesheets/pages.css +4 -0
- data/test/dummy_mongoid/app/controllers/application_controller.rb +3 -0
- data/test/dummy_mongoid/app/controllers/maestrano/account/group_users_controller.rb +27 -0
- data/test/dummy_mongoid/app/controllers/maestrano/account/groups_controller.rb +37 -0
- data/test/dummy_mongoid/app/controllers/maestrano/auth/saml_controller.rb +14 -0
- data/test/dummy_mongoid/app/controllers/pages_controller.rb +4 -0
- data/test/dummy_mongoid/app/helpers/application_helper.rb +2 -0
- data/test/dummy_mongoid/app/helpers/pages_helper.rb +2 -0
- data/test/dummy_mongoid/app/models/mno_crew.rb +11 -0
- data/test/dummy_mongoid/app/models/mno_monster.rb +14 -0
- data/test/dummy_mongoid/app/models/monster.rb +3 -0
- data/test/dummy_mongoid/app/views/layouts/application.html.erb +14 -0
- data/test/dummy_mongoid/app/views/pages/home.html.erb +2 -0
- data/test/dummy_mongoid/config.ru +4 -0
- data/test/dummy_mongoid/config/application.rb +59 -0
- data/test/dummy_mongoid/config/boot.rb +10 -0
- data/test/dummy_mongoid/config/environment.rb +5 -0
- data/test/dummy_mongoid/config/environments/development.rb +37 -0
- data/test/dummy_mongoid/config/environments/production.rb +67 -0
- data/test/dummy_mongoid/config/environments/test.rb +37 -0
- data/test/dummy_mongoid/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy_mongoid/config/initializers/inflections.rb +15 -0
- data/test/dummy_mongoid/config/initializers/maestrano.rb +85 -0
- data/test/dummy_mongoid/config/initializers/mime_types.rb +5 -0
- data/test/dummy_mongoid/config/initializers/secret_token.rb +7 -0
- data/test/dummy_mongoid/config/initializers/session_store.rb +8 -0
- data/test/dummy_mongoid/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy_mongoid/config/locales/en.yml +5 -0
- data/test/dummy_mongoid/config/mongoid.yml +80 -0
- data/test/dummy_mongoid/config/routes.rb +63 -0
- data/test/dummy_mongoid/db/migrate/20140526125222_create_monsters.rb +8 -0
- data/test/dummy_mongoid/db/migrate/20140526125242_create_admin_monsters.rb +8 -0
- data/test/dummy_mongoid/db/migrate/20140526144828_create_mno_monsters.rb +13 -0
- data/test/dummy_mongoid/db/migrate/20140526151139_create_mno_crews.rb +11 -0
- data/test/dummy_mongoid/db/schema.rb +44 -0
- data/test/dummy_mongoid/log/test.log +244 -0
- data/test/dummy_mongoid/public/404.html +26 -0
- data/test/dummy_mongoid/public/422.html +26 -0
- data/test/dummy_mongoid/public/500.html +25 -0
- data/test/dummy_mongoid/public/favicon.ico +0 -0
- data/test/dummy_mongoid/script/rails +6 -0
- data/test/generators/group/active_record_generator_test.rb +1 -1
- data/test/generators/group/mongoid_generator_test.rb +1 -1
- data/test/generators/group_generator_test.rb +1 -1
- data/test/generators/user/active_record_generator_test.rb +1 -1
- data/test/generators/user/mongoid_generator_test.rb +1 -1
- data/test/generators/user_generator_test.rb +1 -1
- data/test/test_helper.rb +20 -2
- metadata +312 -217
- checksums.yaml +0 -7
- data/test/dummy/log/development.log +0 -44
- data/test/dummy/log/test.log +0 -6179
- data/test/dummy/test/fixtures/admin/monsters.yml +0 -11
- data/test/dummy/test/fixtures/mno_crews.yml +0 -11
- data/test/dummy/test/fixtures/mno_monsters.yml +0 -15
- data/test/dummy/test/fixtures/monsters.yml +0 -11
- data/test/dummy/test/functional/pages_controller_test.rb +0 -9
- data/test/dummy/test/unit/admin/monster_test.rb +0 -7
- data/test/dummy/test/unit/helpers/pages_helper_test.rb +0 -4
- data/test/dummy/test/unit/mno_crew_test.rb +0 -7
- data/test/dummy/test/unit/mno_monster_test.rb +0 -7
- data/test/dummy/test/unit/monster_test.rb +0 -7
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -65,7 +65,7 @@ if TEST_ORM == :active_record
|
|
65
65
|
|
66
66
|
# Copy model like: 'monster' or 'admin/monster'
|
67
67
|
def copy_model(relative_model_path)
|
68
|
-
model_path = File.expand_path("../../../
|
68
|
+
model_path = File.expand_path("../../../dummy_activerecord/app/models/#{relative_model_path}.rb", __FILE__)
|
69
69
|
if (path_ary = relative_model_path.split('/')) && path_ary.size > 1
|
70
70
|
destination = File.join(destination_root, "app", "models",*path_ary[0..-2])
|
71
71
|
else
|
@@ -54,7 +54,7 @@ if TEST_ORM == :mongoid
|
|
54
54
|
|
55
55
|
# Copy model like: 'monster' or 'admin/monster'
|
56
56
|
def copy_model(relative_model_path)
|
57
|
-
model_path = File.expand_path("../../../
|
57
|
+
model_path = File.expand_path("../../../dummy_activerecord/app/models/#{relative_model_path}.rb", __FILE__)
|
58
58
|
if (path_ary = relative_model_path.split('/')) && path_ary.size > 1
|
59
59
|
destination = File.join(destination_root, "app", "models",*path_ary[0..-2])
|
60
60
|
else
|
@@ -19,7 +19,7 @@ class GroupGeneratorTest < Rails::Generators::TestCase
|
|
19
19
|
|
20
20
|
# Copy model like: 'monster' or 'admin/monster'
|
21
21
|
def copy_model(relative_model_path)
|
22
|
-
model_path = File.expand_path("../../
|
22
|
+
model_path = File.expand_path("../../dummy_activerecord/app/models/#{relative_model_path}.rb", __FILE__)
|
23
23
|
if (path_ary = relative_model_path.split('/')) && path_ary.size > 1
|
24
24
|
destination = File.join(destination_root, "app", "models",*path_ary[0..-2])
|
25
25
|
else
|
@@ -65,7 +65,7 @@ if TEST_ORM == :active_record
|
|
65
65
|
|
66
66
|
# Copy model like: 'monster' or 'admin/monster'
|
67
67
|
def copy_model(relative_model_path)
|
68
|
-
model_path = File.expand_path("../../../
|
68
|
+
model_path = File.expand_path("../../../dummy_activerecord/app/models/#{relative_model_path}.rb", __FILE__)
|
69
69
|
if (path_ary = relative_model_path.split('/')) && path_ary.size > 1
|
70
70
|
destination = File.join(destination_root, "app", "models",*path_ary[0..-2])
|
71
71
|
else
|
@@ -54,7 +54,7 @@ if TEST_ORM == :mongoid
|
|
54
54
|
|
55
55
|
# Copy model like: 'monster' or 'admin/monster'
|
56
56
|
def copy_model(relative_model_path)
|
57
|
-
model_path = File.expand_path("../../../
|
57
|
+
model_path = File.expand_path("../../../dummy_activerecord/app/models/#{relative_model_path}.rb", __FILE__)
|
58
58
|
if (path_ary = relative_model_path.split('/')) && path_ary.size > 1
|
59
59
|
destination = File.join(destination_root, "app", "models",*path_ary[0..-2])
|
60
60
|
else
|
@@ -19,7 +19,7 @@ class UserGeneratorTest < Rails::Generators::TestCase
|
|
19
19
|
|
20
20
|
# Copy model like: 'monster' or 'admin/monster'
|
21
21
|
def copy_model(relative_model_path)
|
22
|
-
model_path = File.expand_path("../../
|
22
|
+
model_path = File.expand_path("../../dummy_activerecord/app/models/#{relative_model_path}.rb", __FILE__)
|
23
23
|
if (path_ary = relative_model_path.split('/')) && path_ary.size > 1
|
24
24
|
destination = File.join(destination_root, "app", "models",*path_ary[0..-2])
|
25
25
|
else
|
data/test/test_helper.rb
CHANGED
@@ -2,10 +2,16 @@
|
|
2
2
|
ENV["RAILS_ENV"] = "test"
|
3
3
|
TEST_ORM = (ENV["TEST_ORM"] || :active_record).to_sym
|
4
4
|
|
5
|
-
|
5
|
+
if TEST_ORM == :mongoid
|
6
|
+
require 'mongoid'
|
7
|
+
require File.expand_path("../dummy_mongoid/config/environment.rb", __FILE__)
|
8
|
+
else
|
9
|
+
require File.expand_path("../dummy_activerecord/config/environment.rb", __FILE__)
|
10
|
+
end
|
6
11
|
require "rails/test_help"
|
7
12
|
require "shoulda"
|
8
|
-
require "mocha"
|
13
|
+
require "mocha/setup"
|
14
|
+
require "database_cleaner"
|
9
15
|
|
10
16
|
Rails.backtrace_cleaner.remove_silencers!
|
11
17
|
|
@@ -17,6 +23,18 @@ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
|
17
23
|
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
18
24
|
end
|
19
25
|
|
26
|
+
# Configure database cleaning
|
27
|
+
DatabaseCleaner.strategy = (TEST_ORM == :mongoid ? :truncation : :transaction)
|
28
|
+
class ActiveSupport::TestCase
|
29
|
+
# Stop ActiveRecord from wrapping tests in transactions
|
30
|
+
if TEST_ORM == :active_record
|
31
|
+
self.use_transactional_fixtures = false
|
32
|
+
end
|
33
|
+
|
34
|
+
setup { DatabaseCleaner.start }
|
35
|
+
teardown { DatabaseCleaner.clean }
|
36
|
+
end
|
37
|
+
|
20
38
|
# For generators
|
21
39
|
require "rails/generators/test_case"
|
22
40
|
require "generators/maestrano/install_generator"
|
metadata
CHANGED
@@ -1,117 +1,132 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: maestrano-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.8.0
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
+
authors:
|
7
8
|
- Arnaud Lachaume
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
|
13
|
+
date: 2014-06-10 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
14
16
|
name: rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 3.2.3
|
20
|
-
type: :runtime
|
21
17
|
prerelease: false
|
22
|
-
|
23
|
-
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
24
21
|
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
22
|
+
- !ruby/object:Gem::Version
|
26
23
|
version: 3.2.3
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: maestrano
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.7'
|
34
24
|
type: :runtime
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: maestrano
|
35
28
|
prerelease: false
|
36
|
-
|
37
|
-
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
38
32
|
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version:
|
41
|
-
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0.7"
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
42
38
|
name: test-unit
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2'
|
48
|
-
type: :development
|
49
39
|
prerelease: false
|
50
|
-
|
51
|
-
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
52
43
|
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: mocha
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0.13'
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "2"
|
62
46
|
type: :development
|
47
|
+
version_requirements: *id003
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: mocha
|
63
50
|
prerelease: false
|
64
|
-
|
65
|
-
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
66
54
|
- - ~>
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version:
|
69
|
-
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0.13"
|
57
|
+
type: :development
|
58
|
+
version_requirements: *id004
|
59
|
+
- !ruby/object:Gem::Dependency
|
70
60
|
name: shoulda
|
71
|
-
|
72
|
-
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
73
65
|
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version:
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: "2.11"
|
76
68
|
type: :development
|
69
|
+
version_requirements: *id005
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: database_cleaner
|
77
72
|
prerelease: false
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0"
|
79
|
+
type: :development
|
80
|
+
version_requirements: *id006
|
81
|
+
- !ruby/object:Gem::Dependency
|
84
82
|
name: sqlite3
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
83
|
+
prerelease: false
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: "0"
|
90
90
|
type: :development
|
91
|
+
version_requirements: *id007
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: mongoid
|
91
94
|
prerelease: false
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ~>
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: "2.4"
|
101
|
+
type: :development
|
102
|
+
version_requirements: *id008
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: bson_ext
|
105
|
+
prerelease: false
|
106
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: "0"
|
112
|
+
type: :development
|
113
|
+
version_requirements: *id009
|
114
|
+
description: Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details.
|
115
|
+
email:
|
100
116
|
- arnaud.lachaume@maestrano.com
|
101
117
|
executables: []
|
118
|
+
|
102
119
|
extensions: []
|
120
|
+
|
103
121
|
extra_rdoc_files: []
|
104
|
-
|
105
|
-
|
106
|
-
- README.md
|
107
|
-
- Rakefile
|
122
|
+
|
123
|
+
files:
|
108
124
|
- app/controllers/maestrano/rails/metadata_controller.rb
|
109
125
|
- app/controllers/maestrano/rails/saml_base_controller.rb
|
110
126
|
- app/controllers/maestrano/rails/web_hook_controller.rb
|
111
127
|
- lib/generators/active_record/maestrano_group_generator.rb
|
112
128
|
- lib/generators/active_record/maestrano_user_generator.rb
|
113
129
|
- lib/generators/active_record/templates/migration.rb
|
114
|
-
- lib/generators/maestrano/USAGE
|
115
130
|
- lib/generators/maestrano/group_generator.rb
|
116
131
|
- lib/generators/maestrano/install_generator.rb
|
117
132
|
- lib/generators/maestrano/orm_helpers.rb
|
@@ -119,81 +134,121 @@ files:
|
|
119
134
|
- lib/generators/maestrano/templates/groups_controller.rb
|
120
135
|
- lib/generators/maestrano/templates/maestrano.rb
|
121
136
|
- lib/generators/maestrano/templates/saml_controller.rb
|
137
|
+
- lib/generators/maestrano/USAGE
|
122
138
|
- lib/generators/maestrano/user_generator.rb
|
123
139
|
- lib/generators/mongoid/maestrano_group_generator.rb
|
124
140
|
- lib/generators/mongoid/maestrano_user_generator.rb
|
125
|
-
- lib/maestrano-rails.rb
|
126
|
-
- lib/maestrano/rails.rb
|
127
141
|
- lib/maestrano/rails/controllers/maestrano_security.rb
|
128
142
|
- lib/maestrano/rails/models/maestrano_auth_resource.rb
|
129
143
|
- lib/maestrano/rails/routing/routes.rb
|
130
144
|
- lib/maestrano/rails/version.rb
|
145
|
+
- lib/maestrano/rails.rb
|
146
|
+
- lib/maestrano-rails.rb
|
147
|
+
- LICENSE
|
148
|
+
- Rakefile
|
149
|
+
- README.md
|
131
150
|
- test/controllers/generic_controller_test.rb
|
132
151
|
- test/controllers/group_users_controller_test.rb
|
133
152
|
- test/controllers/groups_controller_test.rb
|
134
153
|
- test/controllers/metadata_controller_test.rb
|
135
154
|
- test/controllers/saml_controller_test.rb
|
136
|
-
- test/
|
137
|
-
- test/
|
138
|
-
- test/
|
139
|
-
- test/
|
140
|
-
- test/
|
141
|
-
- test/
|
142
|
-
- test/
|
143
|
-
- test/
|
144
|
-
- test/
|
145
|
-
- test/
|
146
|
-
- test/
|
147
|
-
- test/
|
148
|
-
- test/
|
149
|
-
- test/
|
150
|
-
- test/
|
151
|
-
- test/
|
152
|
-
- test/
|
153
|
-
- test/
|
154
|
-
- test/
|
155
|
-
- test/
|
156
|
-
- test/
|
157
|
-
- test/
|
158
|
-
- test/
|
159
|
-
- test/
|
160
|
-
- test/
|
161
|
-
- test/
|
162
|
-
- test/
|
163
|
-
- test/
|
164
|
-
- test/
|
165
|
-
- test/
|
166
|
-
- test/
|
167
|
-
- test/
|
168
|
-
- test/
|
169
|
-
- test/
|
170
|
-
- test/
|
171
|
-
- test/
|
172
|
-
- test/
|
173
|
-
- test/
|
174
|
-
- test/
|
175
|
-
- test/
|
176
|
-
- test/
|
177
|
-
- test/
|
178
|
-
- test/
|
179
|
-
- test/
|
180
|
-
- test/
|
181
|
-
- test/
|
182
|
-
- test/
|
183
|
-
- test/
|
184
|
-
- test/
|
185
|
-
- test/
|
186
|
-
- test/
|
187
|
-
- test/
|
188
|
-
- test/
|
189
|
-
- test/
|
190
|
-
- test/
|
191
|
-
- test/
|
192
|
-
- test/
|
193
|
-
- test/
|
194
|
-
- test/
|
195
|
-
- test/
|
196
|
-
- test/
|
155
|
+
- test/dummy_activerecord/app/assets/javascripts/application.js
|
156
|
+
- test/dummy_activerecord/app/assets/javascripts/pages.js
|
157
|
+
- test/dummy_activerecord/app/assets/stylesheets/application.css
|
158
|
+
- test/dummy_activerecord/app/assets/stylesheets/pages.css
|
159
|
+
- test/dummy_activerecord/app/controllers/application_controller.rb
|
160
|
+
- test/dummy_activerecord/app/controllers/maestrano/account/group_users_controller.rb
|
161
|
+
- test/dummy_activerecord/app/controllers/maestrano/account/groups_controller.rb
|
162
|
+
- test/dummy_activerecord/app/controllers/maestrano/auth/saml_controller.rb
|
163
|
+
- test/dummy_activerecord/app/controllers/pages_controller.rb
|
164
|
+
- test/dummy_activerecord/app/helpers/application_helper.rb
|
165
|
+
- test/dummy_activerecord/app/helpers/pages_helper.rb
|
166
|
+
- test/dummy_activerecord/app/models/admin/monster.rb
|
167
|
+
- test/dummy_activerecord/app/models/admin.rb
|
168
|
+
- test/dummy_activerecord/app/models/mno_crew.rb
|
169
|
+
- test/dummy_activerecord/app/models/mno_monster.rb
|
170
|
+
- test/dummy_activerecord/app/models/monster.rb
|
171
|
+
- test/dummy_activerecord/app/views/layouts/application.html.erb
|
172
|
+
- test/dummy_activerecord/app/views/pages/home.html.erb
|
173
|
+
- test/dummy_activerecord/config/application.rb
|
174
|
+
- test/dummy_activerecord/config/boot.rb
|
175
|
+
- test/dummy_activerecord/config/database.yml
|
176
|
+
- test/dummy_activerecord/config/environment.rb
|
177
|
+
- test/dummy_activerecord/config/environments/development.rb
|
178
|
+
- test/dummy_activerecord/config/environments/production.rb
|
179
|
+
- test/dummy_activerecord/config/environments/test.rb
|
180
|
+
- test/dummy_activerecord/config/initializers/backtrace_silencers.rb
|
181
|
+
- test/dummy_activerecord/config/initializers/inflections.rb
|
182
|
+
- test/dummy_activerecord/config/initializers/maestrano.rb
|
183
|
+
- test/dummy_activerecord/config/initializers/mime_types.rb
|
184
|
+
- test/dummy_activerecord/config/initializers/secret_token.rb
|
185
|
+
- test/dummy_activerecord/config/initializers/session_store.rb
|
186
|
+
- test/dummy_activerecord/config/initializers/wrap_parameters.rb
|
187
|
+
- test/dummy_activerecord/config/locales/en.yml
|
188
|
+
- test/dummy_activerecord/config/routes.rb
|
189
|
+
- test/dummy_activerecord/config.ru
|
190
|
+
- test/dummy_activerecord/db/development.sqlite3
|
191
|
+
- test/dummy_activerecord/db/migrate/20140526125222_create_monsters.rb
|
192
|
+
- test/dummy_activerecord/db/migrate/20140526125242_create_admin_monsters.rb
|
193
|
+
- test/dummy_activerecord/db/migrate/20140526144828_create_mno_monsters.rb
|
194
|
+
- test/dummy_activerecord/db/migrate/20140526151139_create_mno_crews.rb
|
195
|
+
- test/dummy_activerecord/db/schema.rb
|
196
|
+
- test/dummy_activerecord/db/test.sqlite3
|
197
|
+
- test/dummy_activerecord/log/development.log
|
198
|
+
- test/dummy_activerecord/log/test.log
|
199
|
+
- test/dummy_activerecord/public/404.html
|
200
|
+
- test/dummy_activerecord/public/422.html
|
201
|
+
- test/dummy_activerecord/public/500.html
|
202
|
+
- test/dummy_activerecord/public/favicon.ico
|
203
|
+
- test/dummy_activerecord/Rakefile
|
204
|
+
- test/dummy_activerecord/README.rdoc
|
205
|
+
- test/dummy_activerecord/script/rails
|
206
|
+
- test/dummy_mongoid/app/assets/javascripts/application.js
|
207
|
+
- test/dummy_mongoid/app/assets/javascripts/pages.js
|
208
|
+
- test/dummy_mongoid/app/assets/stylesheets/application.css
|
209
|
+
- test/dummy_mongoid/app/assets/stylesheets/pages.css
|
210
|
+
- test/dummy_mongoid/app/controllers/application_controller.rb
|
211
|
+
- test/dummy_mongoid/app/controllers/maestrano/account/group_users_controller.rb
|
212
|
+
- test/dummy_mongoid/app/controllers/maestrano/account/groups_controller.rb
|
213
|
+
- test/dummy_mongoid/app/controllers/maestrano/auth/saml_controller.rb
|
214
|
+
- test/dummy_mongoid/app/controllers/pages_controller.rb
|
215
|
+
- test/dummy_mongoid/app/helpers/application_helper.rb
|
216
|
+
- test/dummy_mongoid/app/helpers/pages_helper.rb
|
217
|
+
- test/dummy_mongoid/app/models/mno_crew.rb
|
218
|
+
- test/dummy_mongoid/app/models/mno_monster.rb
|
219
|
+
- test/dummy_mongoid/app/models/monster.rb
|
220
|
+
- test/dummy_mongoid/app/views/layouts/application.html.erb
|
221
|
+
- test/dummy_mongoid/app/views/pages/home.html.erb
|
222
|
+
- test/dummy_mongoid/config/application.rb
|
223
|
+
- test/dummy_mongoid/config/boot.rb
|
224
|
+
- test/dummy_mongoid/config/environment.rb
|
225
|
+
- test/dummy_mongoid/config/environments/development.rb
|
226
|
+
- test/dummy_mongoid/config/environments/production.rb
|
227
|
+
- test/dummy_mongoid/config/environments/test.rb
|
228
|
+
- test/dummy_mongoid/config/initializers/backtrace_silencers.rb
|
229
|
+
- test/dummy_mongoid/config/initializers/inflections.rb
|
230
|
+
- test/dummy_mongoid/config/initializers/maestrano.rb
|
231
|
+
- test/dummy_mongoid/config/initializers/mime_types.rb
|
232
|
+
- test/dummy_mongoid/config/initializers/secret_token.rb
|
233
|
+
- test/dummy_mongoid/config/initializers/session_store.rb
|
234
|
+
- test/dummy_mongoid/config/initializers/wrap_parameters.rb
|
235
|
+
- test/dummy_mongoid/config/locales/en.yml
|
236
|
+
- test/dummy_mongoid/config/mongoid.yml
|
237
|
+
- test/dummy_mongoid/config/routes.rb
|
238
|
+
- test/dummy_mongoid/config.ru
|
239
|
+
- test/dummy_mongoid/db/migrate/20140526125222_create_monsters.rb
|
240
|
+
- test/dummy_mongoid/db/migrate/20140526125242_create_admin_monsters.rb
|
241
|
+
- test/dummy_mongoid/db/migrate/20140526144828_create_mno_monsters.rb
|
242
|
+
- test/dummy_mongoid/db/migrate/20140526151139_create_mno_crews.rb
|
243
|
+
- test/dummy_mongoid/db/schema.rb
|
244
|
+
- test/dummy_mongoid/log/test.log
|
245
|
+
- test/dummy_mongoid/public/404.html
|
246
|
+
- test/dummy_mongoid/public/422.html
|
247
|
+
- test/dummy_mongoid/public/500.html
|
248
|
+
- test/dummy_mongoid/public/favicon.ico
|
249
|
+
- test/dummy_mongoid/Rakefile
|
250
|
+
- test/dummy_mongoid/README.rdoc
|
251
|
+
- test/dummy_mongoid/script/rails
|
197
252
|
- test/generators/group/active_record_generator_test.rb
|
198
253
|
- test/generators/group/mongoid_generator_test.rb
|
199
254
|
- test/generators/group_generator_test.rb
|
@@ -209,94 +264,134 @@ files:
|
|
209
264
|
- test/tmp/app/models/monster.rb
|
210
265
|
homepage: https://maestrano.com
|
211
266
|
licenses: []
|
212
|
-
|
267
|
+
|
213
268
|
post_install_message:
|
214
269
|
rdoc_options: []
|
215
|
-
|
270
|
+
|
271
|
+
require_paths:
|
216
272
|
- lib
|
217
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
273
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
274
|
+
none: false
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: "0"
|
279
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
+
none: false
|
281
|
+
requirements:
|
282
|
+
- - ">="
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: "0"
|
227
285
|
requirements: []
|
286
|
+
|
228
287
|
rubyforge_project:
|
229
|
-
rubygems_version:
|
288
|
+
rubygems_version: 1.8.21
|
230
289
|
signing_key:
|
231
|
-
specification_version:
|
290
|
+
specification_version: 3
|
232
291
|
summary: Rails plugin for Maestrano API
|
233
|
-
test_files:
|
292
|
+
test_files:
|
234
293
|
- test/controllers/generic_controller_test.rb
|
235
294
|
- test/controllers/group_users_controller_test.rb
|
236
295
|
- test/controllers/groups_controller_test.rb
|
237
296
|
- test/controllers/metadata_controller_test.rb
|
238
297
|
- test/controllers/saml_controller_test.rb
|
239
|
-
- test/
|
240
|
-
- test/
|
241
|
-
- test/
|
242
|
-
- test/
|
243
|
-
- test/
|
244
|
-
- test/
|
245
|
-
- test/
|
246
|
-
- test/
|
247
|
-
- test/
|
248
|
-
- test/
|
249
|
-
- test/
|
250
|
-
- test/
|
251
|
-
- test/
|
252
|
-
- test/
|
253
|
-
- test/
|
254
|
-
- test/
|
255
|
-
- test/
|
256
|
-
- test/
|
257
|
-
- test/
|
258
|
-
- test/
|
259
|
-
- test/
|
260
|
-
- test/
|
261
|
-
- test/
|
262
|
-
- test/
|
263
|
-
- test/
|
264
|
-
- test/
|
265
|
-
- test/
|
266
|
-
- test/
|
267
|
-
- test/
|
268
|
-
- test/
|
269
|
-
- test/
|
270
|
-
- test/
|
271
|
-
- test/
|
272
|
-
- test/
|
273
|
-
- test/
|
274
|
-
- test/
|
275
|
-
- test/
|
276
|
-
- test/
|
277
|
-
- test/
|
278
|
-
- test/
|
279
|
-
- test/
|
280
|
-
- test/
|
281
|
-
- test/
|
282
|
-
- test/
|
283
|
-
- test/
|
284
|
-
- test/
|
285
|
-
- test/
|
286
|
-
- test/
|
287
|
-
- test/
|
288
|
-
- test/
|
289
|
-
- test/
|
290
|
-
- test/
|
291
|
-
- test/
|
292
|
-
- test/
|
293
|
-
- test/
|
294
|
-
- test/
|
295
|
-
- test/
|
296
|
-
- test/
|
297
|
-
- test/
|
298
|
-
- test/
|
299
|
-
- test/
|
298
|
+
- test/dummy_activerecord/app/assets/javascripts/application.js
|
299
|
+
- test/dummy_activerecord/app/assets/javascripts/pages.js
|
300
|
+
- test/dummy_activerecord/app/assets/stylesheets/application.css
|
301
|
+
- test/dummy_activerecord/app/assets/stylesheets/pages.css
|
302
|
+
- test/dummy_activerecord/app/controllers/application_controller.rb
|
303
|
+
- test/dummy_activerecord/app/controllers/maestrano/account/group_users_controller.rb
|
304
|
+
- test/dummy_activerecord/app/controllers/maestrano/account/groups_controller.rb
|
305
|
+
- test/dummy_activerecord/app/controllers/maestrano/auth/saml_controller.rb
|
306
|
+
- test/dummy_activerecord/app/controllers/pages_controller.rb
|
307
|
+
- test/dummy_activerecord/app/helpers/application_helper.rb
|
308
|
+
- test/dummy_activerecord/app/helpers/pages_helper.rb
|
309
|
+
- test/dummy_activerecord/app/models/admin/monster.rb
|
310
|
+
- test/dummy_activerecord/app/models/admin.rb
|
311
|
+
- test/dummy_activerecord/app/models/mno_crew.rb
|
312
|
+
- test/dummy_activerecord/app/models/mno_monster.rb
|
313
|
+
- test/dummy_activerecord/app/models/monster.rb
|
314
|
+
- test/dummy_activerecord/app/views/layouts/application.html.erb
|
315
|
+
- test/dummy_activerecord/app/views/pages/home.html.erb
|
316
|
+
- test/dummy_activerecord/config/application.rb
|
317
|
+
- test/dummy_activerecord/config/boot.rb
|
318
|
+
- test/dummy_activerecord/config/database.yml
|
319
|
+
- test/dummy_activerecord/config/environment.rb
|
320
|
+
- test/dummy_activerecord/config/environments/development.rb
|
321
|
+
- test/dummy_activerecord/config/environments/production.rb
|
322
|
+
- test/dummy_activerecord/config/environments/test.rb
|
323
|
+
- test/dummy_activerecord/config/initializers/backtrace_silencers.rb
|
324
|
+
- test/dummy_activerecord/config/initializers/inflections.rb
|
325
|
+
- test/dummy_activerecord/config/initializers/maestrano.rb
|
326
|
+
- test/dummy_activerecord/config/initializers/mime_types.rb
|
327
|
+
- test/dummy_activerecord/config/initializers/secret_token.rb
|
328
|
+
- test/dummy_activerecord/config/initializers/session_store.rb
|
329
|
+
- test/dummy_activerecord/config/initializers/wrap_parameters.rb
|
330
|
+
- test/dummy_activerecord/config/locales/en.yml
|
331
|
+
- test/dummy_activerecord/config/routes.rb
|
332
|
+
- test/dummy_activerecord/config.ru
|
333
|
+
- test/dummy_activerecord/db/development.sqlite3
|
334
|
+
- test/dummy_activerecord/db/migrate/20140526125222_create_monsters.rb
|
335
|
+
- test/dummy_activerecord/db/migrate/20140526125242_create_admin_monsters.rb
|
336
|
+
- test/dummy_activerecord/db/migrate/20140526144828_create_mno_monsters.rb
|
337
|
+
- test/dummy_activerecord/db/migrate/20140526151139_create_mno_crews.rb
|
338
|
+
- test/dummy_activerecord/db/schema.rb
|
339
|
+
- test/dummy_activerecord/db/test.sqlite3
|
340
|
+
- test/dummy_activerecord/log/development.log
|
341
|
+
- test/dummy_activerecord/log/test.log
|
342
|
+
- test/dummy_activerecord/public/404.html
|
343
|
+
- test/dummy_activerecord/public/422.html
|
344
|
+
- test/dummy_activerecord/public/500.html
|
345
|
+
- test/dummy_activerecord/public/favicon.ico
|
346
|
+
- test/dummy_activerecord/Rakefile
|
347
|
+
- test/dummy_activerecord/README.rdoc
|
348
|
+
- test/dummy_activerecord/script/rails
|
349
|
+
- test/dummy_mongoid/app/assets/javascripts/application.js
|
350
|
+
- test/dummy_mongoid/app/assets/javascripts/pages.js
|
351
|
+
- test/dummy_mongoid/app/assets/stylesheets/application.css
|
352
|
+
- test/dummy_mongoid/app/assets/stylesheets/pages.css
|
353
|
+
- test/dummy_mongoid/app/controllers/application_controller.rb
|
354
|
+
- test/dummy_mongoid/app/controllers/maestrano/account/group_users_controller.rb
|
355
|
+
- test/dummy_mongoid/app/controllers/maestrano/account/groups_controller.rb
|
356
|
+
- test/dummy_mongoid/app/controllers/maestrano/auth/saml_controller.rb
|
357
|
+
- test/dummy_mongoid/app/controllers/pages_controller.rb
|
358
|
+
- test/dummy_mongoid/app/helpers/application_helper.rb
|
359
|
+
- test/dummy_mongoid/app/helpers/pages_helper.rb
|
360
|
+
- test/dummy_mongoid/app/models/mno_crew.rb
|
361
|
+
- test/dummy_mongoid/app/models/mno_monster.rb
|
362
|
+
- test/dummy_mongoid/app/models/monster.rb
|
363
|
+
- test/dummy_mongoid/app/views/layouts/application.html.erb
|
364
|
+
- test/dummy_mongoid/app/views/pages/home.html.erb
|
365
|
+
- test/dummy_mongoid/config/application.rb
|
366
|
+
- test/dummy_mongoid/config/boot.rb
|
367
|
+
- test/dummy_mongoid/config/environment.rb
|
368
|
+
- test/dummy_mongoid/config/environments/development.rb
|
369
|
+
- test/dummy_mongoid/config/environments/production.rb
|
370
|
+
- test/dummy_mongoid/config/environments/test.rb
|
371
|
+
- test/dummy_mongoid/config/initializers/backtrace_silencers.rb
|
372
|
+
- test/dummy_mongoid/config/initializers/inflections.rb
|
373
|
+
- test/dummy_mongoid/config/initializers/maestrano.rb
|
374
|
+
- test/dummy_mongoid/config/initializers/mime_types.rb
|
375
|
+
- test/dummy_mongoid/config/initializers/secret_token.rb
|
376
|
+
- test/dummy_mongoid/config/initializers/session_store.rb
|
377
|
+
- test/dummy_mongoid/config/initializers/wrap_parameters.rb
|
378
|
+
- test/dummy_mongoid/config/locales/en.yml
|
379
|
+
- test/dummy_mongoid/config/mongoid.yml
|
380
|
+
- test/dummy_mongoid/config/routes.rb
|
381
|
+
- test/dummy_mongoid/config.ru
|
382
|
+
- test/dummy_mongoid/db/migrate/20140526125222_create_monsters.rb
|
383
|
+
- test/dummy_mongoid/db/migrate/20140526125242_create_admin_monsters.rb
|
384
|
+
- test/dummy_mongoid/db/migrate/20140526144828_create_mno_monsters.rb
|
385
|
+
- test/dummy_mongoid/db/migrate/20140526151139_create_mno_crews.rb
|
386
|
+
- test/dummy_mongoid/db/schema.rb
|
387
|
+
- test/dummy_mongoid/log/test.log
|
388
|
+
- test/dummy_mongoid/public/404.html
|
389
|
+
- test/dummy_mongoid/public/422.html
|
390
|
+
- test/dummy_mongoid/public/500.html
|
391
|
+
- test/dummy_mongoid/public/favicon.ico
|
392
|
+
- test/dummy_mongoid/Rakefile
|
393
|
+
- test/dummy_mongoid/README.rdoc
|
394
|
+
- test/dummy_mongoid/script/rails
|
300
395
|
- test/generators/group/active_record_generator_test.rb
|
301
396
|
- test/generators/group/mongoid_generator_test.rb
|
302
397
|
- test/generators/group_generator_test.rb
|