bus-o-matic 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -4
- data/bus-o-matic.gemspec +4 -4
- metadata +5 -7
- data/bus-o-matic-0.0.1.gem +0 -0
- data/bus-o-matic-0.0.2.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bcfaee454818b0ecd6e50a7810a77a0b2f28f53
|
4
|
+
data.tar.gz: 1590a90757ec70abb369058bf3010e522e8b03f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 538e25372a803fc687b99a03273898449f255eed6cc8537b2f51c7f710a902c1ee27ab49ea281074bd56c632993eb1e9f74dd6ec9bd88c4554b427b7a4d136be
|
7
|
+
data.tar.gz: 6fe852e54983e122b581d730ef75b2a94008de9002583b5878bc9a1caee7e460dd7a369afdeaaa1e52705fd1aafac33161c9bd902a54cf7d1afa4b552047a702
|
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Bus-o-matic
|
2
2
|
|
3
|
+
[![Code Climate](https://codeclimate.com/repos/54c45d61695680238c000c6f/badges/a02f530f79ad43d83de5/gpa.svg)](https://codeclimate.com/repos/54c45d61695680238c000c6f/feed)
|
4
|
+
[![Dependency Status](https://gemnasium.com/mattcone/bus-o-matic.svg)](https://gemnasium.com/mattcone/bus-o-matic)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/bus-o-matic.svg)](http://badge.fury.io/rb/bus-o-matic)
|
6
|
+
|
3
7
|
Bus-o-matic is a simple Ruby wrapper for the [Pittsburgh Port Authority API]
|
4
8
|
(http://www.portauthority.org/paac/CompanyInfoProjects/DeveloperResources.aspx).
|
5
9
|
This gem allows you to retrieve real-time information about vehicles, routes,
|
@@ -34,9 +38,8 @@ The following examples illustrate how you can use Bus-o-matic.
|
|
34
38
|
|
35
39
|
### Routes and Stops
|
36
40
|
|
37
|
-
Bus-o-matic can list all of the routes
|
38
|
-
|
39
|
-
the stops on a route.
|
41
|
+
Bus-o-matic can list all of the routes available. You can also get the
|
42
|
+
directions for a particular route, and a list all of the stops on a route.
|
40
43
|
|
41
44
|
```ruby
|
42
45
|
|
@@ -92,7 +95,8 @@ PIT::Busomatic.vehicles :vid => 6013
|
|
92
95
|
PIT::Busomatic.vehicles :vid => ["6013","6001"]
|
93
96
|
```
|
94
97
|
|
95
|
-
Note that you cannot combine both `rt` and `vid` parameters in a single
|
98
|
+
Note that you cannot combine both the `rt` and `vid` parameters in a single
|
99
|
+
request.
|
96
100
|
|
97
101
|
### Predicted Arrival Times
|
98
102
|
|
data/bus-o-matic.gemspec
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = "bus-o-matic"
|
4
|
-
s.version = "0.0.
|
4
|
+
s.version = "0.0.4"
|
5
5
|
s.authors = ["Matt Cone"]
|
6
6
|
s.email = ["matt@macinstruct.com"]
|
7
7
|
s.summary = %q{A wrapper for the Pittsburgh Port Authority TrueTime Bus API}
|
8
8
|
s.description = %q{A wrapper for the Pittsburgh Port Authority TrueTime Bus API}
|
9
9
|
s.homepage = "https://github.com/mattcone/bus-o-matic"
|
10
10
|
s.license = "MIT"
|
11
|
-
s.platform
|
11
|
+
s.platform = Gem::Platform::RUBY
|
12
12
|
|
13
13
|
s.require_paths = ['lib']
|
14
14
|
s.files = Dir.glob("**/*").reject { |x| File.directory?(x) }
|
15
|
-
s.add_dependency "httparty", '~> 0.
|
16
|
-
s.add_dependency "hashie", '~>
|
15
|
+
s.add_dependency "httparty", '~> 0.13.3'
|
16
|
+
s.add_dependency "hashie", '~> 3.3'
|
17
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bus-o-matic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Cone
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.13.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.13.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: hashie
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '3.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '3.3'
|
41
41
|
description: A wrapper for the Pittsburgh Port Authority TrueTime Bus API
|
42
42
|
email:
|
43
43
|
- matt@macinstruct.com
|
@@ -49,8 +49,6 @@ files:
|
|
49
49
|
- LICENSE.txt
|
50
50
|
- README.md
|
51
51
|
- Rakefile
|
52
|
-
- bus-o-matic-0.0.1.gem
|
53
|
-
- bus-o-matic-0.0.2.gem
|
54
52
|
- bus-o-matic.gemspec
|
55
53
|
- lib/bus-o-matic.rb
|
56
54
|
homepage: https://github.com/mattcone/bus-o-matic
|
data/bus-o-matic-0.0.1.gem
DELETED
Binary file
|
data/bus-o-matic-0.0.2.gem
DELETED
Binary file
|