diff --git a/Gemfile b/Gemfile index 9e5cefe..c3baf96 100644 --- a/Gemfile +++ b/Gemfile @@ -10,9 +10,9 @@ group :development, :test do gem 'pry-byebug', '~> 3.6' gem 'rake', '~> 13.0' gem 'rspec', '~> 3.0' - gem 'rubocop', '~> 1.54' - gem 'rubocop-rspec', '~> 2.22' - gem 'timecop', '~> 0.8' + gem 'rubocop', '~> 1.56' + gem 'rubocop-rspec', '~> 2.23' + gem 'timecop', '~> 0.9' gem 'vcr', '~> 5.0' gem 'webmock', '~> 3.3' end diff --git a/Gemfile.lock b/Gemfile.lock index c24bdd1..7e4a5d6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -30,6 +30,7 @@ GEM bagit (0.4.5) docopt (~> 0.5.0) validatable (~> 1.6) + base64 (0.1.1) builder (3.2.4) byebug (11.1.3) claide (1.1.0) @@ -141,9 +142,9 @@ GEM rdf-xsd (3.2.1) rdf (~> 3.2) rexml (~> 3.2) - redis (5.0.6) + redis (5.0.7) redis-client (>= 0.9.0) - redis-client (0.14.1) + redis-client (0.15.0) connection_pool regexp_parser (2.8.1) rest-client (2.1.0) @@ -151,7 +152,7 @@ GEM http-cookie (>= 1.0.2, < 2.0) mime-types (>= 1.16, < 4.0) netrc (~> 0.8) - rexml (3.2.5) + rexml (3.2.6) rollbar (3.4.0) rspec (3.12.0) rspec-core (~> 3.12.0) @@ -166,7 +167,8 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) rspec-support (3.12.0) - rubocop (1.54.2) + rubocop (1.56.0) + base64 (~> 0.1.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -174,7 +176,7 @@ GEM rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.29.0) @@ -183,7 +185,7 @@ GEM rubocop (~> 1.41) rubocop-factory_bot (2.23.1) rubocop (~> 1.33) - rubocop-rspec (2.22.0) + rubocop-rspec (2.23.2) rubocop (~> 1.33) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) @@ -211,7 +213,7 @@ GEM systemu (2.6.5) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - timecop (0.9.6) + timecop (0.9.8) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unf (0.1.4) @@ -239,9 +241,9 @@ DEPENDENCIES pushmi_pullyu! rake (~> 13.0) rspec (~> 3.0) - rubocop (~> 1.54) - rubocop-rspec (~> 2.22) - timecop (~> 0.8) + rubocop (~> 1.56) + rubocop-rspec (~> 2.23) + timecop (~> 0.9) vcr (~> 5.0) webmock (~> 3.3) diff --git a/spec/pushmi_pullyu/cli_spec.rb b/spec/pushmi_pullyu/cli_spec.rb index 190905e..da74b8d 100644 --- a/spec/pushmi_pullyu/cli_spec.rb +++ b/spec/pushmi_pullyu/cli_spec.rb @@ -107,8 +107,10 @@ end it 'initialize setup with config yaml if given' do - allow(cli).to receive(:parse_options).and_return(config_file: 'config/pushmi_pullyu.yml') - allow(cli).to receive(:parse_config).and_return({}) + allow(cli).to receive_messages( + parse_options: { config_file: 'config/pushmi_pullyu.yml' }, + parse_config: {} + ) cli.parse