rails-gallery 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@
14
14
  Galleria.addTheme({
15
15
  name: 'classic',
16
16
  author: 'Galleria',
17
- css: '/assets/gallery/galleria/classic.css',
17
+ css: 'classic.css',
18
18
  defaults: {
19
19
  transition: 'slide',
20
20
  thumbCrop: 'height',
@@ -5,4 +5,4 @@
5
5
  * Licensed under the MIT license
6
6
  * https://raw.github.com/aino/galleria/master/LICENSE
7
7
  *
8
- */(function(a){Galleria.addTheme({name:"classic",author:"Galleria",css:"galleria.classic.css",defaults:{transition:"slide",thumbCrop:"height",_toggleInfo:!0},init:function(b){Galleria.requires(1.28,"This version of Classic theme requires Galleria 1.2.8 or later"),this.addElement("info-link","info-close"),this.append({info:["info-link","info-close"]});var c=this.$("info-link,info-close,info-text"),d=Galleria.TOUCH,e=d?"touchstart":"click";this.$("loader,counter").show().css("opacity",.4),d||(this.addIdleState(this.get("image-nav-left"),{left:-50}),this.addIdleState(this.get("image-nav-right"),{right:-50}),this.addIdleState(this.get("counter"),{opacity:0})),b._toggleInfo===!0?c.bind(e,function(){c.toggle()}):(c.show(),this.$("info-link, info-close").hide()),this.bind("thumbnail",function(b){d?a(b.thumbTarget).css("opacity",this.getIndex()?1:.6):(a(b.thumbTarget).css("opacity",.6).parent().hover(function(){a(this).not(".active").children().stop().fadeTo(100,1)},function(){a(this).not(".active").children().stop().fadeTo(400,.6)}),b.index===this.getIndex()&&a(b.thumbTarget).css("opacity",1))}),this.bind("loadstart",function(b){b.cached||this.$("loader").show().fadeTo(200,.4),this.$("info").toggle(this.hasInfo()),a(b.thumbTarget).css("opacity",1).parent().siblings().children().css("opacity",.6)}),this.bind("loadfinish",function(a){this.$("loader").fadeOut(200)})}})})(jQuery);
8
+ */(function(a){Galleria.addTheme({name:"classic",author:"Galleria",css:'classic.css',defaults:{transition:"slide",thumbCrop:"height",_toggleInfo:!0},init:function(b){Galleria.requires(1.28,"This version of Classic theme requires Galleria 1.2.8 or later"),this.addElement("info-link","info-close"),this.append({info:["info-link","info-close"]});var c=this.$("info-link,info-close,info-text"),d=Galleria.TOUCH,e=d?"touchstart":"click";this.$("loader,counter").show().css("opacity",.4),d||(this.addIdleState(this.get("image-nav-left"),{left:-50}),this.addIdleState(this.get("image-nav-right"),{right:-50}),this.addIdleState(this.get("counter"),{opacity:0})),b._toggleInfo===!0?c.bind(e,function(){c.toggle()}):(c.show(),this.$("info-link, info-close").hide()),this.bind("thumbnail",function(b){d?a(b.thumbTarget).css("opacity",this.getIndex()?1:.6):(a(b.thumbTarget).css("opacity",.6).parent().hover(function(){a(this).not(".active").children().stop().fadeTo(100,1)},function(){a(this).not(".active").children().stop().fadeTo(400,.6)}),b.index===this.getIndex()&&a(b.thumbTarget).css("opacity",1))}),this.bind("loadstart",function(b){b.cached||this.$("loader").show().fadeTo(200,.4),this.$("info").toggle(this.hasInfo()),a(b.thumbTarget).css("opacity",1).parent().siblings().children().css("opacity",.6)}),this.bind("loadfinish",function(a){this.$("loader").fadeOut(200)})}})})(jQuery);
@@ -59,7 +59,7 @@
59
59
  right: 10px;
60
60
  z-index: 2;
61
61
  display: none;
62
- background: url(/assets/galleria/classic/loader.gif) no-repeat 2px 2px;
62
+ background: url(/assets/gallery/galleria/classic/loader.gif) no-repeat 2px 2px;
63
63
  }
64
64
  .galleria-info {
65
65
  width: 50%;
@@ -212,6 +212,6 @@
212
212
  .galleria-info-close,
213
213
  .galleria-image-nav-left,
214
214
  .galleria-image-nav-right {
215
- background-image: url(/assets/galleria/classic/map.png);
215
+ background-image: url(/assets/gallery/galleria/classic/map.png);
216
216
  background-repeat: no-repeat;
217
217
  }
metadata CHANGED
@@ -1,145 +1,56 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
5
- prerelease:
4
+ version: 0.3.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kristian Mandrup
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-06 00:00:00.000000000 Z
11
+ date: 2012-10-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: '3.1'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: '3.1'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: hashie
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
- version: 1.2.0
33
+ version: 2.0.0
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
- version: 1.2.0
46
- - !ruby/object:Gem::Dependency
47
- name: rspec
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: 2.8.0
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: 2.8.0
62
- - !ruby/object:Gem::Dependency
63
- name: rdoc
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '3.12'
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: '3.12'
78
- - !ruby/object:Gem::Dependency
79
- name: bundler
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: 1.0.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: 1.0.0
94
- - !ruby/object:Gem::Dependency
95
- name: jeweler
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: 1.8.4
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: 1.8.4
110
- - !ruby/object:Gem::Dependency
111
- name: simplecov
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0.5'
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.5'
126
- description: Adds popular javascript galleries to asset pipeline and includes a few
127
- Rails Gallery utils and helpers
40
+ version: 2.0.0
41
+ description: Add photo galleries to your Rails apps :)
128
42
  email: kmandrup@gmail.com
129
43
  executables: []
130
44
  extensions: []
131
- extra_rdoc_files:
132
- - LICENSE.txt
133
- - README.md
45
+ extra_rdoc_files: []
134
46
  files:
135
- - .document
47
+ - .gitignore
136
48
  - .rspec
49
+ - CHANGELOG
137
50
  - Gemfile
138
- - Gemfile.lock
139
- - LICENSE.txt
51
+ - LICENSE
140
52
  - README.md
141
53
  - Rakefile
142
- - VERSION
143
54
  - app/views/gallery/_galleria.html.haml
144
55
  - app/views/gallery/_responsive.html.haml
145
56
  - app/views/gallery/_slideshow.html.haml
@@ -154,6 +65,7 @@ files:
154
65
  - lib/rails-gallery/rgallery/photo.rb
155
66
  - lib/rails-gallery/rgallery/photo_config.rb
156
67
  - lib/rails-gallery/rgallery/photos.rb
68
+ - lib/rails-gallery/version.rb
157
69
  - lib/rails-gallery/view_helper.rb
158
70
  - lib/rails-gallery/view_helper/galleria.rb
159
71
  - lib/rails-gallery/view_helper/responsive.rb
@@ -291,8 +203,6 @@ files:
291
203
  - vendor/assets/images/gallery/slideshow/icons/up.png
292
204
  - vendor/assets/images/gallery/touch_touch/arrows.png
293
205
  - vendor/assets/images/gallery/touch_touch/preloader.gif
294
- - vendor/assets/javascripts/gallery/galleria-1.2.8.js
295
- - vendor/assets/javascripts/gallery/galleria-1.2.8.min.js
296
206
  - vendor/assets/javascripts/gallery/galleria.js
297
207
  - vendor/assets/javascripts/gallery/galleria/classic.js
298
208
  - vendor/assets/javascripts/gallery/galleria/classic.min.js
@@ -307,32 +217,141 @@ files:
307
217
  - vendor/assets/stylesheets/gallery/responsive/elastislide.css
308
218
  - vendor/assets/stylesheets/gallery/slideshow.css
309
219
  - vendor/assets/stylesheets/gallery/touch_touch.css
310
- homepage: http://github.com/kristianmandrup/rails-gallery
220
+ homepage: https://github.com/kristianmandrup/rails-gallery
311
221
  licenses:
312
222
  - MIT
223
+ metadata: {}
313
224
  post_install_message:
314
225
  rdoc_options: []
315
226
  require_paths:
316
227
  - lib
317
228
  required_ruby_version: !ruby/object:Gem::Requirement
318
- none: false
319
229
  requirements:
320
- - - ! '>='
230
+ - - '>='
321
231
  - !ruby/object:Gem::Version
322
232
  version: '0'
323
- segments:
324
- - 0
325
- hash: 1161090395313718102
326
233
  required_rubygems_version: !ruby/object:Gem::Requirement
327
- none: false
328
234
  requirements:
329
- - - ! '>='
235
+ - - '>='
330
236
  - !ruby/object:Gem::Version
331
237
  version: '0'
332
238
  requirements: []
333
239
  rubyforge_project:
334
- rubygems_version: 1.8.24
240
+ rubygems_version: 2.0.0
335
241
  signing_key:
336
- specification_version: 3
337
- summary: Javascript galleries & carousels for instant use with Rails 3+ :)
338
- test_files: []
242
+ specification_version: 4
243
+ summary: Gallery functionality for Rails apps
244
+ test_files:
245
+ - spec/galleria_snippet.html
246
+ - spec/galleria_snippet.html.haml
247
+ - spec/images/photo_gallery/icons/IconsByGentleface.txt
248
+ - spec/images/photo_gallery/icons/grid.png
249
+ - spec/images/photo_gallery/icons/loading.gif
250
+ - spec/images/photo_gallery/icons/next.png
251
+ - spec/images/photo_gallery/icons/next_thumb.png
252
+ - spec/images/photo_gallery/icons/pause.png
253
+ - spec/images/photo_gallery/icons/play.png
254
+ - spec/images/photo_gallery/icons/prev.png
255
+ - spec/images/photo_gallery/icons/prev_thumb.png
256
+ - spec/images/photo_gallery/icons/up.png
257
+ - spec/images/photo_gallery/images/1.jpg
258
+ - spec/images/photo_gallery/images/10.jpg
259
+ - spec/images/photo_gallery/images/11.jpg
260
+ - spec/images/photo_gallery/images/12.jpg
261
+ - spec/images/photo_gallery/images/2.jpg
262
+ - spec/images/photo_gallery/images/3.jpg
263
+ - spec/images/photo_gallery/images/4.jpg
264
+ - spec/images/photo_gallery/images/5.jpg
265
+ - spec/images/photo_gallery/images/6.jpg
266
+ - spec/images/photo_gallery/images/7.jpg
267
+ - spec/images/photo_gallery/images/8.jpg
268
+ - spec/images/photo_gallery/images/9.jpg
269
+ - spec/images/photo_gallery/images/ImagesByTibchris.txt
270
+ - spec/images/photo_gallery/images/thumbs/1.jpg
271
+ - spec/images/photo_gallery/images/thumbs/10.jpg
272
+ - spec/images/photo_gallery/images/thumbs/11.jpg
273
+ - spec/images/photo_gallery/images/thumbs/12.jpg
274
+ - spec/images/photo_gallery/images/thumbs/2.jpg
275
+ - spec/images/photo_gallery/images/thumbs/3.jpg
276
+ - spec/images/photo_gallery/images/thumbs/4.jpg
277
+ - spec/images/photo_gallery/images/thumbs/5.jpg
278
+ - spec/images/photo_gallery/images/thumbs/6.jpg
279
+ - spec/images/photo_gallery/images/thumbs/7.jpg
280
+ - spec/images/photo_gallery/images/thumbs/8.jpg
281
+ - spec/images/photo_gallery/images/thumbs/9.jpg
282
+ - spec/images/property/1.jpg
283
+ - spec/images/property/2.jpg
284
+ - spec/images/property/3.jpg
285
+ - spec/images/property/4.jpg
286
+ - spec/images/property/5.jpg
287
+ - spec/images/property/6.jpg
288
+ - spec/images/property/7.jpg
289
+ - spec/images/property/ads/ad1.jpg
290
+ - spec/images/property/ads/ad2.jpg
291
+ - spec/images/property/ads/ad3.jpg
292
+ - spec/images/property/thumbs/1.jpg
293
+ - spec/images/property/thumbs/2.jpg
294
+ - spec/images/property/thumbs/3.jpg
295
+ - spec/images/property/thumbs/4.jpg
296
+ - spec/images/property/thumbs/5.jpg
297
+ - spec/images/property/thumbs/6.jpg
298
+ - spec/images/property/thumbs/7.jpg
299
+ - spec/images/responsive-gallery/icons/ajax-loader.gif
300
+ - spec/images/responsive-gallery/icons/black.png
301
+ - spec/images/responsive-gallery/icons/nav.png
302
+ - spec/images/responsive-gallery/icons/nav_thumbs.png
303
+ - spec/images/responsive-gallery/icons/pattern.png
304
+ - spec/images/responsive-gallery/icons/views.png
305
+ - spec/images/responsive-gallery/images/1.jpg
306
+ - spec/images/responsive-gallery/images/10.jpg
307
+ - spec/images/responsive-gallery/images/11.jpg
308
+ - spec/images/responsive-gallery/images/12.jpg
309
+ - spec/images/responsive-gallery/images/13.jpg
310
+ - spec/images/responsive-gallery/images/14.jpg
311
+ - spec/images/responsive-gallery/images/15.jpg
312
+ - spec/images/responsive-gallery/images/16.jpg
313
+ - spec/images/responsive-gallery/images/17.jpg
314
+ - spec/images/responsive-gallery/images/18.jpg
315
+ - spec/images/responsive-gallery/images/19.jpg
316
+ - spec/images/responsive-gallery/images/2.jpg
317
+ - spec/images/responsive-gallery/images/20.jpg
318
+ - spec/images/responsive-gallery/images/21.jpg
319
+ - spec/images/responsive-gallery/images/22.jpg
320
+ - spec/images/responsive-gallery/images/23.jpg
321
+ - spec/images/responsive-gallery/images/24.jpg
322
+ - spec/images/responsive-gallery/images/3.jpg
323
+ - spec/images/responsive-gallery/images/4.jpg
324
+ - spec/images/responsive-gallery/images/5.jpg
325
+ - spec/images/responsive-gallery/images/6.jpg
326
+ - spec/images/responsive-gallery/images/7.jpg
327
+ - spec/images/responsive-gallery/images/8.jpg
328
+ - spec/images/responsive-gallery/images/9.jpg
329
+ - spec/images/responsive-gallery/images/thumbs/1.jpg
330
+ - spec/images/responsive-gallery/images/thumbs/10.jpg
331
+ - spec/images/responsive-gallery/images/thumbs/11.jpg
332
+ - spec/images/responsive-gallery/images/thumbs/12.jpg
333
+ - spec/images/responsive-gallery/images/thumbs/13.jpg
334
+ - spec/images/responsive-gallery/images/thumbs/14.jpg
335
+ - spec/images/responsive-gallery/images/thumbs/15.jpg
336
+ - spec/images/responsive-gallery/images/thumbs/16.jpg
337
+ - spec/images/responsive-gallery/images/thumbs/17.jpg
338
+ - spec/images/responsive-gallery/images/thumbs/18.jpg
339
+ - spec/images/responsive-gallery/images/thumbs/19.jpg
340
+ - spec/images/responsive-gallery/images/thumbs/2.jpg
341
+ - spec/images/responsive-gallery/images/thumbs/20.jpg
342
+ - spec/images/responsive-gallery/images/thumbs/21.jpg
343
+ - spec/images/responsive-gallery/images/thumbs/22.jpg
344
+ - spec/images/responsive-gallery/images/thumbs/23.jpg
345
+ - spec/images/responsive-gallery/images/thumbs/24.jpg
346
+ - spec/images/responsive-gallery/images/thumbs/3.jpg
347
+ - spec/images/responsive-gallery/images/thumbs/4.jpg
348
+ - spec/images/responsive-gallery/images/thumbs/5.jpg
349
+ - spec/images/responsive-gallery/images/thumbs/6.jpg
350
+ - spec/images/responsive-gallery/images/thumbs/7.jpg
351
+ - spec/images/responsive-gallery/images/thumbs/8.jpg
352
+ - spec/images/responsive-gallery/images/thumbs/9.jpg
353
+ - spec/rails-gallery/view_helper_spec.rb
354
+ - spec/rgallery/photos_spec.rb
355
+ - spec/rgallery/property_photo.rb
356
+ - spec/spec_helper.rb
357
+ has_rdoc:
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/Gemfile.lock DELETED
@@ -1,111 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- actionmailer (3.2.8)
5
- actionpack (= 3.2.8)
6
- mail (~> 2.4.4)
7
- actionpack (3.2.8)
8
- activemodel (= 3.2.8)
9
- activesupport (= 3.2.8)
10
- builder (~> 3.0.0)
11
- erubis (~> 2.7.0)
12
- journey (~> 1.0.4)
13
- rack (~> 1.4.0)
14
- rack-cache (~> 1.2)
15
- rack-test (~> 0.6.1)
16
- sprockets (~> 2.1.3)
17
- activemodel (3.2.8)
18
- activesupport (= 3.2.8)
19
- builder (~> 3.0.0)
20
- activerecord (3.2.8)
21
- activemodel (= 3.2.8)
22
- activesupport (= 3.2.8)
23
- arel (~> 3.0.2)
24
- tzinfo (~> 0.3.29)
25
- activeresource (3.2.8)
26
- activemodel (= 3.2.8)
27
- activesupport (= 3.2.8)
28
- activesupport (3.2.8)
29
- i18n (~> 0.6)
30
- multi_json (~> 1.0)
31
- arel (3.0.2)
32
- builder (3.0.0)
33
- diff-lcs (1.1.3)
34
- erubis (2.7.0)
35
- git (1.2.5)
36
- hashie (1.2.0)
37
- hike (1.2.1)
38
- i18n (0.6.0)
39
- jeweler (1.8.4)
40
- bundler (~> 1.0)
41
- git (>= 1.2.5)
42
- rake
43
- rdoc
44
- journey (1.0.4)
45
- json (1.7.5)
46
- mail (2.4.4)
47
- i18n (>= 0.4.0)
48
- mime-types (~> 1.16)
49
- treetop (~> 1.4.8)
50
- mime-types (1.19)
51
- multi_json (1.3.6)
52
- polyglot (0.3.3)
53
- rack (1.4.1)
54
- rack-cache (1.2)
55
- rack (>= 0.4)
56
- rack-ssl (1.3.2)
57
- rack
58
- rack-test (0.6.1)
59
- rack (>= 1.0)
60
- rails (3.2.8)
61
- actionmailer (= 3.2.8)
62
- actionpack (= 3.2.8)
63
- activerecord (= 3.2.8)
64
- activeresource (= 3.2.8)
65
- activesupport (= 3.2.8)
66
- bundler (~> 1.0)
67
- railties (= 3.2.8)
68
- railties (3.2.8)
69
- actionpack (= 3.2.8)
70
- activesupport (= 3.2.8)
71
- rack-ssl (~> 1.3.2)
72
- rake (>= 0.8.7)
73
- rdoc (~> 3.4)
74
- thor (>= 0.14.6, < 2.0)
75
- rake (0.9.2.2)
76
- rdoc (3.12)
77
- json (~> 1.4)
78
- rspec (2.11.0)
79
- rspec-core (~> 2.11.0)
80
- rspec-expectations (~> 2.11.0)
81
- rspec-mocks (~> 2.11.0)
82
- rspec-core (2.11.1)
83
- rspec-expectations (2.11.2)
84
- diff-lcs (~> 1.1.3)
85
- rspec-mocks (2.11.2)
86
- simplecov (0.6.4)
87
- multi_json (~> 1.0)
88
- simplecov-html (~> 0.5.3)
89
- simplecov-html (0.5.3)
90
- sprockets (2.1.3)
91
- hike (~> 1.2)
92
- rack (~> 1.0)
93
- tilt (~> 1.1, != 1.3.0)
94
- thor (0.16.0)
95
- tilt (1.3.3)
96
- treetop (1.4.10)
97
- polyglot
98
- polyglot (>= 0.3.1)
99
- tzinfo (0.3.33)
100
-
101
- PLATFORMS
102
- ruby
103
-
104
- DEPENDENCIES
105
- bundler (>= 1.0.0)
106
- hashie (~> 1.2.0)
107
- jeweler (>= 1.8.4)
108
- rails
109
- rdoc (>= 3.12)
110
- rspec (>= 2.8.0)
111
- simplecov (>= 0.5)