Skip to content

Commit

Permalink
Merge pull request #14 from Vizzuality/chore/rubocop
Browse files Browse the repository at this point in the history
fix rubocop offences
  • Loading branch information
tsubik authored Aug 1, 2019
2 parents c424af8 + 91cbfb1 commit a9a628f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
18 changes: 9 additions & 9 deletions Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ require 'dotenv'
Dotenv.load('.env')

# Load DSL and set up stages
require "capistrano/setup"
require 'capistrano/setup'

# Include default deployment tasks
require "capistrano/deploy"
require 'capistrano/deploy'

# Load the SCM plugin appropriate to your project:
#
Expand All @@ -16,7 +16,7 @@ require "capistrano/deploy"
# require "capistrano/scm/svn"
# install_plugin Capistrano::SCM::Svn
# or
require "capistrano/scm/git"
require 'capistrano/scm/git'
install_plugin Capistrano::SCM::Git

# Include tasks from other gems included in your Gemfile
Expand All @@ -30,14 +30,14 @@ install_plugin Capistrano::SCM::Git
# https://github.com/capistrano/rails
# https://github.com/capistrano/passenger
#
require "capistrano/rvm"
require 'capistrano/rvm'
# require "capistrano/rbenv"
# require "capistrano/chruby"
require "capistrano/bundler"
require "capistrano/rails/assets"
require "capistrano/rails/migrations"
require "capistrano/passenger"
require 'capistrano/bundler'
require 'capistrano/rails/assets'
require 'capistrano/rails/migrations'
require 'capistrano/passenger'
require 'capistrano/yarn'

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ group :development do
gem 'capistrano-rvm'
gem 'capistrano-passenger'
gem 'capistrano-yarn'

end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
Expand Down
6 changes: 0 additions & 6 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
# server "example.com", user: "deploy", roles: %w{app web}, other_property: :other_value
# server "db.example.com", user: "deploy", roles: %w{db}



# role-based syntax
# ==================

Expand All @@ -21,8 +19,6 @@
# role :web, %w{user1@primary.com user2@additional.com}, other_property: :other_value
# role :db, %w{deploy@example.com}



# Configuration
# =============
# You can set any configuration variable like in config/deploy.rb
Expand All @@ -31,8 +27,6 @@
# http://capistranorb.com/documentation/getting-started/configuration/
# Feel free to add new variables to customise your setup.



# Custom SSH Options
# ==================
# You may pass any option but keep in mind that net/ssh understands a
Expand Down

0 comments on commit a9a628f

Please sign in to comment.