diff --git a/.rubocop.yml b/.rubocop.yml index 7c12e42..8aa86be 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ inherit_from: .rubocop_todo.yml AllCops: - TargetRubyVersion: 2.7.6 + TargetRubyVersion: 3.1.6' # Exclude: Bundler/OrderedGems: diff --git a/.ruby-version b/.ruby-version index 6a81b4c..9c25013 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.8 +3.3.6 diff --git a/README.md b/README.md index e8ca96e..d357727 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ to install the modules listed in `Terrafile` into `vendor/terraform_modules`. ## Dependencies - git -- Ruby (>= 2.7.6) +- Ruby (>= 3.1.6) ## Development diff --git a/features/step_definitions/terrafile_steps.rb b/features/step_definitions/terrafile_steps.rb index 086dd7c..b974f52 100644 --- a/features/step_definitions/terrafile_steps.rb +++ b/features/step_definitions/terrafile_steps.rb @@ -12,7 +12,7 @@ end When('I run the _terrafile_ command') do - run_simple('terrafile', fail_on_error: false) + run_command_and_stop('terrafile', fail_on_error: false) end Then('I should see that a _modules_ directory will be created') do diff --git a/terrafile.gemspec b/terrafile.gemspec index 8e1b624..fc4b54b 100644 --- a/terrafile.gemspec +++ b/terrafile.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |spec| spec.name = 'terrafile' spec.version = Terrafile::VERSION spec.platform = Gem::Platform::RUBY - spec.required_ruby_version = '>= 2.7.6' + spec.required_ruby_version = '>= 3.1.6' spec.authors = ['dxw'] spec.email = ['systems@dxw.com'] spec.summary = 'Installs the modules listed in Terrafile' @@ -28,11 +28,11 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.executables = ['terrafile'] - spec.add_development_dependency 'aruba', '~> 0.14' + spec.add_development_dependency 'aruba', '~> 2.2' spec.add_development_dependency 'bundler', '>= 2.1.0' spec.add_development_dependency 'pry-byebug', '~> 3.6' spec.add_development_dependency 'rake', '~> 13.0' spec.add_development_dependency 'rspec', '~> 3.8' - spec.add_development_dependency 'rubocop', '~> 0.58' - spec.add_development_dependency 'simplecov', '~> 0.16' + spec.add_development_dependency 'rubocop', '~> 1.68' + spec.add_development_dependency 'simplecov', '~> 0.1' end