tramway-landing 1.8.2.2 → 1.8.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/models/tramway/landing/block.rb +1 -13
- data/lib/tramway/landing/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49ee51f08492597f48fdd58da8843d332c107b90cd42b401fca820ee89b7012b
|
|
4
|
+
data.tar.gz: cd79286969f2d658f34db84e2f72749e59dbe13ebd028048cbcd595a33f7afa8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8a76fff2148cc513e64c233630dd58f9e23e75f94af2bf41eff01bad8f67abe752986620bd4980eb9f74dd818ae387c6487b4b63d7496d63cbb695412461d0a
|
|
7
|
+
data.tar.gz: 9f855f2d7ccaa707d59722e14eaf2c6505ea2e7950102836ca08ee186cb0938076757e1095ef87b597fa28c3a03a105a9909c237e406ebaf7f5003fed628d56f
|
data/README.md
CHANGED
|
@@ -117,7 +117,7 @@ How create blocks you can find here
|
|
|
117
117
|
* [Block with text, image and button](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/block_with_text_image_and_button/main.md)
|
|
118
118
|
* [Cards](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/cards/main.md)
|
|
119
119
|
* [Features list](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/features/main.md)
|
|
120
|
-
* Contacts
|
|
120
|
+
* [Contacts](https://github.com/ulmic/tramway-dev/blob/develop/tramway-landing/docs/contacts/main.md)
|
|
121
121
|
* News
|
|
122
122
|
* Block with text and button
|
|
123
123
|
* View
|
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
class Tramway::Landing::Block < ::Tramway::Landing::ApplicationRecord
|
|
4
|
-
enumerize :block_type, in: %i[
|
|
5
|
-
header
|
|
6
|
-
footer
|
|
7
|
-
page
|
|
8
|
-
cards
|
|
9
|
-
features
|
|
10
|
-
contacts
|
|
11
|
-
news
|
|
12
|
-
link
|
|
13
|
-
page_with_button
|
|
14
|
-
just_text
|
|
15
|
-
view
|
|
16
|
-
]
|
|
4
|
+
enumerize :block_type, in: %i[header footer page cards features contacts link page_with_button just_text view]
|
|
17
5
|
enumerize :navbar_link, in: %i[exist not_exist], default: :not_exist
|
|
18
6
|
enumerize :link_object_type, in: ['Tramway::SportSchool::Document', 'Tramway::Page::Page']
|
|
19
7
|
|