ish_manager 0.1.8.15 → 0.1.8.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9486b824c79417f9f99ed29a09edfea5dd8d4dc8
4
- data.tar.gz: ef3031f1a2f550cf0daa2b84ce303f94c83ec4b1
3
+ metadata.gz: 75d7a5efa748af33d04272ad3ea8453725dfbbe3
4
+ data.tar.gz: 2f0e847d27566f93664857e32f40b13adaaba2b5
5
5
  SHA512:
6
- metadata.gz: 19979bbf5487bd9f2aa3caaa06eb540ae5a0ade05ccd11ac641dab41949b90f5dbfe030088b348eedf5d1aaa5d97af3dc4ca27b8b31700bc75de38a8381bc146
7
- data.tar.gz: 2ee22f2ac9f185eaa970c82fa2ad4ea2b0328cfd1e3e0a189e64c8038537c45445fc9a4706ccf98c833ea77d65f9361583dcbd260e56ead58f8ef0e3057cf30e
6
+ metadata.gz: cccb773a4decdd75d17a6a4bba2ac0b7240a85fcb42c253d38561282e574f3adc9c987caf1bb3bb3f130c8dc865d9a01d115b406e63d5ec1c464a68d6af4a839
7
+ data.tar.gz: ea14c441565312e53d910e6a68436bd3cf46eab8197d0a27664357402782c743d1b1220375a1103624cab188a101708f61683619fb96ce79df0a1a8b237239bb
@@ -1,5 +1,5 @@
1
1
 
2
- - n_thumbs ||= 8
2
+ - n_thumbs ||= 9
3
3
 
4
4
  - if galleries.length > 0
5
5
  .galleries--list
@@ -12,8 +12,7 @@
12
12
  - if g.photos.length == 0
13
13
  = image_missing
14
14
  - else
15
- - g.photos.each_with_index do |photo, idx|
16
- - break if n_thumbs == idx + 1
15
+ - g.photos.limit( n_thumbs ).each do |photo|
17
16
  = link_to image_tag(photo.photo.url(:thumb), :alt => g.name, :class => :thumb ), gallery_path(g.galleryname)
18
17
  .c
19
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.15
4
+ version: 0.1.8.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-02 00:00:00.000000000 Z
11
+ date: 2017-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails