tramway-landing 3.3.0.4 → 3.3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/tramway/landing/block.rb +1 -1
- data/lib/tramway/landing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f40500558e099ed52a7d32a7e6f9b612683b6295ab6892f70ea7601122475d64
|
4
|
+
data.tar.gz: daf6574fa5771f5c65419a41ffa484f92c5b67982952bad1b0e50cefbffc208f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889b5e4c7e8b25d8e9ec08b097ddde8cb5b90b6c1da75c4c177384d7c0ebbdbd0561f102bc222cc703e65af43cc2f13d675f73d1d0a77e7e480dd9a65e3ebdb8
|
7
|
+
data.tar.gz: 5a67675964d96f709e07d1a3030e9e2907eaca32c648f69df1dc673b7d20717b612c36cfb7b962733fdc3d3cb4537934d910e76bb93fee13fa7faebc4874d013
|
@@ -27,7 +27,7 @@ class Tramway::Landing::Block < ::Tramway::Landing::ApplicationRecord
|
|
27
27
|
store_accessor :button, :button_title
|
28
28
|
|
29
29
|
scope :on_main_page, lambda {
|
30
|
-
|
30
|
+
joins(:page).where(view_state: :published).where('tramway_page_pages.page_type = ?', :main).order :position
|
31
31
|
}
|
32
32
|
scope :with_navbar_link, -> { where navbar_link: :exist }
|
33
33
|
scope :header, -> { on_main_page.where(block_type: :header).first }
|
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.
|
4
|
+
version: 3.3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- moshinaan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Landing Engine for your Rails projects
|
14
14
|
email:
|