claudiob-radiotagmap 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,6 +19,9 @@ Ruby gem to map by U.S. state the music played on FM radios
19
19
 
20
20
  ## History ##
21
21
 
22
+ v0.0.6 2009/09/18
23
+ Only plot the color of the presence of ONE genre/tag (not two)
24
+
22
25
  v0.0.5 2009/09/18
23
26
  Updated to require yesradio v0.1.2
24
27
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
data/lib/radiotagmap.rb CHANGED
@@ -96,9 +96,9 @@ module Radiotagmap
96
96
  if weights.nil?
97
97
  a << "ffffff"
98
98
  else
99
- r = "%02x" % (255*weights[0]).round
100
- b = "%02x" % (255*weights[1]).round
101
- g = "%02x" % (255*(1-weights.sum)).round
99
+ r = "ff" # "%02x" % (255*weights[0]).round
100
+ b = "%02x" % (255*(1-weights[1])).round
101
+ g = "ff" #"%02x" % (255*(1-weights.sum)).round
102
102
  a << b << g << r
103
103
  end
104
104
  end
data/radiotagmap.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiotagmap}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Claudio Baccigalupo"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: claudiob-radiotagmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claudio Baccigalupo