bouvier 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +20 -1
  2. data/lib/bouvier.rb +3 -3
  3. metadata +54 -47
data/README.rdoc CHANGED
@@ -1,6 +1,25 @@
1
1
  = bouvier
2
2
 
3
- Description goes here.
3
+ As the last name of Patty and Selma, Marge Simpson's older sisters who work at the RMV,
4
+ this little gem parses Massachusetts RMV wait times at various branches across the state.
5
+
6
+ == Installation
7
+
8
+ gem install bouvier
9
+
10
+ == Usage
11
+
12
+ # Get all branches
13
+ branches = Bouvier::Client.branches
14
+
15
+ # Get a branch by town name
16
+ branch = Bouvier::Client.branch("Watertown")
17
+
18
+ # License wait time
19
+ branch.licensing
20
+
21
+ # Registeration wait time
22
+ branch.registeration
4
23
 
5
24
  == Note on Patches/Pull Requests
6
25
 
data/lib/bouvier.rb CHANGED
@@ -4,14 +4,14 @@ require 'hashie'
4
4
  module Bouvier
5
5
 
6
6
  class Client
7
-
7
+
8
8
  include HTTParty
9
9
  format :xml
10
- base_uri "http://www.eot.state.ma.us"
10
+ base_uri "http://www.massdot.state.ma.us"
11
11
 
12
12
  # Bouvier::Client.branches
13
13
  def self.branches
14
- response = get('/developers/downloads/qmaticXML.aspx')
14
+ response = get('/feeds/qmaticxml/qmaticXML.aspx')
15
15
  Hashie::Mash.new(response['branches']).branch
16
16
  end
17
17
 
metadata CHANGED
@@ -1,47 +1,56 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bouvier
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Brian Kaney
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2010-02-23 00:00:00 -05:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2010-02-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: shoulda
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
17
22
  type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
24
- version:
25
- - !ruby/object:Gem::Dependency
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
26
31
  name: fakeweb
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
27
38
  type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: "0"
34
- version:
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
35
46
  description: Parse RMV data from Massachusetts
36
47
  email: brian@vermonster.com
37
48
  executables: []
38
-
39
49
  extensions: []
40
-
41
- extra_rdoc_files:
50
+ extra_rdoc_files:
42
51
  - LICENSE
43
52
  - README.rdoc
44
- files:
53
+ files:
45
54
  - .document
46
55
  - .gitignore
47
56
  - LICENSE
@@ -52,34 +61,32 @@ files:
52
61
  - test/fixtures/rmv.xml
53
62
  - test/helper.rb
54
63
  - test/test_bouvier.rb
55
- has_rdoc: true
56
64
  homepage: http://github.com/bkaney/bouvier
57
65
  licenses: []
58
-
59
66
  post_install_message:
60
- rdoc_options:
67
+ rdoc_options:
61
68
  - --charset=UTF-8
62
- require_paths:
69
+ require_paths:
63
70
  - lib
64
- required_ruby_version: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: "0"
69
- version:
70
- required_rubygems_version: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - ">="
73
- - !ruby/object:Gem::Version
74
- version: "0"
75
- version:
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
76
83
  requirements: []
77
-
78
84
  rubyforge_project:
79
- rubygems_version: 1.3.5
85
+ rubygems_version: 1.8.23
80
86
  signing_key:
81
87
  specification_version: 3
82
88
  summary: Parse RMV data from Massachusetts
83
- test_files:
89
+ test_files:
84
90
  - test/helper.rb
85
91
  - test/test_bouvier.rb
92
+ has_rdoc: