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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 30709c12df5c591576a4d97c3954c1c748b8e0c1
4
- data.tar.gz: c1245f18d540b9c34e0a668ec7f1e06a16f64df2
3
+ metadata.gz: b4b43cf8ec85de2c8741818dce27adde69957791
4
+ data.tar.gz: 345b4b4565d13e07e60f15d58eaa293018dfd103
5
5
  SHA512:
6
- metadata.gz: 37a00151b31b000e2b746c4fe9c2012ddfbf0b166a78b2f9914377b581f3a2388707482826112020f879b22a8cd1d336f1e37c4a1ee74621ee00e55c2ec23408
7
- data.tar.gz: 77976c39ad6896a331e59a0646f08fb5ef11a4636f3546df8d32aa16d513b9e31634952caa4cbadd16e37c2e76e8acc350ed9bdb8b9cfa40b6c32783cfbd3feb
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
 
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Imgix
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-imgix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kellysutton