Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: castle/castle-ruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.1.0
Choose a base ref
...
head repository: castle/castle-ruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jun 15, 2021

  1. adding support for risk and filter failover

    the structure of authenticate differs from risk and filter
    
    authenticate - { action: 'allow|deny|challenge' }
    risk/filter - { policy: { action: 'allow|deny|challenge' } }
    James Stoup authored and bartes committed Jun 15, 2021
    Copy the full SHA
    f80d7ee View commit details
  2. coditsu

    James Stoup authored and bartes committed Jun 15, 2021
    Copy the full SHA
    d19a14c View commit details

Commits on Sep 2, 2021

  1. Copy the full SHA
    0cc9215 View commit details
  2. release 7.1.2

    bartes committed Sep 2, 2021
    Copy the full SHA
    bf623e7 View commit details

Commits on Oct 27, 2021

  1. Update README.md (#250)

    * Update README.md
    
    Refer to official docs for detailed usage
    
    * Remove Events section as well
    wallin authored Oct 27, 2021
    Copy the full SHA
    10827b8 View commit details

Commits on Nov 10, 2021

  1. Update README.md

    wallin authored and bartes committed Nov 10, 2021
    Copy the full SHA
    06cdb22 View commit details

Commits on Mar 9, 2022

  1. Copy the full SHA
    9284360 View commit details

Commits on Mar 10, 2022

  1. Copy the full SHA
    55b9324 View commit details
  2. bump dependencies 2022-03-09 (#255)

    * bump dependencies
    
    * more ruby versions
    
    * linter
    bartes authored Mar 10, 2022
    Copy the full SHA
    3d73cbe View commit details
  3. release 7.2.0 (#256)

    bartes authored Mar 10, 2022
    Copy the full SHA
    a7585fd View commit details

Commits on Dec 22, 2022

  1. bumps 22-12-2022 (#258)

    bartes authored Dec 22, 2022
    Copy the full SHA
    2d3cd09 View commit details

Commits on Jan 9, 2023

  1. Copy the full SHA
    c39d8b5 View commit details

Commits on Mar 28, 2023

  1. Bump rack from 3.0.2 to 3.0.7

    Bumps [rack](https://github.com/rack/rack) from 3.0.2 to 3.0.7.
    - [Release notes](https://github.com/rack/rack/releases)
    - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
    - [Commits](rack/rack@v3.0.2...v3.0.7)
    
    ---
    updated-dependencies:
    - dependency-name: rack
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Mar 28, 2023
    Copy the full SHA
    f2149fe View commit details

Commits on Mar 31, 2023

  1. Merge pull request #260 from castle/dependabot/bundler/rack-3.0.7

    Bump rack from 3.0.2 to 3.0.7
    afterdesign authored Mar 31, 2023
    Copy the full SHA
    faebb15 View commit details

Commits on Jun 3, 2024

  1. Update Rack

    afterdesign committed Jun 3, 2024
    Copy the full SHA
    575c08a View commit details
  2. Copy the full SHA
    089fcb1 View commit details

Commits on Jul 9, 2024

  1. bump ruby

    bartes committed Jul 9, 2024
    Copy the full SHA
    ce0c9e2 View commit details
  2. bundler up

    bartes committed Jul 9, 2024
    Copy the full SHA
    134b90a View commit details
  3. bumps

    bartes committed Jul 9, 2024
    Copy the full SHA
    f2dd013 View commit details
  4. add missing header to specs

    bartes committed Jul 9, 2024
    Copy the full SHA
    6154471 View commit details
  5. cookie

    bartes committed Jul 9, 2024
    Copy the full SHA
    caf082d View commit details
  6. headers

    bartes committed Jul 9, 2024
    Copy the full SHA
    666d902 View commit details
  7. appraisal

    bartes committed Jul 9, 2024
    Copy the full SHA
    501dfc5 View commit details
  8. bump addressable

    bartes committed Jul 9, 2024
    Copy the full SHA
    88fa1d4 View commit details
  9. webmock

    bartes committed Jul 9, 2024
    Copy the full SHA
    9e36ba8 View commit details

Commits on Jul 10, 2024

  1. Merge pull request #266 from castle/bumps/09-07-2024

    bumps 09-07-2024
    afterdesign authored Jul 10, 2024
    Copy the full SHA
    74df9a4 View commit details

Commits on Aug 8, 2024

  1. Copy the full SHA
    6d1ccac View commit details

Commits on Aug 12, 2024

  1. Copy the full SHA
    423339b View commit details
  2. Version bump

    zuchmanski committed Aug 12, 2024
    Copy the full SHA
    3dcef9a View commit details
  3. Copy the full SHA
    a533033 View commit details
  4. Use Rails 7.1 in tests

    zuchmanski committed Aug 12, 2024
    Copy the full SHA
    fa55dae View commit details
  5. Rubocop

    zuchmanski committed Aug 12, 2024
    Copy the full SHA
    de47d9c View commit details
  6. Merge pull request #267 from castle/CAS-12693/do-not-pass-non-string-…

    …header-values
    
    Filter out non string header values
    zuchmanski authored Aug 12, 2024
    Copy the full SHA
    f6274cd View commit details
  7. rename error for 429 (#268)

    bartes authored Aug 12, 2024
    Copy the full SHA
    bd9d4f9 View commit details
  8. bump dependencies (#269)

    bartes authored Aug 12, 2024
    Copy the full SHA
    2ff6a3c View commit details
  9. release 8.0.0 (#270)

    bartes authored Aug 12, 2024
    Copy the full SHA
    d53c1a0 View commit details

Commits on Oct 22, 2024

  1. Copy the full SHA
    c3c8dbb View commit details
  2. Copy the full SHA
    743adff View commit details

Commits on Oct 31, 2024

  1. Add support for Lists API (#272)

    * Add list commands
    
    * Add list item commands && update castle required files
    
    * update specs and add list_item/count and list/all commands
    
    * Add list & list_item apis and tests
    
    * Add client actions for list and list item apis
    
    * Pluralize list & list item namespaces and add client specs for added actions
    
    * Rename lists/all to lists/get_all
    
    * Update lib/castle/client_actions/list_items.rb
    
    Co-authored-by: Igor Pstyga <igor.pstyga@gmail.com>
    
    * update client action calls to have option signature of apis called
    
    ---------
    
    Co-authored-by: Igor Pstyga <igor.pstyga@gmail.com>
    andymond and opti authored Oct 31, 2024
    Copy the full SHA
    b1d3425 View commit details
  2. Bump dependencies 2024-10-30 (#273)

    * Bump dependencies 2024-10-30
    
    * Coditsu fixes
    
    * Update changelog
    
    * Disable rspec monkey patching.
    opti authored Oct 31, 2024
    Copy the full SHA
    b7c4215 View commit details
  3. Release v8.1.0 (#274)

    opti authored Oct 31, 2024
    Copy the full SHA
    23b7b84 View commit details
Showing with 2,163 additions and 1,015 deletions.
  1. +41 −42 .circleci/config.yml
  2. +1 −0 .gitignore
  3. +42 −5 .prettierignore
  4. +3 −1 .prettierrc
  5. +0 −9 .rubocop-performance.yml
  6. +0 −26 .rubocop-rspec.yml
  7. +98 −19 .rubocop.yml
  8. +1 −1 .ruby-version
  9. +4 −4 Appraisals
  10. +49 −10 CHANGELOG.md
  11. +0 −4 Gemfile
  12. +41 −68 Gemfile.lock
  13. +14 −159 README.md
  14. +1 −2 RELEASING.md
  15. +10 −10 castle-rb.gemspec
  16. +1 −1 gemfiles/{rails_5.gemfile → rails_7.gemfile}
  17. +29 −3 lib/castle.rb
  18. +3 −12 lib/castle/api/authenticate.rb
  19. +1 −3 lib/castle/api/end_impersonation.rb
  20. +2 −10 lib/castle/api/filter.rb
  21. +23 −0 lib/castle/api/list_items/archive.rb
  22. +22 −0 lib/castle/api/list_items/count.rb
  23. +22 −0 lib/castle/api/list_items/create.rb
  24. +22 −0 lib/castle/api/list_items/get.rb
  25. +22 −0 lib/castle/api/list_items/query.rb
  26. +22 −0 lib/castle/api/list_items/unarchive.rb
  27. +22 −0 lib/castle/api/list_items/update.rb
  28. +23 −0 lib/castle/api/lists/create.rb
  29. +22 −0 lib/castle/api/lists/delete.rb
  30. +22 −0 lib/castle/api/lists/get.rb
  31. +22 −0 lib/castle/api/lists/get_all.rb
  32. +22 −0 lib/castle/api/lists/query.rb
  33. +22 −0 lib/castle/api/lists/update.rb
  34. +2 −10 lib/castle/api/log.rb
  35. +2 −10 lib/castle/api/risk.rb
  36. +1 −3 lib/castle/api/start_impersonation.rb
  37. +1 −3 lib/castle/api/track.rb
  38. +4 −5 lib/castle/client.rb
  39. +44 −0 lib/castle/client_actions/list_items.rb
  40. +39 −0 lib/castle/client_actions/lists.rb
  41. +24 −0 lib/castle/commands/list_items/archive.rb
  42. +23 −0 lib/castle/commands/list_items/count.rb
  43. +22 −0 lib/castle/commands/list_items/create.rb
  44. +23 −0 lib/castle/commands/list_items/get.rb
  45. +24 −0 lib/castle/commands/list_items/query.rb
  46. +23 −0 lib/castle/commands/list_items/unarchive.rb
  47. +22 −0 lib/castle/commands/list_items/update.rb
  48. +21 −0 lib/castle/commands/lists/create.rb
  49. +20 −0 lib/castle/commands/lists/delete.rb
  50. +20 −0 lib/castle/commands/lists/get.rb
  51. +17 −0 lib/castle/commands/lists/get_all.rb
  52. +21 −0 lib/castle/commands/lists/query.rb
  53. +22 −0 lib/castle/commands/lists/update.rb
  54. +1 −5 lib/castle/commands/log.rb
  55. +1 −5 lib/castle/commands/risk.rb
  56. +2 −6 lib/castle/configuration.rb
  57. +25 −2 lib/castle/core/process_response.rb
  58. +4 −7 lib/castle/core/process_webhook.rb
  59. +2 −6 lib/castle/core/send_request.rb
  60. +8 −0 lib/castle/errors.rb
  61. +11 −1 lib/castle/failover/prepare_response.rb
  62. +1 −3 lib/castle/headers/extract.rb
  63. +2 −3 lib/castle/headers/filter.rb
  64. +1 −2 lib/castle/payload/prepare.rb
  65. +1 −1 lib/castle/session.rb
  66. +1 −1 lib/castle/version.rb
  67. +9 −3 spec/integration/rails/rails_spec.rb
  68. +2 −2 spec/integration/rails/support/application.rb
  69. +4 −30 spec/integration/rails/support/home_controller.rb
  70. +3 −7 spec/lib/castle/api/approve_device_spec.rb
  71. +23 −26 spec/lib/castle/api/authenticate_spec.rb
  72. +9 −15 spec/lib/castle/api/end_impersonation_spec.rb
  73. +1 −1 spec/lib/castle/api/filter_spec.rb
  74. +2 −4 spec/lib/castle/api/get_device_spec.rb
  75. +2 −4 spec/lib/castle/api/get_devices_for_user_spec.rb
  76. +18 −0 spec/lib/castle/api/list_items/archive_spec.rb
  77. +21 −0 spec/lib/castle/api/list_items/count_spec.rb
  78. +22 −0 spec/lib/castle/api/list_items/create_spec.rb
  79. +18 −0 spec/lib/castle/api/list_items/get_spec.rb
  80. +21 −0 spec/lib/castle/api/list_items/query_spec.rb
  81. +18 −0 spec/lib/castle/api/list_items/unarchive_spec.rb
  82. +22 −0 spec/lib/castle/api/list_items/update_spec.rb
  83. +21 −0 spec/lib/castle/api/lists/create_spec.rb
  84. +17 −0 spec/lib/castle/api/lists/delete_spec.rb
  85. +17 −0 spec/lib/castle/api/lists/get_all_spec.rb
  86. +17 −0 spec/lib/castle/api/lists/get_spec.rb
  87. +21 −0 spec/lib/castle/api/lists/query_spec.rb
  88. +21 −0 spec/lib/castle/api/lists/update_spec.rb
  89. +1 −1 spec/lib/castle/api/log_spec.rb
  90. +3 −7 spec/lib/castle/api/report_device_spec.rb
  91. +1 −1 spec/lib/castle/api/risk_spec.rb
  92. +9 −15 spec/lib/castle/api/start_impersonation_spec.rb
  93. +10 −17 spec/lib/castle/api/track_spec.rb
  94. +1 −1 spec/lib/castle/api_spec.rb
  95. +3 −10 spec/lib/castle/client_id/extract_spec.rb
  96. +43 −76 spec/lib/castle/client_spec.rb
  97. +4 −4 spec/lib/castle/command_spec.rb
  98. +3 −3 spec/lib/castle/commands/approve_device_spec.rb
  99. +18 −25 spec/lib/castle/commands/authenticate_spec.rb
  100. +15 −22 spec/lib/castle/commands/end_impersonation_spec.rb
  101. +16 −16 spec/lib/castle/commands/filter_spec.rb
  102. +3 −3 spec/lib/castle/commands/get_device_spec.rb
  103. +3 −3 spec/lib/castle/commands/get_devices_for_user_spec.rb
  104. +21 −0 spec/lib/castle/commands/list_items/archive_spec.rb
  105. +21 −0 spec/lib/castle/commands/list_items/count_spec.rb
  106. +22 −0 spec/lib/castle/commands/list_items/create_spec.rb
  107. +21 −0 spec/lib/castle/commands/list_items/get_spec.rb
  108. +27 −0 spec/lib/castle/commands/list_items/query_spec.rb
  109. +21 −0 spec/lib/castle/commands/list_items/unarchive_spec.rb
  110. +21 −0 spec/lib/castle/commands/list_items/update_spec.rb
  111. +33 −0 spec/lib/castle/commands/lists/create_spec.rb
  112. +21 −0 spec/lib/castle/commands/lists/delete_spec.rb
  113. +11 −0 spec/lib/castle/commands/lists/get_all_spec.rb
  114. +21 −0 spec/lib/castle/commands/lists/get_spec.rb
  115. +27 −0 spec/lib/castle/commands/lists/query_spec.rb
  116. +29 −0 spec/lib/castle/commands/lists/update_spec.rb
  117. +16 −16 spec/lib/castle/commands/log_spec.rb
  118. +3 −3 spec/lib/castle/commands/report_device_spec.rb
  119. +16 −16 spec/lib/castle/commands/risk_spec.rb
  120. +15 −22 spec/lib/castle/commands/start_impersonation_spec.rb
  121. +20 −25 spec/lib/castle/commands/track_spec.rb
  122. +2 −2 spec/lib/castle/configuration_spec.rb
  123. +10 −9 spec/lib/castle/context/get_default_spec.rb
  124. +1 −1 spec/lib/castle/context/merge_spec.rb
  125. +4 −5 spec/lib/castle/context/prepare_spec.rb
  126. +1 −1 spec/lib/castle/context/sanitize_spec.rb
  127. +1 −1 spec/lib/castle/core/get_connection_spec.rb
  128. +4 −7 spec/lib/castle/core/process_response_spec.rb
  129. +13 −7 spec/lib/castle/core/process_webhook_spec.rb
  130. +30 −10 spec/lib/castle/core/send_request_spec.rb
  131. +6 −6 spec/lib/castle/failover/strategy_spec.rb
  132. +2 −2 spec/lib/castle/headers/extract_spec.rb
  133. +7 −4 spec/lib/castle/headers/filter_spec.rb
  134. +6 −6 spec/lib/castle/headers/format_spec.rb
  135. +3 −7 spec/lib/castle/ips/extract_spec.rb
  136. +3 −2 spec/lib/castle/logger_spec.rb
  137. +5 −8 spec/lib/castle/payload/prepare_spec.rb
  138. +2 −4 spec/lib/castle/secure_mode_spec.rb
  139. +2 −6 spec/lib/castle/session_spec.rb
  140. +2 −2 spec/lib/castle/singleton_configuration_spec.rb
  141. +1 −1 spec/lib/castle/utils/clean_invalid_chars_spec.rb
  142. +2 −2 spec/lib/castle/utils/clone_spec.rb
  143. +1 −1 spec/lib/castle/utils/deep_symbolize_keys_spec.rb
  144. +1 −1 spec/lib/castle/utils/get_timestamp_spec.rb
  145. +3 −5 spec/lib/castle/utils/merge_spec.rb
  146. +2 −7 spec/lib/castle/validators/not_supported_spec.rb
  147. +3 −10 spec/lib/castle/validators/present_spec.rb
  148. +4 −4 spec/lib/castle/verdict_spec.rb
  149. +1 −1 spec/lib/castle/version_spec.rb
  150. +13 −7 spec/lib/castle/webhooks/verify_spec.rb
  151. +6 −8 spec/lib/castle_spec.rb
  152. +2 −0 spec/spec_helper.rb
  153. +37 −22 spec/support/shared_examples/action_request.rb
  154. +14 −16 spec/support/shared_examples/configuration.rb
  155. +52 −0 spec/support/shared_examples/list_items.rb
  156. +45 −0 spec/support/shared_examples/lists.rb
83 changes: 41 additions & 42 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ version: 2.1
aliases:
- &coditsu
docker:
- image: circleci/ruby:2.6.5
- image: cimg/ruby:3.3
steps:
- setup_remote_docker
- checkout
@@ -15,24 +15,27 @@ aliases:
-e CODITSU_API_SECRET \
-e CODITSU_REPOSITORY_ID \
--volumes-from sources coditsu/coditsu:latest
- &rails-5
environment:
BUNDLE_GEMFILE: gemfiles/rails_5.gemfile
- &rails-6
environment:
BUNDLE_GEMFILE: gemfiles/rails_6.gemfile
- &ruby-2_4_9
- &rails-7
environment:
BUNDLE_GEMFILE: gemfiles/rails_7.gemfile
- &ruby-2_7
docker:
- image: circleci/ruby:2.4.9
- &ruby-2_5_7
- image: cimg/ruby:2.7
- &ruby-3_0
docker:
- image: circleci/ruby:2.5.7
- &ruby-2_6_5
- image: cimg/ruby:3.0
- &ruby-3_1
docker:
- image: circleci/ruby:2.6.5
- &ruby-2_7
- image: cimg/ruby:3.1
- &ruby-3_2
docker:
- image: circleci/ruby:2.7
- image: cimg/ruby:3.2
- &ruby-3_3
docker:
- image: cimg/ruby:3.3
- &job-defaults
steps:
- checkout
@@ -42,45 +45,41 @@ aliases:

jobs:
coditsu:
<<: *rails-5
<<: *rails-7
<<: *coditsu
ruby-2_4_9-rails-5:
<<: *ruby-2_4_9
<<: *rails-5
<<: *job-defaults
ruby-2_5_7-rails-5:
<<: *ruby-2_5_7
<<: *rails-5
ruby-2_7-rails-6:
<<: *ruby-2_7
<<: *rails-6
<<: *job-defaults
ruby-2_5_7-rails-6:
<<: *ruby-2_5_7
ruby-3_0-rails-6:
<<: *ruby-3_0
<<: *rails-6
<<: *job-defaults
ruby-2_6_5-rails-5:
<<: *ruby-2_6_5
<<: *rails-5
ruby-3_0-rails-7:
<<: *ruby-3_0
<<: *rails-7
<<: *job-defaults
ruby-2_6_5-rails-6:
<<: *ruby-2_6_5
<<: *rails-6
ruby-3_1-rails-7:
<<: *ruby-3_1
<<: *rails-7
<<: *job-defaults
ruby-2_7-rails-5:
<<: *ruby-2_7
<<: *rails-5
ruby-3_2-rails-7:
<<: *ruby-3_2
<<: *rails-7
<<: *job-defaults
ruby-2_7-rails-6:
<<: *ruby-2_7
<<: *rails-6
ruby-3_3-rails-7:
<<: *ruby-3_3
<<: *rails-7
<<: *job-defaults

workflows:
main:
jobs:
- coditsu
- ruby-2_4_9-rails-5
- ruby-2_5_7-rails-5
- ruby-2_5_7-rails-6
- ruby-2_6_5-rails-5
- ruby-2_6_5-rails-6
- ruby-2_7-rails-5
- coditsu:
context:
- coditsu
- ruby-2_7-rails-6
- ruby-3_0-rails-6
- ruby-3_0-rails-7
- ruby-3_1-rails-7
- ruby-3_2-rails-7
- ruby-3_3-rails-7
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -10,3 +10,4 @@ tags
/doc/
/.yardoc/
gemfiles/vendor
/lint/
47 changes: 42 additions & 5 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
.bundle/
vendor/
coverage/
/.bundle
/.bin
/vendor
/coverage
/db
/tmp
/app/assets
/node_modules
/public
/spec/files
/spec/fixtures
/spec/javascripts
/bower_components
/doc
/content
**/*.json
**/*.haml
**/*.html
**/*.yml
**/*.md
**/*.sh
**/.*
Gemfile.lock
bin/
tags
Procfile
package-lock.json
/log
/build
/script
/profile
/.circleci
/.coditsu
/.git
/.github
**/*.erb
**/*.tgz
**/*.feature
**/*.sql
**/*.csv
*.lock
/bin
/lint
Gemfile
apps/apps/karafka_consumer/Gemfile
4 changes: 3 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"printWidth": 99
"printWidth": 120,
"rubyPlugins": "plugin/single_quotes",
"singleQuote": true
}
9 changes: 0 additions & 9 deletions .rubocop-performance.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .rubocop-rspec.yml

This file was deleted.

117 changes: 98 additions & 19 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,116 @@
require:
- rubocop-rspec
- rubocop-performance
- rubocop-rspec_rails

inherit_gem:
prettier: rubocop.yml

AllCops:
TargetRubyVersion: 2.5
TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- bin/**/*
- db/schema.rb
- .*/**/*
- coverage/**/*
- log/**/*
- tmp/**/*
- vendor/**/*
- spec/fixtures/**/*
- spec/files/**/*
- lint/**/*
- .gemspec/**/*
- gemfiles/**/*
- .bundle/**/*
- vendor/**/*
- db/migrate/**/*
- '**/dummy**/*'
- Appraisals
- !ruby/regexp /old_and_unused\.rb$/

Metrics/ClassLength:
CountComments: false
Max: 200
Style/IfUnlessModifier:
Enabled: false

RSpec/MultipleExpectations:
Enabled: true
Max: 3

RSpec/NestedGroups:
Enabled: true
Max: 4

RSpec/ExampleLength:
Enabled: true
Max: 10

RSpec/MultipleMemoizedHelpers:
Enabled: true
Max: 15

RSpec/EmptyExampleGroup:
Enabled: false

RSpecRails/InferredSpecType:
Enabled: false

Layout/LineLength:
Max: 99
Exclude:
- "spec/integration/rails/rails_spec.rb"
Max: 120

Metrics/MethodLength:
CountComments: false
Max: 20
Enabled: false

Metrics/AbcSize:
Max: 25
Metrics/ClassLength:
Enabled: false

Metrics/BlockLength:
IgnoredMethods: ['describe', 'context', 'let']
Enabled: false

Metrics/AbcSize:
Max: 30

Metrics/CyclomaticComplexity:
Max: 12

Naming/FileName:
Exclude:
- '*.gemspec'
- 'lib/castle-rb.rb'

Style/NumericLiterals:
Enabled: false

Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver

Style/RedundantFetchBlock:
Enabled: false

Style/StringLiterals:
EnforcedStyle: single_quotes
SupportedStyles:
- single_quotes
- double_quotes

Security/YAMLLoad:
Enabled: false

Style/FormatStringToken:
Enabled: false

Style/DoubleNegation:
Enabled: false

Style/RedundantParentheses:
Enabled: false

Style/HashEachMethods:
Enabled: false

Performance/Sum:
Enabled: false

Performance/StringInclude:
Enabled: false

RSpecRails/HttpStatus:
Enabled: false

RSpecRails/HaveHttpStatus:
Enabled: false

Lint/AmbiguousBlockAssociation:
AllowedMethods: [change]
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.5
3.3.5
8 changes: 4 additions & 4 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# frozen_string_literal: true

appraise 'rails-5' do
gem 'rails', '~> 5.0'
appraise 'rails-6' do
gem 'rails', '~> 6.0'
gem 'rspec-rails'
end

appraise 'rails-6' do
gem 'rails', '~> 6.0'
appraise 'rails-7' do
gem 'rails', '~> 7.0'
gem 'rspec-rails'
end
Loading