colorful 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Colorful
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/colorful.rb CHANGED
@@ -71,7 +71,7 @@ private
71
71
  str = args[0].to_s.sub(/^(#|_)/, '')
72
72
  if str.size == 3
73
73
  red, green, blue = str[0] * 2, str[1] * 2, str[2] * 2
74
- elsif string.size == 6
74
+ elsif str.size == 6
75
75
  red, green, blue = str[0,2], str[2,2], str[4,2]
76
76
  else
77
77
  raise 'Malformed color string'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colorful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
- requirement: &2153679300 !ruby/object:Gem::Requirement
17
+ requirement: &2157578920 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *2153679300
25
+ version_requirements: *2157578920
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: fuubar
28
- requirement: &2153678880 !ruby/object:Gem::Requirement
28
+ requirement: &2157578500 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2153678880
36
+ version_requirements: *2157578500
37
37
  description: Provides string extensions for terminal color output
38
38
  email:
39
39
  - randland@gmail.com