zvv-cli 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -24
- data/{bin → exe}/zvv +0 -0
- data/lib/zvv/cli/version.rb +1 -1
- data/zvv-cli.gemspec +5 -5
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 777c903a2c90173b69cd59862ca8c003b71444c5
|
4
|
+
data.tar.gz: 00ede3ddf90dc5cdde3e534dd9a6c7229a78d8d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f719422c9297a4c32f9f2d55f42f83dacf7ec4429bc0d207507b9bde89f6f01308f27c4f14f158833fb8ebf5062a2d726e63900bd3035a091ba576aaffb201e5
|
7
|
+
data.tar.gz: 718013646b054953415be891f577714010fec8515682e78af74bc30dd6e9df092af4feec248ca4886f98a623ec2dbf8aa549477b11bc133dafef40d3a94dc8dd
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# ZVV CLI -- A saner interface for the Swiss public transport network
|
2
2
|
|
3
|
+
Who needs a [fancy schmancy webapp](http://www.zvv.ch/zvv/de/home.html) with a 1 MB background image that is not even cached when you can have all the glory in 80 chars?
|
4
|
+
|
3
5
|
## Installation
|
4
6
|
|
5
7
|
$ gem install zvv-cli
|
@@ -8,30 +10,9 @@
|
|
8
10
|
|
9
11
|
Get me from Hongg to Thalwil by 13:00
|
10
12
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
Zh, ETH Hönggerberg 11:53 -- B 69 --> Zh, Bucheggplatz 12:01
|
15
|
-
Zh, Bucheggplatz 12:04 -- T 11 --> Zh, Bhfquai/HB 12:14
|
16
|
-
Walk (00:07:00) to Zh, Bhfquai/HB
|
17
|
-
Zh HB 12:21 -- S 24 --> Thalwil 12:38
|
18
|
-
|
19
|
-
Zh, ETH Hönggerberg 12:04 ---> Thalwil 12:43
|
20
|
-
Zh, ETH Hönggerberg 12:04 -- B 37 --> Zh, Zehntenhausplatz 12:09
|
21
|
-
Walk (00:04:00) to Zh, Zehntenhausplatz
|
22
|
-
Zh Affoltern 12:14 -- S 6 --> Zh HB 12:28
|
23
|
-
Zh HB 12:35 -- R 2647 --> Thalwil 12:43
|
24
|
-
|
25
|
-
Zh, ETH Hönggerberg 12:09 ---> Thalwil 12:53
|
26
|
-
Zh, ETH Hönggerberg 12:09 -- B 80 --> Zh Oerlikon, Bhf Nord 12:19
|
27
|
-
Walk (00:06:00) to Zh Oerlikon, Bhf Nord
|
28
|
-
Zh Oerlikon 12:30 -- S 8 --> Thalwil 12:53
|
29
|
-
|
30
|
-
Zh, ETH Hönggerberg 12:17 ---> Thalwil 13:00
|
31
|
-
Zh, ETH Hönggerberg 12:17 -- B 80 --> Zh Oerlikon, Bhf Nord 12:27
|
32
|
-
Walk (00:06:00) to Zh Oerlikon, Bhf Nord
|
33
|
-
Zh Oerlikon 12:41 -- S 2 --> Thalwil 13:00
|
34
|
-
```
|
13
|
+
<img width="559" alt="screenshot 2016-03-20 23 39 37" src="https://cloud.githubusercontent.com/assets/271640/13907721/31d5b824-eef5-11e5-9022-77a62198d306.png">
|
14
|
+
|
15
|
+
More via `zvv -h`
|
35
16
|
|
36
17
|
## Development
|
37
18
|
|
@@ -48,3 +29,4 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
|
|
48
29
|
|
49
30
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
50
31
|
|
32
|
+
Disclaimer: I wrote this in 2 hours for my self.
|
data/{bin → exe}/zvv
RENAMED
File without changes
|
data/lib/zvv/cli/version.rb
CHANGED
data/zvv-cli.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
-
spec.bindir = "
|
18
|
+
spec.bindir = "exe"
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_development_dependency "pry-byebug"
|
27
27
|
spec.add_development_dependency "pry-rescue"
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
29
|
+
# TODO fork & update
|
30
|
+
spec.add_dependency "commander"
|
31
|
+
spec.add_dependency "transprt"
|
32
|
+
spec.add_dependency "colorize"
|
33
33
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zvv-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PJK
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -139,7 +139,8 @@ dependencies:
|
|
139
139
|
description: CLI for Swiss public transport network
|
140
140
|
email:
|
141
141
|
- me@pavelkalvoda.com
|
142
|
-
executables:
|
142
|
+
executables:
|
143
|
+
- zvv
|
143
144
|
extensions: []
|
144
145
|
extra_rdoc_files: []
|
145
146
|
files:
|
@@ -151,7 +152,7 @@ files:
|
|
151
152
|
- README.md
|
152
153
|
- Rakefile
|
153
154
|
- bin/setup
|
154
|
-
-
|
155
|
+
- exe/zvv
|
155
156
|
- lib/zvv/cli.rb
|
156
157
|
- lib/zvv/cli/version.rb
|
157
158
|
- zvv-cli.gemspec
|