geonames_api 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +11 -11
- data/lib/geonames_api/version.rb +1 -1
- data/lib/geonames_api/weather.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feb56410dfb4499eaac158048e1950c760ea4215
|
4
|
+
data.tar.gz: b10b25b67f681f847c7fe42ad263009ee366b25c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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'`)
|
data/lib/geonames_api/version.rb
CHANGED
data/lib/geonames_api/weather.rb
CHANGED