active_utils 3.2.5 → 3.3.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/active_utils/country.rb +1 -1
- data/lib/active_utils/posts_data.rb +2 -2
- data/lib/active_utils/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76918729d535e9eb1f2a714a816fae004344ed26
|
|
4
|
+
data.tar.gz: fc1339c22dfd3883447014d9ca0d3a9ae2e1bf60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9ea0a6ed51a9f1833506f64825fb292bfa8e6d0123162a51df9e46844e80e937d61deac69c0d0b68030afb31ff818bbb0804374be57ef96e896014c628fe804
|
|
7
|
+
data.tar.gz: b8119a4f01ab7bb060d4e02894fe1cde3beab9a0c763844dbe11ee3d2a7ddc37d7b955f31d60985c1c7ca824c8709acdab70d226dd91adae4d7227b830f908a6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# ActiveUtils changelog
|
|
2
2
|
|
|
3
|
+
### Version 3.3.0 (Mar. 10, 2017)
|
|
4
|
+
- Reduced default PostsData open_timeout from 60 seconds to 2, and read_timeout from 60 seconds to 10. Subclasses can and should override those values.
|
|
5
|
+
- Replace Kosovo's alpha 2 and alpha 3 ISO codes from `KV` to `XK` and from `KSV` to `XKX`.
|
|
6
|
+
|
|
3
7
|
### Version 3.2.5 (Feb. 2, 2017)
|
|
4
8
|
- Add the `TMT` currency in the supported currency codes
|
|
5
9
|
|
data/lib/active_utils/country.rb
CHANGED
|
@@ -180,7 +180,7 @@ module ActiveUtils #:nodoc:
|
|
|
180
180
|
{ :alpha2 => 'KI', :name => 'Kiribati', :alpha3 => 'KIR', :numeric => '296' },
|
|
181
181
|
{ :alpha2 => 'KP', :name => 'Korea, Democratic People\'s Republic of', :alpha3 => 'PRK', :numeric => '408' },
|
|
182
182
|
{ :alpha2 => 'KR', :name => 'Korea, Republic of', :alpha3 => 'KOR', :numeric => '410' },
|
|
183
|
-
{ :alpha2 => '
|
|
183
|
+
{ :alpha2 => 'XK', :name => 'Kosovo', :alpha3 => 'XKX', :numeric => '377' },
|
|
184
184
|
{ :alpha2 => 'KW', :name => 'Kuwait', :alpha3 => 'KWT', :numeric => '414' },
|
|
185
185
|
{ :alpha2 => 'KG', :name => 'Kyrgyzstan', :alpha3 => 'KGZ', :numeric => '417' },
|
|
186
186
|
{ :alpha2 => 'LA', :name => 'Lao People\'s Democratic Republic', :alpha3 => 'LAO', :numeric => '418' },
|
|
@@ -12,10 +12,10 @@ module ActiveUtils #:nodoc:
|
|
|
12
12
|
base.retry_safe = false
|
|
13
13
|
|
|
14
14
|
base.class_attribute :open_timeout
|
|
15
|
-
base.open_timeout =
|
|
15
|
+
base.open_timeout = 2
|
|
16
16
|
|
|
17
17
|
base.class_attribute :read_timeout
|
|
18
|
-
base.read_timeout =
|
|
18
|
+
base.read_timeout = 10
|
|
19
19
|
|
|
20
20
|
base.class_attribute :max_retries
|
|
21
21
|
base.max_retries = Connection::MAX_RETRIES
|
data/lib/active_utils/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shopify
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
149
149
|
version: '0'
|
|
150
150
|
requirements: []
|
|
151
151
|
rubyforge_project: active_utils
|
|
152
|
-
rubygems_version: 2.5.
|
|
152
|
+
rubygems_version: 2.5.2
|
|
153
153
|
signing_key:
|
|
154
154
|
specification_version: 4
|
|
155
155
|
summary: Common utils used by active_merchant, active_fulfillment, and active_shipping
|