go_transit 0.10.0 → 1.0.1

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: d1e669745c174a770740b1453b328300650afc78403956892b5f6d5d46905e6f
4
- data.tar.gz: bf0bb3309089e4f8453a33d925d40f5cd540d79491f3c7657b7f2a8ecc2de295
3
+ metadata.gz: 31a5458f8173f8ea20755b9d6cedc3aa6c40b515d74ce6325090ff67387942f3
4
+ data.tar.gz: e2c7296454e39551806db7a54b38aa56288a1cd7fd03eebd25e08d4b14a672ef
5
5
  SHA512:
6
- metadata.gz: 86411a5ad705eaf2beb261344ec4753c65bd6fae0f49ee08afb9d9aafd5f3ef00ea9002a9a0d2356bf20121e5075d561794133aa923b499fcd676e4b87e2ae44
7
- data.tar.gz: fbb987e716899e21a808c4c1529ddb613c33d50da11fc4725385bf1905c76284abb084928db15f489c154ecc223adce0ed5425a4a432f2f5299365a6f8fa54de
6
+ metadata.gz: 16824ac010774602acbc793f770022ade095753c967eed2eaac5b6b62d8e141066c076da9346f315f9587fc1aab1fb880ee16f54badd82e27685f6d543dc07d0
7
+ data.tar.gz: 007adc5b08d1ebdfa83812095a23072d181c681dc87d085d86661dcd67962ed55fa55450522c1503e781c7f883a4eb35a4d1a6384e5572c293d04ce7e2c0f138
@@ -27,4 +27,4 @@ module GoTransit
27
27
  raise StandardError.new(metadata)
28
28
  end
29
29
  end
30
- end
30
+ end
@@ -1,3 +1,3 @@
1
1
  module GoTransit
2
- VERSION = "0.10.0".freeze
2
+ VERSION = "1.0.1".freeze
3
3
  end
data/lib/go_transit.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  require "net/http"
2
2
  require "uri"
3
3
  require "json"
4
+ require "active_support"
5
+ require "active_support/core_ext"
4
6
  require "active_support/core_ext/string"
5
7
 
6
8
  require "go_transit/client"
@@ -69,7 +71,7 @@ module GoTransit
69
71
  end
70
72
 
71
73
  def base_url
72
- custom_base_url || "http://api.openmetrolinx.com/OpenDataAPI/api"
74
+ custom_base_url || "https://api.openmetrolinx.com/OpenDataAPI/api"
73
75
  end
74
76
  end
75
77
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_transit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 1.0.1
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-12-29 00:00:00.000000000 Z
11
+ date: 2025-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "<="
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.8
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "<="
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 7.0.8
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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