geoplanet 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "geoplanet"
3
- s.version = "0.2.4"
4
- s.date = "2010-03-19"
3
+ s.version = "0.2.5"
4
+ s.date = "2010-06-25"
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/"
@@ -11,6 +11,7 @@ module GeoPlanet
11
11
  attr_reader :admin3, :admin3_code, :admin3_placetype
12
12
  attr_reader :locality1, :locality1_placetype
13
13
  attr_reader :locality2, :locality2_placetype
14
+ attr_reader :pop_rank, :area_rank
14
15
  alias_method :lat, :latitude
15
16
  alias_method :lon, :longitude
16
17
 
@@ -94,6 +95,8 @@ module GeoPlanet
94
95
  @locality1_placetype = attrs['locality1 attrs']['type'] rescue nil
95
96
  @locality2 = attrs['locality2']
96
97
  @locality2_placetype = attrs['locality2 attrs']['type'] rescue nil
98
+ @pop_rank = attrs['popRank']
99
+ @area_rank = attrs['areaRank']
97
100
  end
98
101
  self
99
102
  end
@@ -2,7 +2,7 @@ module GeoPlanet
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 4
5
+ TINY = 5
6
6
  STRING = [MAJOR, MINOR, TINY].join('.')
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoplanet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 5
10
+ version: 0.2.5
5
11
  platform: ruby
6
12
  authors:
7
13
  - Carlos Paramio
@@ -9,29 +15,40 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-03-19 00:00:00 +01:00
18
+ date: 2010-06-25 00:00:00 +02:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rest-client
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 25
30
+ segments:
31
+ - 0
32
+ - 9
23
33
  version: "0.9"
24
- version:
34
+ type: :runtime
35
+ version_requirements: *id001
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: json
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
30
41
  requirements:
31
42
  - - ">="
32
43
  - !ruby/object:Gem::Version
44
+ hash: 21
45
+ segments:
46
+ - 1
47
+ - 1
48
+ - 3
33
49
  version: 1.1.3
34
- version:
50
+ type: :runtime
51
+ version_requirements: *id002
35
52
  description: A Ruby wrapper for the Yahoo! GeoPlanet API. It uses JSON format by default to minimize bandwidth usage. See http://developer.yahoo.com/geo/ for more information about the API.
36
53
  email: carlosparamio@gmail.com
37
54
  executables: []
@@ -58,21 +75,27 @@ rdoc_options:
58
75
  require_paths:
59
76
  - lib
60
77
  required_ruby_version: !ruby/object:Gem::Requirement
78
+ none: false
61
79
  requirements:
62
80
  - - ">="
63
81
  - !ruby/object:Gem::Version
82
+ hash: 3
83
+ segments:
84
+ - 0
64
85
  version: "0"
65
- version:
66
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
+ none: false
67
88
  requirements:
68
89
  - - ">="
69
90
  - !ruby/object:Gem::Version
91
+ hash: 3
92
+ segments:
93
+ - 0
70
94
  version: "0"
71
- version:
72
95
  requirements: []
73
96
 
74
97
  rubyforge_project:
75
- rubygems_version: 1.3.5
98
+ rubygems_version: 1.3.7
76
99
  signing_key:
77
100
  specification_version: 3
78
101
  summary: A Ruby wrapper for the Yahoo! GeoPlanet API.