active_utils 3.3.14 → 3.3.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,6 +49,12 @@ class ConnectionTest < Minitest::Test
49
49
  assert_equal 'success', response.body
50
50
  end
51
51
 
52
+ def test_successful_patch_request
53
+ Net::HTTP.any_instance.expects(:patch).with('/tx.php', 'data', {}).returns(@ok)
54
+ response = @connection.request(:patch, 'data', {})
55
+ assert_equal 'success', response.body
56
+ end
57
+
52
58
  def test_successful_delete_request
53
59
  Net::HTTP.any_instance.expects(:delete).with('/tx.php', {}).returns(@ok)
54
60
  response = @connection.request(:delete, nil, {})
@@ -72,7 +72,7 @@ class CountryTest < Minitest::Test
72
72
 
73
73
  def test_change_to_countries_that_do_not_use_postalcodes_is_intentional
74
74
  country_codes = Country::COUNTRIES_THAT_DO_NOT_USE_POSTALCODES
75
- assert_equal(country_codes.length, 27)
75
+ assert_equal(country_codes.length, 31)
76
76
  end
77
77
 
78
78
  def test_canada_uses_postal_codes
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.3.14
4
+ version: 3.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-28 00:00:00.000000000 Z
11
+ date: 2021-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.2'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '6.0'
19
+ version: '4.2'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '3.2'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '6.0'
26
+ version: '4.2'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: i18n
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -103,9 +97,7 @@ files:
103
97
  - README.md
104
98
  - Rakefile
105
99
  - active_utils.gemspec
106
- - gemfiles/Gemfile.activesupport32
107
- - gemfiles/Gemfile.activesupport40
108
- - gemfiles/Gemfile.activesupport41
100
+ - gemfiles/Gemfile.activesupport-master
109
101
  - gemfiles/Gemfile.activesupport42
110
102
  - gemfiles/Gemfile.activesupport50
111
103
  - gemfiles/Gemfile.activesupport52
@@ -134,7 +126,8 @@ files:
134
126
  homepage: http://github.com/shopify/active_utils
135
127
  licenses:
136
128
  - MIT
137
- metadata: {}
129
+ metadata:
130
+ allowed_push_host: https://rubygems.org
138
131
  post_install_message:
139
132
  rdoc_options: []
140
133
  require_paths:
@@ -150,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
143
  - !ruby/object:Gem::Version
151
144
  version: '0'
152
145
  requirements: []
153
- rubyforge_project: active_utils
154
- rubygems_version: 2.7.6
146
+ rubygems_version: 3.2.20
155
147
  signing_key:
156
148
  specification_version: 4
157
149
  summary: Common utils used by active_merchant, active_fulfillment, and active_shipping
@@ -1,4 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec path: '..'
3
-
4
- gem 'activesupport', '~> 4.0.0'
@@ -1,4 +0,0 @@
1
- source "https://rubygems.org"
2
- gemspec path: '..'
3
-
4
- gem 'activesupport', '~> 4.1.0'