gtfs 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94717ed4b4e1815033fdbca08e4a6db14dc4ae91ed511ee058a9c73cfdf15334
4
- data.tar.gz: 2d7abf7dbeab020f9fcaf858b496086667cebfd35269048a7d8b1bd75af66e63
3
+ metadata.gz: 598cc060c59fb1d4b818c1c94c8187469a812934fcbe5748861399a1ac95bf33
4
+ data.tar.gz: c30196490373fa24fdd1e2d57efd4f63a7dff2009403d1278b3ba8d7c3bd5c4c
5
5
  SHA512:
6
- metadata.gz: 208ef2f0bbce52c54336ad2a6978168d3523f0bacebcf0ffa5742e614a1ae7f7ef55f571f3a690863a86c5af61c6d71a2897dc14966191532090bd937116efe4
7
- data.tar.gz: 855905b764cef6204448acf20da94c23687d5b451b1e2a1b453c00a629c010cfb7740c578a3686bbe259788e7f30de9f1f5b49c87f9da32189b68a7cc03ce648
6
+ metadata.gz: 71267251fa305e593f57f9fd299a206f5c586801f1ba78603abd059a23d9b0e0471080e688e64de7eded4f9e58278e94e563f82b1eda83ba0c1f39fdc9a1b483
7
+ data.tar.gz: e8d96bf81fa5efd270419c09c1ef574f9c5d2340d093444df06e089900f3f87ae0b5dc3a1355f6fa95074180e268b00d8157c208c30014f50142cb565c0ee5a2
@@ -12,7 +12,7 @@ jobs:
12
12
 
13
13
  strategy:
14
14
  matrix:
15
- ruby-version: ['2.7', '3.0', '3.1', '3.2']
15
+ ruby-version: ['3.0', '3.1', '3.2', '3.3']
16
16
 
17
17
  steps:
18
18
  - uses: actions/checkout@v2
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.0)
13
- public_suffix (>= 2.0.2, < 5.0)
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.4.5)
16
+ crack (1.0.0)
17
+ bigdecimal
16
18
  rexml
17
- diff-lcs (1.5.0)
18
- docile (1.4.0)
19
+ diff-lcs (1.5.1)
20
+ docile (1.4.1)
19
21
  fakeweb (1.3.0)
20
- hashdiff (1.0.1)
22
+ hashdiff (1.1.1)
21
23
  multi_json (1.15.0)
22
- public_suffix (4.0.7)
23
- rake (13.0.6)
24
- rexml (3.2.5)
25
- rspec (3.11.0)
26
- rspec-core (~> 3.11.0)
27
- rspec-expectations (~> 3.11.0)
28
- rspec-mocks (~> 3.11.0)
29
- rspec-core (3.11.0)
30
- rspec-support (~> 3.11.0)
31
- rspec-expectations (3.11.0)
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.11.0)
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.11.1)
40
+ rspec-mocks (3.13.1)
38
41
  diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.11.0)
40
- rspec-support (3.11.0)
42
+ rspec-support (~> 3.13.0)
43
+ rspec-support (3.13.1)
41
44
  rubyzip (2.3.2)
42
- simplecov (0.21.2)
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
- vcr (6.1.0)
49
- webmock (3.14.0)
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 = '>= 1.9.2'
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
@@ -1,3 +1,3 @@
1
1
  module GTFS
2
- VERSION = '0.4.2'
2
+ VERSION = '0.5.0'
3
3
  end
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.2
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-01-20 00:00:00.000000000 Z
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: 1.9.2
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.0.3.1
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