museum 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-gemset +1 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +18 -15
  5. data/README.md +3 -1
  6. data/Rakefile +10 -1
  7. data/VERSION +1 -1
  8. data/app/controllers/museum/cases_controller.rb +9 -17
  9. data/app/models/museum/case.rb +6 -3
  10. data/app/models/museum/case_detail.rb +1 -1
  11. data/app/models/museum/loupe.rb +1 -1
  12. data/app/views/application/404.html.haml +2 -0
  13. data/lib/museum.rb +7 -6
  14. data/museum.gemspec +70 -39
  15. data/spec/controllers/cases_controller_spec.rb +12 -14
  16. data/spec/dummy/.rspec +1 -0
  17. data/spec/dummy/Rakefile +8 -1
  18. data/spec/dummy/app/controllers/application_controller.rb +4 -0
  19. data/spec/dummy/app/models/application_record.rb +3 -0
  20. data/spec/dummy/bin/rails +1 -1
  21. data/spec/dummy/bin/setup +34 -0
  22. data/spec/dummy/bin/update +29 -0
  23. data/spec/dummy/config/application.rb +4 -14
  24. data/spec/dummy/config/boot.rb +3 -3
  25. data/spec/dummy/config/cable.yml +9 -0
  26. data/spec/dummy/config/environment.rb +2 -2
  27. data/spec/dummy/config/environments/development.rb +31 -6
  28. data/spec/dummy/config/environments/production.rb +37 -31
  29. data/spec/dummy/config/environments/test.rb +11 -5
  30. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  31. data/spec/dummy/config/initializers/assets.rb +11 -0
  32. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  33. data/spec/dummy/config/initializers/mime_types.rb +0 -1
  34. data/spec/dummy/config/initializers/new_framework_defaults.rb +23 -0
  35. data/spec/dummy/config/initializers/session_store.rb +1 -1
  36. data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
  37. data/spec/dummy/config/locales/en.yml +23 -0
  38. data/spec/dummy/config/puma.rb +47 -0
  39. data/spec/dummy/config/routes.rb +1 -56
  40. data/spec/dummy/config/secrets.yml +22 -0
  41. data/spec/dummy/config/spring.rb +6 -0
  42. data/spec/dummy/db/development.sqlite3 +0 -0
  43. data/spec/dummy/db/schema.rb +3 -3
  44. data/spec/dummy/db/seeds/cases.seeds.rb +24 -0
  45. data/spec/dummy/db/seeds/loupes.seeds.rb +15 -0
  46. data/spec/dummy/db/seeds.rb +0 -1
  47. data/spec/dummy/db/test.sqlite3 +0 -0
  48. data/spec/features/cases_spec.rb +29 -0
  49. data/spec/helpers/cases_helper_spec.rb +1 -1
  50. data/spec/models/case_detail_spec.rb +33 -29
  51. data/spec/models/case_spec.rb +5 -5
  52. data/spec/models/loupe_spec.rb +1 -1
  53. data/spec/museum_spec.rb +1 -1
  54. data/spec/rails_helper.rb +88 -0
  55. data/spec/routing/engine_routes_spec.rb +1 -1
  56. data/spec/spec_helper.rb +79 -59
  57. data/spec/support/case_support.rb +5 -5
  58. data/spec/support/controller_behaviors.rb +116 -0
  59. data/spec/support/loupe_support.rb +2 -2
  60. metadata +140 -32
  61. data/coverage/.last_run.json +0 -5
  62. data/coverage/.resultset.json +0 -548
  63. data/coverage/.resultset.json.lock +0 -0
  64. data/db/seeds/museum_cases.yml +0 -15
  65. data/db/seeds/museum_loupes.yml +0 -13
  66. data/db/seeds.rb +0 -7
  67. data/spec/dummy/coverage/.last_run.json +0 -5
  68. data/spec/dummy/coverage/.resultset.json +0 -114
  69. data/spec/views/cases/index.html.haml_spec.rb +0 -18
  70. data/spec/views/cases/show.html.haml_spec.rb +0 -18
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: museum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-06 00:00:00.000000000 Z
11
+ date: 2016-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,112 +16,210 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.1'
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.1'
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails-i18n
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4'
33
+ version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '4'
40
+ version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: jquery-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.1'
47
+ version: '4.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '3.1'
54
+ version: '4.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: haml-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.5'
61
+ version: '0.9'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.5'
68
+ version: '0.9'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: friendly_id
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '5'
75
+ version: '5.1'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '5'
82
+ version: '5.1'
83
83
  - !ruby/object:Gem::Dependency
84
- name: yaml_seeder
84
+ name: jeweler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.1'
89
+ version: '2.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.1'
96
+ version: '2.0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: jeweler
98
+ name: rspec-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2'
104
- type: :runtime
103
+ version: '3.5'
104
+ type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2'
110
+ version: '3.5'
111
111
  - !ruby/object:Gem::Dependency
112
- name: museum
112
+ name: rails-controller-testing
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
- type: :runtime
118
+ type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: capybara
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '2.5'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '2.5'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rspec-its
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '1.2'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.2'
153
+ - !ruby/object:Gem::Dependency
154
+ name: database_cleaner
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.5'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.5'
167
+ - !ruby/object:Gem::Dependency
168
+ name: factory_girl_rails
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '4.5'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '4.5'
181
+ - !ruby/object:Gem::Dependency
182
+ name: coveralls
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '0.8'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '0.8'
195
+ - !ruby/object:Gem::Dependency
196
+ name: sqlite3
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '1.3'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '1.3'
209
+ - !ruby/object:Gem::Dependency
210
+ name: seedbank
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '0.3'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '0.3'
125
223
  description: For organizations that want to market a gem in style, Museum uses APIs
126
224
  to provide you with an ever-fresh marketing site for your gems.
127
225
  email: karen.e.lundgren@gmail.com
@@ -135,6 +233,8 @@ files:
135
233
  - ".coveralls.yml"
136
234
  - ".document"
137
235
  - ".rspec"
236
+ - ".ruby-gemset"
237
+ - ".ruby-version"
138
238
  - ".travis.yml"
139
239
  - Gemfile
140
240
  - LICENSE.txt
@@ -146,21 +246,16 @@ files:
146
246
  - app/models/museum/case.rb
147
247
  - app/models/museum/case_detail.rb
148
248
  - app/models/museum/loupe.rb
249
+ - app/views/application/404.html.haml
149
250
  - app/views/museum/cases/_widget.html.haml
150
251
  - app/views/museum/cases/index.html.haml
151
252
  - app/views/museum/cases/show.html.haml
152
253
  - bin/rails
153
254
  - config/locales/en.yml
154
255
  - config/routes.rb
155
- - coverage/.last_run.json
156
- - coverage/.resultset.json
157
- - coverage/.resultset.json.lock
158
256
  - db/migrate/20140516193656_create_museum_loupes.rb
159
257
  - db/migrate/20140516193657_create_museum_case_details.rb
160
258
  - db/migrate/20140516193658_create_museum_cases.rb
161
- - db/seeds.rb
162
- - db/seeds/museum_cases.yml
163
- - db/seeds/museum_loupes.yml
164
259
  - lib/generators/museum/install/install_generator.rb
165
260
  - lib/generators/museum/install/templates/initializer.rb
166
261
  - lib/generators/museum/utils.rb
@@ -178,35 +273,47 @@ files:
178
273
  - spec/dummy/Rakefile
179
274
  - spec/dummy/app/controllers/application_controller.rb
180
275
  - spec/dummy/app/helpers/application_helper.rb
276
+ - spec/dummy/app/models/application_record.rb
181
277
  - spec/dummy/app/views/layouts/application.html.haml
182
278
  - spec/dummy/bin/bundle
183
279
  - spec/dummy/bin/rails
184
280
  - spec/dummy/bin/rake
281
+ - spec/dummy/bin/setup
282
+ - spec/dummy/bin/update
185
283
  - spec/dummy/config.ru
186
284
  - spec/dummy/config/application.rb
187
285
  - spec/dummy/config/boot.rb
286
+ - spec/dummy/config/cable.yml
188
287
  - spec/dummy/config/database.yml
189
288
  - spec/dummy/config/environment.rb
190
289
  - spec/dummy/config/environments/development.rb
191
290
  - spec/dummy/config/environments/production.rb
192
291
  - spec/dummy/config/environments/test.rb
292
+ - spec/dummy/config/initializers/application_controller_renderer.rb
293
+ - spec/dummy/config/initializers/assets.rb
193
294
  - spec/dummy/config/initializers/backtrace_silencers.rb
295
+ - spec/dummy/config/initializers/cookies_serializer.rb
194
296
  - spec/dummy/config/initializers/filter_parameter_logging.rb
195
297
  - spec/dummy/config/initializers/inflections.rb
196
298
  - spec/dummy/config/initializers/mime_types.rb
197
299
  - spec/dummy/config/initializers/museum.rb
300
+ - spec/dummy/config/initializers/new_framework_defaults.rb
198
301
  - spec/dummy/config/initializers/secret_token.rb
199
302
  - spec/dummy/config/initializers/session_store.rb
200
303
  - spec/dummy/config/initializers/wrap_parameters.rb
304
+ - spec/dummy/config/locales/en.yml
305
+ - spec/dummy/config/puma.rb
201
306
  - spec/dummy/config/routes.rb
202
- - spec/dummy/coverage/.last_run.json
203
- - spec/dummy/coverage/.resultset.json
307
+ - spec/dummy/config/secrets.yml
308
+ - spec/dummy/config/spring.rb
204
309
  - spec/dummy/db/development.sqlite3
205
310
  - spec/dummy/db/migrate/20140519231103_create_museum_loupes.museum.rb
206
311
  - spec/dummy/db/migrate/20140519231104_create_museum_case_details.museum.rb
207
312
  - spec/dummy/db/migrate/20140519231105_create_museum_cases.museum.rb
208
313
  - spec/dummy/db/schema.rb
209
314
  - spec/dummy/db/seeds.rb
315
+ - spec/dummy/db/seeds/cases.seeds.rb
316
+ - spec/dummy/db/seeds/loupes.seeds.rb
210
317
  - spec/dummy/db/test.sqlite3
211
318
  - spec/dummy/lib/assets/.keep
212
319
  - spec/dummy/lib/tasks/.keep
@@ -217,17 +324,18 @@ files:
217
324
  - spec/dummy/public/robots.txt
218
325
  - spec/factories/case.rb
219
326
  - spec/factories/loupe.rb
327
+ - spec/features/cases_spec.rb
220
328
  - spec/helpers/cases_helper_spec.rb
221
329
  - spec/models/case_detail_spec.rb
222
330
  - spec/models/case_spec.rb
223
331
  - spec/models/loupe_spec.rb
224
332
  - spec/museum_spec.rb
333
+ - spec/rails_helper.rb
225
334
  - spec/routing/engine_routes_spec.rb
226
335
  - spec/spec_helper.rb
227
336
  - spec/support/case_support.rb
337
+ - spec/support/controller_behaviors.rb
228
338
  - spec/support/loupe_support.rb
229
- - spec/views/cases/index.html.haml_spec.rb
230
- - spec/views/cases/show.html.haml_spec.rb
231
339
  homepage: http://www.gemvein.com/museum/cases/museum
232
340
  licenses:
233
341
  - MIT
@@ -248,7 +356,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
248
356
  version: '0'
249
357
  requirements: []
250
358
  rubyforge_project:
251
- rubygems_version: 2.2.2
359
+ rubygems_version: 2.5.1
252
360
  signing_key:
253
361
  specification_version: 4
254
362
  summary: Rails 4 Engine for displaying information about a set of gems.
@@ -1,5 +0,0 @@
1
- {
2
- "result": {
3
- "covered_percent": 99.35
4
- }
5
- }