museum 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +18 -15
- data/README.md +3 -1
- data/Rakefile +10 -1
- data/VERSION +1 -1
- data/app/controllers/museum/cases_controller.rb +9 -17
- data/app/models/museum/case.rb +6 -3
- data/app/models/museum/case_detail.rb +1 -1
- data/app/models/museum/loupe.rb +1 -1
- data/app/views/application/404.html.haml +2 -0
- data/lib/museum.rb +7 -6
- data/museum.gemspec +70 -39
- data/spec/controllers/cases_controller_spec.rb +12 -14
- data/spec/dummy/.rspec +1 -0
- data/spec/dummy/Rakefile +8 -1
- data/spec/dummy/app/controllers/application_controller.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/bin/rails +1 -1
- data/spec/dummy/bin/setup +34 -0
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/config/application.rb +4 -14
- data/spec/dummy/config/boot.rb +3 -3
- data/spec/dummy/config/cable.yml +9 -0
- data/spec/dummy/config/environment.rb +2 -2
- data/spec/dummy/config/environments/development.rb +31 -6
- data/spec/dummy/config/environments/production.rb +37 -31
- data/spec/dummy/config/environments/test.rb +11 -5
- data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/mime_types.rb +0 -1
- data/spec/dummy/config/initializers/new_framework_defaults.rb +23 -0
- data/spec/dummy/config/initializers/session_store.rb +1 -1
- data/spec/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/puma.rb +47 -0
- data/spec/dummy/config/routes.rb +1 -56
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +3 -3
- data/spec/dummy/db/seeds/cases.seeds.rb +24 -0
- data/spec/dummy/db/seeds/loupes.seeds.rb +15 -0
- data/spec/dummy/db/seeds.rb +0 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/features/cases_spec.rb +29 -0
- data/spec/helpers/cases_helper_spec.rb +1 -1
- data/spec/models/case_detail_spec.rb +33 -29
- data/spec/models/case_spec.rb +5 -5
- data/spec/models/loupe_spec.rb +1 -1
- data/spec/museum_spec.rb +1 -1
- data/spec/rails_helper.rb +88 -0
- data/spec/routing/engine_routes_spec.rb +1 -1
- data/spec/spec_helper.rb +79 -59
- data/spec/support/case_support.rb +5 -5
- data/spec/support/controller_behaviors.rb +116 -0
- data/spec/support/loupe_support.rb +2 -2
- metadata +140 -32
- data/coverage/.last_run.json +0 -5
- data/coverage/.resultset.json +0 -548
- data/coverage/.resultset.json.lock +0 -0
- data/db/seeds/museum_cases.yml +0 -15
- data/db/seeds/museum_loupes.yml +0 -13
- data/db/seeds.rb +0 -7
- data/spec/dummy/coverage/.last_run.json +0 -5
- data/spec/dummy/coverage/.resultset.json +0 -114
- data/spec/views/cases/index.html.haml_spec.rb +0 -18
- 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.
|
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:
|
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: '
|
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: '
|
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: '
|
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: '
|
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.
|
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.
|
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:
|
84
|
+
name: jeweler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0
|
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
|
96
|
+
version: '2.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rspec-rails
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
104
|
-
type: :
|
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: '
|
110
|
+
version: '3.5'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
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: :
|
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/
|
203
|
-
- spec/dummy/
|
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.
|
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.
|