colos 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/colos/version.rb +1 -1
  3. data/lib/colos.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e6424cc9978277f08a82c4c77b7492f2ae77d4d
4
- data.tar.gz: a3da18b9807f7b19293b6775579f1b05d4db3f19
3
+ metadata.gz: 2d6002b341689f2e962e6ea37f5b4253b9c9401e
4
+ data.tar.gz: 58dc81507dd9ababaa821e0b94c68d559e50b818
5
5
  SHA512:
6
- metadata.gz: e310d4c28edc50308834f3e1898c574f185e92b231701398d4934b7270afdfd90eeaec1614952effdf8c7b4a5c2f7571088a15d2d6bc4b12ca707525a9e773bf
7
- data.tar.gz: 75bafe57bf769401eff1be225e1fc2355abd158f6b4d80310386aff9f5bfa867efe5359c22edc9e9d8226f8681087da7dfe5f4284cd091acf6e23a79a8d264b7
6
+ metadata.gz: 97bf567c1a5b9e5a799005a816e1508ddca3e61b48bf045f89d963102e9b1cb0c5e02f3cc5f52aae91ff5258b9151a1d21d4b8198288f302477de5365af8e1b7
7
+ data.tar.gz: 7e42eb147bc634a49759d3e5c9b117900ae1fc4f25b1cec3c3493ba8f5556190c2ce3feae743cb1c299c677bc24cd781acb9f6c41cd4e0208c9fcbb67f6e1e6e
data/lib/colos/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Colos
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/colos.rb CHANGED
@@ -47,7 +47,7 @@ class Colos
47
47
 
48
48
  rgb.each do |b|
49
49
  b = b.to_s 16
50
- b *= 2 unless b.size == 2
50
+ b = "0#{b}" unless b.size == 2
51
51
  hex += b
52
52
  end
53
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Artemev