jekyll-imgix 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll/imgix.rb +1 -5
- data/lib/jekyll/imgix/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4b43cf8ec85de2c8741818dce27adde69957791
|
4
|
+
data.tar.gz: 345b4b4565d13e07e60f15d58eaa293018dfd103
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c51f8606a3a85879337f68a29ebf23cf347ec8d2382cc390cb541f1a5ac0bc97170b22630c0d0e89023852145dea8eeb21008952e4086145bc33d7156582720
|
7
|
+
data.tar.gz: 00e9912c5767006f1521aad16c5b0e2711c3692dca312d0e503f41358473a3cff550c263760ec74f56f044f7da13635728dfc922866bc9009224a90db4a21b10
|
data/lib/jekyll/imgix.rb
CHANGED
@@ -36,7 +36,7 @@ module Jekyll
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def production?
|
39
|
-
env == 'production'
|
39
|
+
Jekyll.env == 'production'
|
40
40
|
end
|
41
41
|
|
42
42
|
def development?
|
@@ -50,10 +50,6 @@ module Jekyll
|
|
50
50
|
def token
|
51
51
|
@context.registers[:site].config.fetch('imgix', {}).fetch('secure_url_token', nil)
|
52
52
|
end
|
53
|
-
|
54
|
-
def env
|
55
|
-
ENV['JEKYLL_ENV'] || 'development'
|
56
|
-
end
|
57
53
|
end
|
58
54
|
end
|
59
55
|
|
data/lib/jekyll/imgix/version.rb
CHANGED