File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 - ' 3.0'
2828 - ' 3.2'
2929 - ' 3.3'
30+ - ' 3.4'
3031 - ' jruby-9.4.8.0'
3132 runs-on : ubuntu-24.04
3233 steps :
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ Gem::Specification.new do |spec|
4646 spec . add_development_dependency 'webmock' , '~> 3.12'
4747 spec . add_development_dependency 'yard' , '~> 0.9'
4848
49+ spec . add_runtime_dependency 'base64' , '>= 0.1' , '< 0.4'
4950 spec . add_runtime_dependency 'hocon' , '~> 1.3'
51+ spec . add_runtime_dependency 'logger' , '~> 1.7'
5052 spec . add_runtime_dependency 'thor' , [ '>= 1.0.1' , '< 2' ]
5153end
Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ def stub_no_fact
598598 context 'when exception and message are hashes' do
599599 let ( :message ) { { 'a' : 1 } }
600600 let ( :exception ) { { 'b' : 2 } }
601- let ( :expected_message ) { '{:a=>1}' }
601+ let ( :expected_message ) { { a : 1 } . to_s }
602602
603603 it_behaves_like 'when exception param is not an exception'
604604 end
@@ -682,7 +682,7 @@ def stub_no_fact
682682 context 'when exception and message are hashes' do
683683 let ( :message ) { { 'a' : 1 } }
684684 let ( :exception ) { { 'b' : 2 } }
685- let ( :expected_message ) { '{:a=>1}' }
685+ let ( :expected_message ) { { a : 1 } . to_s }
686686
687687 it_behaves_like 'when exception param is not an exception'
688688 end
@@ -808,7 +808,7 @@ def stub_no_fact
808808 end
809809
810810 it 'when message is a hash' do
811- expect ( logger ) . to receive ( :warn ) . with ( '{: warn=>" message"}' )
811+ expect ( logger ) . to receive ( :warn ) . with ( { warn : ' message' } . to_s )
812812
813813 Facter . warn ( { warn : 'message' } )
814814 end
You can’t perform that action at this time.
0 commit comments