Skip to content

Commit

Permalink
Merge pull request #57 from viralpraxis/fix-appraisal-conf
Browse files Browse the repository at this point in the history
Fix appraisal configuration
  • Loading branch information
viralpraxis authored Sep 28, 2024
2 parents a4f498b + c9fbd4a commit 3c294d6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 16 deletions.
8 changes: 0 additions & 8 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ Style/FormatStringToken:
Exclude:
- spec/**/*

Style/FrozenStringLiteralComment:
Exclude:
- "gemfiles/*.gemfile"

Style/HashEachMethods:
Enabled: true

Expand All @@ -69,10 +65,6 @@ Style/OptionHash:
Style/Send:
Enabled: true

Style/StringLiterals:
Exclude:
- "gemfiles/*.gemfile"

Style/StringMethods:
Enabled: true

Expand Down
14 changes: 13 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# frozen_string_literal: true

customize_gemfiles do
{
single_quotes: true,
heading: <<~HEADING.strip
frozen_string_literal: true
This file was generated by Appraisal
HEADING
}
end

appraise 'rubocop-1.48' do
gem 'base64', '~> 0.1.1'
gem 'rubocop', '~> 1.48.0'
end

appraise 'rubocop-1.66' do
gem 'rubocop', '-> 1.66.0'
gem 'rubocop', '~> 1.66.0'
end
10 changes: 6 additions & 4 deletions gemfiles/rubocop_1.48.gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# frozen_string_literal: true

# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "base64", "~> 0.1.1"
gem "rubocop", "~> 1.48.0"
gem 'base64', '~> 0.1.1'
gem 'rubocop', '~> 1.48.0'

gemspec path: "../"
gemspec path: '../'
8 changes: 5 additions & 3 deletions gemfiles/rubocop_1.66.gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# frozen_string_literal: true

# This file was generated by Appraisal

source "https://rubygems.org"
source 'https://rubygems.org'

gem "rubocop", "~> 1.66.0"
gem 'rubocop', '~> 1.66.0'

gemspec path: "../"
gemspec path: '../'

0 comments on commit 3c294d6

Please sign in to comment.