trackingmore 0.1.0 → 0.1.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: 87f2ee8d19d80d245ba813e56188b527371f2a347813c1d5a12748d6e2527a1b
4
- data.tar.gz: 6b8c4ae66a5a06ae69d9cfbbafe76039a0cd1d10c6423c61aa598b232e3c092d
3
+ metadata.gz: dbdadefeea9b5216285bdf1c02b892903c267f100f069ff82dc32a083156d6e8
4
+ data.tar.gz: 1472939c390b9e7130c4eed02126b903441a1822d09123915f0a36006727f0ce
5
5
  SHA512:
6
- metadata.gz: 0dfb6b7e27675402772ea4ea0fd65b9f6719a9c42640c6cadc6e825667cc2a615221dd9e0a67a09d0d67f77bc372209df2cdf67daadf741523f434f9fbc00ec8
7
- data.tar.gz: 5d6b4c56a6bba54fc4267f0e634fa28a226178f3e01612be97515a4d07da87a20edcbf68fae3e35fe2351c02d60c332b9a7b95d81760c1e4dd1bdb0dbc843d09
6
+ metadata.gz: 88d9b287e7011aaf7116c11023e1ac2dc52975fe5ec3248dc113248e5b17c6ce649378fb8fbc02ef997d74b592da4c2c7a8c97723ac472d65f6eb1f589c6c574
7
+ data.tar.gz: 4b6d9052df4128eef9cc25c8fa2d8c70b5499a18eda78586fd842df6ad7ccc7a45953db6cf0f7d9ce1df98e2a982d59594d80337b4713ac77b5d59f25d8b5a1e
@@ -8,8 +8,6 @@ module TrackingMore
8
8
  @@apiPort = 443
9
9
  @@apiVersion = 'v4'
10
10
  @@timeout = 10
11
- @@proxy_host = '192.168.2.198'
12
- @@proxy_port = 7890
13
11
 
14
12
  def self.get_request_url(path)
15
13
  pact = @@apiPort == 443 ? 'https' : 'http'
@@ -43,7 +41,7 @@ module TrackingMore
43
41
  uri.query = query_string
44
42
  end
45
43
 
46
- http = Net::HTTP.new(uri.host, uri.port,@@proxy_host,@@proxy_port)
44
+ http = Net::HTTP.new(uri.host, uri.port)
47
45
  http.use_ssl = uri.scheme == 'https'
48
46
 
49
47
  http.open_timeout = 10
data/lib/trackingmore.rb CHANGED
@@ -11,6 +11,6 @@ module TrackingMore
11
11
  attr_accessor :api_key
12
12
  end
13
13
 
14
- VERSION = '0.1.0'
14
+ VERSION = '0.1.1'
15
15
  end
16
16
 
data/trackingmore.gemspec CHANGED
@@ -14,18 +14,6 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://www.trackingmore.com/"
15
15
  spec.license = "MIT"
16
16
 
17
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
- # to allow pushing to a single host or delete this section to allow pushing to any host.
19
- # if spec.respond_to?(:metadata)
20
- # spec.metadata["allowed_push_host"] = "https://github.com/TrackingMores/trackingmore-sdk-ruby"
21
- #
22
- # spec.metadata["homepage_uri"] = spec.homepage
23
- # spec.metadata["source_code_uri"] = "https://github.com/TrackingMores/trackingmore-sdk-ruby.git"
24
- # else
25
- # raise "RubyGems 2.0 or newer is required to protect against " \
26
- # "public gem pushes."
27
- # end
28
-
29
17
  # Specify which files should be added to the gem when it is released.
30
18
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
31
19
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackingmore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - trackingmore
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler