capistrano-nvm icon indicating copy to clipboard operation
capistrano-nvm copied to clipboard

Pull back to koenpunt add rubocop

Open RulerOf opened this issue 6 years ago • 0 comments

Rubocops the entire project following the commits of #27. Diffing against the newest commit from #26 shows changes to the Rakefile and gemspec that Rubocop decided were important since I ran it against the entire project instead of just the files I had touched like I did before:

17:01 $ git diff c54b83a HEAD
diff --git a/Rakefile b/Rakefile
index 2995527..c702cfc 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1 +1 @@
-require "bundler/gem_tasks"
+require 'bundler/gem_tasks'
diff --git a/capistrano-nvm.gemspec b/capistrano-nvm.gemspec
index 1762793..aea37e4 100644
--- a/capistrano-nvm.gemspec
+++ b/capistrano-nvm.gemspec
@@ -9,12 +9,12 @@ Gem::Specification.new do |spec|
   spec.version       = CapistranoNvm::VERSION
   spec.authors       = ['Koen Punt']
   spec.email         = ['[email protected]']
-  spec.description   = %q{nvm support for Capistrano 3.x}
-  spec.summary       = %q{nvm support for Capistrano 3.x}
+  spec.description   = 'nvm support for Capistrano 3.x'
+  spec.summary       = 'nvm support for Capistrano 3.x'
   spec.homepage      = 'https://github.com/koenpunt/capistrano-nvm'
   spec.license       = 'MIT'
 
-  spec.files         = `git ls-files`.split($/)
+  spec.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
   spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
   spec.require_paths = ['lib']
✔ <snipped>/capistrano-nvm [pull_back_to_koenpunt-add_rubocop|✔] 

Otherwise, this is identical to #26

RulerOf avatar Mar 12 '18 21:03 RulerOf