tramway-landing 1.8.2.3 → 1.8.2.4

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: 49ee51f08492597f48fdd58da8843d332c107b90cd42b401fca820ee89b7012b
4
- data.tar.gz: cd79286969f2d658f34db84e2f72749e59dbe13ebd028048cbcd595a33f7afa8
3
+ metadata.gz: 7797a8f7536f0d9591bd5fa56211b9d21417304ec8a0d2258ac5b862846fe548
4
+ data.tar.gz: 8b3776e85b94d3002038418c8e72bc2c4af36a92aa2b9bd7bf0743b9b9139ef3
5
5
  SHA512:
6
- metadata.gz: c8a76fff2148cc513e64c233630dd58f9e23e75f94af2bf41eff01bad8f67abe752986620bd4980eb9f74dd818ae387c6487b4b63d7496d63cbb695412461d0a
7
- data.tar.gz: 9f855f2d7ccaa707d59722e14eaf2c6505ea2e7950102836ca08ee186cb0938076757e1095ef87b597fa28c3a03a105a9909c237e406ebaf7f5003fed628d56f
6
+ metadata.gz: 8c545d35fa39e9c236a2b8a2c78c7d0b5250bb4184b8d6d0e6c4760af06fc8fccde351e68b6744ef0e95926c921efdb409f0f90027c77dd9fe604421669982f8
7
+ data.tar.gz: 41346a2de87e0333cf6a36a0e62b1483cd106c44e56b54c9b15892f43f3df9a494993622c90be94776dc797c069e585ee97aadd30cc764e6b558cb5ac8727dd0
data/README.md CHANGED
@@ -14,10 +14,9 @@ List of blocks:
14
14
  * Cards
15
15
  * Features list
16
16
  * Contacts
17
- * News
18
- * Block with text and button
19
17
  * View
20
18
  * Just text
19
+ * Link to the object
21
20
 
22
21
  All block's previews you can see at the bottom of this Readme
23
22
 
@@ -118,10 +117,9 @@ How create blocks you can find here
118
117
  * [Cards](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/cards/main.md)
119
118
  * [Features list](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/features/main.md)
120
119
  * [Contacts](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/contacts/main.md)
121
- * News
122
- * Block with text and button
123
- * View
124
- * Just text
120
+ * [View](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/view/main.md)
121
+ * [Just text](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/just_text/main.md)
122
+ * Link to object
125
123
 
126
124
  ## Contributing
127
125
  Contribution directions go here.
@@ -20,7 +20,8 @@
20
20
  - footers = @blocks.select { |block| block.model.block_type.footer? }
21
21
  - other_blocks = @blocks - headers - footers
22
22
  -# FIXME
23
- = render "tramway/landing/blocks/block_types/header", block: headers.first
23
+ - if headers.first.present?
24
+ = render "tramway/landing/blocks/block_types/header", block: headers.first
24
25
  %main.mt-5
25
26
  .container
26
27
  - other_blocks.each_with_index do |block, index|
@@ -34,4 +35,5 @@
34
35
  = yield
35
36
  - if @blocks&.any?
36
37
  - footers = @blocks.select { |block| block.model.block_type.footer? }
37
- = render "tramway/landing/blocks/block_types/footer", block: footers.first
38
+ - if footers.first.any?
39
+ = render "tramway/landing/blocks/block_types/footer", block: footers.first
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Landing
5
- VERSION = '1.8.2.3'
5
+ VERSION = '1.8.2.4'
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: 1.8.2.3
4
+ version: 1.8.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-11 00:00:00.000000000 Z
11
+ date: 2020-01-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Landing Engine for your Rails projects
14
14
  email: