Skip to content

Commit

Permalink
Refactor legacy contracts.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepingkingstudios committed Nov 27, 2023
1 parent 2f0e805 commit 84d3ed2
Show file tree
Hide file tree
Showing 19 changed files with 2,166 additions and 2,097 deletions.
14 changes: 7 additions & 7 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
require:
- rubocop-rspec

AllCops:
TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- tmp/**/*
- vendor/**/*

RSpec:
Language:
ExampleGroups:
Expand Down Expand Up @@ -28,13 +35,6 @@ RSpec:
- xinclude_examples
- xwrap_examples

AllCops:
TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- tmp/**/*
- vendor/**/*

Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation

Expand Down
4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Steps to add an operator:

- Update Queries::Operators.
- Update Queries::ParseBlock::Builder.
- Define context(s) in RSpec::QUERYING_CONTEXTS.
- Add test cases in RSpec::QUERYING_CONTRACT.
- Define context(s) in QueryContracts::WithQueryContexts.
- Add test cases in QueryContracts::ShouldPerformQueries.
- Add implementations to Basic::QueryBuilder.

### ParseCriteria
Expand Down
Loading

0 comments on commit 84d3ed2

Please sign in to comment.