lightbox2 2.11.1.1 → 2.11.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9389a7a93df9246fc69b0277d2c0230ba972fb5a9ba64a8bd6fe2790af31417
4
- data.tar.gz: '01296d1508a5eae77a1c180de2e3e409330899540bcac327fed7f967883462a4'
3
+ metadata.gz: ea407e1dda07a26a65941114b36bf194b52b660ac3dbd64a9f7b8fa9e6c21da9
4
+ data.tar.gz: 25a34b1d0e268e9f0c4d206a5e2e0c2d2c862882d7e73b2d1ba1e4d18e593de4
5
5
  SHA512:
6
- metadata.gz: 7ed56d33a51454273a53a793cda49c4e3cf5fca70988cf10eb75d12785f0166f550112709bf54b2ba8819bd9063be5ba6e637824f035790d83e40fa7983dc73a
7
- data.tar.gz: efe69c0d3c93502034854ab213fd245e61d8fe1ccc3e98ccc8c063c94b3a3c43658ee24796f3a19a1de5e46c0141a6981dfae929561dd473df28bc419ecb0674
6
+ metadata.gz: f0c212d160249f7c7e5f65b9922e1bd417aa357acab6a630127048b7c2a03c1698b92bc0d66dc9bf706678cce0b86c0d5be4171332e8c8131dc4d7f58f91fe6f
7
+ data.tar.gz: 62897c2b29f162a789b5380a8c98982374a5683a4243981e98e7250d15a9bc854f37dbb7ab63639e3f376b66774ca79b1c8307c9c2825a14c1a3a02b9e79cd47
@@ -1,6 +1,6 @@
1
1
  module Lightbox2
2
2
  module Rails
3
- VERSION = '2.11.1.1'
4
- LIGHTBOX2_VERSION = '2.11.1'
3
+ VERSION = '2.11.3'
4
+ LIGHTBOX2_VERSION = '2.11.3'
5
5
  end
6
6
  end
Binary file
Binary file
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lightbox v2.11.1
2
+ * Lightbox v2.11.3
3
3
  * by Lokesh Dhakar
4
4
  *
5
5
  * More info:
@@ -314,18 +314,13 @@
314
314
  maxImageHeight = windowHeight - self.containerPadding.top - self.containerPadding.bottom - self.imageBorderWidth.top - self.imageBorderWidth.bottom - self.options.positionFromTop - 70;
315
315
 
316
316
  /*
317
- SVGs that don't have width and height attributes specified are reporting width and height
318
- values of 0 in Firefox 47 and IE11 on Windows. To fix, we set the width and height to the max
319
- dimensions for the viewport rather than 0 x 0.
320
-
321
- https://github.com/lokesh/lightbox2/issues/552
317
+ Since many SVGs have small intrinsic dimensions, but they support scaling
318
+ up without quality loss because of their vector format, max out their
319
+ size.
322
320
  */
323
-
324
321
  if (filetype === 'svg') {
325
- if ((preloader.width === 0) || preloader.height === 0) {
326
- $image.width(maxImageWidth);
327
- $image.height(maxImageHeight);
328
- }
322
+ $image.width(maxImageWidth);
323
+ $image.height(maxImageHeight);
329
324
  }
330
325
 
331
326
  // Fit image inside the viewport.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightbox2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.1.1
4
+ version: 2.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Schnitzer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-15 00:00:00.000000000 Z
11
+ date: 2021-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-rails
@@ -37,10 +37,14 @@ files:
37
37
  - lib/lightbox2/rails.rb
38
38
  - lib/lightbox2/rails/engine.rb
39
39
  - lib/lightbox2/rails/version.rb
40
+ - vendor/assets/images/close.png
40
41
  - vendor/assets/images/lightbox2/close.png
41
42
  - vendor/assets/images/lightbox2/loading.gif
42
43
  - vendor/assets/images/lightbox2/next.png
43
44
  - vendor/assets/images/lightbox2/prev.png
45
+ - vendor/assets/images/loading.gif
46
+ - vendor/assets/images/next.png
47
+ - vendor/assets/images/prev.png
44
48
  - vendor/assets/javascripts/lightbox2.js
45
49
  - vendor/assets/stylesheets/lightbox2.scss
46
50
  homepage: https://github.com/mschnitzer/lightbox2-rubygem
@@ -63,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
67
  version: '0'
64
68
  requirements: []
65
69
  rubyforge_project:
66
- rubygems_version: 2.7.3
70
+ rubygems_version: 2.7.6.2
67
71
  signing_key:
68
72
  specification_version: 4
69
73
  summary: lightbox2 for Ruby on Rails