aftership 4.5.1 → 5.0.0

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: b78fa7173ef557fa6c2df76d316a358e2867871758c750b79d7062645ed2f59d
4
- data.tar.gz: db3078d7dd058af8c0b1be409e305a153047bfb2af75488bf386e542d84e88f4
3
+ metadata.gz: cefb53b8def5bd9beda10eac54dd136019e3ab086c95557139c99f57153fc264
4
+ data.tar.gz: bb9f6177163b2966c3b47c4721bc0de5e2974309d5b266d1fbf361798013655c
5
5
  SHA512:
6
- metadata.gz: 4ae37ae84e6aaecb78c7afbda1ebc0abeb0090d9b3ae45af345e2ccd94b88d4b2e36b1b1d55994d368e24c65c498f6bdede51a4d8f77fd1840f03ca80eee0dbc
7
- data.tar.gz: be2b19159da6451ab0e5f767ffc67a1693b2b9d3e39e1f552b5edeb464c4ad67e9fe78f650e5f5dfa8441a44add1c9003860b651127eaac192730840f3ce2bab
6
+ metadata.gz: 8aff0671c34350258bafbd2ac944d7e70aefbe4127844c8dfd6c6621ef4e32b1881dca608547112db496ef589b2ab79ec7bd2887db8ae7a54cd8c4c3a10e28d3
7
+ data.tar.gz: 8157468e2cbb14c0ebe37b22738e446dabca642e9ee45743e54ab04ceca58bdde6f349dbf1c83ac3ca705039732b80a71b5574baa3c42a1f53896b5375d81e00
data/README.md CHANGED
@@ -8,11 +8,25 @@ This extension helps developers to integrate with AfterShip easily.
8
8
 
9
9
  AfterShip provides an automated way for online merchants to track packages and send their customers delivery status notifications. Customers no longer need to deal with tracking numbers and track packages on their own. With AfterShip, online merchants extend their customer service after the point of purchase by keeping their customers actively informed, while saving time and money by reducing customers’ questions about the status of their purchase delivery.
10
10
 
11
- ## Migration to 4.5.1+
11
+ ## Migration to 5.0.0+
12
12
 
13
- We suggest all users to upgrade your `aftership` gem to v4.5.1 as any earlier versions are NOT maintained, which also means you will need to upgrade your ruby version to at least 2.3.0 to be able to use `faraday` the new http client of the revamped `aftership` gem.
13
+ We suggest all users to upgrade your `aftership` gem to v5.0.0 as any earlier versions are NOT maintained, which also means you will need to upgrade your ruby version to at least 2.6 to be able to use `faraday` the new http client of the revamped `aftership` gem.
14
+
15
+ If you want to use recent versions of Faraday, update your Gemfile as below:
16
+
17
+ ```ruby
18
+ gem "aftership", "~> 5.0.0"
19
+ gem 'faraday', '~> 2.7.1'
20
+ ```
14
21
 
15
22
  ### Changes
23
+ * 2022-12-16 5.0.0
24
+ - Merged [#42](https://github.com/AfterShip/aftership-sdk-ruby/pull/42): Update faraday dependency to support faraday 2.x
25
+ - Merged [#43](https://github.com/AfterShip/aftership-sdk-ruby/pull/43): Update faraday minimum version to 2.0.1
26
+
27
+ * 2021-02-08 4.5.2
28
+ - Merged [#39](https://github.com/AfterShip/aftership-sdk-ruby/pull/39): Add compatibility for recent versions of Faraday
29
+
16
30
  * 2021-02-08 4.5.1
17
31
  - Resolved [#31](https://github.com/AfterShip/aftership-sdk-ruby/issues/31): Deprecation of encryption algorithms below 256 bits
18
32
 
@@ -57,7 +71,7 @@ We suggest all users to upgrade your `aftership` gem to v4.5.1 as any earlier ve
57
71
  1. Add the following line to your application's Gemfile
58
72
 
59
73
  ```ruby
60
- gem "aftership", "~> 4.5.1"
74
+ gem "aftership", "~> 5.0.0"
61
75
  ```
62
76
 
63
77
  2. Run bundler
@@ -121,7 +135,7 @@ Released under the MIT license. See the LICENSE file for the complete wording.
121
135
 
122
136
 
123
137
  ## Contributor
124
-
138
+ - Sergio Marques <sergio@raylo.com>
125
139
  - Ryan Zou [twitter:renyuanz](https://twitter.com/ry_zou)
126
140
  - Alex Topalov <me@alextopalov.com>
127
141
 
@@ -1,5 +1,4 @@
1
1
  require 'faraday'
2
- require 'faraday_middleware'
3
2
 
4
3
  module AfterShip
5
4
  module V4
data/lib/aftership.rb CHANGED
@@ -10,5 +10,5 @@ module AfterShip
10
10
  end
11
11
 
12
12
  URL = ENV['AFTERSHIP_API_ENDPOINT'] || 'https://api.aftership.com'
13
- VERSION = '4.5.1'
13
+ VERSION = '5.0.0'
14
14
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aftership
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.1
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AfterShip Limited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 1.0.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 1.0.1
27
- - !ruby/object:Gem::Dependency
28
- name: faraday_middleware
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
17
+ - - ">="
32
18
  - !ruby/object:Gem::Version
33
- version: 1.0.0
19
+ version: 2.0.1
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - "~>"
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
- version: 1.0.0
26
+ version: 2.0.1
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: pry
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
77
  requirements:
92
78
  - - ">="
93
79
  - !ruby/object:Gem::Version
94
- version: 2.3.0
80
+ version: '2.6'
95
81
  required_rubygems_version: !ruby/object:Gem::Requirement
96
82
  requirements:
97
83
  - - ">="
@@ -99,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
99
85
  version: '0'
100
86
  requirements:
101
87
  - none
102
- rubygems_version: 3.1.2
88
+ rubygems_version: 3.0.3.1
103
89
  signing_key:
104
90
  specification_version: 4
105
91
  summary: Formerly known as aftership_ruby and a wrapper for AfterShip API. Support