postcodeanywhere 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +4 -5
  2. data/VERSION +1 -1
  3. data/postcodeanywhere.gemspec +1 -1
  4. metadata +2 -2
data/README.rdoc CHANGED
@@ -7,16 +7,15 @@ you can use it as
7
7
  1. gem install postcodeanywhere
8
8
 
9
9
  2. In your environment.rb add the following lines
10
-
11
- PostcodeAnywhere::Request.account_code = "YOUR_ACCOUNT_CODE"
12
- PostcodeAnywhere::Request.license_code = "YOUR_LICENSE_CODE"
10
+ PostcodeAnywhere::Request.account_code = "YOUR_ACCOUNT_CODE"
11
+ PostcodeAnywhere::Request.license_code = "YOUR_LICENSE_CODE"
13
12
 
14
13
  3. Then in your model or controller you can do something like
15
14
  a. To get a list of addresses
16
- PostcodeAnywhere::PostcodeSearch.new(:country_code=> "GB", :postcode => "sw19 1ne").lookup
15
+ PostcodeAnywhere::PostcodeSearch.new(:country_code=> "GB", :postcode => "sw19 1ne").lookup
17
16
 
18
17
  b. Then, to get a particular detailed address (to fill out your address form fields)
19
- PostcodeAnywhere::PostcodeSearch.new(:country_code=> "GB", :fetch_id => "24077031.00").fetch
18
+ PostcodeAnywhere::PostcodeSearch.new(:country_code=> "GB", :fetch_id => "24077031.00").fetch
20
19
 
21
20
  == Note on Patches/Pull Requests
22
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
1
+ 0.10.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{postcodeanywhere}
8
- s.version = "0.9.0"
8
+ s.version = "0.10.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["basedotextend"]
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 9
7
+ - 10
8
8
  - 0
9
- version: 0.9.0
9
+ version: 0.10.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - basedotextend