diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f6b399..5bd547a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,15 +15,9 @@ jobs: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0.3 - - uses: actions/cache@v3 - with: - path: vendor/bundle - key: gems-build-heroicon-v1-main-ruby-3.0.x-${{ hashFiles('**/Gemfile.lock') }} - - name: Install dependencies - run: | - gem install bundler:2.2.33 - bundle install --jobs 4 --retry 3 --path=vendor/bundle + bundler: default + bundler-cache: true + rubygems: latest - name: Lint run: bundle exec standardrb @@ -32,19 +26,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby_version: [2.7, 3.0, 3.1, 3.2, 3.3] + ruby_version: [3.0, 3.1, 3.2, 3.3] steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby_version }} - - uses: actions/cache@v3 - with: - path: vendor/bundle - key: gems-build-heroicon-v1-main-ruby-${{ matrix.ruby_version }}-${{ hashFiles('**/Gemfile.lock') }} - - name: Install dependencies - run: | - gem install bundler:2.2.33 - bundle install --jobs 4 --retry 3 --path=vendor/bundle + bundler: default + bundler-cache: true + rubygems: latest - name: Run tests run: bundle exec rake test diff --git a/.ruby-version b/.ruby-version index 1f7da99..be94e6f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.7 +3.2.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 527b8e6..a4043d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- Drop ruby 2.7 version + ## 2.2.0 - Add micro icons diff --git a/Gemfile b/Gemfile index 9b3bd57..941c944 100644 --- a/Gemfile +++ b/Gemfile @@ -5,7 +5,7 @@ gemspec group :development, :test do gem "byebug", "~> 11.1", ">= 11.1.3" gem "minitest", "~> 5.0" - gem "nokogiri", "~> 1.13", ">= 1.13.10" + gem "nokogiri", "~> 1.16" gem "rake", "~> 13.0" gem "standard", "~> 1.16", ">= 1.16.1" end diff --git a/Gemfile.lock b/Gemfile.lock index 1de39b6..34ec9c6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -41,12 +41,12 @@ GEM nokogiri (>= 1.12.0) method_source (1.0.0) minitest (5.20.0) - nokogiri (1.13.10-x86_64-linux) + nokogiri (1.16.0-x86_64-linux) racc (~> 1.4) parallel (1.22.1) parser (3.2.0.0) ast (~> 2.4.1) - racc (1.6.2) + racc (1.7.3) rack (2.2.8) rack-test (2.1.0) rack (>= 1.3) @@ -99,7 +99,7 @@ PLATFORMS DEPENDENCIES byebug (~> 11.1, >= 11.1.3) minitest (~> 5.0) - nokogiri (~> 1.13, >= 1.13.10) + nokogiri (~> 1.16) rails_heroicon! rake (~> 13.0) standard (~> 1.16, >= 1.16.1) diff --git a/rails_heroicon.gemspec b/rails_heroicon.gemspec index df09928..70ac255 100644 --- a/rails_heroicon.gemspec +++ b/rails_heroicon.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |spec| spec.summary = "Ruby on Rails view helpers for the awesome Heroicons by Steve Schoger." spec.homepage = "https://github.com/abeidahmed/rails-heroicon" spec.license = "MIT" - spec.required_ruby_version = Gem::Requirement.new(">= 2.7") + spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0") spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/abeidahmed/rails-heroicon"