Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
parallelism: 1
docker:
- image: circleci/ruby:2.7.1-node-browsers
- image: circleci/ruby:3.0.0-node-browsers
environment:
PGHOST: localhost
PGUSER: postgres
Expand Down
17 changes: 0 additions & 17 deletions .codeclimate.yml

This file was deleted.

61 changes: 42 additions & 19 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,66 @@
require: rubocop-rspec
Rails:
Enabled: true
require:
- rubocop-rspec
AllCops:
NewCops: enable
Exclude:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'spec/support/**/*'
- 'spec/*_helper.rb'
- 'bin/{rails,rake}'
RSpec/ReturnFromStub:
EnforcedStyle: block
RSpec/ImplicitExpect:
EnforcedStyle: should
RSpec/ExpectChange:
EnforcedStyle: block
RSpec/ExampleWording:
Enabled: false
Metrics/LineLength:
Enabled: false
Style/FrozenStringLiteralComment:
Layout/LineLength:
Enabled: false
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*'
Metrics/BlockLength:
Exclude:
- config/routes.rb
- 'spec/**/*'
- 'app/admin/**/*'
- '**/*.rake'
RSpec/EmptyLineAfterSubject:
Exclude:
- 'spec/factories.rb'
RSpec/ExpectChange:
EnforcedStyle: block
RSpec/ExampleLength:
Exclude:
- 'spec/system/**/*'
RSpec/ExampleWording:
Enabled: false
RSpec/ImplicitExpect:
EnforcedStyle: should
RSpec/MultipleExpectations:
Exclude:
- 'spec/system/**/*'
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/NamedSubject:
Enabled: false
RSpec/NestedGroups:
Max: 4
RSpec/ReturnFromStub:
EnforcedStyle: block
Style/Documentation:
Enabled: false
Style/LambdaCall:
Enabled: false
Style/NumericLiterals:
Enabled: false
RSpec/ExampleLength:
Exclude:
- 'spec/system/**/*'
RSpec/MultipleExpectations:
Style/Semicolon:
Exclude:
- 'spec/system/**/*'
- 'spec/**/*'
Style/FrozenStringLiteralComment:
Enabled: false
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.2
3.0.0
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://rubygems.org'
ruby '~> 2.7.1'
ruby '~> 3.0.0'

git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?('/')
Expand Down Expand Up @@ -47,6 +47,10 @@ group :development do
gem 'listen'
gem 'meta_request' # For rails_panel
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.

gem 'rubocop', require: false
gem 'rubocop-rspec', require: false

gem 'web-console'
end

Expand Down
27 changes: 25 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ GEM
arbre (1.4.0)
activesupport (>= 3.0.0, < 6.2)
ruby2_keywords (>= 0.0.2, < 1.0)
ast (2.4.1)
autoprefixer-rails (10.1.0.0)
execjs
awesome_print (1.8.0)
Expand Down Expand Up @@ -220,6 +221,9 @@ GEM
nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
orm_adapter (0.5.0)
parallel (1.20.1)
parser (3.0.0.0)
ast (~> 2.4.1)
pg (1.2.3)
popper_js (1.16.0)
public_suffix (4.0.6)
Expand Down Expand Up @@ -260,6 +264,7 @@ GEM
method_source
rake (>= 0.8.7)
thor (~> 1.0)
rainbow (3.0.0)
rake (13.0.3)
ransack (2.4.1)
activerecord (>= 5.2.4)
Expand Down Expand Up @@ -315,6 +320,21 @@ GEM
rspec-support (3.10.1)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.7.0)
parallel (~> 1.10)
parser (>= 2.7.1.5)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.2.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 2.0)
rubocop-ast (1.3.0)
parser (>= 2.7.1.5)
rubocop-rspec (2.1.0)
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.2)
ruby_parser (3.15.0)
sexp_processor (~> 4.9)
Expand Down Expand Up @@ -374,6 +394,7 @@ GEM
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.7.0)
warden (1.2.9)
rack (>= 2.0.9)
web-console (3.7.0)
Expand Down Expand Up @@ -431,6 +452,8 @@ DEPENDENCIES
rspec-rails
rspec-retry
rspec_junit_formatter
rubocop
rubocop-rspec
sendwithus_ruby_action_mailer
sidekiq
simplecov
Expand All @@ -446,7 +469,7 @@ DEPENDENCIES
webmock

RUBY VERSION
ruby 2.7.1p83
ruby 3.0.0p0

BUNDLED WITH
2.1.4
2.2.3