ticker 0.1 → 0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/ticker/quote.rb +1 -1
  2. data/ticker.gemspec +1 -1
  3. metadata +2 -2
@@ -175,7 +175,7 @@ module Ticker
175
175
  # convert the value to a number if it needs it
176
176
  def parse_value value
177
177
  case value
178
- when /\d+/
178
+ when /^\d+$/
179
179
  value.to_f
180
180
  else
181
181
  value
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'ticker'
3
- s.version = '0.1'
3
+ s.version = '0.11'
4
4
  s.date = '2010-03-07'
5
5
  s.summary = 'Quick and easy stock quote tool'
6
6
  s.email = "dan.simpson@gmail.com"
metadata CHANGED
@@ -4,8 +4,8 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
8
- version: "0.1"
7
+ - 11
8
+ version: "0.11"
9
9
  platform: ruby
10
10
  authors:
11
11
  - Dan Simpson