mvg-live 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/Gemfile.lock +2 -1
- data/README.md +11 -10
- data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_display_the_correct_order.json +1 -0
- data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_have_the_correct_order.json +1 -0
- data/lib/mvg/live/parser.rb +1 -1
- data/lib/mvg/live/version.rb +2 -1
- data/mvg-live.gemspec +1 -0
- data/spec/mvg_live_spec.rb +22 -22
- data/spec/spec_helper.rb +1 -0
- metadata +18 -5
- data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_have_the_correct_order_.json +0 -1
- data/fixtures/vcr_cassettes/test_0002_should_have_the_correct_order.json +0 -1
- data/fixtures/vcr_cassettes/test_0002_should_have_the_correct_order_.json +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ffbbb7993adf3494d581378f523d97c5bd58c0e
|
4
|
+
data.tar.gz: 3f40426400ac2a397f0b627072d2943f4845b521
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e716eee8e4b4d0833cd3f21aab113b95d567818239e58312e9307db2ee560bee6d8f0151fab047b930f79c534c5b17682b924e4574ed91766fc999fa52d7945
|
7
|
+
data.tar.gz: 033fc7bd465e06ea6943c9eab370952a1a9ff38d56a0e351075fe30793f38c950472dcef9925444770e76ede6ad6a919d1f047f870245176c938154478d5d3b7
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -2,8 +2,15 @@
|
|
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
|
-
|
6
|
-
[![Build
|
5
|
+
|
6
|
+
[![Build](https://img.shields.io/travis-ci/rmoriz/mvg-live.svg?style=flat-square)](https://travis-ci.org/rmoriz/mvg-live)
|
7
|
+
[![Dependencies](https://img.shields.io/gemnasium/rmoriz/mvg-live.svg?style=flat-square)](https://gemnasium.com/rmoriz/mvg-live)
|
8
|
+
[![Downloads](https://img.shields.io/gem/dtv/mvg-live.svg?style=flat-square)](https://rubygems.org/gems/mvg-live)
|
9
|
+
[![Tags](https://img.shields.io/github/tag/rmoriz/mvg-live.svg?style=flat-square)](https://github.com/rmoriz/mvg-live/tags)
|
10
|
+
[![Issues](https://img.shields.io/github/issues/rmoriz/mvg-live.svg?style=flat-square)](https://github.com/rmoriz/mvg-live/issues)
|
11
|
+
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://opensource.org/licenses/MIT)
|
12
|
+
[![Version](https://img.shields.io/gem/v/mvg-live.svg?style=flat-square)](https://rubygems.org/gems/mvg-live)
|
13
|
+
|
7
14
|
[![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)
|
8
15
|
|
9
16
|
|
@@ -11,10 +18,7 @@ A ruby client and CLI for mvg-live.de the real-time interface for Munich's publi
|
|
11
18
|
|
12
19
|
gem install mvg-live
|
13
20
|
|
14
|
-
|
15
|
-
old version as legacy support was dropped with the 1.0.0 release:
|
16
|
-
|
17
|
-
gem install mvg-live --version 0.0.1
|
21
|
+
Please use Ruby 2.2.x or greater.
|
18
22
|
|
19
23
|
|
20
24
|
## Ruby
|
@@ -157,12 +161,9 @@ see LICENSE file (MIT)
|
|
157
161
|
Copyright
|
158
162
|
---------
|
159
163
|
|
160
|
-
Copyright ©
|
164
|
+
Copyright © 2016 [Roland Moriz](https://roland.io), [Moriz GmbH](https://moriz.de/)
|
161
165
|
|
162
166
|
[![LinkedIn](http://www.linkedin.com/img/webpromo/btn_viewmy_160x25.png)](http://www.linkedin.com/in/rmoriz)
|
163
167
|
[![Twitter](http://i.imgur.com/1kYFHlu.png)](https://twitter.com/rmoriz)
|
164
168
|
|
165
169
|
|
166
|
-
|
167
|
-
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rmoriz/mvg-live/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
168
|
-
|
@@ -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:42:24 GMT"],"content-language":["en-US"],"cteonnt-length":["6064"],"keep-alive":["timeout=15, max=45"],"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":["1176"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIg\nY29udGVudD0id2lkdGg9MzQwcHgiPg0KCTx0aXRsZ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CgkJCQk8dGQgY2xhc3M9InN0YXRpb25Db2x1bW4iPg0KCQkJCQlHcmFm\naW5nIEJhaG5ob2YNCgkJCQkJPHNwYW4gY2xhc3M9InNwYWNlciI+Jm5ic3A7\nPC9zcGFuPg0KCQkJCTwvdGQ+CQkJCQ0KCQkJCTx0ZCBjbGFzcz0iaW5NaW5D\nb2x1bW4iPjE1PC90ZD4NCgkJCQkNCgkJCTwvdHI+DQoJCQ0KCQkNCgkJPHRy\nPgkJCQ0KCQkJPHRkIGNvbHNwYW49IjQiIGNsYXNzPSJyZWxvYWRMaW5rIj4J\nCQ0KCQkJCTxhIGhyZWY9Ii9pbXMvZGZpU3RhdGljQW56ZWlnZS5zdmM/aGFs\ndGVzdGVsbGU9SGFja2VyYnL8Y2tlJnViYWhuPSZidXM9JnRyYW09Y2hlY2tl\nZCZzYmFobj1jaGVja2VkIj4NCgkJCQkJRmFocnRlbiBha3R1YWxpc2llcmVu\nIA0KCQkJCTwvYT4NCgkJCTwvdGQ+DQoJCTwvdHI+DQoJCQ0KCQk8L3RhYmxl\nPg0KCQk8dGFibGUgY2xhc3M9ImRlcGFydHVyZVRhYmxlIGZvb3RlclRhYmxl\nIj4NCgkJPHRyPg0KCQkJPHRkIGNsYXNzPSJmb290ZXIiPg0KCSAgICAJPGEg\naHJlZj0iaHR0cDovL3d3dy5tdmctbW9iaWwuZGUvaW1wcmVzc3VtLmh0bSIg\ndGFyZ2V0PSJfYmxhbmsiPkltcHJlc3N1bTwvYT4gDQoJCQk8L3RkPg0KCQk8\nL3RyPg0KCTwvdGFibGU+CQ0KPC9ib2R5Pg0KPC9odG1sPg==\n"},"http_version":null},"recorded_at":"Tue, 12 Apr 2016 11:42:24 GMT"}],"recorded_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:41:06 GMT"],"content-language":["en-US"],"cteonnt-length":["6064"],"keep-alive":["timeout=15, max=4"],"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":["1165"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIg\nY29udGVudD0id2lkdGg9MzQwcHgiPg0KCTx0aXRsZT5NVkctTGl2ZTogSGFj\na2VyYnL8Y2tlPC90aXRsZT4NCgk8bGluayB0eXBlPSJ0ZXh0L2NzcyIgcmVs\nPSdzdHlsZXNoZWV0JyBocmVmPSdjc3Mvc2l6ZTMwL212Zy9tdmdsaXZlLW1v\nYmlsZS5jc3MnIG1lZGlhPSdhbGwnPg0KPC9oZWFkPg0KPGJvZHk+DQoJPGRp\ndiBjbGFzcz0iZGVwYXJ0dXJlVGFibGUgaGVhZGVyIGxvZ28iPg0KCQk8ZGl2\nIGNsYXNzPSJsb2dvTGVmdCI+DQoJCQk8aW1nIGNsYXNzPSJsb2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9Ii9pbXMvZGZpU3RhdGljQW56ZWlnZS5zdmM/aGFs\ndGVzdGVsbGU9SGFja2VyYnL8Y2tlJnViYWhuPSZidXM9JnRyYW09Y2hlY2tl\nZCZzYmFobj1jaGVja2VkIj4NCgkJCQkJRmFocnRlbiBha3R1YWxpc2llcmVu\nIA0KCQkJCTwvYT4NCgkJCTwvdGQ+DQoJCTwvdHI+DQoJCQ0KCQk8L3RhYmxl\nPg0KCQk8dGFibGUgY2xhc3M9ImRlcGFydHVyZVRhYmxlIGZvb3RlclRhYmxl\nIj4NCgkJPHRyPg0KCQkJPHRkIGNsYXNzPSJmb290ZXIiPg0KCSAgICAJPGEg\naHJlZj0iaHR0cDovL3d3dy5tdmctbW9iaWwuZGUvaW1wcmVzc3VtLmh0bSIg\ndGFyZ2V0PSJfYmxhbmsiPkltcHJlc3N1bTwvYT4gDQoJCQk8L3RkPg0KCQk8\nL3RyPg0KCTwvdGFibGU+CQ0KPC9ib2R5Pg0KPC9odG1sPg==\n"},"http_version":null},"recorded_at":"Tue, 12 Apr 2016 11:41:06 GMT"}],"recorded_with":"VCR 3.0.1"}
|
data/lib/mvg/live/parser.rb
CHANGED
@@ -46,7 +46,7 @@ module MVG
|
|
46
46
|
|
47
47
|
unless results.empty?
|
48
48
|
@result_display = results
|
49
|
-
@result_sorted = results.sort_by { |i
|
49
|
+
@result_sorted = results.sort_by.with_index { |i,| [i[:minutes], i[:line], i[:destination]] }
|
50
50
|
@result_sorted
|
51
51
|
else
|
52
52
|
@station_unknown = true
|
data/lib/mvg/live/version.rb
CHANGED
data/mvg-live.gemspec
CHANGED
@@ -31,6 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.add_development_dependency 'mocha', '~> 1.1'
|
32
32
|
s.add_development_dependency 'simplecov'
|
33
33
|
|
34
|
+
s.add_runtime_dependency 'activesupport', '~> 4.2'
|
34
35
|
s.add_runtime_dependency 'activemodel', '~> 4.2'
|
35
36
|
s.add_runtime_dependency 'faraday', '~> 0.9'
|
36
37
|
s.add_runtime_dependency 'nokogiri', '~> 1.6'
|
data/spec/mvg_live_spec.rb
CHANGED
@@ -101,30 +101,30 @@ describe MVG::Live, vcr: { record: :new_episodes } do
|
|
101
101
|
@mvglive.result_display.size.must_equal 20
|
102
102
|
end
|
103
103
|
|
104
|
-
it 'should
|
104
|
+
it 'should display the correct order' do
|
105
105
|
@mvglive.result_display.map do |e|
|
106
106
|
[e[:line], e[:destination], e[:minutes]]
|
107
107
|
end.must_equal [
|
108
|
-
['17', "Schwanseestraße",
|
109
|
-
['
|
110
|
-
['
|
111
|
-
['16', '
|
112
|
-
['
|
113
|
-
['17', "
|
114
|
-
['
|
115
|
-
['
|
116
|
-
['
|
117
|
-
['
|
118
|
-
['S8',
|
119
|
-
['S6',
|
120
|
-
['
|
121
|
-
['
|
122
|
-
['
|
123
|
-
['
|
124
|
-
['
|
125
|
-
['
|
126
|
-
['
|
127
|
-
['
|
108
|
+
['17', "Schwanseestraße", 0],
|
109
|
+
['17', "Amalienburgstraße", 0],
|
110
|
+
['16', 'St. Emmeram', 3],
|
111
|
+
['16', 'Romanplatz', 7],
|
112
|
+
['17', "Schwanseestraße", 7],
|
113
|
+
['17', "Amalienburgstraße", 11],
|
114
|
+
['16', 'St. Emmeram', 13],
|
115
|
+
['S4', 'Grafrath', 0],
|
116
|
+
['S1', "München Flughafen Terminal", 2],
|
117
|
+
['S7', "Kreuzstraße", 3],
|
118
|
+
['S8', 'Herrsching', 4],
|
119
|
+
['S6', "München Ost", 6],
|
120
|
+
['S2', 'Erding', 7],
|
121
|
+
['S2', 'Petershausen(Obb)', 8],
|
122
|
+
['S8', "München Flughafen Terminal", 10],
|
123
|
+
['S6', 'Starnberg', 10],
|
124
|
+
['S7', "Höllriegelskreuth", 12],
|
125
|
+
['S1', "München Ost", 13],
|
126
|
+
['S1', "München Ost", 13],
|
127
|
+
['S4', 'Grafing Bahnhof', 15]
|
128
128
|
]
|
129
129
|
end
|
130
130
|
end
|
@@ -138,10 +138,10 @@ describe MVG::Live, vcr: { record: :new_episodes } do
|
|
138
138
|
it 'should have the correct order' do
|
139
139
|
@mvglive.result_sorted.map { |e| [e[:line], e[:destination], e[:minutes]] }.must_equal [
|
140
140
|
['S2', 'Erding', 1],
|
141
|
-
['S2', 'Petershausen(Obb)', 2],
|
142
141
|
['16', 'St. Emmeram', 2],
|
143
142
|
['17', "Schwanseestraße", 2],
|
144
143
|
['S2', "Altomünster", 2],
|
144
|
+
['S2', 'Petershausen(Obb)', 2],
|
145
145
|
['17', "Amalienburgstraße", 4],
|
146
146
|
['S6', 'Tutzing', 4],
|
147
147
|
['S8', "München Flughafen Terminal", 4],
|
data/spec/spec_helper.rb
CHANGED
@@ -22,6 +22,7 @@ VCR.configure do |c|
|
|
22
22
|
c.cassette_library_dir = 'fixtures/vcr_cassettes'
|
23
23
|
c.hook_into :faraday
|
24
24
|
c.default_cassette_options = { record: :new_episodes, serialize_with: :json, preserve_exact_body_bytes: true }
|
25
|
+
c.debug_logger = STDERR
|
25
26
|
end
|
26
27
|
|
27
28
|
MinitestVcr::Spec.configure!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mvg-live
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roland Moriz
|
@@ -122,6 +122,20 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: activesupport
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '4.2'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '4.2'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: activemodel
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,8 +215,9 @@ files:
|
|
201
215
|
- fixtures/vcr_cassettes/MVG_Live/HTTP/should_provide_cached_access_to_the_response_object_through_response_obj.json
|
202
216
|
- fixtures/vcr_cassettes/MVG_Live/Parser/unknown_station/should_inform_about_incorrent_stations_and_possible_fits.json
|
203
217
|
- fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/both/should_have_the_same_number_of_entries.json
|
218
|
+
- fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_display_the_correct_order.json
|
204
219
|
- fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_have_the_correct_entry_size.json
|
205
|
-
- fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/
|
220
|
+
- fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_have_the_correct_order.json
|
206
221
|
- fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/sorted/should_have_the_correct_entry_size.json
|
207
222
|
- fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/sorted/should_have_the_correct_order.json
|
208
223
|
- fixtures/vcr_cassettes/test_0001_should_apply_convenience_hacks_on_station_names.json
|
@@ -212,8 +227,6 @@ files:
|
|
212
227
|
- fixtures/vcr_cassettes/test_0001_should_inform_about_incorrent_stations_and_possible_fits.json
|
213
228
|
- fixtures/vcr_cassettes/test_0001_should_parse_the_response_and_return_a_usable_data_structure.json
|
214
229
|
- fixtures/vcr_cassettes/test_0002_should_apply_the_following_convenince_hacks.json
|
215
|
-
- fixtures/vcr_cassettes/test_0002_should_have_the_correct_order.json
|
216
|
-
- fixtures/vcr_cassettes/test_0002_should_have_the_correct_order_.json
|
217
230
|
- fixtures/vcr_cassettes/test_0003_should_build_the_right_query.json
|
218
231
|
- fixtures/vcr_cassettes/test_0004_should_provide_access_to_the_response_object_through_response_obj.json
|
219
232
|
- fixtures/vcr_cassettes/test_0004_should_provide_access_to_the_response_through_response.json
|
@@ -248,7 +261,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
261
|
version: '0'
|
249
262
|
requirements: []
|
250
263
|
rubyforge_project: mvg-live
|
251
|
-
rubygems_version: 2.
|
264
|
+
rubygems_version: 2.5.1
|
252
265
|
signing_key:
|
253
266
|
specification_version: 4
|
254
267
|
summary: A CLI and ruby client for mvg-live.de
|
data/fixtures/vcr_cassettes/MVG_Live/Parser/with_S-Bahn/display/should_have_the_correct_order_.json
DELETED
@@ -1 +0,0 @@
|
|
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\nY2hhc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get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&tram=checked&sbahn=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Sun, 18 Mar 2012 02:20:08 GMT"],"content-language":["en-US"],"cteonnt-length":["2879"],"keep-alive":["timeout=15, max=75"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf1812b245525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["916"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIg\nY29udGVudD0id2lkdGg9MzQwcHgiPg0KCTx0aXRsZT5NVkctTGl2ZTogSGFj\na2VyYnL8Y2tlPC90aXRsZT4NCgk8bGluayB0eXBlPSJ0ZXh0L2NzcyIgcmVs\nPSdzdHlsZXNoZWV0JyBocmVmPSdjc3Mvc2l6ZTMwL212Zy9tdmdsaXZlLW1v\nYmlsZS5jc3MnIG1lZGlhPSdhbGwnPg0KPC9oZWFkPg0KPGJvZHk+DQoJPGRp\ndiBjbGFzcz0iZGVwYXJ0dXJlVGFibGUgaGVhZGVyIGxvZ28iPg0KCQk8ZGl2\nIGNsYXNzPSJsb2dvTGVmdCI+DQoJCQk8aW1nIGNsYXNzPSJs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NCgkJCTx0ZCBjbGFzcz0iZm9vdGVyIj4N\nCgkgICAgCTxhIGhyZWY9Imh0dHA6Ly93d3cubXZnLW1vYmlsLmRlL2ltcHJl\nc3N1bS5odG0iIHRhcmdldD0iX2JsYW5rIj5JbXByZXNzdW08L2E+IA0KCQkJ\nPC90ZD4NCgkJPC90cj4NCgk8L3RhYmxlPgkNCjwvYm9keT4NCjwvaHRtbD4=\n"},"http_version":null},"recorded_at":"Sun, 18 Mar 2012 02:20:08 GMT"},{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&tram=checked&s=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Sun, 18 Mar 2012 02:59:45 GMT"],"content-language":["en-US"],"cteonnt-length":["2752"],"keep-alive":["timeout=15, max=67"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf1812b345525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["870"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIg\nY29udGVudD0id2lkdGg9MzQwcHgiPg0KCTx0aXRsZT5NVkctTGl2ZTogSGFj\na2VyYnL8Y2tlPC90aXRsZT4NCgk8bGluayB0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\ndHI+DQoJCQ0KCQk8L3RhYmxlPg0KCQk8dGFibGUgY2xhc3M9ImRlcGFydHVy\nZVRhYmxlIGZvb3RlclRhYmxlIj4NCgkJPHRyPg0KCQkJPHRkIGNsYXNzPSJm\nb290ZXIiPg0KCSAgICAJPGEgaHJlZj0iaHR0cDovL3d3dy5tdmctbW9iaWwu\nZGUvaW1wcmVzc3VtLmh0bSIgdGFyZ2V0PSJfYmxhbmsiPkltcHJlc3N1bTwv\nYT4gDQoJCQk8L3RkPg0KCQk8L3RyPg0KCTwvdGFibGU+CQ0KPC9ib2R5Pg0K\nPC9odG1sPg==\n"},"http_version":null},"recorded_at":"Sun, 18 Mar 2012 02:59:45 GMT"}],"recorded_with":"VCR 2.0.0"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"http_interactions":[{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&tram=checked&sbahn=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Sun, 18 Mar 2012 02:16:26 GMT"],"content-language":["en-US"],"cteonnt-length":["2646"],"keep-alive":["timeout=15, max=64"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf1812b345525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["894"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRle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4NCgkJDQoJCTwvdGFi\nbGU+DQoJCTx0YWJsZSBjbGFzcz0iZGVwYXJ0dXJlVGFibGUgZm9vdGVyVGFi\nbGUiPg0KCQk8dHI+DQoJCQk8dGQgY2xhc3M9ImZvb3RlciI+DQoJICAgIAk8\nYSBocmVmPSJodHRwOi8vd3d3Lm12Zy1tb2JpbC5kZS9pbXByZXNzdW0uaHRt\nIiB0YXJnZXQ9Il9ibGFuayI+SW1wcmVzc3VtPC9hPiANCgkJCTwvdGQ+DQoJ\nCTwvdHI+DQoJPC90YWJsZT4JDQo8L2JvZHk+DQo8L2h0bWw+\n"},"http_version":null},"recorded_at":"Sun, 18 Mar 2012 02:16:27 GMT"},{"request":{"method":"get","uri":"http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=Hackerbr%FCcke&tram=checked&s=checked","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Content-Type":["text/html; charset=UTF-8"]}},"response":{"status":{"code":200,"message":null},"headers":{"date":["Sun, 18 Mar 2012 02:59:45 GMT"],"content-language":["en-US"],"cteonnt-length":["2752"],"keep-alive":["timeout=15, max=68"],"connection":["Keep-Alive"],"content-type":["text/html;charset=ISO-8859-1"],"server":["SWM Webserver"],"set-cookie":["NSC_MC_nwh-mjwf=ffffffffaf1812b345525d5f4f58455e445a4a423660;path=/;httponly"],"cache-control":["private"],"content-length":["870"]},"body":{"encoding":"ASCII-8BIT","base64_string":"DQoNCjwhRE9DVFlQRSBodG1sIFBVQkxJQyAiLS8vVzNDLy9EVEQgSFRNTCA0\nLjAxIFRyYW5zaXRpb25hbC8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9UUi9o\ndG1sNC9sb29zZS5kdGQiPg0KPGh0bWw+DQo8aGVhZD4NCgkNCgk8bWV0YSBo\ndHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsg\nY2hhcnNldD1JU08tODg1OS0xIj4NCgk8bWV0YSBuYW1lPSJ2aWV3c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