Skip to content

Commit eb5e8d6

Browse files
committed
Add ruby 3 compatibility
1 parent 686c9d1 commit eb5e8d6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

assertthat-bdd.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = %q{assertthat-bdd}
3-
s.version = "1.6.1"
3+
s.version = "1.6.2"
44
s.date = %q{2020-05-08}
55
s.summary = %q{AssertThat bdd integration for Ruby}
66
s.authors = ["Glib Briia"]

bin/assertthat-bdd-features

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require 'assertthat-bdd'
33
require 'optparse'
44

5-
VERSION = '1.2.0'
5+
VERSION = '1.6.2'
66

77
options = {}
88
OptionParser.new do |opt|
@@ -27,7 +27,7 @@ end.parse!
2727

2828
raise OptionParser::MissingArgument, "'projectId' option is not specified" if options[:projectId].nil?
2929

30-
AssertThatBDD::Features.download(options)
30+
AssertThatBDD::Features.download(**options)
3131

3232

3333

bin/assertthat-bdd-report

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require 'assertthat-bdd'
33
require 'optparse'
44

5-
VERSION = '1.2.0'
5+
VERSION = '1.6.2'
66

77
options = {}
88
OptionParser.new do |opt|
@@ -26,6 +26,6 @@ end.parse!
2626

2727
raise OptionParser::MissingArgument, "'projectId' option is not specified" if options[:projectId].nil?
2828

29-
AssertThatBDD::Report.upload(options)
29+
AssertThatBDD::Report.upload(**options)
3030

3131

0 commit comments

Comments
 (0)