tramway-landing 3.3.0.9 → 3.3.0.11

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
  SHA256:
3
- metadata.gz: ae25a08050f6e16999011caba3a0e6a93dcc0132d0befa1f3136faff0c100a3b
4
- data.tar.gz: 863385edaf5c94afa7449782b0455660b95e38f84bde68fb7d1f7b17d25c0c6a
3
+ metadata.gz: 1cceb2d6d905707edccd1a64823f111a6d3f48f77e8d27c97ded92cf390a1f99
4
+ data.tar.gz: 308711508527c02688b00be6680ab17b00de5ffa0e70e42ebbd8ff50f536fce1
5
5
  SHA512:
6
- metadata.gz: 8ece62357fe2c982cf7b3867fbcf6c42e5eef27c89f90cf7f48a6c56b8be7b47d5b8d38ddf79beb9ecbb7ccee342653b885635894824156479bafc1c7077414b
7
- data.tar.gz: 824b1c1205d137e6f66811166effe8a3d77d70cde8dc68095b8640576e12847063765e278bd59bd9015ea300e5a5719beb693161a04ffe81782110bf32018852
6
+ metadata.gz: e8c45f49b085ca918a73b94c364d976c49c777372dafece27acb55e81654348af22480aad903779fe311b7cf2de6fd6dc0a673b2aaf7a50dd0dc8d2f7f09e8b3
7
+ data.tar.gz: b2b62058a4ce867213433692bf9194f22ef5686626145853bbf4d77dd8a8f1770953d09301721bbebdec4f661f09e8acd37ed390f96ee9f81021f92684df6c9b
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class Tramway::Landing::PageWithButtonDecorator < ::Tramway::ApplicationDecorator
3
+ class Tramway::Landing::BlockTypes::PageWithButtonDecorator < Tramway::ApplicationDecorator
4
4
  end
@@ -3,7 +3,5 @@
3
3
  - if block.background.present?
4
4
  - background_url = block.background.is_a?(String) ? block.background : block.background.url
5
5
  = image_tag background_url, class: 'img-fluid'
6
- - else
7
- - raise "Block background should valid image URL or PhotoUploader object. Block: #{block}"
8
6
  .col-md-5{ style: 'text-align: justify' }
9
7
  = render 'tramway/landing/templates/text', block: block
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Landing
5
- VERSION = '3.3.0.9'
5
+ VERSION = '3.3.0.11'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-landing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0.9
4
+ version: 3.3.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - kalashnikovisme
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-09 00:00:00.000000000 Z
11
+ date: 2023-02-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email:
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.4.1
123
+ rubygems_version: 3.4.6
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Landing Engine for your Rails projects