hermitage 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. data/.gitignore +20 -0
  2. data/.rspec +2 -0
  3. data/.rvmrc +1 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +175 -0
  8. data/Rakefile +7 -0
  9. data/app/assets/javascripts/hermitage.js.coffee +263 -0
  10. data/config.ru +7 -0
  11. data/hermitage.gemspec +33 -0
  12. data/lib/generators/hermitage/install_generator.rb +17 -0
  13. data/lib/generators/hermitage/templates/hermitage.rb +29 -0
  14. data/lib/hermitage/defaults.rb +31 -0
  15. data/lib/hermitage/engine.rb +6 -0
  16. data/lib/hermitage/railtie.rb +9 -0
  17. data/lib/hermitage/version.rb +3 -0
  18. data/lib/hermitage/view_helpers.rb +42 -0
  19. data/lib/hermitage.rb +13 -0
  20. data/spec/dummy/README.rdoc +28 -0
  21. data/spec/dummy/Rakefile +6 -0
  22. data/spec/dummy/app/assets/images/.keep +0 -0
  23. data/spec/dummy/app/assets/images/0-full.png +0 -0
  24. data/spec/dummy/app/assets/images/0-thumbnail.png +0 -0
  25. data/spec/dummy/app/assets/images/1-full.png +0 -0
  26. data/spec/dummy/app/assets/images/1-thumbnail.png +0 -0
  27. data/spec/dummy/app/assets/images/2-full.png +0 -0
  28. data/spec/dummy/app/assets/images/2-thumbnail.png +0 -0
  29. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  30. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  31. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  32. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  33. data/spec/dummy/app/controllers/images_controller.rb +8 -0
  34. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  35. data/spec/dummy/app/mailers/.keep +0 -0
  36. data/spec/dummy/app/models/.keep +0 -0
  37. data/spec/dummy/app/models/concerns/.keep +0 -0
  38. data/spec/dummy/app/models/dummy.rb +32 -0
  39. data/spec/dummy/app/views/images/index.html.erb +1 -0
  40. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  41. data/spec/dummy/bin/bundle +3 -0
  42. data/spec/dummy/bin/rails +4 -0
  43. data/spec/dummy/bin/rake +4 -0
  44. data/spec/dummy/config/application.rb +31 -0
  45. data/spec/dummy/config/boot.rb +5 -0
  46. data/spec/dummy/config/database.yml +25 -0
  47. data/spec/dummy/config/environment.rb +5 -0
  48. data/spec/dummy/config/environments/development.rb +29 -0
  49. data/spec/dummy/config/environments/production.rb +80 -0
  50. data/spec/dummy/config/environments/test.rb +36 -0
  51. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  52. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  53. data/spec/dummy/config/initializers/inflections.rb +16 -0
  54. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  55. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  56. data/spec/dummy/config/initializers/session_store.rb +3 -0
  57. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  58. data/spec/dummy/config/locales/en.yml +23 -0
  59. data/spec/dummy/config/routes.rb +3 -0
  60. data/spec/dummy/config.ru +4 -0
  61. data/spec/dummy/db/schema.rb +16 -0
  62. data/spec/dummy/lib/assets/.keep +0 -0
  63. data/spec/dummy/log/.keep +0 -0
  64. data/spec/dummy/log/development.log +0 -0
  65. data/spec/dummy/public/404.html +58 -0
  66. data/spec/dummy/public/422.html +58 -0
  67. data/spec/dummy/public/500.html +57 -0
  68. data/spec/dummy/public/favicon.ico +0 -0
  69. data/spec/features/engine_spec.rb +8 -0
  70. data/spec/features/navigation_spec.rb +90 -0
  71. data/spec/features/render_gallery_spec.rb +19 -0
  72. data/spec/features/scale_spec.rb +78 -0
  73. data/spec/features/viewer_spec.rb +40 -0
  74. data/spec/generators/install_spec.rb +19 -0
  75. data/spec/lib/hermitage/defaults_spec.rb +18 -0
  76. data/spec/lib/hermitage/railtie_spec.rb +7 -0
  77. data/spec/lib/hermitage/view_helpers_spec.rb +71 -0
  78. data/spec/lib/hermitage_spec.rb +11 -0
  79. data/spec/spec_helper.rb +26 -0
  80. metadata +362 -0
metadata ADDED
@@ -0,0 +1,362 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hermitage
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Alexander Borovykh
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-09-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '3.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - !ruby/object:Gem::Dependency
31
+ name: jquery-rails
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: coffee-rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: bundler
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '1.3'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '1.3'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rake
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rspec-rails
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: capybara
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: sqlite3
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: therubyracer
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: poltergeist
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: genspec
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ description: Ruby library for generation of image galleries.
191
+ email:
192
+ - immaculate.pine@gmail.com
193
+ executables: []
194
+ extensions: []
195
+ extra_rdoc_files: []
196
+ files:
197
+ - .gitignore
198
+ - .rspec
199
+ - .rvmrc
200
+ - .travis.yml
201
+ - Gemfile
202
+ - LICENSE.txt
203
+ - README.md
204
+ - Rakefile
205
+ - app/assets/javascripts/hermitage.js.coffee
206
+ - config.ru
207
+ - hermitage.gemspec
208
+ - lib/generators/hermitage/install_generator.rb
209
+ - lib/generators/hermitage/templates/hermitage.rb
210
+ - lib/hermitage.rb
211
+ - lib/hermitage/defaults.rb
212
+ - lib/hermitage/engine.rb
213
+ - lib/hermitage/railtie.rb
214
+ - lib/hermitage/version.rb
215
+ - lib/hermitage/view_helpers.rb
216
+ - spec/dummy/README.rdoc
217
+ - spec/dummy/Rakefile
218
+ - spec/dummy/app/assets/images/.keep
219
+ - spec/dummy/app/assets/images/0-full.png
220
+ - spec/dummy/app/assets/images/0-thumbnail.png
221
+ - spec/dummy/app/assets/images/1-full.png
222
+ - spec/dummy/app/assets/images/1-thumbnail.png
223
+ - spec/dummy/app/assets/images/2-full.png
224
+ - spec/dummy/app/assets/images/2-thumbnail.png
225
+ - spec/dummy/app/assets/javascripts/application.js
226
+ - spec/dummy/app/assets/stylesheets/application.css
227
+ - spec/dummy/app/controllers/application_controller.rb
228
+ - spec/dummy/app/controllers/concerns/.keep
229
+ - spec/dummy/app/controllers/images_controller.rb
230
+ - spec/dummy/app/helpers/application_helper.rb
231
+ - spec/dummy/app/mailers/.keep
232
+ - spec/dummy/app/models/.keep
233
+ - spec/dummy/app/models/concerns/.keep
234
+ - spec/dummy/app/models/dummy.rb
235
+ - spec/dummy/app/views/images/index.html.erb
236
+ - spec/dummy/app/views/layouts/application.html.erb
237
+ - spec/dummy/bin/bundle
238
+ - spec/dummy/bin/rails
239
+ - spec/dummy/bin/rake
240
+ - spec/dummy/config.ru
241
+ - spec/dummy/config/application.rb
242
+ - spec/dummy/config/boot.rb
243
+ - spec/dummy/config/database.yml
244
+ - spec/dummy/config/environment.rb
245
+ - spec/dummy/config/environments/development.rb
246
+ - spec/dummy/config/environments/production.rb
247
+ - spec/dummy/config/environments/test.rb
248
+ - spec/dummy/config/initializers/backtrace_silencers.rb
249
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
250
+ - spec/dummy/config/initializers/inflections.rb
251
+ - spec/dummy/config/initializers/mime_types.rb
252
+ - spec/dummy/config/initializers/secret_token.rb
253
+ - spec/dummy/config/initializers/session_store.rb
254
+ - spec/dummy/config/initializers/wrap_parameters.rb
255
+ - spec/dummy/config/locales/en.yml
256
+ - spec/dummy/config/routes.rb
257
+ - spec/dummy/db/schema.rb
258
+ - spec/dummy/lib/assets/.keep
259
+ - spec/dummy/log/.keep
260
+ - spec/dummy/log/development.log
261
+ - spec/dummy/public/404.html
262
+ - spec/dummy/public/422.html
263
+ - spec/dummy/public/500.html
264
+ - spec/dummy/public/favicon.ico
265
+ - spec/features/engine_spec.rb
266
+ - spec/features/navigation_spec.rb
267
+ - spec/features/render_gallery_spec.rb
268
+ - spec/features/scale_spec.rb
269
+ - spec/features/viewer_spec.rb
270
+ - spec/generators/install_spec.rb
271
+ - spec/lib/hermitage/defaults_spec.rb
272
+ - spec/lib/hermitage/railtie_spec.rb
273
+ - spec/lib/hermitage/view_helpers_spec.rb
274
+ - spec/lib/hermitage_spec.rb
275
+ - spec/spec_helper.rb
276
+ homepage: https://github.com/ImmaculatePine/hermitage
277
+ licenses:
278
+ - MIT
279
+ post_install_message:
280
+ rdoc_options: []
281
+ require_paths:
282
+ - lib
283
+ required_ruby_version: !ruby/object:Gem::Requirement
284
+ none: false
285
+ requirements:
286
+ - - ! '>='
287
+ - !ruby/object:Gem::Version
288
+ version: '0'
289
+ required_rubygems_version: !ruby/object:Gem::Requirement
290
+ none: false
291
+ requirements:
292
+ - - ! '>='
293
+ - !ruby/object:Gem::Version
294
+ version: '0'
295
+ requirements: []
296
+ rubyforge_project:
297
+ rubygems_version: 1.8.25
298
+ signing_key:
299
+ specification_version: 3
300
+ summary: Ruby library for generation of image galleries (thumbnails and full size
301
+ images viewer).
302
+ test_files:
303
+ - spec/dummy/README.rdoc
304
+ - spec/dummy/Rakefile
305
+ - spec/dummy/app/assets/images/.keep
306
+ - spec/dummy/app/assets/images/0-full.png
307
+ - spec/dummy/app/assets/images/0-thumbnail.png
308
+ - spec/dummy/app/assets/images/1-full.png
309
+ - spec/dummy/app/assets/images/1-thumbnail.png
310
+ - spec/dummy/app/assets/images/2-full.png
311
+ - spec/dummy/app/assets/images/2-thumbnail.png
312
+ - spec/dummy/app/assets/javascripts/application.js
313
+ - spec/dummy/app/assets/stylesheets/application.css
314
+ - spec/dummy/app/controllers/application_controller.rb
315
+ - spec/dummy/app/controllers/concerns/.keep
316
+ - spec/dummy/app/controllers/images_controller.rb
317
+ - spec/dummy/app/helpers/application_helper.rb
318
+ - spec/dummy/app/mailers/.keep
319
+ - spec/dummy/app/models/.keep
320
+ - spec/dummy/app/models/concerns/.keep
321
+ - spec/dummy/app/models/dummy.rb
322
+ - spec/dummy/app/views/images/index.html.erb
323
+ - spec/dummy/app/views/layouts/application.html.erb
324
+ - spec/dummy/bin/bundle
325
+ - spec/dummy/bin/rails
326
+ - spec/dummy/bin/rake
327
+ - spec/dummy/config.ru
328
+ - spec/dummy/config/application.rb
329
+ - spec/dummy/config/boot.rb
330
+ - spec/dummy/config/database.yml
331
+ - spec/dummy/config/environment.rb
332
+ - spec/dummy/config/environments/development.rb
333
+ - spec/dummy/config/environments/production.rb
334
+ - spec/dummy/config/environments/test.rb
335
+ - spec/dummy/config/initializers/backtrace_silencers.rb
336
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
337
+ - spec/dummy/config/initializers/inflections.rb
338
+ - spec/dummy/config/initializers/mime_types.rb
339
+ - spec/dummy/config/initializers/secret_token.rb
340
+ - spec/dummy/config/initializers/session_store.rb
341
+ - spec/dummy/config/initializers/wrap_parameters.rb
342
+ - spec/dummy/config/locales/en.yml
343
+ - spec/dummy/config/routes.rb
344
+ - spec/dummy/db/schema.rb
345
+ - spec/dummy/lib/assets/.keep
346
+ - spec/dummy/log/.keep
347
+ - spec/dummy/log/development.log
348
+ - spec/dummy/public/404.html
349
+ - spec/dummy/public/422.html
350
+ - spec/dummy/public/500.html
351
+ - spec/dummy/public/favicon.ico
352
+ - spec/features/engine_spec.rb
353
+ - spec/features/navigation_spec.rb
354
+ - spec/features/render_gallery_spec.rb
355
+ - spec/features/scale_spec.rb
356
+ - spec/features/viewer_spec.rb
357
+ - spec/generators/install_spec.rb
358
+ - spec/lib/hermitage/defaults_spec.rb
359
+ - spec/lib/hermitage/railtie_spec.rb
360
+ - spec/lib/hermitage/view_helpers_spec.rb
361
+ - spec/lib/hermitage_spec.rb
362
+ - spec/spec_helper.rb