bs2_api 1.6.0 → 1.6.1

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: f216fd8e2feeeeb8f8223e820839c1b7be43ab4f360946fb9fbeb6c3282237e0
4
- data.tar.gz: 7c30ce3c1b8e31f0c97aa744d46f6462d36eadaee7f2acb84086fe5af4aae26b
3
+ metadata.gz: 59736f9f1623eef9e49ae6c34ff8813f904cc19c5ec81d4c7a5304f2b87ab293
4
+ data.tar.gz: b11851a61ae03a4ed8d7ed774a64f031dec7d0f5deb56cf1a69310a6dffbce8d
5
5
  SHA512:
6
- metadata.gz: 285edcdb49d779a6de9a8c36b1f16588d46e44c993db5c00e733f8946a000e3ffed6429a81bfeefa1d74152d6baa84dad8400e00b209943df3231f96846f2ec0
7
- data.tar.gz: e6b1affdd5cc0c84005f68d9d723b83faba9cced4f606fdebc10164f2ba309442a37103dada2b7da8409e40f916f7978ed9d716d9065190b7cd507f717579a1d
6
+ metadata.gz: f4b772eec846ce0685c7f5ba6ede0aa5536c774df29e9ad8e30f323924bee092e746e6ab3c76abf33833e9d81761c720b32a8559140f0fc82b8a6d6885aac758
7
+ data.tar.gz: e6595f66602e060c539c1f3aaab260ea7fd98994ebb04b1d16ea7d2807a1563414d53d2d94d8710ce3bbcb48fee9114075ba985646f861b9b777f71c19cf96f2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bs2_api (1.5.1)
4
+ bs2_api (1.6.0)
5
5
  activesupport
6
6
  builder
7
7
  bundler
@@ -29,7 +29,14 @@ module Bs2Api
29
29
  end
30
30
 
31
31
  def detail_request
32
- HTTParty.get(url, headers: headers)
32
+ HTTParty.get(
33
+ url,
34
+ headers: headers,
35
+ http_proxyaddr: @proxy&.host,
36
+ http_proxyport: @proxy&.port,
37
+ http_proxyuser: @proxy&.user,
38
+ http_proxypass: @proxy&.password
39
+ )
33
40
  end
34
41
 
35
42
  def bearer_token
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bs2Api
4
- VERSION = '1.6.0'
4
+ VERSION = '1.6.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bs2_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kim Pastro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-01 00:00:00.000000000 Z
11
+ date: 2022-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder