theme 0.1.3 → 0.1.4

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: 1f29dc49e7a6c57c613c118de87a4c078db67fce
4
- data.tar.gz: 2412a0746a375b3bccadf1026cda8aa3382ec27d
3
+ metadata.gz: 02ff8e020356a442df18f5f5ccfb73459fe7759a
4
+ data.tar.gz: efd3dad02f1a62a9f2a8fae78fd0dfe70a7d3243
5
5
  SHA512:
6
- metadata.gz: 656ca627964b0948826378d12ae794f9c69be1f09ba2268d2577ab73fadbb47f1ca4cf424040e0c7112098651b84cff3a8d88b35e6301023683762e6477fcac0
7
- data.tar.gz: 1b41d903e5f1252f6add7b4831ee73c357676d35e056442190e2f8fdc269b77e07e442af9218e3d51050b71266d8dc7586d446191d83a137a3c82262ddbd2832
6
+ metadata.gz: f3736acc5bde2c4494e53b85c6e9d3512d7df2246d609276243fefdf49210ab7a910cde594adf6a46f0eedaf681bd6102e98088ae6d3e2e32123ca1cb276e43f
7
+ data.tar.gz: f8d8827a2a1ed9bde685e8baef9185c0549a3b5a935e25dfa9c89bdb3a3acd371b70227112851441acf51228de1fcb36facabbea158f3842195c8d731ab934e8
data/lib/theme/assets.rb CHANGED
@@ -63,6 +63,10 @@ module Theme
63
63
  end
64
64
  end
65
65
  end
66
+
67
+ def sha
68
+ Thread.current[:_sha] ||= (Theme.config.sha || `git rev-parse HEAD`.strip)
69
+ end
66
70
  end
67
71
 
68
72
  def css_assets options = {}
@@ -76,7 +80,7 @@ module Theme
76
80
  private
77
81
 
78
82
  def sha
79
- Thread.current[:_sha] ||= (Theme.config.sha || `git rev-parse HEAD`.strip)
83
+ self.class.sha
80
84
  end
81
85
  end
82
86
  end
data/lib/theme/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Theme
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-22 00:00:00.000000000 Z
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt