stealth-bandwidth 2.0.0 → 2.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: ecda2c1c3faacb7b24ee05639dfa4ca4b1cbeffdd5ad9dccece4f900b2ecb7c5
4
- data.tar.gz: 166e8491675511d267be7e66b5d6907acf45c29ab930d0475bdb26e72f35ce20
3
+ metadata.gz: 23a30f87cbca9992da45151b85deda271a504e538587053af93f24b00abd120b
4
+ data.tar.gz: f7c48136801ba6d6d246577b85df3ad0949d6f53b5383af83341e1e9165f340f
5
5
  SHA512:
6
- metadata.gz: d906c1d9eb891a7167ec2263ee5a746727ac5d9e01be50b86601cbf4a68547870b9d669dcec7a56b1735fe0fc2b209e4ffc3fdbad813a7dfa785b33a259ebe61
7
- data.tar.gz: f00cffbcdaabcc950ebf6253b6228c21b8e2df568052a1f37aa9858c8986d2e9dcabedb6fdb09df1c52736c42db4aaf21843d52f2c0b6c2ea253efc031a530af
6
+ metadata.gz: 6a034a88529e7ebe94f96e3a9724dde4c05a737a569cb12b5b0a8c10f422335b32e01922c5060ea60505a71f5243d488b265700ab1f6ac08b50ae3bc299c19f2
7
+ data.tar.gz: 3917f3f9cd27e31c071f7b3756a46e3473389896c7befa71d00302e936f48fa75ab73ebb173e4bd79d88f5868f97751ec607065112e2c0d264cc433f04df5a6b
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- stealth-bandwidth (2.0.0)
15
+ stealth-bandwidth (2.0.1)
16
16
  http (~> 4.1)
17
17
  oj (~> 3.11)
18
18
  stealth (>= 3.0.0.alpha1)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
@@ -24,6 +24,14 @@ module Stealth
24
24
  .timeout(connect: 15, read: 30)
25
25
  .basic_auth(user: username, pass: password)
26
26
  .headers('Content-Type' => 'application/json; charset=utf-8')
27
+ # Set up proxy if one is configured
28
+ if proxy = URI(@endpoint).find_proxy
29
+ if proxy.user || proxy.password
30
+ @http_client = @http_client.via(proxy.host, proxy.port, proxy.user, proxy.password)
31
+ else
32
+ @http_client = @http_client.via(proxy.host, proxy.port)
33
+ end
34
+ end
27
35
  end
28
36
 
29
37
  def transmit
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stealth-bandwidth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emilie Morissette
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-03-05 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: stealth
@@ -122,7 +121,6 @@ homepage: https://github.com/hellostealth/stealth-bandwidth
122
121
  licenses:
123
122
  - MIT
124
123
  metadata: {}
125
- post_install_message:
126
124
  rdoc_options: []
127
125
  require_paths:
128
126
  - lib
@@ -137,10 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
135
  - !ruby/object:Gem::Version
138
136
  version: '0'
139
137
  requirements: []
140
- rubygems_version: 3.3.7
141
- signing_key:
138
+ rubygems_version: 3.6.9
142
139
  specification_version: 4
143
140
  summary: Stealth Bandwidth SMS driver
144
- test_files:
145
- - spec/spec_helper.rb
146
- - spec/version_spec.rb
141
+ test_files: []