cloudmade 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9ccef292145f02889bbd6e5124c06652ba92e98e
4
+ data.tar.gz: 3ed160154e066a0613ea05991069244371b8e3a8
5
+ SHA512:
6
+ metadata.gz: 44ae5cd433ac9d4451d70a68025c3d3db29ba9b70af27ae0252fce2ed2ef66636fb12f316f2245dcf6a05afff80ad31af0c4892afad5e61bf5be0476a060a26a
7
+ data.tar.gz: 9b8cb329d2e0c9ad0086e6f14ab89ca2b43c3e8fde3afd0168754a0af94e01b4a680ebd803aa54e6a4b3826cbf8eb08328527aca0573460dae4e145e7bd620f9
data/README.md CHANGED
@@ -1,65 +1,6 @@
1
1
  # CloudMade
2
- [![Build Status](https://secure.travis-ci.org/klaustopher/cloudmade.png?branch=master)](http://travis-ci.org/klaustopher/cloudmade)
3
- ---
2
+ This was a fork of the old geocoding API wrapper from Cloudmade. They have since released their new code:
4
3
 
5
- This is a ruby Gem to use the amazing API for [Cloudmade](http://www.cloudmade.com). They bring you cool services powered by [OpenStreetMaps](http://www.openstreetmaps.org). Check out their website.
4
+ https://github.com/CloudMade/Tools/tree/master/Ruby%20API
6
5
 
7
- In their developer section I found this ruby gem which wasn't on [rubygems.org](http://www.rubygems.org). So I forked their project from SVN, updated the Gemspec (Nothing has happened with this Gem for over 2 years) and published it here.
8
-
9
- In the future I will update this Gem to use the version v2 of the API. I just :heart: the service and I'd love to see it being used by more people.
10
-
11
-
12
- ## Usage
13
- Add the Gem to your Gemfile:
14
- gem 'cloudmade', '0.1.4'
15
-
16
- Run the bundle command to update your Gemspec and you're ready to roll
17
-
18
- Go to http://cloudmade.com/start sign up and request an API key
19
-
20
- ## Examples
21
- ````ruby
22
- cm = CloudMade::Client.from_parameters('YOUR-API-KEY')
23
-
24
- # Find a place
25
- places = cm.geocoding.find('Potsdamer Platz, Berlin, Germany')
26
- puts "Location of Potsdamer Platz: #{places.results[0].centroid.lat}, #{places.results[0].centroid.lon}"
27
-
28
- # Find a pub
29
- pub = cm.geocoding.find_closest('pub', 52.50938, 13.37627)
30
- puts "Closest Pub: #{pub.properties.name}"
31
- ```
32
-
33
- Some other examples can be found in `lib/cloudmade/examples.rb` (*I didn't put that file there, it has been provided*)
34
-
35
- ## License
36
- This version is licensed under the LGPL version 3, see `LICENSE` for details (This has also been provided by CloudMade. My new version of the Gem will be MIT)
37
-
38
- # Original documentation
39
- At the end I will attach the original documentation. Have fun:
40
- ---
41
-
42
- CloudMadeAPI is a Ruby API for CloudMade's online services: Geocoding, Routing and Tiles.
43
-
44
- API documentation is available http://developers.cloudmade.com/projects/show/geocoding-http-api
45
-
46
- Install
47
- =======
48
-
49
- Using easy_install
50
-
51
- gem install cloudmade
52
-
53
- Testing
54
- =======
55
-
56
- To test the source distribution you will need to run following command:
57
-
58
- rake test
59
-
60
- Module Documentation
61
- ====================
62
-
63
- To generate module documentation you will need to run the following command:
64
-
65
- rake rdoc
6
+ Please go to this URL and check out their code. This gem is retired!
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.authors = ["Klaus Zanders", "forked from cloudmade.com"]
9
9
  s.email = ["klaus.zanders@gmail.com", "ishubovych@cloudmade.com"]
10
10
  s.homepage = "https://github.com/klaustopher/cloudmade"
11
- s.summary = 'CloudMade Ruby API'
11
+ s.summary = 'DEPRECATED. Please use https://github.com/CloudMade/Tools'
12
12
  s.description = s.summary
13
13
 
14
14
  s.rubyforge_project = "cloudmade"
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.files = `git ls-files`.split("\n")
17
17
  s.test_files = Dir.glob('test/test_*.rb')
18
18
  s.require_paths = ["lib"]
19
-
19
+
20
20
  s.has_rdoc = true
21
21
  s.extra_rdoc_files = ['README.md', 'LICENSE']
22
22
 
@@ -24,4 +24,20 @@ Gem::Specification.new do |s|
24
24
  s.add_development_dependency "test-unit"
25
25
  s.add_development_dependency "rake"
26
26
  # s.add_runtime_dependency "rest-client"
27
- end
27
+
28
+ s.post_install_message = <<-MESSAGE
29
+ =======================================
30
+ = CloudMade Gem =
31
+ =======================================
32
+ = A lot has happened with CloudMade =
33
+ = since I forked this Gem. Since then =
34
+ = They have released a new version =
35
+ = of the gem themselves and I am no =
36
+ = longer maintaining this one. So I =
37
+ = suggest you switch to their new im- =
38
+ = plementation =
39
+ = =
40
+ = https://github.com/CloudMade/Tools =
41
+ =======================================
42
+ MESSAGE
43
+ end
@@ -1,3 +1,3 @@
1
1
  module Cloudmade
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudmade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Klaus Zanders
@@ -10,41 +9,37 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-11-07 00:00:00.000000000 Z
12
+ date: 2014-03-06 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: test-unit
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
23
21
  type: :development
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: '0'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: rake
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: '0'
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: '0'
47
- description: CloudMade Ruby API
42
+ description: DEPRECATED. Please use https://github.com/CloudMade/Tools
48
43
  email:
49
44
  - klaus.zanders@gmail.com
50
45
  - ishubovych@cloudmade.com
@@ -80,34 +75,40 @@ files:
80
75
  - test/test_tiles.rb
81
76
  homepage: https://github.com/klaustopher/cloudmade
82
77
  licenses: []
83
- post_install_message:
78
+ metadata: {}
79
+ post_install_message: |
80
+ =======================================
81
+ = CloudMade Gem =
82
+ =======================================
83
+ = A lot has happened with CloudMade =
84
+ = since I forked this Gem. Since then =
85
+ = They have released a new version =
86
+ = of the gem themselves and I am no =
87
+ = longer maintaining this one. So I =
88
+ = suggest you switch to their new im- =
89
+ = plementation =
90
+ = =
91
+ = https://github.com/CloudMade/Tools =
92
+ =======================================
84
93
  rdoc_options: []
85
94
  require_paths:
86
95
  - lib
87
96
  required_ruby_version: !ruby/object:Gem::Requirement
88
- none: false
89
97
  requirements:
90
- - - ! '>='
98
+ - - '>='
91
99
  - !ruby/object:Gem::Version
92
100
  version: '0'
93
- segments:
94
- - 0
95
- hash: -613793366863801681
96
101
  required_rubygems_version: !ruby/object:Gem::Requirement
97
- none: false
98
102
  requirements:
99
- - - ! '>='
103
+ - - '>='
100
104
  - !ruby/object:Gem::Version
101
105
  version: '0'
102
- segments:
103
- - 0
104
- hash: -613793366863801681
105
106
  requirements: []
106
107
  rubyforge_project: cloudmade
107
- rubygems_version: 1.8.23
108
+ rubygems_version: 2.2.1
108
109
  signing_key:
109
- specification_version: 3
110
- summary: CloudMade Ruby API
110
+ specification_version: 4
111
+ summary: DEPRECATED. Please use https://github.com/CloudMade/Tools
111
112
  test_files:
112
113
  - test/test_geocoding.rb
113
114
  - test/test_geometry.rb