Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from main #32

Draft
wants to merge 197 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
c6a0d76
Add on_winner_choose hook
macgena Jun 26, 2019
ce0e62b
Update winner choose hook name
macgena Apr 11, 2020
25f6330
Merge pull request #574 from Nootrobox/add-on-winner-choose-hook
andrehjr Apr 11, 2020
0d2178e
Fix #max_experiments_reached? when using allow_multiple_experiments=c…
andrehjr May 2, 2020
f48c196
Merge pull request #613 from splitrb/fix-allow_multiple_experiments-c…
andrehjr May 4, 2020
036374e
Replace usage of SimpleRandom with RubyStats
andrehjr May 7, 2020
d3ef9d7
Merge pull request #616 from splitrb/rubystats-for-beta-distribution
andrehjr May 7, 2020
648576a
removed unreached loading from config
robin-phung May 13, 2020
0eab0ae
Merge pull request #619 from robin-phung/cleanup-experiment-init
andrehjr May 13, 2020
de61579
ab_test must return metadata on error or if split is disabled
andrehjr May 20, 2020
261013c
Merge pull request #622 from splitrb/consistent-return-metadata-when-…
andrehjr May 20, 2020
f9fc878
Introduce enable/disable experiment cohorting
robin-phung May 7, 2020
0dcc853
disable cohorting revision
robin-phung May 27, 2020
482e700
Merge pull request #615 from robin-phung/master
andrehjr May 27, 2020
00748fd
Update trial to init with goals instead
robin-phung Jun 3, 2020
18622a5
spec copy change
robin-phung Jun 4, 2020
9e45dd1
Merge pull request #625 from robin-phung/trial-goal-callback
andrehjr Jun 4, 2020
4b388f7
Only suport ruby 2.5+
andrehjr Jun 18, 2020
9ae7610
Add ruby 2.7 to the matrix
andrehjr Jun 18, 2020
38058d3
Merge pull request #627 from splitrb/bump-ruby-support-to-2-5-plus
andrehjr Jun 18, 2020
1222565
Change redis.exists to redis.exists? to avoid problems with redis 4.3
cesarizu Jun 9, 2020
1f5cb04
Bump minimum required redis version
andrehjr Jun 16, 2020
0111694
hset behavior changed on redis-rb, removing redundant specs
andrehjr Jun 16, 2020
b93a485
Use a real redis-server on CI
andrehjr Jun 18, 2020
1db141c
Merge pull request #628 from splitrb/bump-minimum-required-redis
andrehjr Jun 18, 2020
eefce9a
Update CHANGELOG.md
andrehjr Jun 19, 2020
41502b2
Remove thread_safe config as redis-rb is thread_safe by default since…
andrehjr Jun 22, 2020
cc816b3
Remove redis_url impl. Deprecated on ~2.2
andrehjr Jun 22, 2020
508c1d0
Merge pull request #630 from splitrb/remove-old-redis-config
andrehjr Jun 22, 2020
1895104
Merge pull request #631 from splitrb/remove-deprecated-redis-url
andrehjr Jun 22, 2020
fcd51dc
Remove unused RedisInterface#remove_last_item_from_list
andrehjr Jun 22, 2020
593a8d0
Simplify list persistence on RedisInterface
andrehjr Jun 22, 2020
7b9caf5
Remove extra SISMEMBER check when calling RedisInterface#add_to_set
andrehjr Jun 22, 2020
f062def
update rubocop_todo.yml
andrehjr Jun 22, 2020
7ec1015
Merge pull request #632 from splitrb/simplify-redis-interface
andrehjr Jun 22, 2020
bb99568
update changelog
andrehjr Jun 22, 2020
50e7359
Recreate rubocop configuration
andrehjr Jul 5, 2020
2c151af
Removes metadata key when it updated to nil
andrehjr Jul 5, 2020
b6a46a1
Merge pull request #633 from splitrb/fix-metadata-updates
andrehjr Jul 5, 2020
d3e0f40
Fix Rubocop offense Layout/EmptyLineAfterMagicComment
andrehjr Jul 5, 2020
a5a3285
Add description to what split stores in cookies
andrehjr Jul 5, 2020
8114493
Merge pull request #634 from splitrb/add-documentation-on-cookie-storage
andrehjr Jul 5, 2020
12390b8
Force experiment does not count for metrics
andrehjr Aug 8, 2020
10fff35
Merge pull request #637 from splitrb/rewrite-force-option
andrehjr Aug 8, 2020
3a9da74
Remove Sinatra Dependency for Split Dashboard
Apr 3, 2019
20ec72d
Implement usage of middlewares on new rack app
andrehjr Aug 8, 2020
3190356
Merge pull request #635 from splitrb/sinatra-has-left-the-building
andrehjr Aug 10, 2020
cb6dfde
Fix Layout/SpaceAfterComma offenses
andrehjr Aug 10, 2020
278e89e
Alternative as Sets were deprecated on 0.x
andrehjr Aug 22, 2020
1f730d4
Merge pull request #639 from splitrb/remove-old-alternatives-set-comp…
andrehjr Aug 22, 2020
930873f
shorten multiples hsets into a single hmset
andrehjr Aug 22, 2020
5e1f3b6
Merge pull request #640 from splitrb/reduce-extra-hset-call
andrehjr Aug 23, 2020
3cd4ec3
Revert "Remove Sinatra Dependency for Split Dashboard"
andrehjr Sep 1, 2020
e5c1534
add a simple way to load users outside web session
andrehjr Sep 2, 2020
595a59a
Merge pull request #642 from splitrb/outside-web-sessions
andrehjr Sep 2, 2020
5ee828c
Fix typo of in `Split::Trial` class variable
TomasBarry Oct 21, 2020
00d76dc
Merge pull request #644 from TomasBarry/typo/correct-spelling-of-clas…
andrehjr Oct 21, 2020
da021ef
Added in-memory cache for `ExperimentCatalog#find`
rdh Nov 24, 2020
e050109
Added `cache_catalog` config
rdh Nov 24, 2020
80704b1
Added Split::Cache with config and spec, and wired into a few places
rdh Nov 24, 2020
4828094
Add `disable_metrics` config to short circuit metrics lookup in Redis
rdh Nov 24, 2020
e2c265c
Back out `Split.configuration.disable_metrics`
rdh Nov 24, 2020
623e556
Remove obsolete cache clear left over from before refactoring
rdh Dec 3, 2020
a26b595
Added docs for `Split.configuration.cache`
rdh Dec 4, 2020
35b5259
Merge pull request #648 from yankaindustries/master
andrehjr Dec 7, 2020
3e9c1ae
Centralize checks for experiment existance in experiment catalog
andrehjr Dec 7, 2020
5ea585c
Add note for caching only being available on v4.0+
andrehjr Dec 7, 2020
deaa469
Set main branch as 4.0.0.pre
andrehjr Dec 7, 2020
429614e
Merge pull request #651 from splitrb/check-if-experiment-is-new-by-ca…
andrehjr Dec 7, 2020
310cfc6
Cherry pick the second split cache optimization
amangup Dec 9, 2020
b611d6c
Deleting an extra line
amangup Dec 9, 2020
73ef502
Removing the comment which says reboot required for new experiment co…
amangup Dec 9, 2020
24e748c
Merge pull request #652 from yankaindustries/cache_experiment_save_path
andrehjr Dec 13, 2020
94f297f
Update changelog
andrehjr Dec 17, 2020
c4ed88c
Reference 4.0.0.pre on CHANGELOG
andrehjr Dec 17, 2020
74266e8
Add missing entry to the changelog
andrehjr Mar 27, 2021
b8e7838
Fix minor typos in README.md
iridakos Apr 27, 2021
4dfb5da
Upgrade to GitHub-native Dependabot
dependabot-preview[bot] Apr 29, 2021
f4c5685
Merge pull request #656 from iridakos/main
andrehjr May 3, 2021
b150edb
Merge pull request #657 from splitrb/dependabot/add-v2-config-file
andrehjr May 6, 2021
cc7c41b
Uset Redis#hmset to keep compatibility with Redis < 4.0
andrehjr May 19, 2021
a93aedf
Merge pull request #659 from splitrb/keep-redis-compat-hset
andrehjr May 19, 2021
4b6c5c0
Fix cleanup_old_versions! misbehaviour
serggl Jul 14, 2021
92c60b4
Add initial workflow
andrehjr Jul 18, 2021
c9a51fb
Remove travis.yml
andrehjr Jul 18, 2021
df48f1a
Merge pull request #662 from splitrb/gh-actions
andrehjr Jul 18, 2021
d549a5e
Update README.md
andrehjr Jul 18, 2021
2037c4a
fix spec failures
serggl Jul 19, 2021
b941a9e
Merge pull request #661 from serggl/cleanup_old_versions
andrehjr Jul 19, 2021
dfaa05b
Adds config option for cookie domain
joedelia Aug 13, 2021
dca0d24
Removes domain option if set to nil
joedelia Aug 13, 2021
36495a5
Merge pull request #664 from joedelia/feature/set-cookie-domain
andrehjr Aug 21, 2021
b65e5b2
Update RSpec helper to support block syntax
clowder Aug 25, 2021
047b621
Keep railtie defined under the Split gem namespace
avit Sep 23, 2021
1cc4f2f
Merge pull request #666 from avit/split-namespace
andrehjr Sep 25, 2021
d6e9610
Simply check for the experiment name without the version
andrehjr Nov 7, 2021
8e4f7f8
Merge pull request #670 from splitrb/improve-checking-for-old-versions
andrehjr Nov 7, 2021
7872301
Merge pull request #665 from clowder/patch-1
andrehjr Nov 7, 2021
f88bb07
4.0.0.pre2
andrehjr Nov 7, 2021
09eed00
Add newer versions of Rails and Ruby to be tested on CI
andrehjr Dec 26, 2021
fbb9b73
Need to fix a few things before pushing ruby 3.1
andrehjr Dec 26, 2021
d0c3340
Merge pull request #671 from splitrb/add-newer-rails-and-ruby-to-ci
andrehjr Dec 26, 2021
6f95d35
v4.0.0
andrehjr Dec 30, 2021
c1b198f
v4.0.1
andrehjr Dec 30, 2021
080c0ea
Add ability to initialize experiments
robin-phung Feb 11, 2022
da3d77c
Update Ruby and Rails requirements on README
andrehjr Mar 4, 2022
c686794
Remove unused Gemfiles from tests
andrehjr Mar 4, 2022
d109915
Encapsulate Split::Algorithms at our own module to avoid explicit cal…
andrehjr Mar 4, 2022
1faca22
Require matrix to be installed in order to make it compatible with Ru…
andrehjr Mar 4, 2022
0474494
Merge pull request #674 from splitrb/encapsulate_ruby_stats
andrehjr Mar 4, 2022
c54ed80
Add Ruby 3.1 to the matrix
andrehjr Mar 4, 2022
6280af1
Add matrix to Rails 7.0 gemfile
andrehjr Mar 4, 2022
d97483e
Merge pull request #675 from splitrb/enable-rb-31
andrehjr Mar 4, 2022
a47651c
Remove appraisals
andrehjr Mar 4, 2022
c4a3e22
Merge pull request #676 from splitrb/cleanup-appraisals
andrehjr Mar 4, 2022
49bf6c2
Remove usage of deprecated implicit block expectation from specs
andrehjr Mar 4, 2022
a663a33
Merge pull request #677 from splitrb/fix-spec-deprecations
andrehjr Mar 4, 2022
c02d1c1
Fix rubocop Layout issues
andrehjr Mar 4, 2022
accf157
Fix Style/HashSyntax offenses
andrehjr Mar 4, 2022
3f4105a
Merge pull request #678 from splitrb/fix-hash-syntax-offenses
andrehjr Mar 4, 2022
88d600e
Fix Layout/EmptyLinesAroundAccessModifier
andrehjr Mar 4, 2022
41b3126
Fix Layout/EmptyLinesAroundClassBody
andrehjr Mar 4, 2022
92dc8ed
Fix Layout/CommentIndentation
andrehjr Mar 4, 2022
6d89af5
Fix Layout/ElseAlignment
andrehjr Mar 4, 2022
f4de6d9
Fix Layout/EmptyLinesAroundMethodBody
andrehjr Mar 4, 2022
91ba5ce
Fix Layout/EmptyLinesAroundModuleBody
andrehjr Mar 4, 2022
4d8b5a9
Fix Layout/EndAlignment
andrehjr Mar 4, 2022
c0b1af4
Fix Layout/SpaceAroundEqualsInParameterDefault
andrehjr Mar 4, 2022
f51598d
Fix Layout/SpaceBeforeBlockBraces
andrehjr Mar 4, 2022
b2562db
Fix Layout/SpaceInsideBlockBraces
andrehjr Mar 4, 2022
baba207
Fix Layout/SpaceInsideHashLiteralBraces
andrehjr Mar 4, 2022
96ab0c0
Fix Layout/TrailingEmptyLines
andrehjr Mar 4, 2022
67d57b1
Fix Layout/TrailingWhitespace
andrehjr Mar 4, 2022
003c098
Fix Layout/IndentationWidth
andrehjr Mar 4, 2022
3ed07e3
Fix Lint/UselessAssignment
andrehjr Mar 4, 2022
22954b9
Add missing frozen_string_literal: true
andrehjr Mar 4, 2022
ac81c9c
Enable rubocop for specs too
andrehjr Mar 4, 2022
e5077d3
Merge pull request #673 from robin-phung/add-unregistered-experiment
andrehjr Mar 4, 2022
1ebd423
Merge pull request #679 from splitrb/fix-layout-offenses
andrehjr Mar 4, 2022
b7bf52a
Enable Rubocop to be executed at CI
andrehjr Mar 4, 2022
ec3a9b7
Fix remaining rubocop offenses
andrehjr Mar 4, 2022
8a16b49
Merge pull request #680 from splitrb/enable-rubocop-ci
andrehjr Mar 4, 2022
d108971
Fix Style/AndOr
andrehjr Mar 4, 2022
bd0e161
Fix Style/ColonMethodCall
andrehjr Mar 4, 2022
f723890
Fix Style/DefWithParentheses
andrehjr Mar 4, 2022
dcc87ec
Fix Style/MethodDefParentheses
andrehjr Mar 4, 2022
8dc7727
Fix Style/RedundantReturn
andrehjr Mar 4, 2022
c49f156
Merge pull request #681 from splitrb/fix-rubocop-offenses
andrehjr Mar 4, 2022
9c2f237
Enforce double quotes
andrehjr Mar 4, 2022
4ee3f02
Merge pull request #682 from splitrb/fix-string-literals
andrehjr Mar 7, 2022
6f9f8c7
Update actions/checkout to v3
andrehjr Apr 2, 2022
9a0e280
Merge pull request #683 from splitrb/update-actions-checkout-v3
andrehjr Apr 2, 2022
64e43e4
Handle when Rails is partially loaded as a Gem
TSMMark Apr 22, 2022
1f61da9
Merge pull request #687 from TSMMark/patch-1
andrehjr Apr 22, 2022
a602238
Update rack-test requirement from ~> 1.1 to ~> 2.0
dependabot[bot] Jun 27, 2022
97a5ee8
Merge pull request #692 from splitrb/dependabot/bundler/rack-test-tw-2.0
andrehjr Jun 27, 2022
872b511
Fix default branch name and gem metadata indentation
ursm Jul 17, 2022
29c6c07
Merge pull request #693 from ursm/lex
andrehjr Jul 17, 2022
dd8e87e
Add support for redis-client, which does not automatically cast types…
knarewski Sep 12, 2022
72b9d89
Use empty string directly instead of casting nil
knarewski Sep 12, 2022
95795b4
Merge pull request #696 from knarewski/add-support-for-redis-client
andrehjr Sep 12, 2022
4e4599f
Fix spec for parsing invalid JSON
knarewski Sep 12, 2022
2314122
Handle cookies with valid JSON of invalid type
knarewski Sep 12, 2022
5b86061
Merge pull request #697 from knarewski/stop-crashing-on-non-hash-json
andrehjr Sep 17, 2022
2f666ac
Update changelog
andrehjr Dec 2, 2022
5092ef2
v4.0.2
andrehjr Dec 2, 2022
42cda01
Fix deprecation warning with Redis 4.8.0
martingregoire Jan 13, 2023
5109150
Merge pull request #701 from martingregoire/redis-4.8-sadd-deprecatio…
andrehjr Jan 14, 2023
add7d5c
Add ruby 3.2 to ci
andrehjr Jan 14, 2023
637304e
Merge pull request #702 from splitrb/add-ruby-3-2
andrehjr Jan 14, 2023
ec089ad
Do not try to calculate winning probability if participant/completed …
andrehjr Jan 22, 2023
cfd61ac
Require pry on spec_helper
andrehjr Jan 22, 2023
43b08a5
Merge pull request #703 from splitrb/check-if-alternatives-have-valid…
andrehjr Jan 22, 2023
7c91132
Add matrix as a default dependency
andrehjr Feb 28, 2023
a2190bb
Merge pull request #705 from splitrb/add-matrix-as-default-dep
andrehjr Feb 28, 2023
4ae6399
(fix): Fixed CROSSSLOT keys issue when using redis cluster
naveen-chidhambaram Jul 6, 2023
77d482b
Merge pull request #710 from naveen-chidhambaram/main
andrehjr Jul 25, 2023
c249153
Convert value to string before saving
Jealrock Aug 29, 2023
074b502
Merge pull request #714 from Jealrock/main
andrehjr Aug 29, 2023
9505242
Update documentation regarding finding users outside a web session
andrehjr Sep 3, 2023
b401721
Merge pull request #716 from splitrb/fix-outside-web-session-details-…
andrehjr Sep 3, 2023
9d4c9b5
Do not persist invalid extra_info on ab_record_extra_info.
andrehjr Sep 3, 2023
32eee90
Merge pull request #717 from splitrb/fix-extra-info-that-may-be-nil
andrehjr Sep 3, 2023
f86519a
Update actions/checkout to v4
andrehjr Sep 4, 2023
2d55081
Merge pull request #718 from splitrb/update-github-workflows-ci
andrehjr Sep 4, 2023
3f6c1fc
Bump v4.0.3
andrehjr Nov 15, 2023
d29e26a
Fix typo at CHANGELOG
andrehjr Nov 15, 2023
bd2bbac
Fix context shim override behavior
henrique-ft Feb 29, 2024
e083659
Add tests to context shim override behavior
henrique-ft Feb 29, 2024
18ad66a
Fix params on spec_helper build_request
henrique-ft Feb 29, 2024
9135bb6
Make specs compatible with newer rack
andrehjr Mar 3, 2024
e8120d1
Merge pull request #722 from splitrb/update-specs-newer-rack
andrehjr Mar 3, 2024
7a075be
Merge pull request #721 from henrique-ft/fix-context-shim-override-be…
andrehjr Mar 3, 2024
4445631
Refactor spec/encapsulated_helper_spec.rb to not include EncapsuledHe…
andrehjr Mar 3, 2024
397dc47
We can just check if request/params are there
andrehjr Mar 3, 2024
f34f68d
Merge pull request #723 from splitrb/fix-context-shim-override-behavior
andrehjr Mar 3, 2024
cdd66da
Prepare v4.0.4 release
andrehjr Mar 3, 2024
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
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: bundler
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
76 changes: 76 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: split

on: [push]

jobs:
test:
strategy:
matrix:
include:
- gemfile: 5.2.gemfile
ruby: 2.5

- gemfile: 5.2.gemfile
ruby: 2.6

- gemfile: 5.2.gemfile
ruby: 2.7

- gemfile: 6.0.gemfile
ruby: 2.5

- gemfile: 6.0.gemfile
ruby: 2.6

- gemfile: 6.0.gemfile
ruby: 2.7

- gemfile: 6.0.gemfile
ruby: '3.0'

- gemfile: 6.1.gemfile
ruby: '3.0'

- gemfile: 7.0.gemfile
ruby: '3.0'

- gemfile: 7.0.gemfile
ruby: '3.1'

- gemfile: 7.0.gemfile
ruby: '3.2'

runs-on: ubuntu-latest

services:
redis:
image: redis
ports: ['6379:6379']
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- uses: actions/checkout@v4

- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Install dependencies
run: |
bundle config set gemfile "${GITHUB_WORKSPACE}/gemfiles/${{ matrix.gemfile }}"
bundle install --jobs 4 --retry 3

- name: Display Ruby version
run: ruby -v

- name: Test
run: bundle exec rspec
env:
REDIS_URL: redis:6379

- name: Rubocop
run: bundle exec rubocop
181 changes: 177 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,180 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 2.5
DisabledByDefault: true
SuggestExtensions: false
Exclude:
- 'Appraisals'
- 'gemfiles/**/*'
- 'spec/**/*.rb'

Style/AndOr:
Enabled: true

Layout/CaseIndentation:
Enabled: true

Layout/ClosingHeredocIndentation:
Enabled: true

Layout/CommentIndentation:
Enabled: true

Layout/ElseAlignment:
Enabled: true

Layout/EndAlignment:
Enabled: true
EnforcedStyleAlignWith: variable
AutoCorrect: true

Layout/EmptyLineAfterMagicComment:
Enabled: true

Layout/EmptyLinesAroundAccessModifier:
Enabled: true
EnforcedStyle: only_before

Layout/EmptyLinesAroundBlockBody:
Enabled: true

Layout/EmptyLinesAroundClassBody:
Enabled: true

Layout/EmptyLinesAroundMethodBody:
Enabled: true

Layout/EmptyLinesAroundModuleBody:
Enabled: true

Style/HashSyntax:
Enabled: true

Layout/FirstArgumentIndentation:
Enabled: true

Layout/IndentationConsistency:
Enabled: true
EnforcedStyle: indented_internal_methods

Layout/IndentationWidth:
Enabled: true

Layout/LeadingCommentSpace:
Enabled: true

Layout/SpaceAfterColon:
Enabled: true

Layout/SpaceAfterComma:
Enabled: true

Layout/SpaceAfterSemicolon:
Enabled: true

Layout/SpaceAroundEqualsInParameterDefault:
Enabled: true

Layout/SpaceAroundKeyword:
Enabled: true

Layout/SpaceBeforeComma:
Enabled: true

Layout/SpaceBeforeComment:
Enabled: true

Layout/SpaceBeforeFirstArg:
Enabled: true

Style/DefWithParentheses:
Enabled: true

Style/MethodDefParentheses:
Enabled: true

Style/FrozenStringLiteralComment:
Enabled: true
EnforcedStyle: always

Style/RedundantFreeze:
Enabled: true

Layout/SpaceBeforeBlockBraces:
Enabled: true

Layout/SpaceInsideBlockBraces:
Enabled: true
EnforcedStyleForEmptyBraces: space

Layout/SpaceInsideHashLiteralBraces:
Enabled: true

Layout/SpaceInsideParens:
Enabled: true

Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes

Layout/IndentationStyle:
Enabled: true

Layout/TrailingEmptyLines:
Enabled: true

Layout/TrailingWhitespace:
Enabled: true

Style/RedundantPercentQ:
Enabled: true

Lint/AmbiguousOperator:
Enabled: true

Lint/AmbiguousRegexpLiteral:
Enabled: true

Lint/ErbNewArguments:
Enabled: true

Lint/RequireParentheses:
Enabled: true

Lint/ShadowingOuterLocalVariable:
Enabled: true

Lint/RedundantStringCoercion:
Enabled: true

Lint/UriEscapeUnescape:
Enabled: true

Lint/UselessAssignment:
Enabled: true

Lint/DeprecatedClassMethods:
Enabled: true

Style/ParenthesesAroundCondition:
Enabled: true

Style/HashTransformKeys:
Enabled: true

Style/HashTransformValues:
Enabled: true

Style/RedundantBegin:
Enabled: true

Style/RedundantReturn:
Enabled: true
AllowMultipleReturnValues: true

Style/Semicolon:
Enabled: true
AllowAsExpressionSeparator: true

Style/ColonMethodCall:
Enabled: true

Style/TrivialAccessors:
Enabled: true
Loading