Skip to content

Commit

Permalink
change: drop ruby 2.7 support (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeidahmed committed Jan 5, 2024
1 parent d3855c0 commit 2ea691e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 24 deletions.
25 changes: 7 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.7
3.2.2
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Unreleased

- Drop ruby 2.7 version

## 2.2.0

- Add micro icons
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion rails_heroicon.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2ea691e

Please sign in to comment.