phrasing_plus 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/widgets/phrasing_background_image_widget.rb +2 -1
- data/lib/phrasing_plus/version.rb +1 -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: 96c2417a9ac335cde4bc43305400f6b93fd90954
|
4
|
+
data.tar.gz: c1c2e06580d9c5280a5175da6980b75971f03aeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69fcf3f40c5867e97fde41bda6ad8b1208a2fc23b70fa99d6aef8babde58ca0204bda6527dca17929413ec7078ea4134f319b15b5389309ce91f1f82eeb9cb4c
|
7
|
+
data.tar.gz: 2839a423312f1ab2919ad8bc32f48767afdc572e6205ff41819522a902afa7d883ecc313ebf29d80bfd21613eebbd001776ba95c8c2f687a724865ee4f2e9813
|
@@ -10,7 +10,8 @@ class PhrasingBackgroundImageWidget < SimpleDelegator
|
|
10
10
|
super(phrasing_image)
|
11
11
|
@view_context = view_context
|
12
12
|
@wrapped_html = wrapped_html
|
13
|
-
@options = options
|
13
|
+
@options = options
|
14
|
+
@options.merge(style: "background-image: url(#{image_url})")
|
14
15
|
@tag = @options.delete(:tag)
|
15
16
|
|
16
17
|
return unless view_context.can_edit_phrases?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phrasing_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damir Svrtan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|