api_postcode_nl 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,23 @@
1
1
  = api_postcode_nl
2
2
 
3
- Usage:
3
+ A gem for interfacing with http://api.postcode.nl, a webservice that converts a Dutch postcode + house number into a full address. Go to http://api.postcode.nl to sign up and create a secret + key.
4
4
 
5
- ```gem "api_postcode_nl"```
5
+ Disclaimer: the creator of this gem is not in any way affiliated with api.postcode.nl.
6
6
 
7
- ```ApiPostcodeNl::API.key="your key here"
8
- ApiPostcodeNl::API.secret="your secret here"
7
+ == Installation
9
8
 
10
- ApiPostcodeNl::API.address("9999AA", "123", "a")```
9
+ Add to your Gemfile:
11
10
 
11
+ gem "api_postcode_nl"
12
+
13
+ == Configuration
14
+ ApiPostcodeNl::API.key="your key here"
15
+ ApiPostcodeNl::API.secret="your secret here"
16
+
17
+ == Usage
18
+ ApiPostcodeNl::API.address("9999AA", "123", "a")
19
+ # result:
20
+ {:street_name=>nil, :house_number=>nil, :postcode=>nil, :city=>nil, :municipality=>nil, :province=>nil, :latitude=>nil, :longitude=>nil, :address_type=>nil, :purpose=>nil, :area=>nil, :house_number_additions=>nil}
12
21
 
13
22
  == Contributing to api_postcode_nl
14
23
 
@@ -24,4 +33,3 @@ ApiPostcodeNl::API.address("9999AA", "123", "a")```
24
33
 
25
34
  Copyright (c) 2013 rhomeister. See LICENSE.txt for
26
35
  further details.
27
-
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "api_postcode_nl"
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["rhomeister"]
@@ -14,14 +14,14 @@ Gem::Specification.new do |s|
14
14
  s.email = "r.stranders@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
- "README.md"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
21
  "Gemfile",
22
22
  "Gemfile.lock",
23
23
  "LICENSE.txt",
24
- "README.md",
24
+ "README.rdoc",
25
25
  "Rakefile",
26
26
  "VERSION",
27
27
  "api_postcode_nl.gemspec",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_postcode_nl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -49,13 +49,13 @@ executables: []
49
49
  extensions: []
50
50
  extra_rdoc_files:
51
51
  - LICENSE.txt
52
- - README.md
52
+ - README.rdoc
53
53
  files:
54
54
  - .document
55
55
  - Gemfile
56
56
  - Gemfile.lock
57
57
  - LICENSE.txt
58
- - README.md
58
+ - README.rdoc
59
59
  - Rakefile
60
60
  - VERSION
61
61
  - api_postcode_nl.gemspec
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  segments:
80
80
  - 0
81
- hash: -2653603229771154755
81
+ hash: -181613281454523243
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements: