sublease 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +62 -0
- data/.travis.yml +68 -0
- data/CHANGELOG.md +3 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +29 -0
- data/Gemfile.lock +141 -0
- data/LICENSE +21 -0
- data/README.md +126 -0
- data/Rakefile +36 -0
- data/app/models/sublease/lodger.rb +71 -0
- data/app/models/sublease/tenant.rb +29 -0
- data/bin/rails +14 -0
- data/config/locales/de.yml +28 -0
- data/config/locales/en.yml +28 -0
- data/config/locales/es.yml +28 -0
- data/config/locales/fr.yml +28 -0
- data/config/locales/it.yml +28 -0
- data/config/locales/po.yml +28 -0
- data/gemfiles/Gemfile.jruby.rails-4.1-stable +29 -0
- data/gemfiles/Gemfile.jruby.rails-4.1-stable.lock +129 -0
- data/gemfiles/Gemfile.jruby.rails-4.2-stable +29 -0
- data/gemfiles/Gemfile.jruby.rails-4.2-stable.lock +152 -0
- data/gemfiles/Gemfile.jruby.rails-5.0-stable +29 -0
- data/gemfiles/Gemfile.jruby.rails-5.0-stable.lock +163 -0
- data/gemfiles/Gemfile.rails-4.1-stable +29 -0
- data/gemfiles/Gemfile.rails-4.1-stable.lock +115 -0
- data/gemfiles/Gemfile.rails-4.2-stable +29 -0
- data/gemfiles/Gemfile.rails-4.2-stable.lock +140 -0
- data/gemfiles/Gemfile.rails-5.0-stable +29 -0
- data/gemfiles/Gemfile.rails-5.0-stable.lock +141 -0
- data/lib/generators/sublease/install/USAGE +5 -0
- data/lib/generators/sublease/install/install_generator.rb +9 -0
- data/lib/generators/sublease/install/templates/sublease.rb +23 -0
- data/lib/sublease.rb +132 -0
- data/lib/sublease/engine.rb +5 -0
- data/lib/sublease/errors.rb +10 -0
- data/lib/sublease/tenant_switcher.rb +75 -0
- data/lib/sublease/version.rb +5 -0
- data/sublease.gemspec +28 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/javascripts/lodgers.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/assets/stylesheets/lodgers.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +7 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/controllers/lodgers_controller.rb +7 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/lodgers_helper.rb +2 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/models/lodger.rb +3 -0
- data/test/dummy/app/models/tenant.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/lodgers/index.html.erb +6 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +23 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +78 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/assets.rb +8 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/sublease.rb +24 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/migrate/20180114164205_create_tenants.rb +10 -0
- data/test/dummy/db/migrate/20180115012642_create_lodgers.rb +9 -0
- data/test/dummy/db/schema.rb +31 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/fixtures/lodgers.yml +14 -0
- data/test/fixtures/tenants.yml +18 -0
- data/test/integration/navigation_test.rb +41 -0
- data/test/lib/generators/sublease/install_generator_test.rb +25 -0
- data/test/models/sublease/lodger_test.rb +67 -0
- data/test/models/sublease/tenant_test.rb +25 -0
- data/test/sublease_test.rb +133 -0
- data/test/test_helper.rb +23 -0
- metadata +265 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
|
+
|
|
3
|
+
ruby '>= 2.3.1'
|
|
4
|
+
gem 'rails', github: 'rails/rails', branch: '4-2-stable'
|
|
5
|
+
gem 'rdoc'
|
|
6
|
+
|
|
7
|
+
gem 'shoulda', group: [:development, :test]
|
|
8
|
+
|
|
9
|
+
# Declare your gem's dependencies in sublease.gemspec
|
|
10
|
+
# Bundler will treat runtime dependencies like base dependencies, and
|
|
11
|
+
# development dependencies will be added by default to the :development group.
|
|
12
|
+
gemspec path: '..'
|
|
13
|
+
|
|
14
|
+
# Declare any dependencies that are still in development here instead of in
|
|
15
|
+
# your gemspec. These might include edge Rails or gems from your path or
|
|
16
|
+
# Git. Remember to move these dependencies to your gemspec before releasing
|
|
17
|
+
# your gem to rubygems.org.
|
|
18
|
+
|
|
19
|
+
platforms :jruby do
|
|
20
|
+
gem 'pry', group: [:development, :test]
|
|
21
|
+
gem 'activerecord-jdbc-adapter', '~> 1.3.24'
|
|
22
|
+
gem 'activerecord-jdbcsqlite3-adapter'
|
|
23
|
+
gem 'jruby-openssl'
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
platforms :ruby do
|
|
27
|
+
gem 'byebug', group: [:development, :test]
|
|
28
|
+
gem 'sqlite3'
|
|
29
|
+
end
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
GIT
|
|
2
|
+
remote: git://github.com/rails/rails.git
|
|
3
|
+
revision: fea03789818b07633e5751e134f10aa818f6efaa
|
|
4
|
+
branch: 4-2-stable
|
|
5
|
+
specs:
|
|
6
|
+
actionmailer (4.2.10)
|
|
7
|
+
actionpack (= 4.2.10)
|
|
8
|
+
actionview (= 4.2.10)
|
|
9
|
+
activejob (= 4.2.10)
|
|
10
|
+
mail (~> 2.5, >= 2.5.4)
|
|
11
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
12
|
+
actionpack (4.2.10)
|
|
13
|
+
actionview (= 4.2.10)
|
|
14
|
+
activesupport (= 4.2.10)
|
|
15
|
+
rack (~> 1.6)
|
|
16
|
+
rack-test (~> 0.6.2)
|
|
17
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
18
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
19
|
+
actionview (4.2.10)
|
|
20
|
+
activesupport (= 4.2.10)
|
|
21
|
+
builder (~> 3.1)
|
|
22
|
+
erubis (~> 2.7.0)
|
|
23
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
|
24
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
25
|
+
activejob (4.2.10)
|
|
26
|
+
activesupport (= 4.2.10)
|
|
27
|
+
globalid (>= 0.3.0)
|
|
28
|
+
activemodel (4.2.10)
|
|
29
|
+
activesupport (= 4.2.10)
|
|
30
|
+
builder (~> 3.1)
|
|
31
|
+
activerecord (4.2.10)
|
|
32
|
+
activemodel (= 4.2.10)
|
|
33
|
+
activesupport (= 4.2.10)
|
|
34
|
+
arel (~> 6.0)
|
|
35
|
+
activesupport (4.2.10)
|
|
36
|
+
i18n (~> 0.7)
|
|
37
|
+
minitest (~> 5.1)
|
|
38
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
|
39
|
+
tzinfo (~> 1.1)
|
|
40
|
+
rails (4.2.10)
|
|
41
|
+
actionmailer (= 4.2.10)
|
|
42
|
+
actionpack (= 4.2.10)
|
|
43
|
+
actionview (= 4.2.10)
|
|
44
|
+
activejob (= 4.2.10)
|
|
45
|
+
activemodel (= 4.2.10)
|
|
46
|
+
activerecord (= 4.2.10)
|
|
47
|
+
activesupport (= 4.2.10)
|
|
48
|
+
bundler (>= 1.3.0, < 2.0)
|
|
49
|
+
railties (= 4.2.10)
|
|
50
|
+
sprockets-rails
|
|
51
|
+
railties (4.2.10)
|
|
52
|
+
actionpack (= 4.2.10)
|
|
53
|
+
activesupport (= 4.2.10)
|
|
54
|
+
rake (>= 0.8.7)
|
|
55
|
+
thor (>= 0.18.1, < 2.0)
|
|
56
|
+
|
|
57
|
+
PATH
|
|
58
|
+
remote: .
|
|
59
|
+
specs:
|
|
60
|
+
sublease (0.1.0)
|
|
61
|
+
rails (>= 4.1, < 6.0)
|
|
62
|
+
request_store (>= 1.4.0)
|
|
63
|
+
|
|
64
|
+
GEM
|
|
65
|
+
remote: https://rubygems.org/
|
|
66
|
+
specs:
|
|
67
|
+
activerecord-jdbc-adapter (1.3.24)
|
|
68
|
+
activerecord (>= 2.2, < 5.0)
|
|
69
|
+
activerecord-jdbcsqlite3-adapter (1.3.24)
|
|
70
|
+
activerecord-jdbc-adapter (~> 1.3.24)
|
|
71
|
+
jdbc-sqlite3 (>= 3.7.2, < 3.9)
|
|
72
|
+
arel (6.0.4)
|
|
73
|
+
builder (3.2.3)
|
|
74
|
+
coderay (1.1.2)
|
|
75
|
+
concurrent-ruby (1.0.5-java)
|
|
76
|
+
crass (1.0.3)
|
|
77
|
+
erubis (2.7.0)
|
|
78
|
+
ffi (1.9.18-java)
|
|
79
|
+
globalid (0.4.1)
|
|
80
|
+
activesupport (>= 4.2.0)
|
|
81
|
+
i18n (0.9.3)
|
|
82
|
+
concurrent-ruby (~> 1.0)
|
|
83
|
+
jdbc-sqlite3 (3.8.11.2)
|
|
84
|
+
jruby-openssl (0.9.21-java)
|
|
85
|
+
loofah (2.1.1)
|
|
86
|
+
crass (~> 1.0.2)
|
|
87
|
+
nokogiri (>= 1.5.9)
|
|
88
|
+
mail (2.7.0)
|
|
89
|
+
mini_mime (>= 0.1.1)
|
|
90
|
+
method_source (0.9.0)
|
|
91
|
+
mini_mime (1.0.0)
|
|
92
|
+
minitest (5.11.3)
|
|
93
|
+
nokogiri (1.8.2-java)
|
|
94
|
+
pry (0.11.3-java)
|
|
95
|
+
coderay (~> 1.1.0)
|
|
96
|
+
method_source (~> 0.9.0)
|
|
97
|
+
spoon (~> 0.0)
|
|
98
|
+
rack (1.6.8)
|
|
99
|
+
rack-test (0.6.3)
|
|
100
|
+
rack (>= 1.0)
|
|
101
|
+
rails-deprecated_sanitizer (1.0.3)
|
|
102
|
+
activesupport (>= 4.2.0.alpha)
|
|
103
|
+
rails-dom-testing (1.0.9)
|
|
104
|
+
activesupport (>= 4.2.0, < 5.0)
|
|
105
|
+
nokogiri (~> 1.6)
|
|
106
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
|
107
|
+
rails-html-sanitizer (1.0.3)
|
|
108
|
+
loofah (~> 2.0)
|
|
109
|
+
rake (12.3.0)
|
|
110
|
+
rdoc (6.0.1)
|
|
111
|
+
request_store (1.4.0)
|
|
112
|
+
rack (>= 1.4)
|
|
113
|
+
shoulda (3.5.0)
|
|
114
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
|
115
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
|
116
|
+
shoulda-context (1.2.2)
|
|
117
|
+
shoulda-matchers (2.8.0)
|
|
118
|
+
activesupport (>= 3.0.0)
|
|
119
|
+
spoon (0.0.6)
|
|
120
|
+
ffi
|
|
121
|
+
sprockets (3.7.1)
|
|
122
|
+
concurrent-ruby (~> 1.0)
|
|
123
|
+
rack (> 1, < 3)
|
|
124
|
+
sprockets-rails (3.2.1)
|
|
125
|
+
actionpack (>= 4.0)
|
|
126
|
+
activesupport (>= 4.0)
|
|
127
|
+
sprockets (>= 3.0.0)
|
|
128
|
+
thor (0.20.0)
|
|
129
|
+
thread_safe (0.3.6-java)
|
|
130
|
+
tzinfo (1.2.4)
|
|
131
|
+
thread_safe (~> 0.1)
|
|
132
|
+
|
|
133
|
+
PLATFORMS
|
|
134
|
+
java
|
|
135
|
+
|
|
136
|
+
DEPENDENCIES
|
|
137
|
+
activerecord-jdbc-adapter (~> 1.3.24)
|
|
138
|
+
activerecord-jdbcsqlite3-adapter
|
|
139
|
+
byebug
|
|
140
|
+
jruby-openssl
|
|
141
|
+
pry
|
|
142
|
+
rails!
|
|
143
|
+
rdoc
|
|
144
|
+
shoulda
|
|
145
|
+
sqlite3
|
|
146
|
+
sublease!
|
|
147
|
+
|
|
148
|
+
RUBY VERSION
|
|
149
|
+
ruby 2.3.3p0 (jruby 9.1.13.0)
|
|
150
|
+
|
|
151
|
+
BUNDLED WITH
|
|
152
|
+
1.16.1
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
|
+
|
|
3
|
+
ruby '>= 2.3.1'
|
|
4
|
+
gem 'rails', '~> 5.0.0'
|
|
5
|
+
gem 'rdoc'
|
|
6
|
+
|
|
7
|
+
gem 'shoulda', group: [:development, :test]
|
|
8
|
+
|
|
9
|
+
# Declare your gem's dependencies in sublease.gemspec
|
|
10
|
+
# Bundler will treat runtime dependencies like base dependencies, and
|
|
11
|
+
# development dependencies will be added by default to the :development group.
|
|
12
|
+
gemspec path: '..'
|
|
13
|
+
|
|
14
|
+
# Declare any dependencies that are still in development here instead of in
|
|
15
|
+
# your gemspec. These might include edge Rails or gems from your path or
|
|
16
|
+
# Git. Remember to move these dependencies to your gemspec before releasing
|
|
17
|
+
# your gem to rubygems.org.
|
|
18
|
+
|
|
19
|
+
platforms :jruby do
|
|
20
|
+
gem 'pry', group: [:development, :test]
|
|
21
|
+
gem 'activerecord-jdbc-adapter'
|
|
22
|
+
gem 'activerecord-jdbcsqlite3-adapter'
|
|
23
|
+
gem 'jruby-openssl'
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
platforms :ruby do
|
|
27
|
+
gem 'byebug', group: [:development, :test]
|
|
28
|
+
gem 'sqlite3'
|
|
29
|
+
end
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
sublease (0.1.0.rc4)
|
|
5
|
+
rails (>= 4.1, < 6.0)
|
|
6
|
+
request_store (>= 1.4.0)
|
|
7
|
+
|
|
8
|
+
GEM
|
|
9
|
+
remote: https://rubygems.org/
|
|
10
|
+
specs:
|
|
11
|
+
actioncable (5.0.6)
|
|
12
|
+
actionpack (= 5.0.6)
|
|
13
|
+
nio4r (>= 1.2, < 3.0)
|
|
14
|
+
websocket-driver (~> 0.6.1)
|
|
15
|
+
actionmailer (5.0.6)
|
|
16
|
+
actionpack (= 5.0.6)
|
|
17
|
+
actionview (= 5.0.6)
|
|
18
|
+
activejob (= 5.0.6)
|
|
19
|
+
mail (~> 2.5, >= 2.5.4)
|
|
20
|
+
rails-dom-testing (~> 2.0)
|
|
21
|
+
actionpack (5.0.6)
|
|
22
|
+
actionview (= 5.0.6)
|
|
23
|
+
activesupport (= 5.0.6)
|
|
24
|
+
rack (~> 2.0)
|
|
25
|
+
rack-test (~> 0.6.3)
|
|
26
|
+
rails-dom-testing (~> 2.0)
|
|
27
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
28
|
+
actionview (5.0.6)
|
|
29
|
+
activesupport (= 5.0.6)
|
|
30
|
+
builder (~> 3.1)
|
|
31
|
+
erubis (~> 2.7.0)
|
|
32
|
+
rails-dom-testing (~> 2.0)
|
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
34
|
+
activejob (5.0.6)
|
|
35
|
+
activesupport (= 5.0.6)
|
|
36
|
+
globalid (>= 0.3.6)
|
|
37
|
+
activemodel (5.0.6)
|
|
38
|
+
activesupport (= 5.0.6)
|
|
39
|
+
activerecord (5.0.6)
|
|
40
|
+
activemodel (= 5.0.6)
|
|
41
|
+
activesupport (= 5.0.6)
|
|
42
|
+
arel (~> 7.0)
|
|
43
|
+
activerecord-jdbc-adapter (50.0)
|
|
44
|
+
activerecord (>= 2.2)
|
|
45
|
+
activerecord-jdbcsqlite3-adapter (50.0)
|
|
46
|
+
activerecord-jdbc-adapter (~> 50.0)
|
|
47
|
+
jdbc-sqlite3 (~> 3.8, < 3.30)
|
|
48
|
+
activesupport (5.0.6)
|
|
49
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
50
|
+
i18n (~> 0.7)
|
|
51
|
+
minitest (~> 5.1)
|
|
52
|
+
tzinfo (~> 1.1)
|
|
53
|
+
arel (7.1.4)
|
|
54
|
+
builder (3.2.3)
|
|
55
|
+
byebug (10.0.0)
|
|
56
|
+
coderay (1.1.2)
|
|
57
|
+
concurrent-ruby (1.0.5)
|
|
58
|
+
concurrent-ruby (1.0.5-java)
|
|
59
|
+
crass (1.0.3)
|
|
60
|
+
erubis (2.7.0)
|
|
61
|
+
ffi (1.9.18-java)
|
|
62
|
+
globalid (0.4.1)
|
|
63
|
+
activesupport (>= 4.2.0)
|
|
64
|
+
i18n (0.9.3)
|
|
65
|
+
concurrent-ruby (~> 1.0)
|
|
66
|
+
jdbc-sqlite3 (3.20.1)
|
|
67
|
+
jruby-openssl (0.9.21-java)
|
|
68
|
+
loofah (2.1.1)
|
|
69
|
+
crass (~> 1.0.2)
|
|
70
|
+
nokogiri (>= 1.5.9)
|
|
71
|
+
mail (2.7.0)
|
|
72
|
+
mini_mime (>= 0.1.1)
|
|
73
|
+
method_source (0.9.0)
|
|
74
|
+
mini_mime (1.0.0)
|
|
75
|
+
mini_portile2 (2.3.0)
|
|
76
|
+
minitest (5.11.3)
|
|
77
|
+
nio4r (2.2.0)
|
|
78
|
+
nio4r (2.2.0-java)
|
|
79
|
+
nokogiri (1.8.2)
|
|
80
|
+
mini_portile2 (~> 2.3.0)
|
|
81
|
+
nokogiri (1.8.2-java)
|
|
82
|
+
pry (0.11.3-java)
|
|
83
|
+
coderay (~> 1.1.0)
|
|
84
|
+
method_source (~> 0.9.0)
|
|
85
|
+
spoon (~> 0.0)
|
|
86
|
+
rack (2.0.3)
|
|
87
|
+
rack-test (0.6.3)
|
|
88
|
+
rack (>= 1.0)
|
|
89
|
+
rails (5.0.6)
|
|
90
|
+
actioncable (= 5.0.6)
|
|
91
|
+
actionmailer (= 5.0.6)
|
|
92
|
+
actionpack (= 5.0.6)
|
|
93
|
+
actionview (= 5.0.6)
|
|
94
|
+
activejob (= 5.0.6)
|
|
95
|
+
activemodel (= 5.0.6)
|
|
96
|
+
activerecord (= 5.0.6)
|
|
97
|
+
activesupport (= 5.0.6)
|
|
98
|
+
bundler (>= 1.3.0)
|
|
99
|
+
railties (= 5.0.6)
|
|
100
|
+
sprockets-rails (>= 2.0.0)
|
|
101
|
+
rails-dom-testing (2.0.3)
|
|
102
|
+
activesupport (>= 4.2.0)
|
|
103
|
+
nokogiri (>= 1.6)
|
|
104
|
+
rails-html-sanitizer (1.0.3)
|
|
105
|
+
loofah (~> 2.0)
|
|
106
|
+
railties (5.0.6)
|
|
107
|
+
actionpack (= 5.0.6)
|
|
108
|
+
activesupport (= 5.0.6)
|
|
109
|
+
method_source
|
|
110
|
+
rake (>= 0.8.7)
|
|
111
|
+
thor (>= 0.18.1, < 2.0)
|
|
112
|
+
rake (12.3.0)
|
|
113
|
+
rdoc (6.0.1)
|
|
114
|
+
request_store (1.4.0)
|
|
115
|
+
rack (>= 1.4)
|
|
116
|
+
shoulda (3.5.0)
|
|
117
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
|
118
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
|
119
|
+
shoulda-context (1.2.2)
|
|
120
|
+
shoulda-matchers (2.8.0)
|
|
121
|
+
activesupport (>= 3.0.0)
|
|
122
|
+
spoon (0.0.6)
|
|
123
|
+
ffi
|
|
124
|
+
sprockets (3.7.1)
|
|
125
|
+
concurrent-ruby (~> 1.0)
|
|
126
|
+
rack (> 1, < 3)
|
|
127
|
+
sprockets-rails (3.2.1)
|
|
128
|
+
actionpack (>= 4.0)
|
|
129
|
+
activesupport (>= 4.0)
|
|
130
|
+
sprockets (>= 3.0.0)
|
|
131
|
+
sqlite3 (1.3.13)
|
|
132
|
+
thor (0.20.0)
|
|
133
|
+
thread_safe (0.3.6)
|
|
134
|
+
thread_safe (0.3.6-java)
|
|
135
|
+
tzinfo (1.2.4)
|
|
136
|
+
thread_safe (~> 0.1)
|
|
137
|
+
websocket-driver (0.6.5)
|
|
138
|
+
websocket-extensions (>= 0.1.0)
|
|
139
|
+
websocket-driver (0.6.5-java)
|
|
140
|
+
websocket-extensions (>= 0.1.0)
|
|
141
|
+
websocket-extensions (0.1.3)
|
|
142
|
+
|
|
143
|
+
PLATFORMS
|
|
144
|
+
java
|
|
145
|
+
ruby
|
|
146
|
+
|
|
147
|
+
DEPENDENCIES
|
|
148
|
+
activerecord-jdbc-adapter
|
|
149
|
+
activerecord-jdbcsqlite3-adapter
|
|
150
|
+
byebug
|
|
151
|
+
jruby-openssl
|
|
152
|
+
pry
|
|
153
|
+
rails (~> 5.0.0)
|
|
154
|
+
rdoc
|
|
155
|
+
shoulda
|
|
156
|
+
sqlite3
|
|
157
|
+
sublease!
|
|
158
|
+
|
|
159
|
+
RUBY VERSION
|
|
160
|
+
ruby 2.5.0p0
|
|
161
|
+
|
|
162
|
+
BUNDLED WITH
|
|
163
|
+
1.16.1
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
|
+
|
|
3
|
+
ruby '>= 2.3.1'
|
|
4
|
+
gem 'rails', github: 'rails/rails', branch: '4-1-stable'
|
|
5
|
+
gem 'rdoc'
|
|
6
|
+
|
|
7
|
+
gem 'shoulda', group: [:development, :test]
|
|
8
|
+
|
|
9
|
+
# Declare your gem's dependencies in sublease.gemspec
|
|
10
|
+
# Bundler will treat runtime dependencies like base dependencies, and
|
|
11
|
+
# development dependencies will be added by default to the :development group.
|
|
12
|
+
gemspec path: '..'
|
|
13
|
+
|
|
14
|
+
# Declare any dependencies that are still in development here instead of in
|
|
15
|
+
# your gemspec. These might include edge Rails or gems from your path or
|
|
16
|
+
# Git. Remember to move these dependencies to your gemspec before releasing
|
|
17
|
+
# your gem to rubygems.org.
|
|
18
|
+
|
|
19
|
+
platforms :jruby do
|
|
20
|
+
gem 'pry', group: [:development, :test]
|
|
21
|
+
gem 'activerecord-jdbc-adapter'
|
|
22
|
+
gem 'activerecord-jdbcsqlite3-adapter'
|
|
23
|
+
gem 'jruby-openssl'
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
platforms :ruby do
|
|
27
|
+
gem 'byebug', group: [:development, :test]
|
|
28
|
+
gem 'sqlite3'
|
|
29
|
+
end
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
GIT
|
|
2
|
+
remote: git://github.com/rails/rails.git
|
|
3
|
+
revision: 0cad778c2605a5204a05a9f1dbd3344e39f248d8
|
|
4
|
+
branch: 4-1-stable
|
|
5
|
+
specs:
|
|
6
|
+
actionmailer (4.1.16)
|
|
7
|
+
actionpack (= 4.1.16)
|
|
8
|
+
actionview (= 4.1.16)
|
|
9
|
+
mail (~> 2.5, >= 2.5.4)
|
|
10
|
+
actionpack (4.1.16)
|
|
11
|
+
actionview (= 4.1.16)
|
|
12
|
+
activesupport (= 4.1.16)
|
|
13
|
+
rack (~> 1.5.2)
|
|
14
|
+
rack-test (~> 0.6.2)
|
|
15
|
+
actionview (4.1.16)
|
|
16
|
+
activesupport (= 4.1.16)
|
|
17
|
+
builder (~> 3.1)
|
|
18
|
+
erubis (~> 2.7.0)
|
|
19
|
+
activemodel (4.1.16)
|
|
20
|
+
activesupport (= 4.1.16)
|
|
21
|
+
builder (~> 3.1)
|
|
22
|
+
activerecord (4.1.16)
|
|
23
|
+
activemodel (= 4.1.16)
|
|
24
|
+
activesupport (= 4.1.16)
|
|
25
|
+
arel (~> 5.0.0)
|
|
26
|
+
activesupport (4.1.16)
|
|
27
|
+
i18n (~> 0.6, >= 0.6.9)
|
|
28
|
+
json (~> 1.7, >= 1.7.7)
|
|
29
|
+
minitest (~> 5.1)
|
|
30
|
+
thread_safe (~> 0.1)
|
|
31
|
+
tzinfo (~> 1.1)
|
|
32
|
+
rails (4.1.16)
|
|
33
|
+
actionmailer (= 4.1.16)
|
|
34
|
+
actionpack (= 4.1.16)
|
|
35
|
+
actionview (= 4.1.16)
|
|
36
|
+
activemodel (= 4.1.16)
|
|
37
|
+
activerecord (= 4.1.16)
|
|
38
|
+
activesupport (= 4.1.16)
|
|
39
|
+
bundler (>= 1.3.0, < 2.0)
|
|
40
|
+
railties (= 4.1.16)
|
|
41
|
+
sprockets-rails (~> 2.0)
|
|
42
|
+
railties (4.1.16)
|
|
43
|
+
actionpack (= 4.1.16)
|
|
44
|
+
activesupport (= 4.1.16)
|
|
45
|
+
rake (>= 0.8.7)
|
|
46
|
+
thor (>= 0.18.1, < 2.0)
|
|
47
|
+
|
|
48
|
+
PATH
|
|
49
|
+
remote: .
|
|
50
|
+
specs:
|
|
51
|
+
sublease (0.1.0.rc4)
|
|
52
|
+
rails (>= 4.1, < 6.0)
|
|
53
|
+
request_store (>= 1.4.0)
|
|
54
|
+
|
|
55
|
+
GEM
|
|
56
|
+
remote: https://rubygems.org/
|
|
57
|
+
specs:
|
|
58
|
+
arel (5.0.1.20140414130214)
|
|
59
|
+
builder (3.2.3)
|
|
60
|
+
byebug (10.0.0)
|
|
61
|
+
concurrent-ruby (1.0.5)
|
|
62
|
+
erubis (2.7.0)
|
|
63
|
+
i18n (0.9.3)
|
|
64
|
+
concurrent-ruby (~> 1.0)
|
|
65
|
+
json (1.8.6)
|
|
66
|
+
mail (2.7.0)
|
|
67
|
+
mini_mime (>= 0.1.1)
|
|
68
|
+
mini_mime (1.0.0)
|
|
69
|
+
minitest (5.11.3)
|
|
70
|
+
rack (1.5.5)
|
|
71
|
+
rack-test (0.6.3)
|
|
72
|
+
rack (>= 1.0)
|
|
73
|
+
rake (12.3.0)
|
|
74
|
+
rdoc (6.0.1)
|
|
75
|
+
request_store (1.4.0)
|
|
76
|
+
rack (>= 1.4)
|
|
77
|
+
shoulda (3.5.0)
|
|
78
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
|
79
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
|
80
|
+
shoulda-context (1.2.2)
|
|
81
|
+
shoulda-matchers (2.8.0)
|
|
82
|
+
activesupport (>= 3.0.0)
|
|
83
|
+
sprockets (3.7.1)
|
|
84
|
+
concurrent-ruby (~> 1.0)
|
|
85
|
+
rack (> 1, < 3)
|
|
86
|
+
sprockets-rails (2.3.3)
|
|
87
|
+
actionpack (>= 3.0)
|
|
88
|
+
activesupport (>= 3.0)
|
|
89
|
+
sprockets (>= 2.8, < 4.0)
|
|
90
|
+
sqlite3 (1.3.13)
|
|
91
|
+
thor (0.20.0)
|
|
92
|
+
thread_safe (0.3.6)
|
|
93
|
+
tzinfo (1.2.4)
|
|
94
|
+
thread_safe (~> 0.1)
|
|
95
|
+
|
|
96
|
+
PLATFORMS
|
|
97
|
+
ruby
|
|
98
|
+
|
|
99
|
+
DEPENDENCIES
|
|
100
|
+
activerecord-jdbc-adapter
|
|
101
|
+
activerecord-jdbcsqlite3-adapter
|
|
102
|
+
byebug
|
|
103
|
+
jruby-openssl
|
|
104
|
+
pry
|
|
105
|
+
rails!
|
|
106
|
+
rdoc
|
|
107
|
+
shoulda
|
|
108
|
+
sqlite3
|
|
109
|
+
sublease!
|
|
110
|
+
|
|
111
|
+
RUBY VERSION
|
|
112
|
+
ruby 2.5.0p0
|
|
113
|
+
|
|
114
|
+
BUNDLED WITH
|
|
115
|
+
1.16.1
|