obf 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/obf/utils.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a73864c2816e9e7da02024428e444246338ad9a
4
- data.tar.gz: f197d613f7acd0dd84ed37fd4f9d28d36d29b9e6
3
+ metadata.gz: 7c07d7e346399a237508f0f160653911ec761f06
4
+ data.tar.gz: 68c07853e456950766b54f5c4a6d23c3a9b69541
5
5
  SHA512:
6
- metadata.gz: fc394d592efaf991e7a729efa0382f92d6d2b65e5ed967f1eba1ba98b6a52fb11d15f1fd331b80bc096956cdd11d1d9bf0c168ce6644301d40be4001d0f309d7
7
- data.tar.gz: 11f663f2f99c291b69a4e5b17dc4103e89565a279ee8f72cc2f7080e62bb95eab34543cf9c254ce25749857f61d01c7ce09bfcf79cb79c785fe26927b03f82d6
6
+ metadata.gz: a37ae6210514aba51e3144e70b0334c223770333a2d8a3057b65ffa20a199ed60c8cf7cb36e40bf4bed0ef9be5caba364eb295dff3c4d1b12235f122c9bae497
7
+ data.tar.gz: 5c1dbae044dd81661223446c6c193b6ab15afa88da17c28787b5d97798b90dacde3b3a9c8e2262074ba563c5276aefe4dc0a42f1ea62d49b5d133cb5eb31b67d
@@ -187,7 +187,8 @@ module OBF::Utils
187
187
  lookup = str + "::" + type
188
188
  @@colors ||= {}
189
189
  return @@colors[lookup] if @@colors[lookup]
190
- color = `node lib/tinycolor_convert.js "#{str}" #{type}`.strip
190
+ path = File.dirname(File.dirname(__FILE__)) + '/tinycolor_convert.js'
191
+ color = `node #{path} "#{str}" #{type}`.strip
191
192
  @@colors[lookup] = color
192
193
  color
193
194
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Whitmer