colour 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +0 -1
  2. data/lib/rgb.rb +1 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -14,6 +14,5 @@ PROJ.authors = 'Wes Devauld'
14
14
  PROJ.email = 'http://devauld.ca'
15
15
  PROJ.url = 'http://www.ihatework.ca/svn/colour/'
16
16
  PROJ.rubyforge_name = 'colour'
17
- PROJ.group = 5868
18
17
 
19
18
  PROJ.spec_opts << '--color'
data/lib/rgb.rb CHANGED
@@ -51,7 +51,7 @@ class RGB
51
51
  end
52
52
 
53
53
  def hex
54
- eval("0x%02X%02X%02X", r*255, g*255, b*255)
54
+ eval(sprintf("0x%02X%02X%02X", r*255, g*255, b*255))
55
55
  end
56
56
 
57
57
  def web_safe(depth=1)
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: colour
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.0
7
- date: 2008-03-24 00:00:00 -06:00
6
+ version: 0.1.1
7
+ date: 2008-03-25 00:00:00 -06:00
8
8
  summary: A library to convert between various representation of colour (RGB, CMYK and HSV), as well as generate swatches based on some colour theory
9
9
  require_paths:
10
10
  - lib