kmandrup-colorist 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kmandrup-colorist}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Bleigh", "oleg dashevskii", "Slippy Douglas", "Kristian Mandrup"]
@@ -377,7 +377,6 @@ module Colorist
377
377
  name = hexify(name.to_s) if hex?(name)
378
378
  options.flatten!
379
379
  col = name
380
- puts "name: #{name}"
381
380
  col = COLORS[name.downcase.strip] if !hex?(name)
382
381
  raise ArgumentError, "The color name '#{name}' cannot be coerced into a color." if !col
383
382
  res = if options.include?(:hex)
@@ -1,7 +1,7 @@
1
1
  require '../lib/kmandrup-colorist'
2
2
 
3
3
  # puts Colorist::ColorNames.color('0xfff', :lower)
4
- # puts Colorist::ColorNames.color('blue', :lower, :simple)
4
+ puts Colorist::ColorNames.color('blue', :lower, :simple)
5
5
  # puts x = Colorist::ColorNames.color(:'#FFFFAA', :lower)
6
6
  # puts x = Colorist::ColorNames.color('0xFFFFAA', [:hex, :lower])
7
7
  # puts x = Colorist::ColorNames.color(:red, :hex, :lower)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 4
9
- version: 0.1.4
8
+ - 5
9
+ version: 0.1.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Bleigh