perambulate 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -4,33 +4,7 @@ As Seen On TV(tm), Perambulate makes it easier for you to get customer addresses
4
4
  No more thousands of input boxes, drop-downs and annoying conversational logic. Simply ask for their address
5
5
  and run it through Perambulate.
6
6
 
7
- Limitations
8
- ===========
9
- Currently, this tool does nothing. It's still in very early stages and doesn't even have a concrete architecture yet.
7
+ Usage
8
+ -----
10
9
 
11
- You *CAN* expect constant breaking changes on Master.
12
-
13
- The first iteration will not handle countries: To make things simpler, you need to know what country address grammar you're
14
- attempting to parse before parsing it.
15
-
16
- The first iteration is being done on Australian style addresses because that's what I'm familiar with. Sorry, Matz.
17
-
18
- Goals
19
- =====
20
-
21
- I want Perambulate to be an address management toolkit for developers. Desired features are:
22
-
23
- * Chunk any given address
24
- * Offer a likilhood of any string being a specific set of address units
25
- * Validate that any chunk is a member of a valid set (ie restrict 'suburb' to a defined set)
26
- * Have a variety of address parsers to suit specific combinations of
27
-
28
- Architecture
29
- ============
30
-
31
- This section was last updated for version: 0.0.1
32
- If this is not the latest version of the gem, this document is out of date. You're most welcome to correct everything below
33
- this paragraph but please don't change the version without checking that the following is true. I don't want to lie to
34
- other developers ;)
35
-
36
- Perambulate is the library module where all user interaction functions live, including configuration.
10
+ Perambulate.create_address(address_string)
@@ -1,3 +1,3 @@
1
1
  module Perambulate
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/perambulate.rb CHANGED
@@ -18,8 +18,7 @@ require "perambulate/designations"
18
18
  end
19
19
 
20
20
  def self.create_address(address_string)
21
- lexemes = AussieLexer.new(address_string)
22
-
21
+ address = Perambulate::Parser.new().parse(address_string)
23
22
  end
24
23
  end
25
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perambulate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: