colorable 0.1.1 → 0.1.2

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: 8e870f136d2f8363c6504a6791b6d92c685a8c5b
4
- data.tar.gz: 2324269b150e3a0b185d58484450db732030327b
3
+ metadata.gz: f6024686c3981c957bb138847ba67d2943adadb8
4
+ data.tar.gz: 029c94b3397060f4321958147b1a6e5baae8ddca
5
5
  SHA512:
6
- metadata.gz: d35c078bc35373898eca3265be0b4dc19767e790216449da4b6d1032bcbe049f836433c832fee36ffb6326223d5babaeeb646ae7e6f9e852dea21ffce3c5e910
7
- data.tar.gz: ec49752c31853f8cdbe151f3152c51f00e6237727c1e2232d4a27bd7225fae4a0ad8e18313e0456b34268bd88ee867b0b18ed6603716e90c770d927a7c358c45
6
+ metadata.gz: ae001ada0b61e3c6ecc74c8fa5245b2a1ba0eb340685144b1dc31d0a1d29114bcbd22c223683d59b4052f819578a7e61bdb05e8897c9993a694b8f79b1f93fe1
7
+ data.tar.gz: 4274459a95d0525945e2ba700074ced011f0eb1ea30b5ecf837875047d6c96c25793afbe2b2af2d1dd54629c3ad55c53ffc8132d65c3ead72a580fd1d9c9e892
@@ -13,5 +13,5 @@ module Colorable
13
13
  end
14
14
 
15
15
  [String, Symbol, Array].each do |klass|
16
- klass.define_method(:to_color) { Colorable::Color.new self }
16
+ klass.class_eval { define_method(:to_color) { Colorable::Color.new self } }
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Colorable
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colorable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kyoendo