geoplanet 0.2.3 → 0.2.4

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.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "geoplanet"
3
- s.version = "0.2.3"
4
- s.date = "2009-12-21"
3
+ s.version = "0.2.4"
4
+ s.date = "2010-03-19"
5
5
  s.summary = "A Ruby wrapper for the Yahoo! GeoPlanet API."
6
6
  s.email = "carlosparamio@gmail.com"
7
7
  s.homepage = "http://github.com/carlosparamio/geoplanet/"
@@ -23,7 +23,7 @@ module GeoPlanet
23
23
  end
24
24
 
25
25
  def self.get_then_parse(url)
26
- results = JSON.parse get(url)
26
+ results = JSON.parse get(url).to_s
27
27
  return results['places']['place'].map{|attrs| Place.new attrs} if results['places']
28
28
  return Place.new(results['place']) if results['place']
29
29
  nil
@@ -2,7 +2,7 @@ module GeoPlanet
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 3
5
+ TINY = 4
6
6
  STRING = [MAJOR, MINOR, TINY].join('.')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoplanet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Paramio
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-21 00:00:00 +01:00
12
+ date: 2010-03-19 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -47,7 +47,7 @@ files:
47
47
  - lib/geoplanet/base.rb
48
48
  - lib/geoplanet/place.rb
49
49
  - lib/geoplanet/version.rb
50
- has_rdoc: false
50
+ has_rdoc: true
51
51
  homepage: http://github.com/carlosparamio/geoplanet/
52
52
  licenses: []
53
53