jekyll-imgproxy-tag 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/Gemfile.lock +1 -1
- data/lib/jekyll/imgproxy/tag/imgproxy_config.rb +8 -4
- data/lib/jekyll/imgproxy/tag.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: 7d6db81d734a01fc93f4e3aaf4652148ceb73a84b48d063cda2ab2de3bf27332
|
4
|
+
data.tar.gz: 15c06ff92fcd7701a21767f14e9d3a68a6f3991ace21b6ba549c1a57198b493a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cc1ab693b8c0f89fecb7cca0bea89e8ccb13c4b743db0aa82bee0af9f9b49385d97deda4901c02a64dee4012f167b9f1b4c687466581977c2ccae11c97bd343
|
7
|
+
data.tar.gz: 7e64901563f45301caba569cb7d2dd9ccf261e01b98c212b81fcc49d1926033fd5dfbcced562598a4899f9bf4cdd695737de0aae87f59a07f7c4abeeedee2ebc
|
data/CHANGELOG
CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [0.3.0] - 2022-06-18
|
11
|
+
|
12
|
+
- Refactored the config class to access the Jekyll configuration object only
|
13
|
+
once so that we're not repeatedly logging to STDOUT about its being accessed.
|
14
|
+
|
10
15
|
## [0.2.0] - 2022-06-12
|
11
16
|
|
12
17
|
### Changed
|
data/Gemfile.lock
CHANGED
@@ -4,6 +4,14 @@ module Jekyll
|
|
4
4
|
module Imgproxy
|
5
5
|
class Tag
|
6
6
|
class ImgproxyConfig
|
7
|
+
extend Forwardable
|
8
|
+
|
9
|
+
def_delegators :'self.class', :imgproxy_config
|
10
|
+
|
11
|
+
def self.imgproxy_config
|
12
|
+
@@imgproxy_config ||= Jekyll.configuration['imgproxy']
|
13
|
+
end
|
14
|
+
|
7
15
|
attr_reader \
|
8
16
|
:base_url,
|
9
17
|
:key,
|
@@ -34,10 +42,6 @@ module Jekyll
|
|
34
42
|
raise Jekyll::Imgproxy::Tag::Errors::KeyNotSet if imgproxy_config['key'].nil?
|
35
43
|
raise Jekyll::Imgproxy::Tag::Errors::BaseUrlNotSet if imgproxy_config['base_url'].nil?
|
36
44
|
end
|
37
|
-
|
38
|
-
def imgproxy_config
|
39
|
-
Jekyll.configuration['imgproxy']
|
40
|
-
end
|
41
45
|
end
|
42
46
|
end
|
43
47
|
end
|
data/lib/jekyll/imgproxy/tag.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-imgproxy-tag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Oliveira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|