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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9d19a82bfba2a27124b8a69c89b7e908e2b53a95d505e02b0aee4571fd82fd9
4
- data.tar.gz: 9b554a207403c52f17151d0ee4ad6395d839aa8fcaa436247a476aabd8d61c27
3
+ metadata.gz: ba20b023488f4b47c77a36833387c62951f0fcf50eab1a0fca623a745cf54d71
4
+ data.tar.gz: 9d7de1684d1c17b84db39717bba46abc43a68589bda5bd7030245ca3dda14e01
5
5
  SHA512:
6
- metadata.gz: 78424cc9ce62e9785a61f6f30c2b50eabfff6d09fde5fe7873e2bfdc81352b65db3d013312d47c5bf2788daf476ed2d3d8d9319212cb05a99cb5d72fbc5805a1
7
- data.tar.gz: a6966f9d461f527decf6e65ab830270b8f63076c941c70aa45d1d0b42510c497a8602cabf98ec83c2e3e8b12f4be9499e5ec9e986645de4c1b902194f5e8926a
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.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. Tag the release commit on GitHub: `bundle exec rake tag_release`
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', '>= 3.2', '< 6.0')
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) }
@@ -1,4 +1,4 @@
1
1
  source "https://rubygems.org"
2
2
  gemspec path: '..'
3
3
 
4
- gem 'activesupport', '~> 3.2.0'
4
+ gem 'activesupport', github: 'rails/rails'
@@ -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
@@ -320,7 +320,7 @@ module ActiveUtils #:nodoc:
320
320
  COUNTRIES_THAT_DO_NOT_USE_POSTALCODES = %w(
321
321
  QA BZ BS BF BJ AG AE AI AO AW HK
322
322
  FJ ML MW JM ZW YE UG TV TT TG TD PA
323
- CW GH SS BO
323
+ CW GH SS BO VU DJ SL TO
324
324
  )
325
325
 
326
326
  def uses_postal_codes?
@@ -1,3 +1,3 @@
1
1
  module ActiveUtils
2
- VERSION = "3.3.14"
2
+ VERSION = "3.3.18"
3
3
  end