diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba405f3..7668988 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,14 +14,14 @@ jobs: strategy: matrix: ruby: - - '3.2.1' + - '4.0.2' steps: - - uses: actions/checkout@v3 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - bundler-cache: true - - name: Run the default task - run: bundle exec rake + - uses: actions/checkout@v3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + bundler-cache: true + - name: Run the default task + run: bundle exec rake diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..6d94d6d --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,16 @@ +Layout/LineLength: + Enabled: true + Max: 120 + +Style/FrozenStringLiteralComment: + Enabled: false + +Style/ClassAndModuleChildren: + Enabled: false + +Style/HashSyntax: + Enabled: false + +Style/StringLiterals: + Enabled: false + # EnforcedStyle: "double_quotes" diff --git a/.travis.yml b/.travis.yml index 271462e..c670789 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,11 @@ language: ruby rvm: - - 2.4.0 - - 2.5.0 - - 2.6.0 - - 2.7.0 - 3.0.0 - 3.1.0 - 3.2.0 + - 3.3.0 + - 3.4.0 + - 4.0.0 gemfile: - Gemfile before_install: diff --git a/CHANGELOG.md b/CHANGELOG.md index 42f5d7a..0376ee1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ ## [Unreleased] +# [0.5.0] - 2026-04-08 + +- Update addressable dependency +- Update gemspec dependencies +- Remove 2.x from travis.yml +- Update gems to latest versions + # [0.4.0] - 2025-10-23 - Update rexml dependency diff --git a/Gemfile b/Gemfile index 8ca411a..3652893 100644 --- a/Gemfile +++ b/Gemfile @@ -4,8 +4,3 @@ source "https://rubygems.org" # Specify your gem's dependencies in ruby_ares.gemspec gemspec - -gem "rake", "~> 13.0" - -gem "rspec", "~> 3.0" -gem "webmock" diff --git a/Gemfile.lock b/Gemfile.lock index e01d7ff..eb8482e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,36 +1,38 @@ PATH remote: . specs: - ruby_ares (0.4.0) + ruby_ares (0.5.0) ostruct GEM remote: https://rubygems.org/ specs: - addressable (2.8.6) - public_suffix (>= 2.0.2, < 6.0) - crack (0.4.5) + addressable (2.9.0) + public_suffix (>= 2.0.2, < 8.0) + bigdecimal (4.1.1) + crack (1.0.1) + bigdecimal rexml - diff-lcs (1.5.0) - hashdiff (1.1.0) + diff-lcs (1.6.2) + hashdiff (1.2.1) ostruct (0.6.3) - public_suffix (5.0.4) - rake (13.0.6) + public_suffix (7.0.5) + rake (13.3.1) rexml (3.4.4) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.1) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.2) + rspec (3.13.2) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.4) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.8) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.0) - webmock (3.19.1) + rspec-support (~> 3.13.0) + rspec-support (3.13.7) + webmock (3.26.2) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) @@ -45,4 +47,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.4.19 + 4.0.10 diff --git a/lib/ruby_ares/version.rb b/lib/ruby_ares/version.rb index 5b2a894..3f7c203 100644 --- a/lib/ruby_ares/version.rb +++ b/lib/ruby_ares/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module RubyAres - VERSION = "0.4.0" + VERSION = "0.5.0" end diff --git a/ruby_ares.gemspec b/ruby_ares.gemspec index 7d5cbc2..73ef657 100644 --- a/ruby_ares.gemspec +++ b/ruby_ares.gemspec @@ -34,6 +34,10 @@ Gem::Specification.new do |spec| # Uncomment to register a new dependency of your gem spec.add_dependency "ostruct" + spec.add_development_dependency "rake", "~> 13.0" + spec.add_development_dependency "rspec", "~> 3.0" + spec.add_development_dependency "webmock" + # For more information and examples about making a new gem, check out our # guide at: https://bundler.io/guides/creating_gem.html end