hyde-page-css 0.4.4 → 0.5.0
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/lib/hyde-page-css.rb +4 -4
- 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: dd3d9f99b066723234f3176fe943fa15ab376416a0d076057c239f579f4f5b4c
|
|
4
|
+
data.tar.gz: 05e79c4de594a1cc58764c2e66bfa982dd34d5bf55a5484fe5f56ebb2b96ac57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1669d6614c15ba569ce473af0ea8a87dde4e80787e8b8f902a137d29e6e33fb08f92b43a86cef3ecaff24f35ad792b37ddb0f06e6c7fe61ab81c50b8c463e687
|
|
7
|
+
data.tar.gz: 5031a966564d5b740d76f3ab5e69e10a567e6561f2e6731dc12e4e5182b6e74fd6a52efb7d02b744246fbe55d791eee5ce0da995d4a137f97c1b883ccafc21f9
|
data/lib/hyde-page-css.rb
CHANGED
|
@@ -12,7 +12,7 @@ end
|
|
|
12
12
|
module Hyde
|
|
13
13
|
module Page
|
|
14
14
|
class Css
|
|
15
|
-
VERSION = "0.
|
|
15
|
+
VERSION = "0.5.0"
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
class GeneratedCssFile < Jekyll::StaticFile
|
|
@@ -102,7 +102,7 @@ module Hyde
|
|
|
102
102
|
end
|
|
103
103
|
|
|
104
104
|
# assign to page.data.css_files for liquid output
|
|
105
|
-
add_to_urls(cache_entry&.fetch(:url, nil))
|
|
105
|
+
add_to_urls(cache_entry&.fetch(:url, nil), cache_entry&.fetch(:data, nil))
|
|
106
106
|
end
|
|
107
107
|
end
|
|
108
108
|
|
|
@@ -112,9 +112,9 @@ module Hyde
|
|
|
112
112
|
names.join("-")
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
def add_to_urls(url)
|
|
115
|
+
def add_to_urls(url, data)
|
|
116
116
|
@page.data["css_files"] ||= []
|
|
117
|
-
@page.data["css_files"].push(url)
|
|
117
|
+
@page.data["css_files"].push({ "path" => url, "content" => data })
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
def fetch_config
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hyde-page-css
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gregory Daynes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|