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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be674d86568ac3a7c933d591c61583b8081c4310
4
- data.tar.gz: 08d4b193902a1220b3bfb970a77635664f69acd0
3
+ metadata.gz: 777c903a2c90173b69cd59862ca8c003b71444c5
4
+ data.tar.gz: 00ede3ddf90dc5cdde3e534dd9a6c7229a78d8d0
5
5
  SHA512:
6
- metadata.gz: 8038f90133cbaf94547edb3d303cdf34b2e2391790aafef94f6fe3563c523d746c5202c2a3291e3ffd31ea3e7bf598bb6b09f1c5f7996a1f5619a064a4e3ad3b
7
- data.tar.gz: ecdecc997b7484350231cb702eaad2a70bc2851352098aa2a49a3cea194d62de17c4b8c1d67052db886f700c315f91e8bb61aff1a2a86583d871bf412f74a178
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
- $ zvv c ETH/honggerber thalwil 13@
13
- Zh, ETH Hönggerberg 11:53 ---> Thalwil 12:38
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
@@ -1,5 +1,5 @@
1
1
  module Zvv
2
2
  module Cli
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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 = "bin"
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
- # TODO fork & update
30
- spec.add_dependency "commander"
31
- spec.add_dependency "transprt"
32
- spec.add_dependency "colorize"
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - PJK
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-20 00:00:00.000000000 Z
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
- - bin/zvv
155
+ - exe/zvv
155
156
  - lib/zvv/cli.rb
156
157
  - lib/zvv/cli/version.rb
157
158
  - zvv-cli.gemspec