From fb9e21772e882cbe5fb4c9c8dc65fd2a4610429f Mon Sep 17 00:00:00 2001 From: Gene Liverman Date: Wed, 8 Jul 2020 02:56:39 -0400 Subject: [PATCH] (maint) Add Dependabot to keep things up to date (#4) --- .github/dependabot.yml | 8 ++++++++ .rubocop.yml | 5 +++-- beaker-gke.gemspec | 2 +- spec/gke/hypervisor/gke_spec.rb | 2 ++ spec/spec_helper.rb | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..c8f8016 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: +- package-ecosystem: bundler + directory: "/" + schedule: + interval: daily + time: "13:00" + open-pull-requests-limit: 10 diff --git a/.rubocop.yml b/.rubocop.yml index a883be9..ac5cf41 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,8 @@ require: - rubocop-rspec - rubocop-performance AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.5 + NewCops: enable Style/Documentation: Enabled: false @@ -11,7 +12,7 @@ Style/Documentation: Metrics/MethodLength: Max: 25 -Metrics/LineLength: +Layout/LineLength: Max: 120 Metrics/AbcSize: diff --git a/beaker-gke.gemspec b/beaker-gke.gemspec index 1bcd7db..7eef71a 100644 --- a/beaker-gke.gemspec +++ b/beaker-gke.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] # Required ruby version - s.required_ruby_version = '~> 2.3' + s.required_ruby_version = '~> 2.5' # Testing dependencies s.add_development_dependency 'climate_control' diff --git a/spec/gke/hypervisor/gke_spec.rb b/spec/gke/hypervisor/gke_spec.rb index 77c1475..474a65e 100644 --- a/spec/gke/hypervisor/gke_spec.rb +++ b/spec/gke/hypervisor/gke_spec.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require 'beaker/hypervisor/gke' + describe Beaker::Gke do let(:hosts) { make_hosts } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8777af1..e77d70c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,7 +5,7 @@ require 'climate_control' require 'fakefs/spec_helpers' -Dir.glob(Dir.pwd + '/lib/beaker/hypervisor/*.rb') { |file| require file } +Dir.glob(Dir.pwd + '/lib/beaker/hypervisor/*.rb').sort { |file| require file } # setup & require beaker's spec_helper.rb beaker_gem_spec = Gem::Specification.find_by_name('beaker')