-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add the contract
DSL
#2419
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
Merged
dblock
merged 23 commits into
ruby-grape:master
from
dgutov:contract_dsl_for_dry_schema
Mar 24, 2024
Merged
Add the contract
DSL
#2419
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
922166c
Add the `contract` DSL
dgutov 8f196b0
Describe `contract` in the README
dgutov f4dd3de
Delete unused accessor
dgutov 776af7f
Make `declared` filter by schema as well
dgutov d171e86
Unwrap the entries
dgutov e2745e0
Rename the item
dgutov c672839
Rename, add to TOC, and add small clarification
dgutov a4b2f65
Fix appraisals
dgutov b7cba8a
Propagate dry-schema to all gemfiles
dgutov c3e87be
Add new integration test
dgutov 79f37c3
Rejigger terminology and add explicit support for contract class
dgutov e3cd6d4
Rename appraisal/test/gemfile appropriately
dgutov af32849
Add CHANGELOG entry
dgutov 9c770e6
Skip most tests for 'no_dry_validation'
dgutov 4762ffe
Update README wrt dependencies
dgutov 9f04196
I guess the matrix needs array values
dgutov 20f0ab9
Rename the integration test appropriately
dgutov 5b96b46
Ensure the gems are sorted
dgutov 3e22621
Add colon
dgutov c9b2a3c
Improve the examples and phrasing in README
dgutov bb9e41f
Add rails_7_1 to appraisals and regenerate
dgutov 812be3f
Remove quotes from the TOC entry
dgutov 97bf301
Add Rubocop exceptions
dgutov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# frozen_string_literal: true | ||
|
||
# This file was generated by Appraisal | ||
|
||
source 'https://rubygems.org' | ||
|
||
group :development, :test do | ||
gem 'bundler' | ||
gem 'hashie' | ||
gem 'rake' | ||
gem 'rubocop', '1.59.0', require: false | ||
gem 'rubocop-performance', '1.20.1', require: false | ||
gem 'rubocop-rspec', '2.25.0', require: false | ||
end | ||
|
||
group :development do | ||
gem 'appraisal' | ||
gem 'benchmark-ips' | ||
gem 'benchmark-memory' | ||
gem 'guard' | ||
gem 'guard-rspec' | ||
gem 'guard-rubocop' | ||
end | ||
|
||
group :test do | ||
gem 'grape-entity', '~> 0.6', require: false | ||
gem 'rack-jsonp', require: 'rack/jsonp' | ||
gem 'rack-test', '< 2.1' | ||
gem 'rspec', '< 4' | ||
gem 'ruby-grape-danger', '~> 0.2.0', require: false | ||
gem 'simplecov', '~> 0.21.2' | ||
gem 'simplecov-lcov', '~> 0.8.0' | ||
gem 'test-prof', require: false | ||
end | ||
|
||
platforms :jruby do | ||
gem 'racc' | ||
end | ||
|
||
gemspec path: '../' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.