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
data/Guardfile
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
# More info at https://github.com/guard/guard#readme
|
2
|
-
guard 'minitest' do
|
3
|
-
watch(%r|^spec/(.*)_spec\.rb|)
|
4
|
-
watch(%r|^lib/(.*)/(.*)/([^/]+)\.rb|) { |m| "spec/#{m[1]}_#{m[2]}_spec.rb" }
|
5
|
-
watch(%r|^lib/(.*)/([^/]+)\.rb|) { |m| "spec/#{m[1]}_#{m[2]}_spec.rb" }
|
6
|
-
watch(%r|^spec/spec_helper\.rb|) { "spec" }
|
7
|
-
end
|
8
|
-
|