bus-o-matic 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/bus-o-matic.gemspec +6 -6
- metadata +19 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5700b32f44c5d5bcb2c38ba034ab752c79691b5
|
4
|
+
data.tar.gz: 87bc155210156602c4dd5e1ba701b46a60513571
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cf4364c302121453d0c603a1cbe68ff565dc6b8d6e39ad3b2ab9fd844652d15a9d190a20a2d8c87c8cf3faaaca6e6b7b4911cabacc335893c506035e54821ac
|
7
|
+
data.tar.gz: 28ba50ceed4b40fcf826a9fd69f745212406af2f4284414ca49a545c46ca4b602a16f1289a0ef005c8206a5ab9cc59cf7ce7d0c4018f8c139763d3dd9ac78229
|
data/README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# Bus-o-matic
|
2
2
|
|
3
|
-
[![Code Climate](https://codeclimate.com/github/mattcone/bus-o-matic/badges/gpa.svg)](https://codeclimate.com/github/mattcone/bus-o-matic)
|
4
|
-
[![Dependency Status](https://gemnasium.com/mattcone/bus-o-matic.svg)](https://gemnasium.com/mattcone/bus-o-matic)
|
5
3
|
[![Gem Version](https://badge.fury.io/rb/bus-o-matic.svg)](http://badge.fury.io/rb/bus-o-matic)
|
4
|
+
[![Dependency Status](https://gemnasium.com/mattcone/bus-o-matic.svg)](https://gemnasium.com/mattcone/bus-o-matic)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/mattcone/bus-o-matic/badges/gpa.svg)](https://codeclimate.com/github/mattcone/bus-o-matic)
|
6
6
|
[![Build Status](https://travis-ci.org/mattcone/bus-o-matic.svg?branch=master)](https://travis-ci.org/mattcone/bus-o-matic)
|
7
7
|
[![Test Coverage](https://codeclimate.com/github/mattcone/bus-o-matic/badges/coverage.svg)](https://codeclimate.com/github/mattcone/bus-o-matic)
|
8
8
|
|
9
9
|
Bus-o-matic is a simple Ruby wrapper for the [Pittsburgh Port Authority API]
|
10
10
|
(http://www.portauthority.org/paac/CompanyInfoProjects/DeveloperResources.aspx).
|
11
|
-
|
11
|
+
It allows you to retrieve real-time information about vehicles, routes,
|
12
12
|
stops, and predicted arrival times for buses in Pittsburgh, Pennsylvania.
|
13
13
|
This gem borrows heavily from [cta-api] (https://github.com/fbonetti/cta-api)
|
14
14
|
by [Frank Bonetti] (https://github.com/fbonetti).
|
@@ -41,7 +41,7 @@ The following examples illustrate how you can use Bus-o-matic.
|
|
41
41
|
### Routes and Stops
|
42
42
|
|
43
43
|
Bus-o-matic can list all of the routes available. You can also get the
|
44
|
-
directions for a particular route, and a list all
|
44
|
+
directions for a particular route, and a list of all the stops on a route.
|
45
45
|
|
46
46
|
```ruby
|
47
47
|
|
@@ -144,8 +144,7 @@ PIT::Busomatic.time
|
|
144
144
|
|
145
145
|
## Contributing
|
146
146
|
|
147
|
-
|
148
|
-
pull requests.
|
147
|
+
I'd appreciate you reporting issues or creating pull requests.
|
149
148
|
|
150
149
|
1. Fork it
|
151
150
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
@@ -156,6 +155,4 @@ pull requests.
|
|
156
155
|
|
157
156
|
## License
|
158
157
|
|
159
|
-
Copyright (c) 2015 Matt Cone and 2013 fbonetti.
|
160
|
-
|
161
158
|
The MIT License (MIT). See the LICENSE.txt file for details.
|
data/bus-o-matic.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
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.7"
|
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}
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.homepage = "https://www.busomatic.com/"
|
10
10
|
s.license = "MIT"
|
11
11
|
s.platform = Gem::Platform::RUBY
|
12
|
-
|
12
|
+
|
13
13
|
s.require_paths = ['lib']
|
14
14
|
s.files = `git ls-files`.split("\n")
|
15
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -17,9 +17,9 @@ Gem::Specification.new do |s|
|
|
17
17
|
|
18
18
|
s.add_dependency "httparty", '~> 0.13.3'
|
19
19
|
s.add_dependency "hashie", '~> 3.4'
|
20
|
-
|
20
|
+
|
21
21
|
s.add_development_dependency "bundler", "~> 1.5"
|
22
|
-
s.add_development_dependency "rake"
|
23
|
-
s.add_development_dependency "minitest"
|
24
|
-
s.add_development_dependency "minitest-reporters"
|
22
|
+
s.add_development_dependency "rake", "~> 10.4"
|
23
|
+
s.add_development_dependency "minitest", "~> 5.7"
|
24
|
+
s.add_development_dependency "minitest-reporters", "~> 1.0"
|
25
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Cone
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -56,44 +56,44 @@ dependencies:
|
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '10.4'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '10.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: minitest
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '5.7'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '5.7'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: minitest-reporters
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
89
|
+
version: '1.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
96
|
+
version: '1.0'
|
97
97
|
description: A wrapper for the Pittsburgh Port Authority TrueTime Bus API
|
98
98
|
email:
|
99
99
|
- matt@macinstruct.com
|
@@ -132,8 +132,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.4.
|
135
|
+
rubygems_version: 2.4.6
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: A wrapper for the Pittsburgh Port Authority TrueTime Bus API
|
139
|
-
test_files:
|
139
|
+
test_files:
|
140
|
+
- spec/bus-o-matic_spec.rb
|
141
|
+
- spec/spec_helper.rb
|
142
|
+
- spec/vehicles.xml
|