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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 941201c06d389866d1de9be8ffa46d6ec11b93a7
4
- data.tar.gz: 2176517879b75b1213fc446f2664efa717640416
3
+ metadata.gz: 7db9f9b409935e29581ad34aac34227e626b175a
4
+ data.tar.gz: e5c5080316e87a37336c84b98b7e3a9e9aaeb713
5
5
  SHA512:
6
- metadata.gz: fd3e6bedee4ec1e154657bb345426db3bacdc398fe8da5637d755cf049b825991f85aac9f3cc845435cf1e7bbfe29058b5a2fe154968eafc307a873b16929135
7
- data.tar.gz: df2190dcf854a2efd5983f011c3f4f7f363ef016433a0f432cd3d09b8b8cd0b2d5d6d67d2f78c4833e46db1c44c64d1f3a10d5da265dd51529434ba14e43a5cb
6
+ metadata.gz: 652287f76aa5581a56caa740e12494e17212aca77642717e6cc90f2a1a9b406d29c86b4d03b1b6d35eba5367373ae69a8abd75ad1d54b603a7cba765ba8c0bb0
7
+ data.tar.gz: 96e392d014b4be775a3e48e37c204ac002049f36d171890dd252046f5b69568fb8e80edfcca6dfd485be8d6e08f57bb3cee919a65b2177d01d64bcf6c325e83d
@@ -1,5 +1,5 @@
1
1
  module Maglove
2
2
  module Engine
3
- VERSION = "2.0.14"
3
+ VERSION = "2.0.15"
4
4
  end
5
5
  end
@@ -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.14
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-04-20 00:00:00.000000000 Z
11
+ date: 2018-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml