mongo_session_store 3.2.1 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +100 -0
  3. data/.github/workflows/danger-comment.yml +11 -0
  4. data/.github/workflows/danger.yml +45 -0
  5. data/.rubocop.yml +4 -4
  6. data/CHANGELOG.md +4 -2
  7. data/Dangerfile +5 -1
  8. data/Gemfile +2 -0
  9. data/Gemfile.danger +5 -0
  10. data/README.md +28 -7
  11. data/RELEASING.md +37 -0
  12. data/docker-compose.yml +5 -0
  13. data/gemfiles/rails-5.1-mongoid.gemfile +1 -1
  14. data/gemfiles/rails-6.0-mongo.gemfile +4 -1
  15. data/gemfiles/rails-6.0-mongoid.gemfile +4 -1
  16. data/gemfiles/rails-8.1-mongo.gemfile +14 -0
  17. data/gemfiles/rails-8.1-mongoid.gemfile +14 -0
  18. data/lib/mongo_session_store/mongo_store_base.rb +1 -0
  19. data/lib/mongo_session_store/mongoid_store.rb +1 -0
  20. data/lib/mongo_session_store/version.rb +1 -1
  21. data/mongo_session_store.gemspec +4 -7
  22. data/script/test +20 -0
  23. data/script/test_inner +19 -0
  24. data/script/testenv +6 -0
  25. data/spec/integrations/devise_spec.rb +2 -2
  26. data/spec/rails_helper.rb +2 -0
  27. data/spec/spec_helper.rb +4 -2
  28. data/spec/support/apps/rails_6.0_app/config/database.yml +9 -3
  29. data/spec/support/apps/rails_6.0_app/config/environments/test.rb +1 -1
  30. data/spec/support/rack_app.rb +3 -1
  31. metadata +31 -235
  32. data/.travis.yml +0 -109
  33. data/gemfiles/rails-4.0-mongo.gemfile +0 -9
  34. data/gemfiles/rails-4.0-mongoid.gemfile +0 -9
  35. data/gemfiles/rails-4.1-mongo.gemfile +0 -9
  36. data/gemfiles/rails-4.1-mongoid.gemfile +0 -9
  37. data/gemfiles/rails-4.2-mongo.gemfile +0 -9
  38. data/gemfiles/rails-4.2-mongoid.gemfile +0 -9
  39. data/spec/support/apps/rails_4.0_app/Rakefile +0 -6
  40. data/spec/support/apps/rails_4.0_app/app/controllers/application_controller.rb +0 -5
  41. data/spec/support/apps/rails_4.0_app/app/controllers/home_controller.rb +0 -2
  42. data/spec/support/apps/rails_4.0_app/app/models/user.rb +0 -5
  43. data/spec/support/apps/rails_4.0_app/app/views/home/index.html.erb +0 -9
  44. data/spec/support/apps/rails_4.0_app/app/views/layouts/application.html.erb +0 -17
  45. data/spec/support/apps/rails_4.0_app/bin/bundle +0 -3
  46. data/spec/support/apps/rails_4.0_app/bin/rails +0 -4
  47. data/spec/support/apps/rails_4.0_app/bin/rake +0 -4
  48. data/spec/support/apps/rails_4.0_app/config/application.rb +0 -11
  49. data/spec/support/apps/rails_4.0_app/config/boot.rb +0 -4
  50. data/spec/support/apps/rails_4.0_app/config/database.yml +0 -11
  51. data/spec/support/apps/rails_4.0_app/config/environment.rb +0 -5
  52. data/spec/support/apps/rails_4.0_app/config/environments/development.rb +0 -12
  53. data/spec/support/apps/rails_4.0_app/config/environments/test.rb +0 -19
  54. data/spec/support/apps/rails_4.0_app/config/initializers/devise.rb +0 -254
  55. data/spec/support/apps/rails_4.0_app/config/initializers/secret_token.rb +0 -12
  56. data/spec/support/apps/rails_4.0_app/config/initializers/session_store.rb +0 -1
  57. data/spec/support/apps/rails_4.0_app/config/locales/devise.en.yml +0 -59
  58. data/spec/support/apps/rails_4.0_app/config/locales/en.yml +0 -23
  59. data/spec/support/apps/rails_4.0_app/config/mongo.yml +0 -11
  60. data/spec/support/apps/rails_4.0_app/config/mongoid.yml +0 -13
  61. data/spec/support/apps/rails_4.0_app/config/routes.rb +0 -5
  62. data/spec/support/apps/rails_4.0_app/config.ru +0 -4
  63. data/spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb +0 -11
  64. data/spec/support/apps/rails_4.0_app/db/schema.rb +0 -25
  65. data/spec/support/apps/rails_4.0_app/lib/assets/.keep +0 -0
  66. data/spec/support/apps/rails_4.0_app/lib/tasks/.keep +0 -0
  67. data/spec/support/apps/rails_4.0_app/log/.keep +0 -0
  68. data/spec/support/apps/rails_4.1_app/Rakefile +0 -3
  69. data/spec/support/apps/rails_4.1_app/app/controllers/application_controller.rb +0 -5
  70. data/spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb +0 -2
  71. data/spec/support/apps/rails_4.1_app/app/models/user.rb +0 -5
  72. data/spec/support/apps/rails_4.1_app/app/views/home/index.html.erb +0 -9
  73. data/spec/support/apps/rails_4.1_app/app/views/layouts/application.html.erb +0 -17
  74. data/spec/support/apps/rails_4.1_app/bin/bundle +0 -3
  75. data/spec/support/apps/rails_4.1_app/bin/rails +0 -4
  76. data/spec/support/apps/rails_4.1_app/bin/rake +0 -4
  77. data/spec/support/apps/rails_4.1_app/config/application.rb +0 -11
  78. data/spec/support/apps/rails_4.1_app/config/boot.rb +0 -4
  79. data/spec/support/apps/rails_4.1_app/config/database.yml +0 -11
  80. data/spec/support/apps/rails_4.1_app/config/environment.rb +0 -5
  81. data/spec/support/apps/rails_4.1_app/config/environments/development.rb +0 -12
  82. data/spec/support/apps/rails_4.1_app/config/environments/test.rb +0 -19
  83. data/spec/support/apps/rails_4.1_app/config/initializers/devise.rb +0 -254
  84. data/spec/support/apps/rails_4.1_app/config/initializers/session_store.rb +0 -1
  85. data/spec/support/apps/rails_4.1_app/config/locales/devise.en.yml +0 -59
  86. data/spec/support/apps/rails_4.1_app/config/locales/en.yml +0 -23
  87. data/spec/support/apps/rails_4.1_app/config/mongo.yml +0 -11
  88. data/spec/support/apps/rails_4.1_app/config/mongoid.yml +0 -13
  89. data/spec/support/apps/rails_4.1_app/config/routes.rb +0 -5
  90. data/spec/support/apps/rails_4.1_app/config/secrets.yml +0 -22
  91. data/spec/support/apps/rails_4.1_app/config.ru +0 -2
  92. data/spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb +0 -11
  93. data/spec/support/apps/rails_4.1_app/db/schema.rb +0 -25
  94. data/spec/support/apps/rails_4.1_app/lib/assets/.keep +0 -0
  95. data/spec/support/apps/rails_4.1_app/lib/tasks/.keep +0 -0
  96. data/spec/support/apps/rails_4.1_app/log/.keep +0 -0
  97. data/spec/support/apps/rails_4.2_app/Rakefile +0 -2
  98. data/spec/support/apps/rails_4.2_app/app/controllers/application_controller.rb +0 -5
  99. data/spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb +0 -2
  100. data/spec/support/apps/rails_4.2_app/app/models/user.rb +0 -5
  101. data/spec/support/apps/rails_4.2_app/app/views/home/index.html.erb +0 -9
  102. data/spec/support/apps/rails_4.2_app/app/views/layouts/application.html.erb +0 -15
  103. data/spec/support/apps/rails_4.2_app/bin/bundle +0 -3
  104. data/spec/support/apps/rails_4.2_app/bin/rails +0 -8
  105. data/spec/support/apps/rails_4.2_app/bin/rake +0 -4
  106. data/spec/support/apps/rails_4.2_app/config/application.rb +0 -11
  107. data/spec/support/apps/rails_4.2_app/config/boot.rb +0 -3
  108. data/spec/support/apps/rails_4.2_app/config/database.yml +0 -11
  109. data/spec/support/apps/rails_4.2_app/config/environment.rb +0 -5
  110. data/spec/support/apps/rails_4.2_app/config/environments/development.rb +0 -12
  111. data/spec/support/apps/rails_4.2_app/config/environments/test.rb +0 -19
  112. data/spec/support/apps/rails_4.2_app/config/initializers/devise.rb +0 -254
  113. data/spec/support/apps/rails_4.2_app/config/initializers/session_store.rb +0 -1
  114. data/spec/support/apps/rails_4.2_app/config/locales/en.yml +0 -23
  115. data/spec/support/apps/rails_4.2_app/config/mongo.yml +0 -11
  116. data/spec/support/apps/rails_4.2_app/config/mongoid.yml +0 -13
  117. data/spec/support/apps/rails_4.2_app/config/routes.rb +0 -5
  118. data/spec/support/apps/rails_4.2_app/config/secrets.yml +0 -22
  119. data/spec/support/apps/rails_4.2_app/config.ru +0 -4
  120. data/spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb +0 -11
  121. data/spec/support/apps/rails_4.2_app/db/schema.rb +0 -25
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_session_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Bruijn
@@ -9,10 +9,10 @@ authors:
9
9
  - Nicolas Mérouze
10
10
  - Tony Pitale
11
11
  - Chris Brickley
12
- autorequire:
12
+ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2020-04-27 00:00:00.000000000 Z
15
+ date: 2026-10-15 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: actionpack
@@ -42,113 +42,70 @@ dependencies:
42
42
  - - "~>"
43
43
  - !ruby/object:Gem::Version
44
44
  version: '2.0'
45
- - !ruby/object:Gem::Dependency
46
- name: rspec-rails
47
- requirement: !ruby/object:Gem::Requirement
48
- requirements:
49
- - - "~>"
50
- - !ruby/object:Gem::Version
51
- version: '3.6'
52
- type: :development
53
- prerelease: false
54
- version_requirements: !ruby/object:Gem::Requirement
55
- requirements:
56
- - - "~>"
57
- - !ruby/object:Gem::Version
58
- version: '3.6'
59
45
  - !ruby/object:Gem::Dependency
60
46
  name: capybara
61
47
  requirement: !ruby/object:Gem::Requirement
62
48
  requirements:
63
- - - "~>"
64
- - !ruby/object:Gem::Version
65
- version: 2.15.0
66
- type: :development
67
- prerelease: false
68
- version_requirements: !ruby/object:Gem::Requirement
69
- requirements:
70
- - - "~>"
71
- - !ruby/object:Gem::Version
72
- version: 2.15.0
73
- - !ruby/object:Gem::Dependency
74
- name: pry
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - "~>"
49
+ - - ">="
78
50
  - !ruby/object:Gem::Version
79
- version: '0.10'
51
+ version: '2.15'
80
52
  type: :development
81
53
  prerelease: false
82
54
  version_requirements: !ruby/object:Gem::Requirement
83
55
  requirements:
84
- - - "~>"
56
+ - - ">="
85
57
  - !ruby/object:Gem::Version
86
- version: '0.10'
58
+ version: '2.15'
87
59
  - !ruby/object:Gem::Dependency
88
60
  name: rake
89
61
  requirement: !ruby/object:Gem::Requirement
90
62
  requirements:
91
- - - "~>"
92
- - !ruby/object:Gem::Version
93
- version: '11'
94
- type: :development
95
- prerelease: false
96
- version_requirements: !ruby/object:Gem::Requirement
97
- requirements:
98
- - - "~>"
99
- - !ruby/object:Gem::Version
100
- version: '11'
101
- - !ruby/object:Gem::Dependency
102
- name: rubocop
103
- requirement: !ruby/object:Gem::Requirement
104
- requirements:
105
- - - '='
63
+ - - ">="
106
64
  - !ruby/object:Gem::Version
107
- version: 0.45.0
65
+ version: '0'
108
66
  type: :development
109
67
  prerelease: false
110
68
  version_requirements: !ruby/object:Gem::Requirement
111
69
  requirements:
112
- - - '='
70
+ - - ">="
113
71
  - !ruby/object:Gem::Version
114
- version: 0.45.0
72
+ version: '0'
115
73
  - !ruby/object:Gem::Dependency
116
- name: mongoid-danger
74
+ name: rspec-rails
117
75
  requirement: !ruby/object:Gem::Requirement
118
76
  requirements:
119
- - - "~>"
77
+ - - ">="
120
78
  - !ruby/object:Gem::Version
121
- version: 0.1.0
79
+ version: '4.0'
122
80
  type: :development
123
81
  prerelease: false
124
82
  version_requirements: !ruby/object:Gem::Requirement
125
83
  requirements:
126
- - - "~>"
84
+ - - ">="
127
85
  - !ruby/object:Gem::Version
128
- version: 0.1.0
129
- description:
86
+ version: '4.0'
87
+ description:
130
88
  email:
131
89
  - tom@tomdebruijn.com
132
90
  executables: []
133
91
  extensions: []
134
92
  extra_rdoc_files: []
135
93
  files:
94
+ - ".github/workflows/ci.yml"
95
+ - ".github/workflows/danger-comment.yml"
96
+ - ".github/workflows/danger.yml"
136
97
  - ".gitignore"
137
98
  - ".rspec"
138
99
  - ".rubocop.yml"
139
- - ".travis.yml"
140
100
  - CHANGELOG.md
141
101
  - Dangerfile
142
102
  - Gemfile
103
+ - Gemfile.danger
143
104
  - LICENSE
144
105
  - README.md
106
+ - RELEASING.md
145
107
  - Rakefile
146
- - gemfiles/rails-4.0-mongo.gemfile
147
- - gemfiles/rails-4.0-mongoid.gemfile
148
- - gemfiles/rails-4.1-mongo.gemfile
149
- - gemfiles/rails-4.1-mongoid.gemfile
150
- - gemfiles/rails-4.2-mongo.gemfile
151
- - gemfiles/rails-4.2-mongoid.gemfile
108
+ - docker-compose.yml
152
109
  - gemfiles/rails-5.0-mongo.gemfile
153
110
  - gemfiles/rails-5.0-mongoid.gemfile
154
111
  - gemfiles/rails-5.1-mongo.gemfile
@@ -157,6 +114,8 @@ files:
157
114
  - gemfiles/rails-5.2-mongoid.gemfile
158
115
  - gemfiles/rails-6.0-mongo.gemfile
159
116
  - gemfiles/rails-6.0-mongoid.gemfile
117
+ - gemfiles/rails-8.1-mongo.gemfile
118
+ - gemfiles/rails-8.1-mongoid.gemfile
160
119
  - lib/mongo_session_store.rb
161
120
  - lib/mongo_session_store/mongo_store.rb
162
121
  - lib/mongo_session_store/mongo_store_base.rb
@@ -164,6 +123,9 @@ files:
164
123
  - lib/mongo_session_store/version.rb
165
124
  - mongo_session_store.gemspec
166
125
  - perf/benchmark.rb
126
+ - script/test
127
+ - script/test_inner
128
+ - script/testenv
167
129
  - spec/.rubocop.yml
168
130
  - spec/integrations/devise_spec.rb
169
131
  - spec/integrations/rack_spec.rb
@@ -175,89 +137,6 @@ files:
175
137
  - spec/lib/mongo_session_store_spec.rb
176
138
  - spec/rails_helper.rb
177
139
  - spec/spec_helper.rb
178
- - spec/support/apps/rails_4.0_app/Rakefile
179
- - spec/support/apps/rails_4.0_app/app/controllers/application_controller.rb
180
- - spec/support/apps/rails_4.0_app/app/controllers/home_controller.rb
181
- - spec/support/apps/rails_4.0_app/app/models/user.rb
182
- - spec/support/apps/rails_4.0_app/app/views/home/index.html.erb
183
- - spec/support/apps/rails_4.0_app/app/views/layouts/application.html.erb
184
- - spec/support/apps/rails_4.0_app/bin/bundle
185
- - spec/support/apps/rails_4.0_app/bin/rails
186
- - spec/support/apps/rails_4.0_app/bin/rake
187
- - spec/support/apps/rails_4.0_app/config.ru
188
- - spec/support/apps/rails_4.0_app/config/application.rb
189
- - spec/support/apps/rails_4.0_app/config/boot.rb
190
- - spec/support/apps/rails_4.0_app/config/database.yml
191
- - spec/support/apps/rails_4.0_app/config/environment.rb
192
- - spec/support/apps/rails_4.0_app/config/environments/development.rb
193
- - spec/support/apps/rails_4.0_app/config/environments/test.rb
194
- - spec/support/apps/rails_4.0_app/config/initializers/devise.rb
195
- - spec/support/apps/rails_4.0_app/config/initializers/secret_token.rb
196
- - spec/support/apps/rails_4.0_app/config/initializers/session_store.rb
197
- - spec/support/apps/rails_4.0_app/config/locales/devise.en.yml
198
- - spec/support/apps/rails_4.0_app/config/locales/en.yml
199
- - spec/support/apps/rails_4.0_app/config/mongo.yml
200
- - spec/support/apps/rails_4.0_app/config/mongoid.yml
201
- - spec/support/apps/rails_4.0_app/config/routes.rb
202
- - spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
203
- - spec/support/apps/rails_4.0_app/db/schema.rb
204
- - spec/support/apps/rails_4.0_app/lib/assets/.keep
205
- - spec/support/apps/rails_4.0_app/lib/tasks/.keep
206
- - spec/support/apps/rails_4.0_app/log/.keep
207
- - spec/support/apps/rails_4.1_app/Rakefile
208
- - spec/support/apps/rails_4.1_app/app/controllers/application_controller.rb
209
- - spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb
210
- - spec/support/apps/rails_4.1_app/app/models/user.rb
211
- - spec/support/apps/rails_4.1_app/app/views/home/index.html.erb
212
- - spec/support/apps/rails_4.1_app/app/views/layouts/application.html.erb
213
- - spec/support/apps/rails_4.1_app/bin/bundle
214
- - spec/support/apps/rails_4.1_app/bin/rails
215
- - spec/support/apps/rails_4.1_app/bin/rake
216
- - spec/support/apps/rails_4.1_app/config.ru
217
- - spec/support/apps/rails_4.1_app/config/application.rb
218
- - spec/support/apps/rails_4.1_app/config/boot.rb
219
- - spec/support/apps/rails_4.1_app/config/database.yml
220
- - spec/support/apps/rails_4.1_app/config/environment.rb
221
- - spec/support/apps/rails_4.1_app/config/environments/development.rb
222
- - spec/support/apps/rails_4.1_app/config/environments/test.rb
223
- - spec/support/apps/rails_4.1_app/config/initializers/devise.rb
224
- - spec/support/apps/rails_4.1_app/config/initializers/session_store.rb
225
- - spec/support/apps/rails_4.1_app/config/locales/devise.en.yml
226
- - spec/support/apps/rails_4.1_app/config/locales/en.yml
227
- - spec/support/apps/rails_4.1_app/config/mongo.yml
228
- - spec/support/apps/rails_4.1_app/config/mongoid.yml
229
- - spec/support/apps/rails_4.1_app/config/routes.rb
230
- - spec/support/apps/rails_4.1_app/config/secrets.yml
231
- - spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
232
- - spec/support/apps/rails_4.1_app/db/schema.rb
233
- - spec/support/apps/rails_4.1_app/lib/assets/.keep
234
- - spec/support/apps/rails_4.1_app/lib/tasks/.keep
235
- - spec/support/apps/rails_4.1_app/log/.keep
236
- - spec/support/apps/rails_4.2_app/Rakefile
237
- - spec/support/apps/rails_4.2_app/app/controllers/application_controller.rb
238
- - spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb
239
- - spec/support/apps/rails_4.2_app/app/models/user.rb
240
- - spec/support/apps/rails_4.2_app/app/views/home/index.html.erb
241
- - spec/support/apps/rails_4.2_app/app/views/layouts/application.html.erb
242
- - spec/support/apps/rails_4.2_app/bin/bundle
243
- - spec/support/apps/rails_4.2_app/bin/rails
244
- - spec/support/apps/rails_4.2_app/bin/rake
245
- - spec/support/apps/rails_4.2_app/config.ru
246
- - spec/support/apps/rails_4.2_app/config/application.rb
247
- - spec/support/apps/rails_4.2_app/config/boot.rb
248
- - spec/support/apps/rails_4.2_app/config/database.yml
249
- - spec/support/apps/rails_4.2_app/config/environment.rb
250
- - spec/support/apps/rails_4.2_app/config/environments/development.rb
251
- - spec/support/apps/rails_4.2_app/config/environments/test.rb
252
- - spec/support/apps/rails_4.2_app/config/initializers/devise.rb
253
- - spec/support/apps/rails_4.2_app/config/initializers/session_store.rb
254
- - spec/support/apps/rails_4.2_app/config/locales/en.yml
255
- - spec/support/apps/rails_4.2_app/config/mongo.yml
256
- - spec/support/apps/rails_4.2_app/config/mongoid.yml
257
- - spec/support/apps/rails_4.2_app/config/routes.rb
258
- - spec/support/apps/rails_4.2_app/config/secrets.yml
259
- - spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
260
- - spec/support/apps/rails_4.2_app/db/schema.rb
261
140
  - spec/support/apps/rails_5.0_app/Rakefile
262
141
  - spec/support/apps/rails_5.0_app/app/controllers/application_controller.rb
263
142
  - spec/support/apps/rails_5.0_app/app/controllers/home_controller.rb
@@ -387,7 +266,7 @@ homepage: http://github.com/mongoid/mongo_session_store
387
266
  licenses:
388
267
  - MIT
389
268
  metadata: {}
390
- post_install_message:
269
+ post_install_message:
391
270
  rdoc_options: []
392
271
  require_paths:
393
272
  - lib
@@ -402,8 +281,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
402
281
  - !ruby/object:Gem::Version
403
282
  version: '0'
404
283
  requirements: []
405
- rubygems_version: 3.1.2
406
- signing_key:
284
+ rubygems_version: 3.5.16
285
+ signing_key:
407
286
  specification_version: 4
408
287
  summary: Rails session stores for Mongoid, or any other ODM. Rails 4 compatible.
409
288
  test_files:
@@ -418,89 +297,6 @@ test_files:
418
297
  - spec/lib/mongo_session_store_spec.rb
419
298
  - spec/rails_helper.rb
420
299
  - spec/spec_helper.rb
421
- - spec/support/apps/rails_4.0_app/Rakefile
422
- - spec/support/apps/rails_4.0_app/app/controllers/application_controller.rb
423
- - spec/support/apps/rails_4.0_app/app/controllers/home_controller.rb
424
- - spec/support/apps/rails_4.0_app/app/models/user.rb
425
- - spec/support/apps/rails_4.0_app/app/views/home/index.html.erb
426
- - spec/support/apps/rails_4.0_app/app/views/layouts/application.html.erb
427
- - spec/support/apps/rails_4.0_app/bin/bundle
428
- - spec/support/apps/rails_4.0_app/bin/rails
429
- - spec/support/apps/rails_4.0_app/bin/rake
430
- - spec/support/apps/rails_4.0_app/config.ru
431
- - spec/support/apps/rails_4.0_app/config/application.rb
432
- - spec/support/apps/rails_4.0_app/config/boot.rb
433
- - spec/support/apps/rails_4.0_app/config/database.yml
434
- - spec/support/apps/rails_4.0_app/config/environment.rb
435
- - spec/support/apps/rails_4.0_app/config/environments/development.rb
436
- - spec/support/apps/rails_4.0_app/config/environments/test.rb
437
- - spec/support/apps/rails_4.0_app/config/initializers/devise.rb
438
- - spec/support/apps/rails_4.0_app/config/initializers/secret_token.rb
439
- - spec/support/apps/rails_4.0_app/config/initializers/session_store.rb
440
- - spec/support/apps/rails_4.0_app/config/locales/devise.en.yml
441
- - spec/support/apps/rails_4.0_app/config/locales/en.yml
442
- - spec/support/apps/rails_4.0_app/config/mongo.yml
443
- - spec/support/apps/rails_4.0_app/config/mongoid.yml
444
- - spec/support/apps/rails_4.0_app/config/routes.rb
445
- - spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
446
- - spec/support/apps/rails_4.0_app/db/schema.rb
447
- - spec/support/apps/rails_4.0_app/lib/assets/.keep
448
- - spec/support/apps/rails_4.0_app/lib/tasks/.keep
449
- - spec/support/apps/rails_4.0_app/log/.keep
450
- - spec/support/apps/rails_4.1_app/Rakefile
451
- - spec/support/apps/rails_4.1_app/app/controllers/application_controller.rb
452
- - spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb
453
- - spec/support/apps/rails_4.1_app/app/models/user.rb
454
- - spec/support/apps/rails_4.1_app/app/views/home/index.html.erb
455
- - spec/support/apps/rails_4.1_app/app/views/layouts/application.html.erb
456
- - spec/support/apps/rails_4.1_app/bin/bundle
457
- - spec/support/apps/rails_4.1_app/bin/rails
458
- - spec/support/apps/rails_4.1_app/bin/rake
459
- - spec/support/apps/rails_4.1_app/config.ru
460
- - spec/support/apps/rails_4.1_app/config/application.rb
461
- - spec/support/apps/rails_4.1_app/config/boot.rb
462
- - spec/support/apps/rails_4.1_app/config/database.yml
463
- - spec/support/apps/rails_4.1_app/config/environment.rb
464
- - spec/support/apps/rails_4.1_app/config/environments/development.rb
465
- - spec/support/apps/rails_4.1_app/config/environments/test.rb
466
- - spec/support/apps/rails_4.1_app/config/initializers/devise.rb
467
- - spec/support/apps/rails_4.1_app/config/initializers/session_store.rb
468
- - spec/support/apps/rails_4.1_app/config/locales/devise.en.yml
469
- - spec/support/apps/rails_4.1_app/config/locales/en.yml
470
- - spec/support/apps/rails_4.1_app/config/mongo.yml
471
- - spec/support/apps/rails_4.1_app/config/mongoid.yml
472
- - spec/support/apps/rails_4.1_app/config/routes.rb
473
- - spec/support/apps/rails_4.1_app/config/secrets.yml
474
- - spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
475
- - spec/support/apps/rails_4.1_app/db/schema.rb
476
- - spec/support/apps/rails_4.1_app/lib/assets/.keep
477
- - spec/support/apps/rails_4.1_app/lib/tasks/.keep
478
- - spec/support/apps/rails_4.1_app/log/.keep
479
- - spec/support/apps/rails_4.2_app/Rakefile
480
- - spec/support/apps/rails_4.2_app/app/controllers/application_controller.rb
481
- - spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb
482
- - spec/support/apps/rails_4.2_app/app/models/user.rb
483
- - spec/support/apps/rails_4.2_app/app/views/home/index.html.erb
484
- - spec/support/apps/rails_4.2_app/app/views/layouts/application.html.erb
485
- - spec/support/apps/rails_4.2_app/bin/bundle
486
- - spec/support/apps/rails_4.2_app/bin/rails
487
- - spec/support/apps/rails_4.2_app/bin/rake
488
- - spec/support/apps/rails_4.2_app/config.ru
489
- - spec/support/apps/rails_4.2_app/config/application.rb
490
- - spec/support/apps/rails_4.2_app/config/boot.rb
491
- - spec/support/apps/rails_4.2_app/config/database.yml
492
- - spec/support/apps/rails_4.2_app/config/environment.rb
493
- - spec/support/apps/rails_4.2_app/config/environments/development.rb
494
- - spec/support/apps/rails_4.2_app/config/environments/test.rb
495
- - spec/support/apps/rails_4.2_app/config/initializers/devise.rb
496
- - spec/support/apps/rails_4.2_app/config/initializers/session_store.rb
497
- - spec/support/apps/rails_4.2_app/config/locales/en.yml
498
- - spec/support/apps/rails_4.2_app/config/mongo.yml
499
- - spec/support/apps/rails_4.2_app/config/mongoid.yml
500
- - spec/support/apps/rails_4.2_app/config/routes.rb
501
- - spec/support/apps/rails_4.2_app/config/secrets.yml
502
- - spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
503
- - spec/support/apps/rails_4.2_app/db/schema.rb
504
300
  - spec/support/apps/rails_5.0_app/Rakefile
505
301
  - spec/support/apps/rails_5.0_app/app/controllers/application_controller.rb
506
302
  - spec/support/apps/rails_5.0_app/app/controllers/home_controller.rb
data/.travis.yml DELETED
@@ -1,109 +0,0 @@
1
- branches:
2
- only:
3
- - master
4
- - develop
5
- language: ruby
6
-
7
- cache: bundler
8
-
9
- rvm:
10
- - 2.1.10
11
- - 2.3.8
12
- - 2.4.5
13
- - 2.5.5
14
- - 2.6.3
15
-
16
- gemfile:
17
- - gemfiles/rails-4.0-mongo.gemfile
18
- - gemfiles/rails-4.0-mongoid.gemfile
19
- - gemfiles/rails-4.1-mongo.gemfile
20
- - gemfiles/rails-4.1-mongoid.gemfile
21
- - gemfiles/rails-4.2-mongo.gemfile
22
- - gemfiles/rails-4.2-mongoid.gemfile
23
- - gemfiles/rails-5.0-mongo.gemfile
24
- - gemfiles/rails-5.0-mongoid.gemfile
25
- - gemfiles/rails-5.1-mongo.gemfile
26
- - gemfiles/rails-5.1-mongoid.gemfile
27
- - gemfiles/rails-5.2-mongo.gemfile
28
- - gemfiles/rails-5.2-mongoid.gemfile
29
- - gemfiles/rails-6.0-mongo.gemfile
30
- - gemfiles/rails-6.0-mongoid.gemfile
31
-
32
- matrix:
33
- fast_finish: true
34
- include:
35
- - rvm: 2.5.5
36
- gemfile: gemfiles/rails-5.2-mongo.gemfile
37
- script: bundle exec rubocop
38
- - rvm: 2.5.5
39
- gemfile: gemfiles/rails-5.2-mongo.gemfile
40
- script: bundle exec danger
41
- exclude:
42
- - rvm: 2.1.10
43
- gemfile: gemfiles/rails-5.0-mongo.gemfile
44
- - rvm: 2.1.10
45
- gemfile: gemfiles/rails-5.0-mongoid.gemfile
46
- - rvm: 2.1.10
47
- gemfile: gemfiles/rails-5.1-mongo.gemfile
48
- - rvm: 2.1.10
49
- gemfile: gemfiles/rails-5.1-mongoid.gemfile
50
- - rvm: 2.1.10
51
- gemfile: gemfiles/rails-5.2-mongo.gemfile
52
- - rvm: 2.1.10
53
- gemfile: gemfiles/rails-5.2-mongoid.gemfile
54
- - rvm: 2.1.10
55
- gemfile: gemfiles/rails-6.0-mongo.gemfile
56
- - rvm: 2.1.10
57
- gemfile: gemfiles/rails-6.0-mongoid.gemfile
58
- - rvm: 2.3.8
59
- gemfile: gemfiles/rails-6.0-mongo.gemfile
60
- - rvm: 2.3.8
61
- gemfile: gemfiles/rails-6.0-mongoid.gemfile
62
- - rvm: 2.4.5
63
- gemfile: gemfiles/rails-4.0-mongo.gemfile
64
- - rvm: 2.4.5
65
- gemfile: gemfiles/rails-4.0-mongoid.gemfile
66
- - rvm: 2.4.5
67
- gemfile: gemfiles/rails-4.1-mongo.gemfile
68
- - rvm: 2.4.5
69
- gemfile: gemfiles/rails-4.1-mongoid.gemfile
70
- - rvm: 2.4.5
71
- gemfile: gemfiles/rails-6.0-mongo.gemfile
72
- - rvm: 2.4.5
73
- gemfile: gemfiles/rails-6.0-mongoid.gemfile
74
- - rvm: 2.5.5
75
- gemfile: gemfiles/rails-4.0-mongo.gemfile
76
- - rvm: 2.5.5
77
- gemfile: gemfiles/rails-4.0-mongoid.gemfile
78
- - rvm: 2.5.5
79
- gemfile: gemfiles/rails-4.1-mongo.gemfile
80
- - rvm: 2.5.5
81
- gemfile: gemfiles/rails-4.1-mongoid.gemfile
82
- - rvm: 2.5.5
83
- gemfile: gemfiles/rails-4.2-mongo.gemfile
84
- - rvm: 2.5.5
85
- gemfile: gemfiles/rails-4.2-mongoid.gemfile
86
- - rvm: 2.6.3
87
- gemfile: gemfiles/rails-4.0-mongo.gemfile
88
- - rvm: 2.6.3
89
- gemfile: gemfiles/rails-4.0-mongoid.gemfile
90
- - rvm: 2.6.3
91
- gemfile: gemfiles/rails-4.1-mongo.gemfile
92
- - rvm: 2.6.3
93
- gemfile: gemfiles/rails-4.1-mongoid.gemfile
94
- - rvm: 2.6.3
95
- gemfile: gemfiles/rails-4.2-mongo.gemfile
96
- - rvm: 2.6.3
97
- gemfile: gemfiles/rails-4.2-mongoid.gemfile
98
-
99
- services: mongodb
100
-
101
- addons:
102
- apt:
103
- sources:
104
- - mongodb-3.2-precise
105
- packages:
106
- - mongodb-org-server
107
-
108
- script:
109
- - bundle exec rake test
@@ -1,9 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mongo"
4
-
5
- gem "rails", "~> 4.0.0"
6
- gem "devise", "~> 3.5"
7
- gem "sqlite3", "~> 1.3.6"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mongoid"
4
-
5
- gem "rails", "~> 4.0.0"
6
- gem "devise", "~> 3.5"
7
- gem "sqlite3", "~> 1.3.6"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mongo"
4
-
5
- gem "rails", "~> 4.1.0"
6
- gem "devise", Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1") ? "3.5.10" : ">= 4.2"
7
- gem "sqlite3", "~> 1.3.6"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mongoid"
4
-
5
- gem "rails", "~> 4.1.0"
6
- gem "devise", Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1") ? "3.5.10" : ">= 4.2"
7
- gem "sqlite3", "~> 1.3.6"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mongo"
4
-
5
- gem "rails", "~> 4.2.8"
6
- gem "devise", Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1") ? "3.5.10" : ">= 4.2"
7
- gem "sqlite3", "~> 1.3.6"
8
-
9
- gemspec :path => "../"
@@ -1,9 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem "mongoid"
4
-
5
- gem "rails", "~> 4.2.8"
6
- gem "devise", Gem::Version.new(RUBY_VERSION) < Gem::Version.new("2.1") ? "3.5.10" : ">= 4.2"
7
- gem "sqlite3", "~> 1.3.6"
8
-
9
- gemspec :path => "../"
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
-
6
- Rails40App::Application.load_tasks
@@ -1,5 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- # Prevent CSRF attacks by raising an exception.
3
- # For APIs, you may want to use :null_session instead.
4
- protect_from_forgery with: :exception
5
- end
@@ -1,2 +0,0 @@
1
- class HomeController < ApplicationController
2
- end
@@ -1,5 +0,0 @@
1
- class User < ActiveRecord::Base
2
- # Include default devise modules. Others available are:
3
- # :confirmable, :lockable, :timeoutable and :omniauthable
4
- devise :database_authenticatable, :registerable
5
- end
@@ -1,9 +0,0 @@
1
- You are signed
2
- <% if user_signed_in? %>
3
- in as <%= current_user.email %>.
4
- <%= form_tag destroy_user_session_path, :method => :delete do %>
5
- <%= button_tag "Sign out" %>
6
- <% end %>
7
- <% else %>
8
- out. <%= link_to "Sign in", new_user_session_path %>
9
- <% end %>
@@ -1,17 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Rails40App</title>
5
- <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
6
- <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= notice %>
12
- <%= alert %>
13
-
14
- <%= yield %>
15
-
16
- </body>
17
- </html>
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
3
- load Gem.bin_path("bundler", "bundle")
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_PATH = File.expand_path("../../config/application", __FILE__)
3
- require_relative "../config/boot"
4
- require "rails/commands"
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require_relative "../config/boot"
3
- require "rake"
4
- Rake.application.run
@@ -1,11 +0,0 @@
1
- require File.expand_path("../boot", __FILE__)
2
-
3
- require "action_controller/railtie"
4
- require "active_record/railtie"
5
-
6
- Bundler.require(:default, Rails.env)
7
-
8
- module Rails40App
9
- class Application < Rails::Application
10
- end
11
- end
@@ -1,4 +0,0 @@
1
- # Set up gems listed in the Gemfile.
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
-
4
- require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
@@ -1,11 +0,0 @@
1
- test:
2
- adapter: <%= RUBY_PLATFORM == "java" ? "jdbcsqlite3" : "sqlite3" %>
3
- database: db/test.sqlite3
4
- pool: 5
5
- timeout: 5000
6
-
7
- development:
8
- adapter: <%= RUBY_PLATFORM == "java" ? "jdbcsqlite3" : "sqlite3" %>
9
- database: db/development.sqlite3
10
- pool: 5
11
- timeout: 5000
@@ -1,5 +0,0 @@
1
- # Load the Rails application.
2
- require File.expand_path('../application', __FILE__)
3
-
4
- # Initialize the Rails application.
5
- Rails40App::Application.initialize!