mirror of
https://gitlab.com/ydkn/capistrano-rails-console.git
synced 2023-02-13 20:54:14 -05:00
fix rubocop warnings
This commit is contained in:
parent
cb1e30b515
commit
663a7cd563
5 changed files with 8 additions and 4 deletions
3
.rubocop.yml
Normal file
3
.rubocop.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
Naming/FileName:
|
||||||
|
Exclude:
|
||||||
|
- 'lib/capistrano-rails-console.rb'
|
2
Rakefile
2
Rakefile
|
@ -1 +1 @@
|
||||||
require "bundler/gem_tasks"
|
require 'bundler/gem_tasks'
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
lib = File.expand_path('lib', __dir__)
|
lib = File.expand_path('lib', __dir__)
|
||||||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||||
require 'capistrano/rails/console/version'
|
require 'capistrano/rails/console/version'
|
||||||
|
require 'english'
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = 'capistrano-rails-console'
|
spec.name = 'capistrano-rails-console'
|
||||||
|
@ -12,7 +13,7 @@ Gem::Specification.new do |spec|
|
||||||
spec.homepage = 'https://gitlab.com/ydkn/capistrano-rails-console'
|
spec.homepage = 'https://gitlab.com/ydkn/capistrano-rails-console'
|
||||||
spec.license = 'MIT'
|
spec.license = 'MIT'
|
||||||
|
|
||||||
spec.files = `git ls-files`.split($/)
|
spec.files = `git ls-files`.split($RS)
|
||||||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
||||||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
||||||
spec.require_paths = ['lib']
|
spec.require_paths = ['lib']
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require 'sshkit/interactive'
|
require 'sshkit/interactive'
|
||||||
require 'capistrano/rails/console/version'
|
require 'capistrano/rails/console/version'
|
||||||
|
|
||||||
load File.expand_path('../console/tasks.cap', __FILE__)
|
load File.expand_path('console/tasks.cap', __dir__)
|
||||||
|
|
|
@ -5,7 +5,7 @@ module Capistrano
|
||||||
# Console
|
# Console
|
||||||
module Console
|
module Console
|
||||||
# Gem version
|
# Gem version
|
||||||
VERSION = '2.3.0'
|
VERSION = '2.3.0'.freeze
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue