Skip to content

Commit e310cc6

Browse files
committed
ruby: remove support for ruby < 3.0
1 parent 5a99043 commit e310cc6

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.rubocop.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
require:
1+
plugins:
22
- rubocop-performance
33
- rubocop-rake
44
- rubocop-rspec
55

66
AllCops:
7-
TargetRubyVersion: 2.6
7+
TargetRubyVersion: 3.0
88
Exclude:
99
- bin/**/*
1010
- vendor/**/*
@@ -148,6 +148,9 @@ RSpec/ExampleLength:
148148
- hash
149149
- heredoc
150150

151+
RSpec/IncludeExamples:
152+
Enabled: false
153+
151154
RSpec/MultipleMemoizedHelpers:
152155
Max: 20
153156

handlebars-engine.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
2323

2424
spec.homepage = "https://github.com/gi/handlebars-ruby"
2525
spec.license = "MIT"
26-
spec.required_ruby_version = ">= 2.6.0"
26+
spec.required_ruby_version = ">= 3.0"
2727

2828
spec.metadata["changelog_uri"] = "#{spec.homepage}/CHANGELOG.md"
2929
spec.metadata["github_repo"] = spec.homepage

spec/handlebars/engine_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
end
4141

4242
it "does not create the context" do
43-
expect(engine_context).to be nil
43+
expect(engine_context).to be_nil
4444
end
4545
end
4646

0 commit comments

Comments
 (0)