Skip to content

Commit

Permalink
Update gems
Browse files Browse the repository at this point in the history
  • Loading branch information
codez committed Sep 21, 2020
1 parent 85a0a0e commit 161e386
Show file tree
Hide file tree
Showing 22 changed files with 155 additions and 176 deletions.
15 changes: 15 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ require:

AllCops:
DisplayCopNames: true
NewCops: enable
Exclude:
# only generated files
- db/schema.rb
Expand Down Expand Up @@ -55,6 +56,9 @@ Style/EmptyMethod:
Style/FormatStringToken:
Enabled: false

Style/HashAsLastArrayItem:
EnforcedStyle: no_braces

Style/GuardClause:
MinBodyLength: 3

Expand All @@ -71,10 +75,21 @@ Rails/CreateTableWithTimestamps:
Rails/Delegate:
Enabled: false

Rails/FilePath:
EnforcedStyle: arguments

# with dry_crud, this is a pattern
Rails/LexicallyScopedActionFilter:
Enabled: false

# not all
Rails/RakeEnvironment:
Enabled: false

# we should know about update_all constraints.
Rails/SkipsModelValidations:
Enabled: false

# disable for tuple uniqueness
Rails/UniqueValidationWithoutIndex:
Enabled: false
2 changes: 1 addition & 1 deletion Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require 'capistrano/passenger'

$LOAD_PATH.push File.expand_path('lib', __dir__)

require_relative 'lib/capistrano/artifact_plugin.rb'
require_relative 'lib/capistrano/artifact_plugin'
install_plugin Capistrano::ArtifactPlugin

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Expand Down
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

source 'https://rubygems.org'

gem 'rails', '6.0.1'
gem 'actionpack'
gem 'activemodel'
gem 'activerecord'
gem 'activesupport'
gem 'railties'

gem 'pg'

Expand Down

0 comments on commit 161e386

Please sign in to comment.