Skip to content

Commit

Permalink
Niftany 0.11.0 for ruby 3.1+ only. Hopefully fixed CI (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkiessl authored Dec 20, 2024
1 parent 2d1bb5e commit bff3953
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml → .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.6', '2.7', '3.1']
ruby-version: ['3.1']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@

# rspec failure tracking
.rspec_status
niftany-0.0.1.gem
niftany-*.gem
Gemfile.lock
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.1
3.1.6
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in niftany.gemspec
gemspec

group :development do
gem 'bundler', '~> 2.0'
gem 'rake', '~> 12.0'
end
7 changes: 2 additions & 5 deletions niftany.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = 'niftany'
spec.version = '0.10.1'
spec.version = '0.11.0'
spec.metadata = { 'rubygems_mfa_required' => 'true' }
spec.authors = ['Adam Wead']
spec.email = ['amsterdamos@gmail.com']
Expand All @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

spec.required_ruby_version = '>= 2.6.0'
spec.required_ruby_version = '>= 3.1'

spec.add_dependency 'colorize', '~> 0.8.1'
spec.add_dependency 'erb_lint', '~> 0.0.22'
Expand All @@ -23,7 +23,4 @@ Gem::Specification.new do |spec|
spec.add_dependency 'rubocop-rails', '~> 2.3'
spec.add_dependency 'rubocop-rspec', '~> 2'
spec.add_dependency 'scss_lint', '~> 0.55'

spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake', '~> 12.0'
end
2 changes: 1 addition & 1 deletion niftany_rubocop_ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ inherit_from:
- rubocop/style.yml

AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 3.1
DisplayCopNames: true
NewCops: enable

0 comments on commit bff3953

Please sign in to comment.