connexionz 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +26 -2
- data/connexionz.gemspec +2 -2
- data/lib/connexionz/version.rb +1 -1
- metadata +112 -105
data/README.md
CHANGED
@@ -20,8 +20,8 @@ Usage Examples
|
|
20
20
|
|
21
21
|
@client = Connexionz::Client.new({:endpoint => "http://businfo.santa-clarita.com/"})
|
22
22
|
@client.platform # Returns all the platforms
|
23
|
-
|
24
|
-
|
23
|
+
route = @client.route_position_et({:platformno => "16890"})
|
24
|
+
route = route_position_et.platform.name # Returns "McBean Pky & Valencia Blvd"
|
25
25
|
|
26
26
|
Contributing
|
27
27
|
------------
|
@@ -63,6 +63,30 @@ Submitting a Pull Request
|
|
63
63
|
8. Commit and push your changes.
|
64
64
|
9. Submit a pull request. Please do not include changes to the gemspec, version, or history file. (If you want to create your own version for some reason, please do so in a separate commit.)
|
65
65
|
|
66
|
+
## <a name="rubies">Supported Rubies</a>
|
67
|
+
This library aims to support and is [tested
|
68
|
+
against](http://travis-ci.org/ryanatwork/Connexionz) the following Ruby
|
69
|
+
implementations:
|
70
|
+
|
71
|
+
* Ruby 1.8.7
|
72
|
+
* Ruby 1.9.2
|
73
|
+
* [Rubinius](http://rubini.us/)
|
74
|
+
* [Ruby Enterprise Edition](http://www.rubyenterpriseedition.com/)
|
75
|
+
|
76
|
+
If something doesn't work on one of these interpreters, it should be considered
|
77
|
+
a bug.
|
78
|
+
|
79
|
+
This library may inadvertently work (or seem to work) on other Ruby
|
80
|
+
implementations, however support will only be provided for the versions listed
|
81
|
+
above.
|
82
|
+
|
83
|
+
If you would like this library to support another Ruby version, you may
|
84
|
+
volunteer to be a maintainer. Being a maintainer entails making sure all tests
|
85
|
+
run and pass on that implementation. When something breaks on your
|
86
|
+
implementation, you will be personally responsible for providing patches in a
|
87
|
+
timely fashion. If critical issues for a particular implementation exist at the
|
88
|
+
time of a major release, support for that Ruby version may be dropped.
|
89
|
+
|
66
90
|
Credits
|
67
91
|
-------
|
68
92
|
[Connexionz](http://www.connexionz.co.nz/)
|
data/connexionz.gemspec
CHANGED
@@ -20,13 +20,13 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.add_development_dependency 'rspec', '~> 2.6'
|
21
21
|
gem.add_development_dependency 'simplecov', '~> 0.4'
|
22
22
|
gem.add_development_dependency 'yard', '~> 0.7.2'
|
23
|
-
gem.add_development_dependency 'webmock', '~> 1.7.
|
23
|
+
gem.add_development_dependency 'webmock', '~> 1.7.6'
|
24
24
|
|
25
25
|
gem.add_runtime_dependency 'faraday', '~> 0.7.4'
|
26
26
|
gem.add_runtime_dependency 'faraday_middleware', '~> 0.7.0'
|
27
27
|
gem.add_runtime_dependency 'hashie', '~> 1.0.0'
|
28
28
|
gem.add_runtime_dependency 'multi_json', '~> 1.0.2'
|
29
29
|
gem.add_runtime_dependency 'multi_xml', '~> 0.2.2'
|
30
|
-
gem.add_runtime_dependency 'patron', '~> 0.4.
|
30
|
+
gem.add_runtime_dependency 'patron', '~> 0.4.16'
|
31
31
|
gem.add_runtime_dependency 'rash', '~> 0.3.0'
|
32
32
|
end
|
data/lib/connexionz/version.rb
CHANGED
metadata
CHANGED
@@ -1,165 +1,169 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: connexionz
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 1.0.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Ryan Resella
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
|
13
|
+
date: 2011-09-16 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
15
16
|
name: maruku
|
16
|
-
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
19
|
none: false
|
18
|
-
requirements:
|
20
|
+
requirements:
|
19
21
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version:
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0.6"
|
22
24
|
type: :development
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
26
27
|
name: rake
|
27
|
-
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
30
|
none: false
|
29
|
-
requirements:
|
31
|
+
requirements:
|
30
32
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version:
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0.9"
|
33
35
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
37
38
|
name: rspec
|
38
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
41
|
none: false
|
40
|
-
requirements:
|
42
|
+
requirements:
|
41
43
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version:
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "2.6"
|
44
46
|
type: :development
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: *id003
|
48
|
+
- !ruby/object:Gem::Dependency
|
48
49
|
name: simplecov
|
49
|
-
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
52
|
none: false
|
51
|
-
requirements:
|
53
|
+
requirements:
|
52
54
|
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0.4"
|
55
57
|
type: :development
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
58
|
+
version_requirements: *id004
|
59
|
+
- !ruby/object:Gem::Dependency
|
59
60
|
name: yard
|
60
|
-
|
61
|
+
prerelease: false
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
61
63
|
none: false
|
62
|
-
requirements:
|
64
|
+
requirements:
|
63
65
|
- - ~>
|
64
|
-
- !ruby/object:Gem::Version
|
66
|
+
- !ruby/object:Gem::Version
|
65
67
|
version: 0.7.2
|
66
68
|
type: :development
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
69
|
+
version_requirements: *id005
|
70
|
+
- !ruby/object:Gem::Dependency
|
70
71
|
name: webmock
|
71
|
-
|
72
|
+
prerelease: false
|
73
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
72
74
|
none: false
|
73
|
-
requirements:
|
75
|
+
requirements:
|
74
76
|
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 1.7.
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 1.7.6
|
77
79
|
type: :development
|
78
|
-
|
79
|
-
|
80
|
-
- !ruby/object:Gem::Dependency
|
80
|
+
version_requirements: *id006
|
81
|
+
- !ruby/object:Gem::Dependency
|
81
82
|
name: faraday
|
82
|
-
|
83
|
+
prerelease: false
|
84
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
83
85
|
none: false
|
84
|
-
requirements:
|
86
|
+
requirements:
|
85
87
|
- - ~>
|
86
|
-
- !ruby/object:Gem::Version
|
88
|
+
- !ruby/object:Gem::Version
|
87
89
|
version: 0.7.4
|
88
90
|
type: :runtime
|
89
|
-
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: *id007
|
92
|
+
- !ruby/object:Gem::Dependency
|
92
93
|
name: faraday_middleware
|
93
|
-
|
94
|
+
prerelease: false
|
95
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
94
96
|
none: false
|
95
|
-
requirements:
|
97
|
+
requirements:
|
96
98
|
- - ~>
|
97
|
-
- !ruby/object:Gem::Version
|
99
|
+
- !ruby/object:Gem::Version
|
98
100
|
version: 0.7.0
|
99
101
|
type: :runtime
|
100
|
-
|
101
|
-
|
102
|
-
- !ruby/object:Gem::Dependency
|
102
|
+
version_requirements: *id008
|
103
|
+
- !ruby/object:Gem::Dependency
|
103
104
|
name: hashie
|
104
|
-
|
105
|
+
prerelease: false
|
106
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
105
107
|
none: false
|
106
|
-
requirements:
|
108
|
+
requirements:
|
107
109
|
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
110
|
+
- !ruby/object:Gem::Version
|
109
111
|
version: 1.0.0
|
110
112
|
type: :runtime
|
111
|
-
|
112
|
-
|
113
|
-
- !ruby/object:Gem::Dependency
|
113
|
+
version_requirements: *id009
|
114
|
+
- !ruby/object:Gem::Dependency
|
114
115
|
name: multi_json
|
115
|
-
|
116
|
+
prerelease: false
|
117
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
116
118
|
none: false
|
117
|
-
requirements:
|
119
|
+
requirements:
|
118
120
|
- - ~>
|
119
|
-
- !ruby/object:Gem::Version
|
121
|
+
- !ruby/object:Gem::Version
|
120
122
|
version: 1.0.2
|
121
123
|
type: :runtime
|
122
|
-
|
123
|
-
|
124
|
-
- !ruby/object:Gem::Dependency
|
124
|
+
version_requirements: *id010
|
125
|
+
- !ruby/object:Gem::Dependency
|
125
126
|
name: multi_xml
|
126
|
-
|
127
|
+
prerelease: false
|
128
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
127
129
|
none: false
|
128
|
-
requirements:
|
130
|
+
requirements:
|
129
131
|
- - ~>
|
130
|
-
- !ruby/object:Gem::Version
|
132
|
+
- !ruby/object:Gem::Version
|
131
133
|
version: 0.2.2
|
132
134
|
type: :runtime
|
133
|
-
|
134
|
-
|
135
|
-
- !ruby/object:Gem::Dependency
|
135
|
+
version_requirements: *id011
|
136
|
+
- !ruby/object:Gem::Dependency
|
136
137
|
name: patron
|
137
|
-
|
138
|
+
prerelease: false
|
139
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
138
140
|
none: false
|
139
|
-
requirements:
|
141
|
+
requirements:
|
140
142
|
- - ~>
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: 0.4.
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 0.4.16
|
143
145
|
type: :runtime
|
144
|
-
|
145
|
-
|
146
|
-
- !ruby/object:Gem::Dependency
|
146
|
+
version_requirements: *id012
|
147
|
+
- !ruby/object:Gem::Dependency
|
147
148
|
name: rash
|
148
|
-
|
149
|
+
prerelease: false
|
150
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
149
151
|
none: false
|
150
|
-
requirements:
|
152
|
+
requirements:
|
151
153
|
- - ~>
|
152
|
-
- !ruby/object:Gem::Version
|
154
|
+
- !ruby/object:Gem::Version
|
153
155
|
version: 0.3.0
|
154
156
|
type: :runtime
|
155
|
-
|
156
|
-
version_requirements: *70348288759720
|
157
|
+
version_requirements: *id013
|
157
158
|
description: A Ruby wrapper for the Connexionz bus api
|
158
159
|
email: ryan@codeforamerica.org
|
159
160
|
executables: []
|
161
|
+
|
160
162
|
extensions: []
|
163
|
+
|
161
164
|
extra_rdoc_files: []
|
162
|
-
|
165
|
+
|
166
|
+
files:
|
163
167
|
- .autotest
|
164
168
|
- .gemtest
|
165
169
|
- .gitignore
|
@@ -188,29 +192,32 @@ files:
|
|
188
192
|
- spec/helper.rb
|
189
193
|
homepage: https://github.com/ryanatwork/connexionz/
|
190
194
|
licenses: []
|
195
|
+
|
191
196
|
post_install_message:
|
192
197
|
rdoc_options: []
|
193
|
-
|
198
|
+
|
199
|
+
require_paths:
|
194
200
|
- lib
|
195
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
201
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
196
202
|
none: false
|
197
|
-
requirements:
|
198
|
-
- -
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
version:
|
201
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: "0"
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
208
|
none: false
|
203
|
-
requirements:
|
204
|
-
- -
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version:
|
209
|
+
requirements:
|
210
|
+
- - ">="
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: "0"
|
207
213
|
requirements: []
|
214
|
+
|
208
215
|
rubyforge_project:
|
209
|
-
rubygems_version: 1.8.
|
216
|
+
rubygems_version: 1.8.10
|
210
217
|
signing_key:
|
211
218
|
specification_version: 3
|
212
|
-
summary:
|
213
|
-
test_files:
|
219
|
+
summary: ""
|
220
|
+
test_files:
|
214
221
|
- spec/connexionz/client_spec.rb
|
215
222
|
- spec/connexionz_spec.rb
|
216
223
|
- spec/fixtures/platform.xml
|