images_gallery 1.0.0.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +3 -0
- data/LICENSE +674 -0
- data/README.md +84 -0
- data/Rakefile +53 -0
- data/bin/images_gallery +6 -0
- data/config.ru +8 -0
- data/lib/images_gallery/cli.rb +27 -0
- data/lib/images_gallery/collection.rb +15 -0
- data/lib/images_gallery/errors.rb +6 -0
- data/lib/images_gallery/generator.rb +66 -0
- data/lib/images_gallery/image.rb +19 -0
- data/lib/images_gallery/source.rb +104 -0
- data/lib/images_gallery/templates/_navigation.html.erb +5 -0
- data/lib/images_gallery/templates/_thumbnails.html.erb +13 -0
- data/lib/images_gallery/templates/layout.html.erb +61 -0
- data/lib/images_gallery/test_application.rb +14 -0
- data/lib/images_gallery/version.rb +3 -0
- data/lib/images_gallery/view.rb +55 -0
- data/lib/images_gallery/views/index.rb +26 -0
- data/lib/images_gallery/views/make.rb +28 -0
- data/lib/images_gallery/views/model.rb +29 -0
- data/lib/images_gallery.rb +10 -0
- data/spec/features/index_page_spec.rb +36 -0
- data/spec/features/makes_pages/canon_page_spec.rb +30 -0
- data/spec/features/makes_pages/leica_page_spec.rb +25 -0
- data/spec/features/models_pages/canon_eos_20d_page_spec.rb +14 -0
- data/spec/features/models_pages/lux_d_3_page_spec.rb +14 -0
- data/spec/fixtures/output-template.html +22 -0
- data/spec/fixtures/works.xml +596 -0
- data/spec/fixtures/works_large.xml +52780 -0
- data/spec/lib/images_gallery/cli_spec.rb +64 -0
- data/spec/lib/images_gallery/collection_spec.rb +14 -0
- data/spec/lib/images_gallery/generator_spec.rb +11 -0
- data/spec/lib/images_gallery/image_spec.rb +11 -0
- data/spec/lib/images_gallery/source_spec.rb +43 -0
- data/spec/lib/images_gallery/view_spec.rb +13 -0
- data/spec/lib/images_gallery/views/index_spec.rb +16 -0
- data/spec/lib/images_gallery/views/make_spec.rb +16 -0
- data/spec/lib/images_gallery/views/model_spec.rb +16 -0
- data/spec/spec_helper.rb +32 -0
- data/spec/support/capybara.rb +12 -0
- data/spec/support/helpers.rb +18 -0
- data/spec/support/spec_for_collection_interface.rb +7 -0
- data/spec/support/spec_for_generator_interface.rb +29 -0
- data/spec/support/spec_for_image_interface.rb +18 -0
- data/spec/support/spec_for_images_gallery.rb +28 -0
- data/spec/support/spec_for_make_page.rb +9 -0
- data/spec/support/spec_for_model_page.rb +13 -0
- data/spec/support/spec_for_parser_interface.rb +6 -0
- data/spec/support/spec_for_view_inerface.rb +19 -0
- data/spec/tmp/canon/canon_eos_20d.html +76 -0
- data/spec/tmp/canon/canon_eos_400d_digital.html +76 -0
- data/spec/tmp/canon.html +93 -0
- data/spec/tmp/fuji_photo_film_co_ltd/slp1000se.html +76 -0
- data/spec/tmp/fuji_photo_film_co_ltd.html +81 -0
- data/spec/tmp/fujifilm/finepix_s6500fd.html +76 -0
- data/spec/tmp/fujifilm.html +81 -0
- data/spec/tmp/index.html +181 -0
- data/spec/tmp/leica/d_lux_3.html +96 -0
- data/spec/tmp/leica.html +121 -0
- data/spec/tmp/nikon_corporation/nikon_d80.html +76 -0
- data/spec/tmp/nikon_corporation.html +81 -0
- data/spec/tmp/panasonic/dmc_fz30.html +81 -0
- data/spec/tmp/panasonic.html +91 -0
- data/spec/tmp/unknown_make/unknown_model.html +81 -0
- data/spec/tmp/unknown_make.html +91 -0
- metadata +283 -0
metadata
ADDED
@@ -0,0 +1,283 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: images_gallery
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.rc
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gonzalo Bulnes Guilpain
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-06-26 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: libxml-ruby
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rainbow
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: thor
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.19.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.19.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: capybara
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: inch
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.6'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.6'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rack
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rake
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '10.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '10.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '3.0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubycritic
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.0'
|
139
|
+
description: Generate a set of static HTML files from an XML representation of EXIF
|
140
|
+
data so users can browse a collection of images.
|
141
|
+
email:
|
142
|
+
- gon.bulnes@gmail.com
|
143
|
+
executables: []
|
144
|
+
extensions: []
|
145
|
+
extra_rdoc_files: []
|
146
|
+
files:
|
147
|
+
- Gemfile
|
148
|
+
- LICENSE
|
149
|
+
- README.md
|
150
|
+
- Rakefile
|
151
|
+
- bin/images_gallery
|
152
|
+
- config.ru
|
153
|
+
- lib/images_gallery.rb
|
154
|
+
- lib/images_gallery/cli.rb
|
155
|
+
- lib/images_gallery/collection.rb
|
156
|
+
- lib/images_gallery/errors.rb
|
157
|
+
- lib/images_gallery/generator.rb
|
158
|
+
- lib/images_gallery/image.rb
|
159
|
+
- lib/images_gallery/source.rb
|
160
|
+
- lib/images_gallery/templates/_navigation.html.erb
|
161
|
+
- lib/images_gallery/templates/_thumbnails.html.erb
|
162
|
+
- lib/images_gallery/templates/layout.html.erb
|
163
|
+
- lib/images_gallery/test_application.rb
|
164
|
+
- lib/images_gallery/version.rb
|
165
|
+
- lib/images_gallery/view.rb
|
166
|
+
- lib/images_gallery/views/index.rb
|
167
|
+
- lib/images_gallery/views/make.rb
|
168
|
+
- lib/images_gallery/views/model.rb
|
169
|
+
- spec/features/index_page_spec.rb
|
170
|
+
- spec/features/makes_pages/canon_page_spec.rb
|
171
|
+
- spec/features/makes_pages/leica_page_spec.rb
|
172
|
+
- spec/features/models_pages/canon_eos_20d_page_spec.rb
|
173
|
+
- spec/features/models_pages/lux_d_3_page_spec.rb
|
174
|
+
- spec/fixtures/output-template.html
|
175
|
+
- spec/fixtures/works.xml
|
176
|
+
- spec/fixtures/works_large.xml
|
177
|
+
- spec/lib/images_gallery/cli_spec.rb
|
178
|
+
- spec/lib/images_gallery/collection_spec.rb
|
179
|
+
- spec/lib/images_gallery/generator_spec.rb
|
180
|
+
- spec/lib/images_gallery/image_spec.rb
|
181
|
+
- spec/lib/images_gallery/source_spec.rb
|
182
|
+
- spec/lib/images_gallery/view_spec.rb
|
183
|
+
- spec/lib/images_gallery/views/index_spec.rb
|
184
|
+
- spec/lib/images_gallery/views/make_spec.rb
|
185
|
+
- spec/lib/images_gallery/views/model_spec.rb
|
186
|
+
- spec/spec_helper.rb
|
187
|
+
- spec/support/capybara.rb
|
188
|
+
- spec/support/helpers.rb
|
189
|
+
- spec/support/spec_for_collection_interface.rb
|
190
|
+
- spec/support/spec_for_generator_interface.rb
|
191
|
+
- spec/support/spec_for_image_interface.rb
|
192
|
+
- spec/support/spec_for_images_gallery.rb
|
193
|
+
- spec/support/spec_for_make_page.rb
|
194
|
+
- spec/support/spec_for_model_page.rb
|
195
|
+
- spec/support/spec_for_parser_interface.rb
|
196
|
+
- spec/support/spec_for_view_inerface.rb
|
197
|
+
- spec/tmp/canon.html
|
198
|
+
- spec/tmp/canon/canon_eos_20d.html
|
199
|
+
- spec/tmp/canon/canon_eos_400d_digital.html
|
200
|
+
- spec/tmp/fuji_photo_film_co_ltd.html
|
201
|
+
- spec/tmp/fuji_photo_film_co_ltd/slp1000se.html
|
202
|
+
- spec/tmp/fujifilm.html
|
203
|
+
- spec/tmp/fujifilm/finepix_s6500fd.html
|
204
|
+
- spec/tmp/index.html
|
205
|
+
- spec/tmp/leica.html
|
206
|
+
- spec/tmp/leica/d_lux_3.html
|
207
|
+
- spec/tmp/nikon_corporation.html
|
208
|
+
- spec/tmp/nikon_corporation/nikon_d80.html
|
209
|
+
- spec/tmp/panasonic.html
|
210
|
+
- spec/tmp/panasonic/dmc_fz30.html
|
211
|
+
- spec/tmp/unknown_make.html
|
212
|
+
- spec/tmp/unknown_make/unknown_model.html
|
213
|
+
homepage: https://github.com/gonzalo-bulnes/kata-images_gallery_generator
|
214
|
+
licenses:
|
215
|
+
- GPL-3.0
|
216
|
+
metadata: {}
|
217
|
+
post_install_message:
|
218
|
+
rdoc_options: []
|
219
|
+
require_paths:
|
220
|
+
- lib
|
221
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
222
|
+
requirements:
|
223
|
+
- - ">="
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
version: '0'
|
226
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - ">"
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 1.3.1
|
231
|
+
requirements: []
|
232
|
+
rubyforge_project:
|
233
|
+
rubygems_version: 2.4.8
|
234
|
+
signing_key:
|
235
|
+
specification_version: 4
|
236
|
+
summary: Generate efficient galleries of thumbnails from large XML representations
|
237
|
+
of EXIF data.
|
238
|
+
test_files:
|
239
|
+
- spec/lib/images_gallery/view_spec.rb
|
240
|
+
- spec/lib/images_gallery/generator_spec.rb
|
241
|
+
- spec/lib/images_gallery/image_spec.rb
|
242
|
+
- spec/lib/images_gallery/cli_spec.rb
|
243
|
+
- spec/lib/images_gallery/views/index_spec.rb
|
244
|
+
- spec/lib/images_gallery/views/model_spec.rb
|
245
|
+
- spec/lib/images_gallery/views/make_spec.rb
|
246
|
+
- spec/lib/images_gallery/source_spec.rb
|
247
|
+
- spec/lib/images_gallery/collection_spec.rb
|
248
|
+
- spec/features/index_page_spec.rb
|
249
|
+
- spec/features/models_pages/canon_eos_20d_page_spec.rb
|
250
|
+
- spec/features/models_pages/lux_d_3_page_spec.rb
|
251
|
+
- spec/features/makes_pages/canon_page_spec.rb
|
252
|
+
- spec/features/makes_pages/leica_page_spec.rb
|
253
|
+
- spec/tmp/index.html
|
254
|
+
- spec/tmp/unknown_make/unknown_model.html
|
255
|
+
- spec/tmp/fuji_photo_film_co_ltd/slp1000se.html
|
256
|
+
- spec/tmp/fuji_photo_film_co_ltd.html
|
257
|
+
- spec/tmp/unknown_make.html
|
258
|
+
- spec/tmp/fujifilm/finepix_s6500fd.html
|
259
|
+
- spec/tmp/nikon_corporation/nikon_d80.html
|
260
|
+
- spec/tmp/fujifilm.html
|
261
|
+
- spec/tmp/leica.html
|
262
|
+
- spec/tmp/nikon_corporation.html
|
263
|
+
- spec/tmp/canon.html
|
264
|
+
- spec/tmp/panasonic/dmc_fz30.html
|
265
|
+
- spec/tmp/canon/canon_eos_400d_digital.html
|
266
|
+
- spec/tmp/canon/canon_eos_20d.html
|
267
|
+
- spec/tmp/leica/d_lux_3.html
|
268
|
+
- spec/tmp/panasonic.html
|
269
|
+
- spec/fixtures/output-template.html
|
270
|
+
- spec/fixtures/works_large.xml
|
271
|
+
- spec/fixtures/works.xml
|
272
|
+
- spec/spec_helper.rb
|
273
|
+
- spec/support/spec_for_generator_interface.rb
|
274
|
+
- spec/support/spec_for_images_gallery.rb
|
275
|
+
- spec/support/spec_for_model_page.rb
|
276
|
+
- spec/support/spec_for_collection_interface.rb
|
277
|
+
- spec/support/spec_for_image_interface.rb
|
278
|
+
- spec/support/spec_for_parser_interface.rb
|
279
|
+
- spec/support/capybara.rb
|
280
|
+
- spec/support/spec_for_make_page.rb
|
281
|
+
- spec/support/spec_for_view_inerface.rb
|
282
|
+
- spec/support/helpers.rb
|
283
|
+
has_rdoc:
|