Commit 2bdb4a1

mo khan <mo.khan@gmail.com>
2021-01-31 04:28:38
feat: Ruby 2.5+
1 parent 0751932
lib/xml/kit/version.rb
@@ -2,6 +2,6 @@
 
 module Xml
   module Kit
-    VERSION = '0.4.0'
+    VERSION = '0.5.0'
   end
 end
.travis.yml
@@ -1,9 +1,10 @@
 sudo: false
 language: ruby
 rvm:
-  - 2.4.6
   - 2.5.5
   - 2.6.3
+  - 2.7.2
+  - 3.0.0
 before_install:
   - gem update --system
   - gem install bundler
CHANGELOG.md
@@ -1,4 +1,4 @@
-Version 0.4.0
+Version 0.5.0
 
 # Changelog
 All notable changes to this project will be documented in this file.
@@ -7,7 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
 ## [Unreleased]
-- nil
+
+## [0.5.0] - 2021-01-30
+### Changed
+- Minimum Ruby 2.5+
 
 ## [0.4.0] - 2019-04-30
 ### Added
@@ -34,8 +37,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - \_assign does not coerce values by default.
 - errors are merged together instead of overwritten during attribute validation.
 
-[Unreleased]: https://github.com/saml-kit/xml-kit/compare/v0.3.1...HEAD
-[Unreleased]: https://github.com/saml-kit/xml-kit/compare/v0.4.0...HEAD
+[Unreleased]: https://github.com/saml-kit/xml-kit/compare/v0.5.0...HEAD
+[0.5.0]: https://github.com/saml-kit/xml-kit/compare/v0.4.0...v0.5.0
 [0.4.0]: https://github.com/saml-kit/xml-kit/compare/v0.3.1...v0.4.0
 [0.3.1]: https://github.com/saml-kit/xml-kit/compare/v0.3.0...v0.3.1
 [0.3.0]: https://github.com/saml-kit/xml-kit/compare/v0.2.0...v0.3.0
Gemfile.lock
@@ -1,7 +1,7 @@
 PATH
   remote: .
   specs:
-    xml-kit (0.4.0)
+    xml-kit (0.5.0)
       activemodel (>= 4.2.0)
       builder (~> 3.2)
       nokogiri (~> 1.10)
@@ -11,71 +11,80 @@ PATH
 GEM
   remote: https://rubygems.org/
   specs:
-    activemodel (5.2.4.3)
-      activesupport (= 5.2.4.3)
-    activesupport (5.2.4.3)
+    activemodel (6.1.1)
+      activesupport (= 6.1.1)
+    activesupport (6.1.1)
       concurrent-ruby (~> 1.0, >= 1.0.2)
-      i18n (>= 0.7, < 2)
-      minitest (~> 5.1)
-      tzinfo (~> 1.1)
-    ast (2.4.0)
-    builder (3.2.3)
-    bundler-audit (0.6.1)
+      i18n (>= 1.6, < 2)
+      minitest (>= 5.1)
+      tzinfo (~> 2.0)
+      zeitwerk (~> 2.3)
+    ast (2.4.2)
+    builder (3.2.4)
+    bundler-audit (0.7.0.1)
       bundler (>= 1.2.0, < 3)
-      thor (~> 0.18)
-    concurrent-ruby (1.1.6)
-    diff-lcs (1.3)
+      thor (>= 0.18, < 2)
+    concurrent-ruby (1.1.8)
+    diff-lcs (1.4.4)
     docile (1.1.5)
-    ffaker (2.15.0)
-    i18n (1.8.2)
+    ffaker (2.17.0)
+    i18n (1.8.7)
       concurrent-ruby (~> 1.0)
-    jaro_winkler (1.5.2)
-    json (2.3.0)
-    mini_portile2 (2.4.0)
-    minitest (5.14.1)
-    nokogiri (1.10.9)
-      mini_portile2 (~> 2.4.0)
-    parallel (1.17.0)
-    parser (2.6.3.0)
-      ast (~> 2.4.0)
+    json (2.5.1)
+    mini_portile2 (2.5.0)
+    minitest (5.14.3)
+    nokogiri (1.11.1)
+      mini_portile2 (~> 2.5.0)
+      racc (~> 1.4)
+    parallel (1.20.1)
+    parser (3.0.0.0)
+      ast (~> 2.4.1)
+    racc (1.5.2)
     rainbow (3.0.0)
-    rake (13.0.1)
-    rspec (3.9.0)
-      rspec-core (~> 3.9.0)
-      rspec-expectations (~> 3.9.0)
-      rspec-mocks (~> 3.9.0)
-    rspec-core (3.9.2)
-      rspec-support (~> 3.9.3)
-    rspec-expectations (3.9.2)
+    rake (13.0.3)
+    regexp_parser (2.0.3)
+    rexml (3.2.4)
+    rspec (3.10.0)
+      rspec-core (~> 3.10.0)
+      rspec-expectations (~> 3.10.0)
+      rspec-mocks (~> 3.10.0)
+    rspec-core (3.10.1)
+      rspec-support (~> 3.10.0)
+    rspec-expectations (3.10.1)
       diff-lcs (>= 1.2.0, < 2.0)
-      rspec-support (~> 3.9.0)
-    rspec-mocks (3.9.1)
+      rspec-support (~> 3.10.0)
+    rspec-mocks (3.10.2)
       diff-lcs (>= 1.2.0, < 2.0)
-      rspec-support (~> 3.9.0)
-    rspec-support (3.9.3)
-    rubocop (0.68.1)
-      jaro_winkler (~> 1.5.1)
+      rspec-support (~> 3.10.0)
+    rspec-support (3.10.2)
+    rubocop (0.93.1)
       parallel (~> 1.10)
-      parser (>= 2.5, != 2.5.1.1)
+      parser (>= 2.7.1.5)
       rainbow (>= 2.2.2, < 4.0)
+      regexp_parser (>= 1.8)
+      rexml
+      rubocop-ast (>= 0.6.0)
       ruby-progressbar (~> 1.7)
-      unicode-display_width (>= 1.4.0, < 1.6)
-    rubocop-rspec (1.32.0)
-      rubocop (>= 0.60.0)
-    ruby-progressbar (1.10.0)
+      unicode-display_width (>= 1.4.0, < 2.0)
+    rubocop-ast (1.4.1)
+      parser (>= 2.7.1.5)
+    rubocop-rspec (1.44.1)
+      rubocop (~> 0.87)
+      rubocop-ast (>= 0.7.1)
+    ruby-progressbar (1.11.0)
     simplecov (0.15.1)
       docile (~> 1.1.0)
       json (>= 1.8, < 3)
       simplecov-html (~> 0.10.0)
     simplecov-html (0.10.2)
-    thor (0.20.3)
-    thread_safe (0.3.6)
-    tilt (2.0.9)
-    tzinfo (1.2.7)
-      thread_safe (~> 0.1)
-    unicode-display_width (1.5.0)
+    thor (1.1.0)
+    tilt (2.0.10)
+    tzinfo (2.0.4)
+      concurrent-ruby (~> 1.0)
+    unicode-display_width (1.7.0)
     xmldsig (0.6.6)
       nokogiri (>= 1.6.8, < 2.0.0)
+    zeitwerk (2.4.2)
 
 PLATFORMS
   ruby
@@ -92,4 +101,4 @@ DEPENDENCIES
   xml-kit!
 
 BUNDLED WITH
-   2.0.2
+   2.2.7
xml-kit.gemspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
   spec.description   = 'A simple toolkit for working with XML.'
   spec.homepage      = 'https://github.com/saml-kit/xml-kit'
   spec.license       = 'MIT'
-  spec.required_ruby_version = '~> 2.4'
+  spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
 
   spec.files = `git ls-files -z`.split("\x0").reject do |f|
     f.match(%r{^(test|spec|features)/})