geoplanet 0.2.2 → 0.2.3

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.
data/README.rdoc CHANGED
@@ -93,10 +93,6 @@ Additionally, geoplanet has the following gem dependencies:
93
93
  * rest-client >= 0.9
94
94
  * json >= 1.1.3
95
95
 
96
- Please note that if you have ActiveSupport::JSON defined (either by
97
- manually having loaded it or when you use geoplanet within a Rails
98
- application) the json dependency will be ignored and geoplanet uses
99
- ActiveSupport::JSON instead.
100
96
 
101
97
  == INSTALL:
102
98
 
@@ -125,8 +121,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
125
121
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
126
122
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
127
123
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
128
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
129
-
130
- == CONTRIBUTORS:
131
-
132
- Nielsomat <http://github.com/Nielsomat> : Usage of ActiveSupport::JSON when available
124
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/geoplanet.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "geoplanet"
3
- s.version = "0.2.2"
4
- s.date = "2009-04-01"
3
+ s.version = "0.2.3"
4
+ s.date = "2009-12-21"
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/"
data/lib/geoplanet.rb CHANGED
@@ -1,15 +1,4 @@
1
- %w{rubygems rest_client}.each { |x| require x }
2
-
3
- if defined?(ActiveSupport::JSON)
4
- JSON = ActiveSupport::JSON
5
- module JSON
6
- def self.parse(json)
7
- decode(json)
8
- end
9
- end
10
- else
11
- require 'json'
12
- end
1
+ %w{rubygems rest_client json}.each { |x| require x }
13
2
 
14
3
  require 'geoplanet/version'
15
4
  require 'geoplanet/base'
@@ -2,7 +2,7 @@ module GeoPlanet
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 2
5
+ TINY = 3
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.2
4
+ version: 0.2.3
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-04-01 00:00:00 +02:00
12
+ date: 2009-12-21 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: true
50
+ has_rdoc: false
51
51
  homepage: http://github.com/carlosparamio/geoplanet/
52
52
  licenses: []
53
53