scrivito_section_widgets 1.0.4 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/section_parallax_widget.rb +2 -2
- data/lib/scrivito_section_widgets/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fc0281a487ab377223094da30327e3efe2cebf3
|
4
|
+
data.tar.gz: 2c2068bfa459af82a81247ba4fb4145b11f7e083
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 405bd7ab9cc8230ac06f3520d25f2cb2cd85ebfdb327c87a11164421c25dd38d535ff1055b841c3f018d5170aa968febc800b17052f1e990a26bd312c16047bd
|
7
|
+
data.tar.gz: 1abb348c73cafbf587e823a60694ed161b137fe0e56211e72b4d6c7ecf6f20e82bbd88128bd9b5c3b8a29a811f1ad73bb34ad2da6b0df0fc0a54616f8b8e8f88
|
@@ -10,7 +10,7 @@ class SectionParallaxWidget < Widget
|
|
10
10
|
|
11
11
|
def section_style
|
12
12
|
styles = "height: #{height}; max-height: #{height};"
|
13
|
-
styles += "background: url(#{background_image.binary_url}) top center #{'fixed' if speed=='fixed'} no-repeat;"
|
13
|
+
styles += "background: url(#{background_image.binary_url}) top center #{'fixed' if speed=='fixed'} no-repeat;" if !with_parallax? && background_image.present?
|
14
14
|
return styles
|
15
15
|
end
|
16
16
|
|
@@ -23,4 +23,4 @@ class SectionParallaxWidget < Widget
|
|
23
23
|
# legacy support for widgets before speed option
|
24
24
|
speed.presence || 'medium'
|
25
25
|
end
|
26
|
-
end
|
26
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_section_widgets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: scrivito
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.5.1
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Add sections to yout page
|