we_ship_client 1.1.1 → 1.2.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: 2085010e2a63d6304cec95a3edc485f4cb7376e82cf87d6e3955095e1806977b
4
- data.tar.gz: dbba31ab58b4d14eac7bf5aa3405fe6f15e36bf7f9cae788951285b80b8f1f1f
3
+ metadata.gz: d1157b7867c1cea4b676fc01744cdb86f966132a90001fb6ca9acc95c6e15706
4
+ data.tar.gz: 3b55555a4c7ab4f8925507ec93b0073600b4a3b433dcc9018391cc0c338cd0fa
5
5
  SHA512:
6
- metadata.gz: bb68b5582678bfd41b172fc8af0842af60fb727af5b32727a1457b6d1f7d431b3b4de6026e70ae740f61c73af59e83b89b27e1ad82d9c636e5f8c5aa9b12bf0d
7
- data.tar.gz: f72ad4eeb8ef42eb830b8ad80a9411ae175b4c01c25efea3f47cc838a24bc299354e3438cd2d555482776eca83f742e8414ac6d5f3d80414bb118ffaaef55cea
6
+ metadata.gz: a0538d92c0b52d9852e470be6b2d8fbca395daae930ce17ff3daab164e5fdd3b10891d90cd5a3cc9bcb08766827d1a898b46feba01c7114c6a97f8bb658fe01a
7
+ data.tar.gz: 3d95839443528d1e1e0275036118d118bc9f05415fcb287ebb3fb0e8f6b841444402ff0e49613c838ec7d6618251beef089e999c65e2a683492af99791f28f81
@@ -14,10 +14,10 @@ jobs:
14
14
 
15
15
  steps:
16
16
  - uses: actions/checkout@v3
17
- - name: Set up Ruby 2.7
17
+ - name: Set up Ruby 3.3
18
18
  uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: 2.7
20
+ ruby-version: 3.3.0
21
21
 
22
22
  - name: Publish to RubyGems
23
23
  run: |
@@ -25,7 +25,7 @@ jobs:
25
25
  runs-on: ubuntu-latest
26
26
  strategy:
27
27
  matrix:
28
- ruby-version: ['3.0', '3.1', '3.2']
28
+ ruby-version: ['3.0', '3.1', '3.2', '3.3']
29
29
 
30
30
  steps:
31
31
  - uses: actions/checkout@v3
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in we_ship_client.gemspec
4
4
  gemspec
5
5
 
6
- gem 'loogi_http', '~> 1.0'
6
+ gem 'loogi_http', '~> 2.0'
7
7
  gem 'rake', '~> 12.0'
8
8
  gem 'rspec', '~> 3.0'
9
9
  gem 'dotenv', '~> 2.7'
data/Gemfile.lock CHANGED
@@ -1,30 +1,37 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- we_ship_client (1.1.1)
4
+ we_ship_client (1.2.0)
5
5
  activesupport
6
6
  dry-struct (~> 1.4)
7
7
  dry-types
8
- loogi_http (~> 1.0)
8
+ loogi_http (~> 2.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (6.1.4.6)
13
+ activesupport (7.1.3.2)
14
+ base64
15
+ bigdecimal
14
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ connection_pool (>= 2.2.5)
18
+ drb
15
19
  i18n (>= 1.6, < 2)
16
20
  minitest (>= 5.1)
21
+ mutex_m
17
22
  tzinfo (~> 2.0)
18
- zeitwerk (~> 2.3)
19
23
  addressable (2.8.0)
20
24
  public_suffix (>= 2.0.2, < 5.0)
21
- concurrent-ruby (1.1.9)
25
+ base64 (0.2.0)
26
+ bigdecimal (3.1.7)
27
+ concurrent-ruby (1.2.3)
28
+ connection_pool (2.4.1)
22
29
  crack (0.4.5)
23
30
  rexml
24
- diff-lcs (1.5.0)
25
- domain_name (0.5.20190701)
26
- unf (>= 0.0.5, < 1.0.0)
31
+ diff-lcs (1.5.1)
32
+ domain_name (0.6.20240107)
27
33
  dotenv (2.7.6)
34
+ drb (2.2.1)
28
35
  dry-core (1.0.0)
29
36
  concurrent-ruby (~> 1.0)
30
37
  zeitwerk (~> 2.6)
@@ -44,65 +51,86 @@ GEM
44
51
  dry-inflector (~> 1.0)
45
52
  dry-logic (~> 1.4)
46
53
  zeitwerk (~> 2.6)
47
- faraday (1.0.1)
48
- multipart-post (>= 1.2, < 3)
54
+ faraday (1.10.3)
55
+ faraday-em_http (~> 1.0)
56
+ faraday-em_synchrony (~> 1.0)
57
+ faraday-excon (~> 1.1)
58
+ faraday-httpclient (~> 1.0)
59
+ faraday-multipart (~> 1.0)
60
+ faraday-net_http (~> 1.0)
61
+ faraday-net_http_persistent (~> 1.0)
62
+ faraday-patron (~> 1.0)
63
+ faraday-rack (~> 1.0)
64
+ faraday-retry (~> 1.0)
65
+ ruby2_keywords (>= 0.0.4)
49
66
  faraday-cookie_jar (0.0.7)
50
67
  faraday (>= 0.8.0)
51
68
  http-cookie (~> 1.0.0)
52
- faraday_middleware (1.0.0)
69
+ faraday-em_http (1.0.0)
70
+ faraday-em_synchrony (1.0.0)
71
+ faraday-excon (1.1.0)
72
+ faraday-httpclient (1.0.1)
73
+ faraday-multipart (1.0.4)
74
+ multipart-post (~> 2)
75
+ faraday-net_http (1.0.1)
76
+ faraday-net_http_persistent (1.2.0)
77
+ faraday-patron (1.0.0)
78
+ faraday-rack (1.0.0)
79
+ faraday-retry (1.0.3)
80
+ faraday_middleware (1.2.0)
53
81
  faraday (~> 1.0)
54
82
  hashdiff (1.0.1)
55
- http-cookie (1.0.4)
83
+ http-cookie (1.0.5)
56
84
  domain_name (~> 0.5)
57
- i18n (1.10.0)
85
+ i18n (1.14.4)
58
86
  concurrent-ruby (~> 1.0)
59
87
  ice_nine (0.11.2)
60
- loogi_http (1.0.0)
61
- faraday (~> 1.0.1)
88
+ loogi_http (2.0.0)
89
+ faraday (~> 1.0)
62
90
  faraday-cookie_jar (~> 0.0.6)
63
- faraday_middleware (~> 1.0.0)
64
- minitest (5.15.0)
91
+ faraday_middleware (~> 1.0)
92
+ minitest (5.22.3)
65
93
  multipart-post (2.1.1)
94
+ mutex_m (0.2.0)
66
95
  public_suffix (4.0.6)
67
96
  rake (12.3.3)
68
97
  rexml (3.2.5)
69
- rspec (3.10.0)
70
- rspec-core (~> 3.10.0)
71
- rspec-expectations (~> 3.10.0)
72
- rspec-mocks (~> 3.10.0)
73
- rspec-core (3.10.1)
74
- rspec-support (~> 3.10.0)
75
- rspec-expectations (3.10.2)
98
+ rspec (3.13.0)
99
+ rspec-core (~> 3.13.0)
100
+ rspec-expectations (~> 3.13.0)
101
+ rspec-mocks (~> 3.13.0)
102
+ rspec-core (3.13.0)
103
+ rspec-support (~> 3.13.0)
104
+ rspec-expectations (3.13.0)
76
105
  diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.10.0)
78
- rspec-mocks (3.10.2)
106
+ rspec-support (~> 3.13.0)
107
+ rspec-mocks (3.13.0)
79
108
  diff-lcs (>= 1.2.0, < 2.0)
80
- rspec-support (~> 3.10.0)
81
- rspec-support (3.10.3)
109
+ rspec-support (~> 3.13.0)
110
+ rspec-support (3.13.1)
111
+ ruby2_keywords (0.0.5)
82
112
  stub_env (1.0.4)
83
113
  rspec (>= 2.0, < 4.0)
84
- tzinfo (2.0.4)
114
+ tzinfo (2.0.6)
85
115
  concurrent-ruby (~> 1.0)
86
- unf (0.1.4)
87
- unf_ext
88
- unf_ext (0.0.8)
89
116
  vcr (6.0.0)
90
117
  webmock (3.14.0)
91
118
  addressable (>= 2.8.0)
92
119
  crack (>= 0.3.2)
93
120
  hashdiff (>= 0.4.0, < 2.0.0)
94
- zeitwerk (2.6.9)
121
+ zeitwerk (2.6.13)
95
122
 
96
123
  PLATFORMS
97
124
  arm64-darwin-21
98
125
  arm64-darwin-22
126
+ arm64-darwin-23
99
127
  x86_64-darwin-20
100
128
  x86_64-darwin-21
101
129
  x86_64-linux
102
130
 
103
131
  DEPENDENCIES
104
132
  dotenv (~> 2.7)
105
- loogi_http (~> 1.0)
133
+ loogi_http (~> 2.0)
106
134
  rake (~> 12.0)
107
135
  rspec (~> 3.0)
108
136
  stub_env
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'active_support'
4
+ require 'active_support/core_ext' # required for `present?`
3
5
  require 'we_ship_client/client'
4
6
  require 'we_ship_client/exceptions'
5
7
  require 'we_ship_client/entities'
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'active_support'
3
4
  require 'active_support/time_with_zone'
4
5
 
5
6
  module WeShipClient
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WeShipClient
4
- VERSION = '1.1.1'
4
+ VERSION = '1.2.0'
5
5
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_dependency 'activesupport'
26
26
  spec.add_dependency 'dry-struct', '~> 1.4'
27
27
  spec.add_dependency 'dry-types'
28
- spec.add_dependency 'loogi_http', '~> 1.0'
28
+ spec.add_dependency 'loogi_http', '~> 2.0'
29
29
 
30
30
  spec.add_development_dependency 'stub_env'
31
31
  spec.add_development_dependency 'vcr'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: we_ship_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juul Labs, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-14 00:00:00.000000000 Z
11
+ date: 2024-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.0'
61
+ version: '2.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.0'
68
+ version: '2.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: stub_env
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  requirements: []
176
- rubygems_version: 3.1.6
176
+ rubygems_version: 3.5.3
177
177
  signing_key:
178
178
  specification_version: 4
179
179
  summary: API client for We Ship Express V2.