dominate 0.9.0 → 0.9.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: 864743b37dfcebd9f526d7bacbf8b343d9ccafef
4
- data.tar.gz: cad1bd5848f42ff269c02cd0f340a82775f9367d
3
+ metadata.gz: 676d568a8c889829abd322abfb2c93fcd726d2c7
4
+ data.tar.gz: 0f3583c5f58592d226a0f9daac6ce653c917dd5d
5
5
  SHA512:
6
- metadata.gz: 4b96cb07e58de04d6ea195c0cbff175cee36ffcac3291ada395784014c50c3ea3a1a5d60f2ef2fdd9ca912b0c843f9ccae0bbb7d350cbd9a5b34e1cc87cf5bd0
7
- data.tar.gz: 15a5ffa800ad2d0599fcd5ddd9074eb03204ae84d582242ee53061f662349137faf1a3e6e933d8435e7eadf9e89b57022c85935679b1709d8a207c227a9575b1
6
+ metadata.gz: 0e304b50a7154d8c5781fef7ffe2d21b4222c366ca6050e137f85ee74d87cf71bea0785a41c6a8ac8b6631dacf48c131d107ebd66e43f9dddd173e4c21320176
7
+ data.tar.gz: ac8c25df0551c4610c5b90c3deb32a099be4b7760652a393dbefabcf5ed4d67661acb05ac916a46b04d7b2a8b01aaef7897bb4c93506b2ca8941e56f56a5d9c1
@@ -66,7 +66,7 @@ module Dominate
66
66
  private
67
67
 
68
68
  def sha
69
- Thread.current[:_sha] ||= `git rev-parse HEAD`.strip
69
+ Thread.current[:_sha] ||= (Dominate.config.sha || `git rev-parse HEAD`.strip)
70
70
  end
71
71
  end
72
72
  end
@@ -120,7 +120,7 @@ module Dominate
120
120
  end
121
121
 
122
122
  def sha
123
- Thread.current[:_sha] ||= `git rev-parse HEAD`.strip
123
+ Thread.current[:_sha] ||= (Dominate.config.sha || `git rev-parse HEAD`.strip)
124
124
  end
125
125
  end
126
126
  end
@@ -1,3 +1,3 @@
1
1
  module Dominate
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dominate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj