obf 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obf/utils.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c07d7e346399a237508f0f160653911ec761f06
|
4
|
+
data.tar.gz: 68c07853e456950766b54f5c4a6d23c3a9b69541
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a37ae6210514aba51e3144e70b0334c223770333a2d8a3057b65ffa20a199ed60c8cf7cb36e40bf4bed0ef9be5caba364eb295dff3c4d1b12235f122c9bae497
|
7
|
+
data.tar.gz: 5c1dbae044dd81661223446c6c193b6ab15afa88da17c28787b5d97798b90dacde3b3a9c8e2262074ba563c5276aefe4dc0a42f1ea62d49b5d133cb5eb31b67d
|
data/lib/obf/utils.rb
CHANGED
@@ -187,7 +187,8 @@ module OBF::Utils
|
|
187
187
|
lookup = str + "::" + type
|
188
188
|
@@colors ||= {}
|
189
189
|
return @@colors[lookup] if @@colors[lookup]
|
190
|
-
|
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
|