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.
- checksums.yaml +4 -4
- data/.travis.yml +15 -9
- data/CHANGELOG.md +10 -0
- data/CONTRIBUTING.md +1 -2
- data/active_utils.gemspec +3 -1
- data/gemfiles/{Gemfile.activesupport32 → Gemfile.activesupport-master} +1 -1
- data/lib/active_utils/connection.rb +3 -0
- data/lib/active_utils/country.rb +1 -1
- data/lib/active_utils/version.rb +1 -1
- data/lib/certs/cacert.pem +730 -870
- data/test/unit/connection_test.rb +6 -0
- data/test/unit/country_test.rb +1 -1
- metadata +8 -16
- data/gemfiles/Gemfile.activesupport40 +0 -4
- data/gemfiles/Gemfile.activesupport41 +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba20b023488f4b47c77a36833387c62951f0fcf50eab1a0fca623a745cf54d71
|
4
|
+
data.tar.gz: 9d7de1684d1c17b84db39717bba46abc43a68589bda5bd7030245ca3dda14e01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adf0fe3ac25f1a6c5afbf4d893f8ff648b8b7dfc09b150e166b56d4d373b969c0fdd156ec28e8c3dffb6394e324a88184e9a3184dfa66baf014b2b331b51a5e6
|
7
|
+
data.tar.gz: c7a6c626e7c3a3d24945bd4ceb8e2d64512ff30bdc60ede9466bc4c348d72974f93f10d05db136ec3502771ce413ca515eeb4f70bb7c8701e8c8352d228462ce
|
data/.travis.yml
CHANGED
@@ -3,33 +3,39 @@ script: bundle exec rake test
|
|
3
3
|
sudo: false
|
4
4
|
|
5
5
|
rvm:
|
6
|
-
- "1.9"
|
7
6
|
- "2.0"
|
8
7
|
- "2.1"
|
9
|
-
- "2.2
|
8
|
+
- "2.2"
|
9
|
+
- "2.3"
|
10
|
+
- "2.4"
|
11
|
+
- "2.5"
|
10
12
|
|
11
13
|
before_install:
|
12
14
|
- gem update bundler
|
13
15
|
|
14
16
|
gemfile:
|
15
|
-
- gemfiles/Gemfile.activesupport32
|
16
|
-
- gemfiles/Gemfile.activesupport40
|
17
|
-
- gemfiles/Gemfile.activesupport41
|
18
17
|
- gemfiles/Gemfile.activesupport42
|
19
18
|
- gemfiles/Gemfile.activesupport50
|
20
19
|
- gemfiles/Gemfile.activesupport52
|
20
|
+
- gemfiles/Gemfile.activesupport-master
|
21
21
|
|
22
22
|
matrix:
|
23
23
|
exclude:
|
24
|
-
- rvm: "1.9"
|
25
|
-
gemfile: gemfiles/Gemfile.activesupport50
|
26
|
-
- rvm: "1.9"
|
27
|
-
gemfile: gemfiles/Gemfile.activesupport52
|
28
24
|
- rvm: "2.0"
|
29
25
|
gemfile: gemfiles/Gemfile.activesupport50
|
30
26
|
- rvm: "2.0"
|
31
27
|
gemfile: gemfiles/Gemfile.activesupport52
|
28
|
+
- rvm: "2.0"
|
29
|
+
gemfile: gemfiles/Gemfile.activesupport-master
|
32
30
|
- rvm: "2.1"
|
33
31
|
gemfile: gemfiles/Gemfile.activesupport50
|
34
32
|
- rvm: "2.1"
|
35
33
|
gemfile: gemfiles/Gemfile.activesupport52
|
34
|
+
- rvm: "2.1"
|
35
|
+
gemfile: gemfiles/Gemfile.activesupport-master
|
36
|
+
- rvm: "2.2"
|
37
|
+
gemfile: gemfiles/Gemfile.activesupport-master
|
38
|
+
- rvm: "2.3"
|
39
|
+
gemfile: gemfiles/Gemfile.activesupport-master
|
40
|
+
- rvm: "2.4"
|
41
|
+
gemfile: gemfiles/Gemfile.activesupport-master
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# ActiveUtils changelog
|
2
2
|
|
3
|
+
### Version 3.3.17 (February 24, 2020)
|
4
|
+
- Add support for PATCH HTTP method in `ActiveUtils#Connection`
|
5
|
+
|
6
|
+
### Version 3.3.16 (December 18, 2018)
|
7
|
+
- Add `VU` to `ActiveUtils::Country::COUNTRIES_THAT_DO_NOT_USE_POSTALCODES`
|
8
|
+
|
9
|
+
### Version 3.3.15 (November 29, 2018)
|
10
|
+
- Remove support to Ruby 1.9 and ActiveSupport `< 4`
|
11
|
+
- Remove the upperbound constraint on ActiveSupport
|
12
|
+
|
3
13
|
### Version 3.3.14 (November 28, 2018)
|
4
14
|
- Add `MW` to `ActiveUtils::Country::COUNTRIES_THAT_DO_NOT_USE_POSTALCODES`
|
5
15
|
|
data/CONTRIBUTING.md
CHANGED
@@ -29,5 +29,4 @@ Final note: maybe you should also update the mirrored version in ActiveMerchant.
|
|
29
29
|
1. Check the [semantic versioning page](http://semver.org) for info on how to version the new release.
|
30
30
|
2. Update the `ActiveUtils::VERSION` constant in **lib/active_utils/version.rb**.
|
31
31
|
3. Add a `CHANGELOG.md` entry for the new release with the date.
|
32
|
-
4.
|
33
|
-
5. Release the gem to rubygems using ShipIt
|
32
|
+
4. Release the gem to rubygems using ShipIt (this will create tag/push during deploy)
|
data/active_utils.gemspec
CHANGED
@@ -14,13 +14,15 @@ Gem::Specification.new do |s|
|
|
14
14
|
|
15
15
|
s.rubyforge_project = "active_utils"
|
16
16
|
|
17
|
-
s.add_dependency('activesupport', '>=
|
17
|
+
s.add_dependency('activesupport', '>= 4.2')
|
18
18
|
s.add_dependency('i18n')
|
19
19
|
|
20
20
|
s.add_development_dependency('rake')
|
21
21
|
s.add_development_dependency('minitest')
|
22
22
|
s.add_development_dependency('mocha')
|
23
23
|
|
24
|
+
s.metadata['allowed_push_host'] = 'https://rubygems.org'
|
25
|
+
|
24
26
|
s.files = `git ls-files`.split("\n")
|
25
27
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
26
28
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
@@ -69,6 +69,9 @@ module ActiveUtils
|
|
69
69
|
when :put
|
70
70
|
debug body
|
71
71
|
http.put(endpoint.request_uri, body, headers)
|
72
|
+
when :patch
|
73
|
+
debug body
|
74
|
+
http.patch(endpoint.request_uri, body, headers)
|
72
75
|
when :delete
|
73
76
|
# It's kind of ambiguous whether the RFC allows bodies
|
74
77
|
# for DELETE requests. But Net::HTTP's delete method
|
data/lib/active_utils/country.rb
CHANGED
data/lib/active_utils/version.rb
CHANGED