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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98cdc649f2205522fd9a3f7eabc889d1895a3d38d789455ad2bc26c8bd53d721
4
- data.tar.gz: a7717bbf58c188e7bad0a63bca69b06ec0fe98e9ca5e2c2a76895659d5a204c6
3
+ metadata.gz: 626185be9bed83f48402ae2ee070050a10747bcaf7873e189ac4137c3d35e3d3
4
+ data.tar.gz: fba5761afaa71d5d584c7954361b73c28d89198b5d843aee715b2d82580f3748
5
5
  SHA512:
6
- metadata.gz: 39c62a0d0aeff0a7f595b9864bcb067f79cc70e3e8296c72a1e3b0243b8d1f97d0b4ab502420c5934db51736cb474af01d6013e259d4c3e30eecc1eade1044df
7
- data.tar.gz: 0430a250c774e61977c0158377e9221ebcb59952b5c7018ec568c0d19b480d8d09b0aa73896a3af366fc06beafd86c4cccc15d4dea25670ba8def031acc8b8bb
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
@@ -385,7 +385,7 @@ img[data-blurhash] {
385
385
  background-size: cover;
386
386
  }
387
387
 
388
- img.blurhash-loading {
388
+ img[data-blurhash]:not(.blurhash-loaded) {
389
389
  color: transparent;
390
390
  }
391
391
 
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.remove("blurhash-loading");
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();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yefeme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yefim Vedernikoff