nyc_subway_status 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +7 -15
- data/lib/nyc_subway_status/version.rb +1 -1
- data/nyc_subway_status-0.1.1.gem +0 -0
- data/nyc_subway_status-0.1.2.gem +0 -0
- data/nyc_subway_status.gemspec +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9fc5dd071e4cfe7991a5b12103c333a3d51fbb7
|
|
4
|
+
data.tar.gz: 38d00ca80ffcb7e1a9fe9e2e9bf920b1df3d21fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcbd0b989eb8d7dd00914e5172dd60b01c49e57c661c2d60a9ad2b47b3fdf1eeef3c668f1fbd6df7a9c640d3ca5bb9cc8f3956f2a202278fbd8285fed3e4aaee
|
|
7
|
+
data.tar.gz: 1a1d6e89d1a8087f24e7836087bc34a2cc0b084d44d181d07f69a24ba2c148779807fd1463292155d65bd0b9c2c74a7f51ddc4583188e598e529706e11ff254d
|
data/Gemfile.lock
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
nyc_subway_status (0.1.
|
|
5
|
-
nokogiri
|
|
6
|
-
watir
|
|
7
|
-
webdrivers
|
|
4
|
+
nyc_subway_status (0.1.2)
|
|
5
|
+
nokogiri (~> 1.8)
|
|
6
|
+
watir (~> 6.10)
|
|
7
|
+
webdrivers (~> 3.2)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
@@ -52,7 +52,7 @@ PLATFORMS
|
|
|
52
52
|
DEPENDENCIES
|
|
53
53
|
bundler (~> 1.16)
|
|
54
54
|
nyc_subway_status!
|
|
55
|
-
pry
|
|
55
|
+
pry (~> 0.11)
|
|
56
56
|
rake (~> 10.0)
|
|
57
57
|
rspec (~> 3.0)
|
|
58
58
|
|
data/README.md
CHANGED
|
@@ -1,28 +1,20 @@
|
|
|
1
1
|
# NycSubwayStatus
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
3
|
+
NYC Subway Status is a gem that scrapes the MTA's Emergency Website (http://alert.mta.info/) using Watir and Nokogiri to display current status and details for New York City's subway system.
|
|
6
4
|
|
|
7
5
|
## Installation
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
```ruby
|
|
12
|
-
gem 'nyc_subway_status'
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
And then execute:
|
|
7
|
+
Installation is as easy as typing
|
|
16
8
|
|
|
17
|
-
$
|
|
9
|
+
$ gem install nyc_subway_status
|
|
18
10
|
|
|
19
|
-
|
|
11
|
+
then entering the command
|
|
20
12
|
|
|
21
|
-
|
|
13
|
+
$ nyc-subway-status
|
|
22
14
|
|
|
23
15
|
## Usage
|
|
24
16
|
|
|
25
|
-
|
|
17
|
+
Enter nyc-subway-status on your command line to get the latest train status. Then enter the number of a train line, 'list' to list all trains, or 'exit' to shut it down.
|
|
26
18
|
|
|
27
19
|
## Development
|
|
28
20
|
|
|
@@ -32,7 +24,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
32
24
|
|
|
33
25
|
## Contributing
|
|
34
26
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
27
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/chrissygonzalez/nyc_subway_status. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
36
28
|
|
|
37
29
|
## License
|
|
38
30
|
|
|
Binary file
|
|
Binary file
|
data/nyc_subway_status.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.email = ["chrissygonzalez@gmail.com"]
|
|
11
11
|
|
|
12
12
|
spec.summary = "A command line interface for checking alert.mta.info"
|
|
13
|
-
spec.description = "I built this gem for the Learn.co CLI gem project"
|
|
13
|
+
spec.description = "I built this gem for the Learn.co CLI gem project. Install and enter 'nyc-subway-status' to run."
|
|
14
14
|
spec.homepage = "https://github.com/chrissygonzalez/nyc-subway-status"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nyc_subway_status
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chrissy Gonzalez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-12-
|
|
11
|
+
date: 2017-12-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -108,7 +108,8 @@ dependencies:
|
|
|
108
108
|
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0.11'
|
|
111
|
-
description: I built this gem for the Learn.co CLI gem project
|
|
111
|
+
description: I built this gem for the Learn.co CLI gem project. Install and enter
|
|
112
|
+
'nyc-subway-status' to run.
|
|
112
113
|
email:
|
|
113
114
|
- chrissygonzalez@gmail.com
|
|
114
115
|
executables:
|
|
@@ -133,6 +134,8 @@ files:
|
|
|
133
134
|
- lib/nyc_subway_status/train.rb
|
|
134
135
|
- lib/nyc_subway_status/version.rb
|
|
135
136
|
- nyc_subway_status-0.1.0.gem
|
|
137
|
+
- nyc_subway_status-0.1.1.gem
|
|
138
|
+
- nyc_subway_status-0.1.2.gem
|
|
136
139
|
- nyc_subway_status.gemspec
|
|
137
140
|
homepage: https://github.com/chrissygonzalez/nyc-subway-status
|
|
138
141
|
licenses:
|