gares 2.1.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gares/base.rb +2 -35
- data/lib/gares/search.rb +4 -6
- data/lib/gares/version.rb +1 -1
- data/spec/fixtures/bls.csv +21468 -21488
- data/spec/fixtures/stations.csv +21690 -21493
- data/spec/spec_helper.rb +1 -2
- metadata +3 -3
data/spec/spec_helper.rb
CHANGED
@@ -22,8 +22,7 @@ end
|
|
22
22
|
|
23
23
|
# Fixtures for Gares
|
24
24
|
GARES_SAMPLES = {
|
25
|
-
'https://raw.githubusercontent.com/
|
26
|
-
'https://raw.githubusercontent.com/paulrbr/stations/stations-with-bls/stations.csv' => 'bls.csv',
|
25
|
+
'https://raw.githubusercontent.com/captaintrain/stations/master/stations.csv' => 'stations.csv',
|
27
26
|
'https://ressources.data.sncf.com/api/records/1.0/search?dataset=referentiel-gares-voyageurs&q=0087723197' => '87723197.json', # Lyon Part-Dieu
|
28
27
|
'https://ressources.data.sncf.com/api/records/1.0/search?dataset=referentiel-gares-voyageurs&q=0087271007' => '87271007.json', # Paris Gare-du-Nord
|
29
28
|
'https://ressources.data.sncf.com/api/records/1.0/search?dataset=referentiel-gares-voyageurs&q=0088140010' => '88140010.json', # Bruxelles Midi
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gares
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Bonaud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
284
|
version: '0'
|
285
285
|
requirements: []
|
286
286
|
rubyforge_project: gares
|
287
|
-
rubygems_version: 2.4.
|
287
|
+
rubygems_version: 2.4.8
|
288
288
|
signing_key:
|
289
289
|
specification_version: 4
|
290
290
|
summary: Easily access the publicly available information on gares-sncf.com and sncf.com.
|