active_utils 3.2.5 → 3.3.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
  SHA1:
3
- metadata.gz: de484ffe2a3da0fa9959d5c32cb53e95264cd2b5
4
- data.tar.gz: 322187a525b3468d3335ee087731d6c68e43ba02
3
+ metadata.gz: 76918729d535e9eb1f2a714a816fae004344ed26
4
+ data.tar.gz: fc1339c22dfd3883447014d9ca0d3a9ae2e1bf60
5
5
  SHA512:
6
- metadata.gz: d383983de5c584ee051a740862e3bde7862c73ac6bdc18e7ba3e0b7b13e937dcc04eca55b12f658703e373df76ba5a074b3e9ce6523edb7ba4d2751facec7435
7
- data.tar.gz: f5ffa6151ab05d4f40963707510b572f49edbb583c40deeb65fc7caa4140de0a625a0d742792c37c4a59a878e6c14f4e1287aeee19e0d24c46e45c06a575f9c8
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
 
@@ -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 => 'KV', :name => 'Kosovo', :alpha3 => 'KSV', :numeric => '377' },
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 = 60
15
+ base.open_timeout = 2
16
16
 
17
17
  base.class_attribute :read_timeout
18
- base.read_timeout = 60
18
+ base.read_timeout = 10
19
19
 
20
20
  base.class_attribute :max_retries
21
21
  base.max_retries = Connection::MAX_RETRIES
@@ -1,3 +1,3 @@
1
1
  module ActiveUtils
2
- VERSION = "3.2.5"
2
+ VERSION = "3.3.0"
3
3
  end
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.2.5
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-02-02 00:00:00.000000000 Z
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.1
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