maglove-engine 2.0.14 → 2.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maglove/engine/version.rb +1 -1
- data/lib/maglove/widget/image.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7db9f9b409935e29581ad34aac34227e626b175a
|
4
|
+
data.tar.gz: e5c5080316e87a37336c84b98b7e3a9e9aaeb713
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 652287f76aa5581a56caa740e12494e17212aca77642717e6cc90f2a1a9b406d29c86b4d03b1b6d35eba5367373ae69a8abd75ad1d54b603a7cba765ba8c0bb0
|
7
|
+
data.tar.gz: 96e392d014b4be775a3e48e37c204ac002049f36d171890dd252046f5b69568fb8e80edfcca6dfd485be8d6e08f57bb3cee919a65b2177d01d64bcf6c325e83d
|
data/lib/maglove/widget/image.rb
CHANGED
@@ -11,6 +11,7 @@ module Maglove
|
|
11
11
|
align: "center",
|
12
12
|
source: false,
|
13
13
|
magnify: false,
|
14
|
+
magnify_title: nil,
|
14
15
|
parallax_effect: "none",
|
15
16
|
parallax_speed: 0.6
|
16
17
|
}
|
@@ -29,6 +30,7 @@ module Maglove
|
|
29
30
|
title: nil,
|
30
31
|
source: false,
|
31
32
|
magnify: false,
|
33
|
+
magnify_title: nil,
|
32
34
|
margin_bottom: "0",
|
33
35
|
max_width: "100%",
|
34
36
|
min_width: "0",
|
@@ -52,7 +54,7 @@ module Maglove
|
|
52
54
|
haml_concat(options[:tooltip_text])
|
53
55
|
end
|
54
56
|
end
|
55
|
-
haml_tag :img, class: "image #{options[:style]} #{options[:magnify] ? 'magnific-image' : ''}", src: options[:source], title: options[:title]
|
57
|
+
haml_tag :img, class: "image #{options[:style]} #{options[:magnify] ? 'magnific-image' : ''}", src: options[:source], title: options[:title], data: {magnify_title: options[:magnify_title]}
|
56
58
|
haml_tag :div, class: "image-drop-target"
|
57
59
|
end
|
58
60
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maglove-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Strebitzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: haml
|