geonames_api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e01b04a032c053533c4b76638fc31b4777f5b8e
4
- data.tar.gz: bd3e6b7a88b1376282220737a1d2870046db9af4
3
+ metadata.gz: feb56410dfb4499eaac158048e1950c760ea4215
4
+ data.tar.gz: b10b25b67f681f847c7fe42ad263009ee366b25c
5
5
  SHA512:
6
- metadata.gz: f175f17720e7a8e6b3b404320593f1f7a2a6841d0c63bae16b95d6f5dc4c40a779b8e0b95f4902ea93da69f280b98718ce25ed2722b2586e0084057fbffc4e27
7
- data.tar.gz: 088b25cd53a9c1533aa67df6b11d709020c45d67514911384859ef1b7fa28aeef94b10c490197e559b8ab9e43bbe942bdc3f4a5bb35702bd67d7d099165ecc63
6
+ metadata.gz: f92de847f4285eb1ae61a61c03e9429b39ab3ea423291ab669e30c16a59656a1d9ae0ae1570ffc274ed5db930efb00dbd28bc5268adf55d9fea562c70665540d
7
+ data.tar.gz: 40439223d27f035a99fbe37f02489f47c4c449a4e373d51086bcbb5575522de39bfc0c50ca772906208b6e1e3c6ae57efd8d148cf9a41dd746a3752931816516
data/README.md CHANGED
@@ -9,16 +9,6 @@ There are many GeoNames API clients. BUT, most are rewritten versions of a Java
9
9
 
10
10
  This is a simplified ruby implementation that does not implement the entire API. But, its lightweight and has a nice interface and will be easy to extend :)
11
11
 
12
- The gem was originally written by [@barelyknown](http://twitter.com/barelyknown).
13
-
14
- This fork adds
15
- * automatic retries on timeout,
16
- * properly encoded url parameters,
17
- * support for paid users (with https and API tokens)
18
- * more consistent ```find``` and ```where``` methods across endpoints
19
- * Timezone, AlternateName, and GeoName entries properly encoded in results
20
- * better test coverage, Travis CI, and CodeClimate integration
21
-
22
12
  ## Getting Started
23
13
 
24
14
  Add this line to your application's Gemfile:
@@ -186,10 +176,20 @@ Please note the use of the `all` method with `GeoNamesAPI::Wikipedia`. It return
186
176
 
187
177
  ### Others
188
178
 
189
- The other services will be implemented as needed. In the mean time, feel free to contribute! Let's keep the style consistent.
179
+ Feel free to contribute! Let's keep the style consistent.
190
180
 
191
181
  ## Contributing
192
182
 
183
+ The gem was originally written by [@barelyknown](http://twitter.com/barelyknown).
184
+
185
+ A number of nice features were added by [@mrm](http://twitter.com/mrm) including:
186
+ * automatic retries on timeout,
187
+ * properly encoded url parameters,
188
+ * support for paid users (with https and API tokens)
189
+ * more consistent ```find``` and ```where``` methods across endpoints
190
+ * Timezone, AlternateName, and GeoName entries properly encoded in results
191
+ * better test coverage, Travis CI, and CodeClimate integration
192
+
193
193
  1. Fork it
194
194
  2. Create your feature branch (`git checkout -b my-new-feature`)
195
195
  3. Commit your changes (`git commit -am 'Add some feature'`)
@@ -1,3 +1,3 @@
1
1
  module GeoNamesAPI
2
- VERSION = Gem::Version.new('0.1.0')
2
+ VERSION = Gem::Version.new('0.1.1')
3
3
  end
@@ -1,5 +1,5 @@
1
1
  module GeoNamesAPI
2
- class Weather < List
2
+ class Weather < ListEndpoint
3
3
 
4
4
  METHOD = "findNearByWeatherJSON"
5
5
  FIND_PARAMS = %w(lat lng radius)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geonames_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Devine