asset 0.1.6 → 0.1.7

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: e22ae9abea9fbf33633e5884f0da5df397e9e318
4
- data.tar.gz: ba47b72995401b3f3e74f10fc57dee2ed76bbf5d
3
+ metadata.gz: c52ee1bd409970275c4b77e36b0e989611e08760
4
+ data.tar.gz: 3e74438b8cfb42423213cb985e2479498749aa5c
5
5
  SHA512:
6
- metadata.gz: 4a861c4ef0817bf478f0e09087b8edfa4d9d8f9d763a322a5f162a7b9c2b820e774ff97ff94b2d80ea5707701dff3a57834e2ed599acc398cb53d510238bbe6f
7
- data.tar.gz: 283001062c093ca36b3c23f10a16eb8d949a057f2492da706a7d0522200d66ffc0b0a4b6d04aa37e23a6949b3a78e6821545ba89b15cef02ee83122f49a48de2
6
+ metadata.gz: c6649232a66e95a25ffc558a74af705fe3db0d04e185f51c025b8cfad8146b75152e20621001fa78c640370e2454dc4c3713e8f901355852d6176a57dfba844f
7
+ data.tar.gz: 33ee769be170459df7427bef9d7039b5af25d53b07f1e3bdace11cba29af6ac50c50594a2532da54d46fcbca5270aa24402f487f6b0fdc1ae87e6724459cf8bc
@@ -1,3 +1,11 @@
1
+ **Version 0.1.7** - *2017-01-18*
2
+
3
+ - Production mode also for staging
4
+
5
+ **Version 0.1.6** - *2017-01-18*
6
+
7
+ - Reading the file content instead of timestamp for cache key
8
+
1
9
  **Version 0.1.5** - *2017-01-18*
2
10
 
3
11
  - Correct load order for bundle
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'asset'
3
- s.version = '0.1.6'
3
+ s.version = '0.1.7'
4
4
  s.date = '2017-01-18'
5
5
  s.summary = "Compress and serve your CSS and JS assets automatically"
6
6
  s.description = "The only thing you need for your assets."
@@ -69,7 +69,7 @@ module Asset
69
69
 
70
70
  # Production mode?
71
71
  def p?
72
- ::Asset.mode == 'production'
72
+ %w[staging production].include?(::Asset.mode)
73
73
  end
74
74
 
75
75
  # Print data
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fugroup Limited