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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49e70d292bdc53b49b8fffc5784a3ab14a8a8eee
4
- data.tar.gz: e7cc3e2ff5f63d0f13aab5488518e27606b911ef
3
+ metadata.gz: 2fc0281a487ab377223094da30327e3efe2cebf3
4
+ data.tar.gz: 2c2068bfa459af82a81247ba4fb4145b11f7e083
5
5
  SHA512:
6
- metadata.gz: c47a1a2f8359cd9790b06b318f53997286c02a2dbf52203f52a15dbc75b68098667ff1d13c999ef94947ff37577f74d0071035b2388a515608e8fb92de53c783
7
- data.tar.gz: 280415bcc4a9b946c518a5bf0ba8e7f260b6a09c8b17c7d1deb1aa2e94cca15c8a22631b7f2b884ca1ac9f37af04ca667fb5e2e2c7f2f102b06d27145745b48f
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;" unless with_parallax?
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
@@ -1,3 +1,3 @@
1
1
  module ScrivitoSectionWidgets
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.9"
3
3
  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
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: 2016-08-31 00:00:00.000000000 Z
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.4.5
87
+ rubygems_version: 2.5.1
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Add sections to yout page