go_transit 0.9.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54aad8332d8b5bc0889179609017fe97dfb81ebbf10b6c5e260d710baa469cc0
4
- data.tar.gz: 1f51df5e8755eabfb6d9add2d32df843ce0218b4bcf8f2862afce5671060bff1
3
+ metadata.gz: 0e2f6dbceb308e8853689fe1d0cac49d860179332c64ead8ed0dc11b244cb04a
4
+ data.tar.gz: 1e3dd0378702852265e81bf3873dafa7a68f1f071e43ce6b941efd99d6a729b3
5
5
  SHA512:
6
- metadata.gz: a7178548ace998be435aa218dde735ed46fac843e5a8124e478b58887bbe9fb9e0cb28bf87785d572f0bb99ef0856a94237fbed5f731247ce3a58dd44a0c3d35
7
- data.tar.gz: acb8c58c71027454a2df4b3245aa7aa105dffb9c7a1e962b43722989914e313c823f25fea42a85177fb3e154132e555971e6dbd77df4c6f2a11008d0fddbed3f
6
+ metadata.gz: 782aa3a97ba75a2b179ef1dcea47baaf17c57c90849ace373899ab81e6b1653f1ac0002cd99f0ee311dad4441661196e25f419d7bd37baa35953bc9b98cd80e3
7
+ data.tar.gz: '08f6537c9f533c669919efbf9fea891d98b0944d249ec05e811f0961825372007914d373b3046c067936d78cfdec664c1362de2101c295cebfade820d9205165'
@@ -4,6 +4,7 @@ module GoTransit
4
4
  :time, :stops
5
5
 
6
6
  def platforms
7
+ return if platform == "-"
7
8
  platform.split("&").collect(&:strip)
8
9
  end
9
10
 
@@ -1,3 +1,3 @@
1
1
  module GoTransit
2
- VERSION = "0.9.0".freeze
2
+ VERSION = "1.0.0".freeze
3
3
  end
data/lib/go_transit.rb CHANGED
@@ -69,7 +69,7 @@ module GoTransit
69
69
  end
70
70
 
71
71
  def base_url
72
- custom_base_url || "http://api.openmetrolinx.com/OpenDataAPI/api"
72
+ custom_base_url || "https://api.openmetrolinx.com/OpenDataAPI/api"
73
73
  end
74
74
  end
75
75
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_transit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Mazur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-07 00:00:00.000000000 Z
11
+ date: 2025-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -210,14 +210,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
210
  requirements:
211
211
  - - ">="
212
212
  - !ruby/object:Gem::Version
213
- version: 2.3.0
213
+ version: 2.7.0
214
214
  required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  requirements:
216
216
  - - ">="
217
217
  - !ruby/object:Gem::Version
218
218
  version: '0'
219
219
  requirements: []
220
- rubygems_version: 3.4.13
220
+ rubygems_version: 3.4.6
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: Ruby Interface for the Go Transit API