releaf-core 3.0.1 → 3.0.2
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/app/builders/releaf/builders/page/layout_builder.rb +1 -16
- 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: 5026620748debd33f54b4dba11c345caeeb335f2f2c8a60f479ec10b68647baf
|
|
4
|
+
data.tar.gz: 035c91432d1363bcef0d028fc3e52299b5896927fdcc6b6027f5c60a74aa4daa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 944f3b1c6671c56db1dc22a93928753c0db339cd85c28e17ba2ca736fc704651f00326b08bda231c82690bb12eb10769c9b9bd5b42b1a28ef3b622b7cee281bc
|
|
7
|
+
data.tar.gz: 8836962b0bcdff695f016b2df39854f15ff393e4b65f939db911a134c1d8200c9f56b5c369366a113141e0a5d728e90f71d0de4ae3811c67c683eb931970160b
|
|
@@ -101,7 +101,7 @@ module Releaf::Builders::Page
|
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
def head_blocks
|
|
104
|
-
[title, content_type, favicons,
|
|
104
|
+
[title, content_type, favicons, assets(:stylesheets, :stylesheet_link_tag), csrf]
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
def controller_name
|
|
@@ -142,13 +142,6 @@ module Releaf::Builders::Page
|
|
|
142
142
|
File.join('releaf', 'icons')
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
-
def ms_tile_path
|
|
146
|
-
favicon_path
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
def ms_tile_color
|
|
150
|
-
'#151515'
|
|
151
|
-
end
|
|
152
145
|
|
|
153
146
|
def favicon(source, options = {})
|
|
154
147
|
controller.view_context.favicon_link_tag(File.join(favicon_path, source), options)
|
|
@@ -167,13 +160,5 @@ module Releaf::Builders::Page
|
|
|
167
160
|
favicon("favicon.png", type: 'image/png', rel: 'icon'),
|
|
168
161
|
]
|
|
169
162
|
end
|
|
170
|
-
|
|
171
|
-
def ms_tile
|
|
172
|
-
tile_path = ActionController::Base.helpers.image_path(File.join(ms_tile_path, 'msapplication-tile-144x144.png'))
|
|
173
|
-
[
|
|
174
|
-
meta(name: 'msapplication-TileColor', content: ms_tile_color),
|
|
175
|
-
meta(name: 'msapplication-TileImage', content: tile_path)
|
|
176
|
-
]
|
|
177
|
-
end
|
|
178
163
|
end
|
|
179
164
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: releaf-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- CubeSystems
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|