Skip to content

Commit a664447

Browse files
committed
Added ruby2_keywords for Ruby 2.5 and 2.6
1 parent 4109bbf commit a664447

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/pkg/
77
/spec/reports/
88
/tmp/
9+
/Gemfile.lock

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
source "https://rubygems.org"
22

3+
gemspec
4+
35
gem "rake"
46
gem "test-unit"

drb.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ Gem::Specification.new do |spec|
2727
spec.bindir = "exe"
2828
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
2929
spec.require_paths = ["lib"]
30+
31+
spec.add_dependency "ruby2_keywords"
3032
end

test/lib/helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
require "test/unit"
22
require_relative "core_assertions"
33

4+
require "ruby2_keywords"
5+
46
Test::Unit::TestCase.include Test::Unit::CoreAssertions

0 commit comments

Comments
 (0)