mvg-live 1.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +0 -1
- data/.travis.yml +2 -2
- data/Gemfile +1 -1
- data/Gemfile.lock +85 -0
- data/README.md +16 -6
- data/Rakefile +4 -4
- data/bin/mvg +1 -3
- data/bin/mvg_json +1 -3
- data/fixtures/vcr_cassettes/MVG_Live/HTTP/should_build_the_right_query.json +1 -0
- data/fixtures/vcr_cassettes/MVG_Live/HTTP/should_provide_cached_access_to_the_response_object_through_response_obj.json +1 -0
- data/fixtures/vcr_cassettes/MVG_Live/Parser/unknown_station/should_inform_about_incorrent_stations_and_possible_fits.json +1 -0
- data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/both/should_have_the_same_number_of_entries.json +1 -0
- data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_have_the_correct_entry_size.json +1 -0
- data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_have_the_correct_order_.json +1 -0
- data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/sorted/should_have_the_correct_entry_size.json +1 -0
- data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/sorted/should_have_the_correct_order.json +1 -0
- data/lib/mvg/live.rb +8 -11
- data/lib/mvg/live/cli.rb +17 -20
- data/lib/mvg/live/encoding.rb +1 -1
- data/lib/mvg/live/http.rb +5 -6
- data/lib/mvg/live/parser.rb +2 -3
- data/lib/mvg/live/version.rb +1 -1
- data/mvg-live.gemspec +12 -18
- data/spec/factories.rb +13 -13
- data/spec/mvg_live_spec.rb +105 -66
- data/spec/spec_helper.rb +4 -4
- metadata +56 -125
- data/Guardfile +0 -8
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 63f98e416a37d3c4a6375eb50d18221325ba99dc
|
4
|
+
data.tar.gz: 39dd3fd4bb54dc87e6adbf0a35bfeb40b3fa9da9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 42a379009bd6b3ea601a44b502009618bbdba7172b41e4077404d73ab6638b382a67c41b8a56ad5c1b7ae9599250443f37b3e3a315ec1acafb5e47ea55ca012a
|
7
|
+
data.tar.gz: 7092135ea876562685b545305f2bd13b130cd2458314c28382cbf7ff939c1d9eab2d8f4a7b6e1dcc266f6583f42de5ead3a92dbe12bb439579bfdca358b8746a
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
mvg-live (2.0.0)
|
5
|
+
activemodel (~> 4.2)
|
6
|
+
faraday (~> 0.9)
|
7
|
+
multi_json
|
8
|
+
nokogiri (~> 1.6)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: http://rubygems.org/
|
12
|
+
specs:
|
13
|
+
activemodel (4.2.6)
|
14
|
+
activesupport (= 4.2.6)
|
15
|
+
builder (~> 3.1)
|
16
|
+
activesupport (4.2.6)
|
17
|
+
i18n (~> 0.7)
|
18
|
+
json (~> 1.7, >= 1.7.7)
|
19
|
+
minitest (~> 5.1)
|
20
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
21
|
+
tzinfo (~> 1.1)
|
22
|
+
ansi (1.5.0)
|
23
|
+
builder (3.2.2)
|
24
|
+
coderay (1.1.1)
|
25
|
+
docile (1.1.5)
|
26
|
+
factory_girl (4.1.0)
|
27
|
+
activesupport (>= 3.0.0)
|
28
|
+
faraday (0.9.2)
|
29
|
+
multipart-post (>= 1.2, < 3)
|
30
|
+
i18n (0.7.0)
|
31
|
+
json (1.8.3)
|
32
|
+
metaclass (0.0.4)
|
33
|
+
method_source (0.8.2)
|
34
|
+
mini_portile2 (2.0.0)
|
35
|
+
minispec-metadata (2.0.0)
|
36
|
+
minitest
|
37
|
+
minitest (5.8.4)
|
38
|
+
minitest-reporters (1.1.8)
|
39
|
+
ansi
|
40
|
+
builder
|
41
|
+
minitest (>= 5.0)
|
42
|
+
ruby-progressbar
|
43
|
+
minitest-vcr (1.4.0)
|
44
|
+
minispec-metadata (~> 2.0)
|
45
|
+
minitest (>= 4.7.5)
|
46
|
+
vcr (>= 2.9)
|
47
|
+
mocha (1.1.0)
|
48
|
+
metaclass (~> 0.0.1)
|
49
|
+
multi_json (1.11.2)
|
50
|
+
multipart-post (2.0.0)
|
51
|
+
nokogiri (1.6.7.2)
|
52
|
+
mini_portile2 (~> 2.0.0.rc2)
|
53
|
+
pry (0.10.3)
|
54
|
+
coderay (~> 1.1.0)
|
55
|
+
method_source (~> 0.8.1)
|
56
|
+
slop (~> 3.4)
|
57
|
+
rake (11.1.2)
|
58
|
+
ruby-progressbar (1.7.5)
|
59
|
+
simplecov (0.11.2)
|
60
|
+
docile (~> 1.1.0)
|
61
|
+
json (~> 1.8)
|
62
|
+
simplecov-html (~> 0.10.0)
|
63
|
+
simplecov-html (0.10.0)
|
64
|
+
slop (3.6.0)
|
65
|
+
thread_safe (0.3.5)
|
66
|
+
tzinfo (1.2.2)
|
67
|
+
thread_safe (~> 0.1)
|
68
|
+
vcr (3.0.1)
|
69
|
+
|
70
|
+
PLATFORMS
|
71
|
+
ruby
|
72
|
+
|
73
|
+
DEPENDENCIES
|
74
|
+
factory_girl (~> 4.1.0)
|
75
|
+
minitest
|
76
|
+
minitest-reporters
|
77
|
+
minitest-vcr (~> 1.4)
|
78
|
+
mocha (~> 1.1)
|
79
|
+
mvg-live!
|
80
|
+
pry
|
81
|
+
rake
|
82
|
+
simplecov
|
83
|
+
|
84
|
+
BUNDLED WITH
|
85
|
+
1.11.2
|
data/README.md
CHANGED
@@ -2,9 +2,8 @@
|
|
2
2
|
|
3
3
|
A ruby client and CLI for mvg-live.de the real-time interface for Munich's public transportation service.
|
4
4
|
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/mvg-live.png)](http://badge.fury.io/rb/mvg-live)
|
5
6
|
[![Build Status](https://secure.travis-ci.org/rmoriz/mvg-live.png?branch=master)](http://travis-ci.org/rmoriz/mvg-live)
|
6
|
-
|
7
|
-
|
8
7
|
[![Flattr](https://api.flattr.com/button/flattr-badge-large.png)](https://flattr.com/submit/auto?user_id=flattr&url=https://github.com/rmoriz/mvg-live&title=mvg-live%20rubygem&description=mvg-live%20rubygem&language=de_DE&tags=fahrplan,mvg,swm,ruby,code,u-bahn,s-bahn,tram,muenchen&category=software)
|
9
8
|
|
10
9
|
|
@@ -147,12 +146,23 @@ see "specs/"-directory
|
|
147
146
|
## Disclaimer
|
148
147
|
|
149
148
|
This project is not related, acknowledged, sponsored... by MVG or SWM.
|
150
|
-
Use
|
149
|
+
Use at your own risk.
|
151
150
|
|
152
151
|
## License
|
153
152
|
|
154
|
-
see LICENSE file (
|
153
|
+
see LICENSE file (MIT)
|
154
|
+
|
155
|
+
## Copyright
|
156
|
+
|
157
|
+
Copyright
|
158
|
+
---------
|
159
|
+
|
160
|
+
Copyright © 2013 [Roland Moriz](https://roland.io), [Moriz GmbH](https://moriz.de/)
|
161
|
+
|
162
|
+
[![LinkedIn](http://www.linkedin.com/img/webpromo/btn_viewmy_160x25.png)](http://www.linkedin.com/in/rmoriz)
|
163
|
+
[![Twitter](http://i.imgur.com/1kYFHlu.png)](https://twitter.com/rmoriz)
|
164
|
+
|
165
|
+
|
155
166
|
|
156
|
-
|
167
|
+
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rmoriz/mvg-live/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
157
168
|
|
158
|
-
Roland Moriz
|
data/Rakefile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require
|
1
|
+
require 'bundler/gem_tasks'
|
2
2
|
require 'rake/testtask'
|
3
3
|
|
4
4
|
Rake::TestTask.new do |t|
|
5
|
-
t.libs.push
|
5
|
+
t.libs.push 'lib', 'spec'
|
6
6
|
t.test_files = FileList['spec/*_spec.rb']
|
7
|
-
t.
|
8
|
-
end
|
7
|
+
t.warning = false
|
8
|
+
end
|
data/bin/mvg
CHANGED
data/bin/mvg_json
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?bus=checked&haltestelle=Westfriedhof&tram=checked&ubahn=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["Faraday v0.9.2"],"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Tue, 12 Apr 2016 11:08:23 GMT"],"content-language":["en-US"],"cteonnt-length":["6021"],"keep-alive":["timeout=15, max=46"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf18103245525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["1004"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIg\nY29udGVudD0id2lkdGg9MzQwcHgiPg0KCTx0aXRsZT5NVkctTGl2ZTogV2Vz\ndGZyaWVkaG9mPC90aXRsZT4NCgk8bGluayB0eXBlPSJ0ZXh0L2NzcyIgcmVs\nPSdzdHlsZXNoZWV0JyBocmVmPSdjc3Mvc2l6ZTMwL212Zy9tdmdsaXZlLW1v\nYmlsZS5jc3MnIG1lZGlhPSdhbGwnPg0KPC9oZWFkPg0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ZCBjb2xzcGFuPSI0IiBjbGFzcz0icmVsb2FkTGluayI+CQkNCgkJ\nCQk8YSBocmVmPSIvaW1zL2RmaVN0YXRpY0FuemVpZ2Uuc3ZjP2hhbHRlc3Rl\nbGxlPVdlc3RmcmllZGhvZiZ1YmFobj1jaGVja2VkJmJ1cz1jaGVja2VkJnRy\nYW09Y2hlY2tlZCZzYmFobj0iPg0KCQkJCQlGYWhydGVuIGFrdHVhbGlzaWVy\nZW4gDQoJCQkJPC9hPg0KCQkJPC90ZD4NCgkJPC90cj4NCgkJDQoJCTwvdGFi\nbGU+DQoJCTx0YWJsZSBjbGFzcz0iZGVwYXJ0dXJlVGFibGUgZm9vdGVyVGFi\nbGUiPg0KCQk8dHI+DQoJCQk8dGQgY2xhc3M9ImZvb3RlciI+DQoJICAgIAk8\nYSBocmVmPSJodHRwOi8vd3d3Lm12Zy1tb2JpbC5kZS9pbXByZXNzdW0uaHRt\nIiB0YXJnZXQ9Il9ibGFuayI+SW1wcmVzc3VtPC9hPiANCgkJCTwvdGQ+DQoJ\nCTwvdHI+DQoJPC90YWJsZT4JDQo8L2JvZHk+DQo8L2h0bWw+\n"},"http_version":null},"recorded_at":"Tue, 12 Apr 2016 11:08:23 GMT"}],"recorded_with":"VCR 3.0.1"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?bus=checked&haltestelle=Westfriedhof&tram=checked&ubahn=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["Faraday v0.9.2"],"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Tue, 12 Apr 2016 11:08:23 GMT"],"content-language":["en-US"],"cteonnt-length":["6021"],"keep-alive":["timeout=15, max=37"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf18103245525d5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RwOi8vd3d3Lm12Zy1tb2JpbC5kZS9pbXByZXNzdW0uaHRt\nIiB0YXJnZXQ9Il9ibGFuayI+SW1wcmVzc3VtPC9hPiANCgkJCTwvdGQ+DQoJ\nCTwvdHI+DQoJPC90YWJsZT4JDQo8L2JvZHk+DQo8L2h0bWw+\n"},"http_version":null},"recorded_at":"Tue, 12 Apr 2016 11:08:23 GMT"}],"recorded_with":"VCR 3.0.1"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?bus=checked&haltestelle=Moosfeld&sbahn=checked&tram=checked&ubahn=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["Faraday v0.9.2"],"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Tue, 12 Apr 2016 11:08:24 GMT"],"content-language":["en-US"],"cteonnt-length":["2288"],"keep-alive":["timeout=15, max=38"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf18103245525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["1045"]},"body":{"encoding":"ASCII-8BIT","base64_string":"ICAgIA0KICAgICAgIAo8IURPQ1RZUEUgaHRtbCBQVUJMSUMgIi0vL1czQy8v\nRFREIEhUTUwgNC4wMSBUcmFuc2l0aW9uYWwvL0VOIiAiaHR0cDovL3d3dy53\nMy5vcmcvVFIvaHRtbDQvbG9vc2UuZHRkIj4KPGh0bWw+Cgk8aGVhZD4KCQk8\nbWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQv\naHRtbDsgY2hhcnNldD1JU08tODg1OS0xIj4JDQoJCTxtZXRhIG5hbWU9InZp\nZXdwb3J0IiBjb250ZW50PSJ3aWR0aD0zNDBweCI+CQoJCTx0aXRsZT5NVkcg\n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JCTwvdHI+DQoJCTx0cj4NCgkJCTx0ZCBjb2xzcGFuPSIyIj4NCgkJ\nCQkNCgkJCQ0KCQkJCTxmb3JtIG1ldGhvZD0iZ2V0IiBhY3Rpb249Ii9pbXMv\nZGZpU3RhdGljQXVzd2FobC5zdmMiPg0KCQkJCQlIYWx0ZXN0ZWxsZTogPGlu\ncHV0IHR5cGU9InRleHQiIG5hbWU9ImhhbHRlc3RlbGxlIiB2YWx1ZT0iTW9v\nc2ZlbGQiIC8+DQoJCQkJCQkJDQoJCQkJCTxpbnB1dCB0eXBlPSJzdWJtaXQi\nIHZhbHVlPSJTZW5kZW4iIGNsYXNzPSJzdWJtaXRCdXR0b24iIC8+DQoJCQkJ\nDQoJCQkJPC9mb3JtPgkJCQkJDQoJCQkJPGJyLz4NCgkJCQkNCgkJCQk8YnIg\nLz4JCQkJCQkJDQoJCQk8L3RkPg0KCQk8L3RyPg0KCQk8dHI+DQoJCQk8dGQg\nY29sc3Bhbj0iMiIgY2xhc3M9ImZvb3RlciI+DQoJICAgIAk8YSBocmVmPSJo\ndHRwOi8vd3d3Lm12Zy1tb2JpbC5kZS9pbXByZXNzdW0uaHRtIiB0YXJnZXQ9\nIl9ibGFuayI+SW1wcmVzc3VtPC9hPiAJCQkJICAgIAkNCgkJCTwvdGQ+DQoJ\nCTwvdHI+DQoJDQoJPC90YWJsZT4JCQo8L2JvZHk+CjwvaHRtbD4=\n"},"http_version":null},"recorded_at":"Tue, 12 Apr 2016 11:08:24 GMT"}],"recorded_with":"VCR 3.0.1"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&sbahn=checked&tram=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["Faraday v0.9.2"],"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Tue, 12 Apr 2016 11:08:23 GMT"],"content-language":["en-US"],"cteonnt-length":["6060"],"keep-alive":["timeout=15, max=42"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf18103245525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["1186"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIg\nY29udGVudD0id2lkdGg9MzQwcHgiPg0KCTx0aXRsZT5NVkctTGl2ZTogSGFj\na2VyYnL8Y2tlPC90aXRsZT4NCgk8bGluayB0eXBlPSJ0ZXh0L2NzcyIgcmVs\nPSdzdHlsZXNoZWV0JyBocmVmPSdjc3Mvc2l6ZTMwL212Zy9tdmdsaXZlLW1v\nYmlsZS5jc3MnIG1lZGlhPSdhbGwnPg0KPC9oZWFkPg0KPGJvZHk+DQoJPGRp\ndiBjbGFzcz0iZGVwYXJ0dXJlVGFibGUgaGVhZGVyIGxvZ28iPg0KCQk8ZGl2\nIGNsYXNzPSJsb2dvTGVmdCI+DQoJCQk8aW1nIGNsYXNzPSJsb2dvSW1nTGVm\ndCIgc3JjPSJpbWFnZXMvc2l6ZTMwL2dyYWZpay9tdmcvbW9iaWxlLWxvZ28t\nbGVmdC5qcGciIGFsdD0iTVZHIGxpdmUiPg0KCQk8L2Rpdj4NCgkJPGRpdiBj\nbGFzcz0ibG9nb1JpZ2h0Ij4NCgkJ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PC9hPg0KCQkJPC90ZD4NCgkJPC90cj4NCgkJDQoJCTwvdGFibGU+DQoJ\nCTx0YWJsZSBjbGFzcz0iZGVwYXJ0dXJlVGFibGUgZm9vdGVyVGFibGUiPg0K\nCQk8dHI+DQoJCQk8dGQgY2xhc3M9ImZvb3RlciI+DQoJICAgIAk8YSBocmVm\nPSJodHRwOi8vd3d3Lm12Zy1tb2JpbC5kZS9pbXByZXNzdW0uaHRtIiB0YXJn\nZXQ9Il9ibGFuayI+SW1wcmVzc3VtPC9hPiANCgkJCTwvdGQ+DQoJCTwvdHI+\nDQoJPC90YWJsZT4JDQo8L2JvZHk+DQo8L2h0bWw+\n"},"http_version":null},"recorded_at":"Tue, 12 Apr 2016 11:08:23 GMT"}],"recorded_with":"VCR 3.0.1"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&sbahn=checked&tram=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["Faraday v0.9.2"],"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Tue, 12 Apr 2016 11:08:24 GMT"],"content-language":["en-US"],"cteonnt-length":["6060"],"keep-alive":["timeout=15, max=39"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf18103245525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["1186"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRw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_with":"VCR 3.0.1"}
|
data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_have_the_correct_order_.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&sbahn=checked&tram=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["Faraday v0.9.2"],"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Tue, 12 Apr 2016 11:08:24 GMT"],"content-language":["en-US"],"cteonnt-length":["6060"],"keep-alive":["timeout=15, max=40"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf18103245525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["1186"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIg\nY29udGVudD0id2lkdGg9MzQwcHgiPg0KCTx0aXRsZT5NVkctTGl2ZTogSGFj\na2VyYnL8Y2tlPC90aXRsZT4NCgk8bGluayB0eXBlPSJ0ZXh0L2NzcyIgcmVs\nPSdzdHlsZXNoZWV0JyBocmVmPSdjc3Mvc2l6ZTMwL212Zy9tdmdsaXZlLW1v\nYmlsZS5jc3MnIG1lZGlhPSdhbGwnPg0KPC9o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L3RkPg0KCQkJCQ0KCQkJPC90cj4NCgkJDQoJCQ0KCQk8dHI+CQkJ\nDQoJCQk8dGQgY29sc3Bhbj0iNCIgY2xhc3M9InJlbG9hZExpbmsiPgkJDQoJ\nCQkJPGEgaHJlZj0iL2ltcy9kZmlTdGF0aWNBbnplaWdlLnN2Yz9oYWx0ZXN0\nZWxsZT1IYWNrZXJicvxja2UmdWJhaG49JmJ1cz0mdHJhbT1jaGVja2VkJnNi\nYWhuPWNoZWNrZWQiPg0KCQkJCQlGYWhydGVuIGFrdHVhbGlzaWVyZW4gDQoJ\nCQkJPC9hPg0KCQkJPC90ZD4NCgkJPC90cj4NCgkJDQoJCTwvdGFibGU+DQoJ\nCTx0YWJsZSBjbGFzcz0iZGVwYXJ0dXJlVGFibGUgZm9vdGVyVGFibGUiPg0K\nCQk8dHI+DQoJCQk8dGQgY2xhc3M9ImZvb3RlciI+DQoJICAgIAk8YSBocmVm\nPSJodHRwOi8vd3d3Lm12Zy1tb2JpbC5kZS9pbXByZXNzdW0uaHRtIiB0YXJn\nZXQ9Il9ibGFuayI+SW1wcmVzc3VtPC9hPiANCgkJCTwvdGQ+DQoJCTwvdHI+\nDQoJPC90YWJsZT4JDQo8L2JvZHk+DQo8L2h0bWw+\n"},"http_version":null},"recorded_at":"Tue, 12 Apr 2016 11:08:24 GMT"}],"recorded_with":"VCR 3.0.1"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&sbahn=checked&tram=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["Faraday v0.9.2"],"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Tue, 12 Apr 2016 11:08:24 GMT"],"content-language":["en-US"],"cteonnt-length":["6060"],"keep-alive":["timeout=15, max=34"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf18103245525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["1186"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIg\nY29udGVudD0id2lkdGg9MzQwcHgiPg0KCTx0aXRsZT5NVkctTGl2ZTogSGFj\na2VyYnL8Y2tlPC90aXRsZT4NCgk8bGluayB0eXBlPSJ0ZXh0L2NzcyIgcmVs\nPSdzdHlsZXNoZWV0JyBocmVmPSdjc3Mvc2l6ZTMwL212Zy9tdmdsaXZlLW1v\nYmlsZS5jc3MnIG1lZGlhPSdhbGwnPg0KPC9oZWFkPg0KPGJvZHk+DQoJPGRp\ndiBjbGFzcz0iZGVwYXJ0dXJlVGFibGUgaGVhZGVyIGxvZ28iPg0KCQk8ZGl2\nIGNsYXNzPSJsb2dvTGVmdCI+DQoJCQk8aW1nIGNsYXNzPSJsb2dvSW1nTGVm\ndCIgc3JjPSJpbWFnZXMvc2l6ZTMwL2dyYWZpay9tdmcvbW9iaWxlLWxvZ28t\nbGVmdC5qcGciIGFsdD0iTVZHIGxpdmUiPg0KCQk8L2Rpdj4NCgkJPGRpdiBj\nbGFzcz0ibG9nb1JpZ2h0Ij4NCgkJCTxpbWcgY2xhc3M9ImxvZ29JbWdSaWdo\ndCIgc3JjPSJpbWFnZXMvc2l6ZTMwL2dyYWZpay9tdmcvbW9ia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J0dXJlVGFibGUgZm9vdGVyVGFibGUiPg0K\nCQk8dHI+DQoJCQk8dGQgY2xhc3M9ImZvb3RlciI+DQoJICAgIAk8YSBocmVm\nPSJodHRwOi8vd3d3Lm12Zy1tb2JpbC5kZS9pbXByZXNzdW0uaHRtIiB0YXJn\nZXQ9Il9ibGFuayI+SW1wcmVzc3VtPC9hPiANCgkJCTwvdGQ+DQoJCTwvdHI+\nDQoJPC90YWJsZT4JDQo8L2JvZHk+DQo8L2h0bWw+\n"},"http_version":null},"recorded_at":"Tue, 12 Apr 2016 11:08:23 GMT"}],"recorded_with":"VCR 3.0.1"}
|
data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/sorted/should_have_the_correct_order.json
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&sbahn=checked&tram=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"User-Agent":["Faraday v0.9.2"],"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Tue, 12 Apr 2016 11:08:23 GMT"],"content-language":["en-US"],"cteonnt-length":["6060"],"keep-alive":["timeout=15, max=35"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf18103245525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["1186"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGU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g/live.rb
CHANGED
@@ -14,10 +14,10 @@ module MVG
|
|
14
14
|
include MVG::Live::Parser
|
15
15
|
include MVG::Live::CLI
|
16
16
|
|
17
|
-
ALL_TRANSPORTS = [
|
17
|
+
ALL_TRANSPORTS = [:u, :bus, :tram, :s].freeze
|
18
18
|
|
19
|
-
validates :station, :
|
20
|
-
validates :transports, :
|
19
|
+
validates :station, presence: true
|
20
|
+
validates :transports, presence: true
|
21
21
|
validate :available_transports
|
22
22
|
|
23
23
|
attr_accessor :station
|
@@ -36,11 +36,9 @@ module MVG
|
|
36
36
|
@station = args.shift
|
37
37
|
opts = args.shift || {}
|
38
38
|
|
39
|
-
if opts[:load_user_defaults]
|
40
|
-
load_user_defaults
|
41
|
-
end
|
39
|
+
load_user_defaults if opts[:load_user_defaults]
|
42
40
|
|
43
|
-
@transports = opts[:transports] ||
|
41
|
+
@transports = opts[:transports] || ALL_TRANSPORTS
|
44
42
|
@schema = opts[:schema] || 'http'
|
45
43
|
@host = opts[:host] || 'www.mvg-live.de'
|
46
44
|
@path = opts[:path] || '/ims/dfiStaticAuswahl.svc'
|
@@ -49,7 +47,7 @@ module MVG
|
|
49
47
|
|
50
48
|
@faraday_adapter = opts[:faraday_adapter] || Faraday::Adapter::NetHttp
|
51
49
|
@faraday_logger = opts[:faraday_logger]
|
52
|
-
@server_time =
|
50
|
+
@server_time = '??:??'
|
53
51
|
self
|
54
52
|
end
|
55
53
|
|
@@ -58,16 +56,15 @@ module MVG
|
|
58
56
|
retrieve
|
59
57
|
parse
|
60
58
|
else
|
61
|
-
raise ArgumentError,
|
59
|
+
raise ArgumentError, errors.full_messages.join("\n")
|
62
60
|
end
|
63
61
|
end
|
64
62
|
|
65
63
|
def available_transports
|
66
64
|
unsupported_transports = @transports.to_a - ALL_TRANSPORTS
|
67
65
|
if unsupported_transports.presence
|
68
|
-
errors.add :transports, "transport(s) #{unsupported_transports
|
66
|
+
errors.add :transports, "transport(s) #{unsupported_transports} is/are not available"
|
69
67
|
end
|
70
68
|
end
|
71
|
-
|
72
69
|
end
|
73
70
|
end
|
data/lib/mvg/live/cli.rb
CHANGED
@@ -23,7 +23,6 @@ module MVG
|
|
23
23
|
base.extend(ClassMethods)
|
24
24
|
end
|
25
25
|
|
26
|
-
|
27
26
|
def fetch_to_display
|
28
27
|
fetch
|
29
28
|
to_display
|
@@ -35,25 +34,25 @@ module MVG
|
|
35
34
|
end
|
36
35
|
|
37
36
|
def to_display
|
38
|
-
txt =
|
37
|
+
txt = ''
|
39
38
|
|
40
|
-
if @using_config_file
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
39
|
+
txt += if @using_config_file
|
40
|
+
'=[ ' + sprintf('%42s', @using_config_file) + " ]=\n"
|
41
|
+
else
|
42
|
+
'=' * 48 + "\n"
|
43
|
+
end
|
45
44
|
|
46
45
|
if @station_unknown
|
47
46
|
txt += ' /!\ Station unknown! Did you mean...? /!\ ' + "\n"
|
48
|
-
txt +=
|
47
|
+
txt += '=' * 48 + "\n"
|
49
48
|
|
50
49
|
@station_alternates.each do |a|
|
51
50
|
txt += " - #{a}\n"
|
52
51
|
end
|
53
52
|
|
54
53
|
else
|
55
|
-
txt += "#{@station}: #{@transports.map(&:to_s).map(&:capitalize).join(
|
56
|
-
txt +=
|
54
|
+
txt += "#{@station}: #{@transports.map(&:to_s).map(&:capitalize).join(', ')}\n"
|
55
|
+
txt += '=' * 38 + "[ #{@server_time} ]=\n"
|
57
56
|
|
58
57
|
@result_sorted.each do |e|
|
59
58
|
txt += sprintf "%-4s| %-30s|%3d Minuten\n", e[:line], e[:destination], e[:minutes]
|
@@ -88,17 +87,16 @@ module MVG
|
|
88
87
|
]
|
89
88
|
|
90
89
|
file_locations.each do |file|
|
91
|
-
|
92
|
-
|
90
|
+
next unless file && File.exist?(file)
|
91
|
+
data = JSON.parse File.read(file)
|
93
92
|
|
94
|
-
|
95
|
-
|
96
|
-
end
|
97
|
-
|
98
|
-
@transports = data['default_transports'].map(&:downcase).map(&:to_sym) if data['default_transports']
|
99
|
-
@using_config_file = file
|
100
|
-
break
|
93
|
+
if @station.empty? && data['default_station']
|
94
|
+
@station = data['default_station']
|
101
95
|
end
|
96
|
+
|
97
|
+
@transports = data['default_transports'].map(&:downcase).map(&:to_sym) if data['default_transports']
|
98
|
+
@using_config_file = file
|
99
|
+
break
|
102
100
|
end
|
103
101
|
end
|
104
102
|
|
@@ -112,7 +110,6 @@ module MVG
|
|
112
110
|
station
|
113
111
|
end
|
114
112
|
end
|
115
|
-
|
116
113
|
end
|
117
114
|
end
|
118
115
|
end
|
data/lib/mvg/live/encoding.rb
CHANGED
data/lib/mvg/live/http.rb
CHANGED
@@ -3,9 +3,8 @@ require 'faraday'
|
|
3
3
|
module MVG
|
4
4
|
class Live
|
5
5
|
module HTTP
|
6
|
-
|
7
6
|
def connection
|
8
|
-
@conn ||= Faraday.new(:
|
7
|
+
@conn ||= Faraday.new(url: "#{@schema}://#{@host}") do |builder|
|
9
8
|
builder.use @faraday_adapter
|
10
9
|
builder.response :logger if @faraday_logger
|
11
10
|
end
|
@@ -18,7 +17,7 @@ module MVG
|
|
18
17
|
|
19
18
|
res = connection.get do |req|
|
20
19
|
req.url @path, build_request_params
|
21
|
-
req.headers['Content-Type'] =
|
20
|
+
req.headers['Content-Type'] = 'text/html; charset=UTF-8'
|
22
21
|
end
|
23
22
|
@response_obj = res
|
24
23
|
end
|
@@ -28,7 +27,7 @@ module MVG
|
|
28
27
|
params[:haltestelle] = station_to_mvg(@station)
|
29
28
|
|
30
29
|
transports.each do |available_transport|
|
31
|
-
params[transport_to_mvg(available_transport)] =
|
30
|
+
params[transport_to_mvg(available_transport)] = 'checked' if @transports.include? available_transport
|
32
31
|
end
|
33
32
|
params
|
34
33
|
end
|
@@ -46,9 +45,9 @@ module MVG
|
|
46
45
|
def transport_to_mvg(transport)
|
47
46
|
case transport
|
48
47
|
when :u
|
49
|
-
|
48
|
+
'ubahn'
|
50
49
|
when :s
|
51
|
-
|
50
|
+
'sbahn'
|
52
51
|
else
|
53
52
|
transport
|
54
53
|
end
|
data/lib/mvg/live/parser.rb
CHANGED
@@ -3,14 +3,13 @@ require 'nokogiri'
|
|
3
3
|
module MVG
|
4
4
|
class Live
|
5
5
|
module Parser
|
6
|
-
|
7
|
-
def parse(args = {})
|
6
|
+
def parse(_args = {})
|
8
7
|
return unless @response_obj
|
9
8
|
|
10
9
|
@doc = Nokogiri::HTML(@response_obj.body)
|
11
10
|
|
12
11
|
# <table class="departureTable departureView">
|
13
|
-
|
12
|
+
# ...
|
14
13
|
# <tr class="rowOdd">
|
15
14
|
# <td class="lineColumn">N16</td>
|
16
15
|
# <td class="stationColumn">
|
data/lib/mvg/live/version.rb
CHANGED
data/mvg-live.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
2
|
+
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
|
3
3
|
require 'mvg/live/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
@@ -8,37 +8,31 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.authors = ['Roland Moriz']
|
9
9
|
s.email = ['roland@moriz.de']
|
10
10
|
s.homepage = ''
|
11
|
-
s.summary =
|
12
|
-
s.description =
|
11
|
+
s.summary = 'A CLI and ruby client for mvg-live.de'
|
12
|
+
s.description = "A CLI and ruby client for mvg-live.de, the real-time interface to Munich's public transport"
|
13
13
|
|
14
14
|
s.rubyforge_project = 'mvg-live'
|
15
15
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
17
17
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
19
19
|
s.require_paths = ['lib']
|
20
20
|
|
21
21
|
s.required_ruby_version = '>= 1.9.2'
|
22
22
|
|
23
|
-
if RUBY_PLATFORM == 'java'
|
24
|
-
s.add_runtime_dependency 'jruby-openssl'
|
25
|
-
end
|
23
|
+
s.add_runtime_dependency 'jruby-openssl' if RUBY_PLATFORM == 'java'
|
26
24
|
|
27
25
|
s.add_development_dependency 'rake'
|
28
26
|
s.add_development_dependency 'minitest'
|
29
27
|
s.add_development_dependency 'minitest-reporters'
|
30
|
-
s.add_development_dependency 'factory_girl', '~>
|
31
|
-
s.add_development_dependency 'vcr', '~>
|
32
|
-
s.add_development_dependency 'growl'
|
33
|
-
s.add_development_dependency 'guard'
|
34
|
-
s.add_development_dependency 'guard-minitest'
|
28
|
+
s.add_development_dependency 'factory_girl', '~> 4.1.0'
|
29
|
+
s.add_development_dependency 'minitest-vcr', '~> 1.4'
|
35
30
|
s.add_development_dependency 'pry'
|
36
|
-
s.add_development_dependency 'mocha', '~>
|
31
|
+
s.add_development_dependency 'mocha', '~> 1.1'
|
37
32
|
s.add_development_dependency 'simplecov'
|
38
33
|
|
39
|
-
s.add_runtime_dependency 'activemodel', '~>
|
40
|
-
s.add_runtime_dependency 'faraday', '~> 0.
|
41
|
-
s.add_runtime_dependency 'nokogiri', '~> 1.
|
42
|
-
s.add_runtime_dependency '
|
43
|
-
|
34
|
+
s.add_runtime_dependency 'activemodel', '~> 4.2'
|
35
|
+
s.add_runtime_dependency 'faraday', '~> 0.9'
|
36
|
+
s.add_runtime_dependency 'nokogiri', '~> 1.6'
|
37
|
+
s.add_runtime_dependency 'multi_json'
|
44
38
|
end
|