yefeme 0.8.3 → 0.8.5
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 +16 -0
- data/_sass/yefeme.scss +1 -1
- data/assets/blurhash.js +1 -2
- 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: 626185be9bed83f48402ae2ee070050a10747bcaf7873e189ac4137c3d35e3d3
|
|
4
|
+
data.tar.gz: fba5761afaa71d5d584c7954361b73c28d89198b5d843aee715b2d82580f3748
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4306e011c6624393f37d15a981dbb182db2145d368a6a6ce3ea7f5c93ba6f9ba41be46e9d69d67b9d80fdd8ce7f912064bad377749add50341d3a3ba6367ce4
|
|
7
|
+
data.tar.gz: 22822ada310aca330d7495c24bd208cb87183b764e1ea393e43b890cc1ba675f3d4ba3dd13db015b57e2a103a57c09fb2dc53620a897d18b44e1584f92f1850b
|
data/README.md
CHANGED
|
@@ -91,6 +91,22 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
|
|
|
91
91
|
|
|
92
92
|
When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
|
|
93
93
|
|
|
94
|
+
## Releasing
|
|
95
|
+
|
|
96
|
+
Gem releases are published by GitHub Actions using RubyGems Trusted Publishing.
|
|
97
|
+
|
|
98
|
+
1. Update the version in `yefeme.gemspec` and merge the change to `master`.
|
|
99
|
+
2. Create and push the matching version tag, for example:
|
|
100
|
+
|
|
101
|
+
```sh
|
|
102
|
+
git tag v0.8.5
|
|
103
|
+
git push origin v0.8.5
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
The release workflow verifies that the tag matches the gemspec, builds and inspects the package from a clean checkout, publishes it to RubyGems, and waits for the release to propagate.
|
|
107
|
+
|
|
108
|
+
Before the first automated release, configure `yefim/yefeme` as a trusted publisher for the `yefeme` gem on RubyGems.org. Use `release.yml` as the workflow filename and `release` as the GitHub environment. The environment can require approval to retain a human release gate.
|
|
109
|
+
|
|
94
110
|
## License
|
|
95
111
|
|
|
96
112
|
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/_sass/yefeme.scss
CHANGED
data/assets/blurhash.js
CHANGED
|
@@ -99,10 +99,9 @@
|
|
|
99
99
|
if (!hash || !intrinsicWidth || !intrinsicHeight) return;
|
|
100
100
|
|
|
101
101
|
function finishLoading() {
|
|
102
|
-
image.classList.
|
|
102
|
+
image.classList.add("blurhash-loaded");
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
image.classList.add("blurhash-loading");
|
|
106
105
|
image.addEventListener("load", finishLoading, { once: true });
|
|
107
106
|
image.addEventListener("error", finishLoading, { once: true });
|
|
108
107
|
if (image.complete) finishLoading();
|