gtfs 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/Gemfile.lock +27 -23
- data/gtfs.gemspec +3 -3
- data/lib/gtfs/version.rb +1 -1
- metadata +34 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 598cc060c59fb1d4b818c1c94c8187469a812934fcbe5748861399a1ac95bf33
|
|
4
|
+
data.tar.gz: c30196490373fa24fdd1e2d57efd4f63a7dff2009403d1278b3ba8d7c3bd5c4c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71267251fa305e593f57f9fd299a206f5c586801f1ba78603abd059a23d9b0e0471080e688e64de7eded4f9e58278e94e563f82b1eda83ba0c1f39fdc9a1b483
|
|
7
|
+
data.tar.gz: e8d96bf81fa5efd270419c09c1ef574f9c5d2340d093444df06e089900f3f87ae0b5dc3a1355f6fa95074180e268b00d8157c208c30014f50142cb565c0ee5a2
|
data/.github/workflows/ci.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -9,44 +9,48 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
addressable (2.8.
|
|
13
|
-
public_suffix (>= 2.0.2, <
|
|
12
|
+
addressable (2.8.7)
|
|
13
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
14
|
+
bigdecimal (3.1.8)
|
|
14
15
|
byebug (11.1.3)
|
|
15
|
-
crack (0.
|
|
16
|
+
crack (1.0.0)
|
|
17
|
+
bigdecimal
|
|
16
18
|
rexml
|
|
17
|
-
diff-lcs (1.5.
|
|
18
|
-
docile (1.4.
|
|
19
|
+
diff-lcs (1.5.1)
|
|
20
|
+
docile (1.4.1)
|
|
19
21
|
fakeweb (1.3.0)
|
|
20
|
-
hashdiff (1.
|
|
22
|
+
hashdiff (1.1.1)
|
|
21
23
|
multi_json (1.15.0)
|
|
22
|
-
public_suffix (
|
|
23
|
-
rake (13.
|
|
24
|
-
rexml (3.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
rspec-
|
|
28
|
-
rspec-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
public_suffix (6.0.1)
|
|
25
|
+
rake (13.2.1)
|
|
26
|
+
rexml (3.3.4)
|
|
27
|
+
strscan
|
|
28
|
+
rspec (3.13.0)
|
|
29
|
+
rspec-core (~> 3.13.0)
|
|
30
|
+
rspec-expectations (~> 3.13.0)
|
|
31
|
+
rspec-mocks (~> 3.13.0)
|
|
32
|
+
rspec-core (3.13.0)
|
|
33
|
+
rspec-support (~> 3.13.0)
|
|
34
|
+
rspec-expectations (3.13.1)
|
|
32
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
33
|
-
rspec-support (~> 3.
|
|
36
|
+
rspec-support (~> 3.13.0)
|
|
34
37
|
rspec-its (1.3.0)
|
|
35
38
|
rspec-core (>= 3.0.0)
|
|
36
39
|
rspec-expectations (>= 3.0.0)
|
|
37
|
-
rspec-mocks (3.
|
|
40
|
+
rspec-mocks (3.13.1)
|
|
38
41
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
39
|
-
rspec-support (~> 3.
|
|
40
|
-
rspec-support (3.
|
|
42
|
+
rspec-support (~> 3.13.0)
|
|
43
|
+
rspec-support (3.13.1)
|
|
41
44
|
rubyzip (2.3.2)
|
|
42
|
-
simplecov (0.
|
|
45
|
+
simplecov (0.22.0)
|
|
43
46
|
docile (~> 1.1)
|
|
44
47
|
simplecov-html (~> 0.11)
|
|
45
48
|
simplecov_json_formatter (~> 0.1)
|
|
46
49
|
simplecov-html (0.12.3)
|
|
47
50
|
simplecov_json_formatter (0.1.4)
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
strscan (3.1.0)
|
|
52
|
+
vcr (6.2.0)
|
|
53
|
+
webmock (3.23.1)
|
|
50
54
|
addressable (>= 2.8.0)
|
|
51
55
|
crack (>= 0.3.2)
|
|
52
56
|
hashdiff (>= 0.4.0, < 2.0.0)
|
data/gtfs.gemspec
CHANGED
|
@@ -5,7 +5,7 @@ require './lib/gtfs/version'
|
|
|
5
5
|
Gem::Specification.new do |gem|
|
|
6
6
|
gem.name = 'gtfs'
|
|
7
7
|
gem.version = GTFS::VERSION
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
gem.summary = 'Load and read GTFS data from zip bundles'
|
|
10
10
|
gem.description = 'gtfs reads GTFS data from a google-compliant Zip bundle
|
|
11
11
|
and returns an object representing the CSV data inside'
|
|
@@ -15,8 +15,8 @@ Gem::Specification.new do |gem|
|
|
|
15
15
|
gem.homepage = 'https://github.com/nerdEd/gtfs'
|
|
16
16
|
|
|
17
17
|
gem.license = 'MIT'
|
|
18
|
-
|
|
19
|
-
gem.required_ruby_version = '>=
|
|
18
|
+
|
|
19
|
+
gem.required_ruby_version = '>= 3.0'
|
|
20
20
|
|
|
21
21
|
gem.add_dependency 'rake'
|
|
22
22
|
gem.add_dependency 'multi_json'
|
data/lib/gtfs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gtfs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- nerdEd
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -193,7 +193,7 @@ homepage: https://github.com/nerdEd/gtfs
|
|
|
193
193
|
licenses:
|
|
194
194
|
- MIT
|
|
195
195
|
metadata: {}
|
|
196
|
-
post_install_message:
|
|
196
|
+
post_install_message:
|
|
197
197
|
rdoc_options: []
|
|
198
198
|
require_paths:
|
|
199
199
|
- lib
|
|
@@ -201,15 +201,41 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
201
201
|
requirements:
|
|
202
202
|
- - ">="
|
|
203
203
|
- !ruby/object:Gem::Version
|
|
204
|
-
version:
|
|
204
|
+
version: '3.0'
|
|
205
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
206
|
requirements:
|
|
207
207
|
- - ">="
|
|
208
208
|
- !ruby/object:Gem::Version
|
|
209
209
|
version: '0'
|
|
210
210
|
requirements: []
|
|
211
|
-
rubygems_version: 3.
|
|
212
|
-
signing_key:
|
|
211
|
+
rubygems_version: 3.4.19
|
|
212
|
+
signing_key:
|
|
213
213
|
specification_version: 4
|
|
214
214
|
summary: Load and read GTFS data from zip bundles
|
|
215
|
-
test_files:
|
|
215
|
+
test_files:
|
|
216
|
+
- spec/fixtures/cassettes/invalid_gtfs_uri.yml
|
|
217
|
+
- spec/fixtures/cassettes/valid_gtfs_uri.yml
|
|
218
|
+
- spec/fixtures/missing_files.zip
|
|
219
|
+
- spec/fixtures/valid_gtfs.zip
|
|
220
|
+
- spec/gtfs/agency_spec.rb
|
|
221
|
+
- spec/gtfs/attribution_spec.rb
|
|
222
|
+
- spec/gtfs/calendar_date_spec.rb
|
|
223
|
+
- spec/gtfs/calendar_spec.rb
|
|
224
|
+
- spec/gtfs/fare_attribute_spec.rb
|
|
225
|
+
- spec/gtfs/fare_rule_spec.rb
|
|
226
|
+
- spec/gtfs/feed_info_spec.rb
|
|
227
|
+
- spec/gtfs/frequency_spec.rb
|
|
228
|
+
- spec/gtfs/level_spec.rb
|
|
229
|
+
- spec/gtfs/local_source_spec.rb
|
|
230
|
+
- spec/gtfs/pathway_spec.rb
|
|
231
|
+
- spec/gtfs/route_spec.rb
|
|
232
|
+
- spec/gtfs/shape_spec.rb
|
|
233
|
+
- spec/gtfs/source_spec.rb
|
|
234
|
+
- spec/gtfs/stop_spec.rb
|
|
235
|
+
- spec/gtfs/stop_time_spec.rb
|
|
236
|
+
- spec/gtfs/transfer_spec.rb
|
|
237
|
+
- spec/gtfs/translation_spec.rb
|
|
238
|
+
- spec/gtfs/trip_spec.rb
|
|
239
|
+
- spec/gtfs/url_source_spec.rb
|
|
240
|
+
- spec/spec_helper.rb
|
|
241
|
+
- spec/support/model_shared_examples.rb
|