Skip to content

Commit cfe10c2

Browse files
committed
fix dumb ruby 2.x bug
1 parent 1dbdb94 commit cfe10c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fabric-gateway.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
1212
spec.description = 'Ruby port of the Hyperledger Fabric Gateway SDK'
1313
spec.homepage = 'https://github.com/ethicalidentity/fabric-gateway-ruby'
1414
spec.license = 'MIT'
15-
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
15+
spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
1616

1717
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
1818

spec/fabric/client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
context 'when grpc_client host and creds are passed' do
5959
let(:expected_args) do
60-
if RUBY_VERSION.start_with?('2.6')
60+
if RUBY_VERSION.start_with?('2')
6161
['localhost:1234', :this_channel_is_insecure, {}]
6262
else
6363
['localhost:1234', :this_channel_is_insecure]

0 commit comments

Comments
 (0)