Chris Mague před 7 roky
rodič
revize
97027d8b29
2 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 4 0
      Rakefile
  2. 1 1
      lib/neoinfra/accounts.rb

+ 4 - 0
Rakefile

@@ -1,7 +1,11 @@
 # frozen_string_literal: true
 
+task default: :full_test
+
 require 'rubocop/rake_task'
 
 RuboCop::RakeTask.new(:rubocop) do |t|
   t.options = ['--display-cop-names']
 end
+
+task full_test: [:rubocop]

+ 1 - 1
lib/neoinfra/accounts.rb

@@ -17,7 +17,7 @@ module NeoInfra
   class Accounts
     attr_reader :accounts
 
-    def initialize(cfg='config.yaml')
+    def initialize(cfg = 'config.yaml')
       @accounts = YAML.load_file(
         File.join(File.dirname(File.expand_path(__FILE__)),
                   '..', '..', cfg)