dry_validation_parser 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2bad9db99d8e88991cc8c0665ebdace5ec3179688aa5caa2d3d4b0ee9170b8d1
4
+ data.tar.gz: 99d855b9b749a4855c4d277ef65bd90f64470e5fde350e11d2bff6494b2a5abf
5
+ SHA512:
6
+ metadata.gz: d123f46e1a88ce33558a10741504938c945d53c79717f7539992657f7d3c7886cf482546011e0fe6c538d8991a75ba0c06716202aa124c5b6c7923f73ffab73c
7
+ data.tar.gz: 6780789a9a14924a3323c3148b6b30b513d3996d45fe355fdc90fb62b5d432268a4aec138c85c1da86958e964034181d4c0e4bfc2b05ad272288bba362e2757b
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,31 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+ Exclude:
4
+ - 'spec/**/*.rb'
5
+
6
+ Style/StringLiterals:
7
+ Enabled: true
8
+ EnforcedStyle: double_quotes
9
+
10
+ Style/StringLiteralsInInterpolation:
11
+ Enabled: true
12
+ EnforcedStyle: double_quotes
13
+
14
+ Layout/LineLength:
15
+ Max: 120
16
+
17
+ Metrics/MethodLength:
18
+ Max: 20
19
+
20
+ Documentation:
21
+ Enabled: false
22
+
23
+ Metrics/AbcSize:
24
+ Enabled: false
25
+
26
+ Metrics/BlockLength:
27
+ Max: 40
28
+
29
+ Style/ClassVars:
30
+ Enabled: false
31
+
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2024-01-12
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at janeterziev@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Jane-Terziev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,114 @@
1
+ # DryValidationParser
2
+
3
+ Generate a readable hash by parsing the abstract syntax tree of a Dry::Validation::Contract schema
4
+
5
+ The gem is still work in progress and is not yet fully tested.
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'dry_validation_parser'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ bundle install
17
+
18
+ After installing, execute the following command:
19
+
20
+ rake dry_validation_parser:install
21
+
22
+ This will generate configuration files in your project under `project/config/initializers`. See Configuration section for more details.
23
+
24
+ ## Usage
25
+
26
+ #### Parsing a Dry::Validation::Contract
27
+ Lets say we have the following Dry::Validation::Contract definition:
28
+
29
+ class TestContract < Dry::Validation::Contract
30
+ params do
31
+ required(:some_field).value(:str?, min_size?: 5, max_size?: 10)
32
+ required(:some_array_of_objects).array(:hash) do
33
+ required(:some_nested_attribute).value(:str?)
34
+ end
35
+ required(:some_array_of_integers).array(:int?)
36
+ required(:dto).value(:hash) do
37
+ optional(:some_nested_attribute).maybe(:str?)
38
+ end
39
+ end
40
+ end
41
+
42
+ parser = DryValidationParser::ValidationSchemaParser.new
43
+
44
+ `parser.call(TestContract)` will set the `keys` of the `parser` object to:
45
+
46
+ {
47
+ :some_field => {
48
+ :required => true,
49
+ :type => "string",
50
+ :description => "Minimum size: 5, Maximum size: 10"
51
+ },
52
+ :some_array_of_objects => {
53
+ :required => true,
54
+ :array => true,
55
+ :type => "array",
56
+ :keys => {
57
+ :some_nested_attribute => {
58
+ :required=>true, :type=>"string"
59
+ }
60
+ }
61
+ },
62
+ :some_array_of_integers => {
63
+ :required=>true,
64
+ :array=>true,
65
+ :type=>"integer"
66
+ },
67
+ :dto => {
68
+ :required => true,
69
+ :type => "hash",
70
+ :keys => {
71
+ :some_nested_attribute => {
72
+ :required => false,
73
+ :"x-nullable"=>true,
74
+ :type=>"string"
75
+ }
76
+ }
77
+ }
78
+ }
79
+
80
+ As we can see, the `DryValidationParser::ValidationSchemaParser` goes through all the params defined in the
81
+ schema and generates a hash. The hash is saved in the `keys` attribute of the parser.
82
+
83
+ The required key in our result will be set to `true` if the field is defined as
84
+ `required(:field_name)`, and `false` if defined as `optional(:field_name)`.
85
+
86
+ The "x-nullable" key depends on whether we have defined the field as value, maybe or filled.
87
+
88
+ For nested objects like array of objects or hash, we add a keys field with a definition
89
+ for each field inside the nested hash.
90
+
91
+ If the field is an array of primitive type, the type field will equal to the primitive type, and a
92
+ array flag will be set on the field.
93
+
94
+ ## Custom Configuration For Your Project
95
+ You can override default configurations by changing the values in the `config/initializers/dry_validation_parser.rb` file generated from the rake command in the Installation section.
96
+
97
+ ## Development
98
+
99
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
100
+
101
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
102
+
103
+ ## Contributing
104
+
105
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Jane-Terziev/dry_validation_parser. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/dry_validation_parser/blob/master/CODE_OF_CONDUCT.md).
106
+
107
+
108
+ ## License
109
+
110
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
111
+
112
+ ## Code of Conduct
113
+
114
+ Everyone interacting in the Dry::Validation::Parser project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Jane-Terziev/dry_validation_parser/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DryValidationParser
4
+ module Config
5
+ module Configuration
6
+ def configuration
7
+ yield self
8
+ end
9
+
10
+ def define_setting(name, default = nil)
11
+ class_variable_set("@@#{name}", default)
12
+
13
+ define_class_method "#{name}=" do |value|
14
+ class_variable_set("@@#{name}", value)
15
+ end
16
+
17
+ define_class_method name do
18
+ class_variable_get("@@#{name}")
19
+ end
20
+ end
21
+
22
+ private
23
+
24
+ def define_class_method(name, &block)
25
+ (class << self; self; end).instance_eval do
26
+ define_method name, &block
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DryValidationParser
4
+ module Config
5
+ module ValidationConfiguration
6
+ extend Configuration
7
+
8
+ define_setting :enable_required_validation, true
9
+ define_setting :enable_nullable_validation, true
10
+ define_setting :enable_enums, true
11
+ define_setting :enable_descriptions, true
12
+ define_setting :nullable_type, :"x-nullable"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "dry_validation_parser"
4
+ require "rails"
5
+
6
+ module DryValidationParser
7
+ class Railtie < Rails::Railtie
8
+ railtie_name :dry_validation_parser
9
+
10
+ rake_tasks do
11
+ load "dry_validation_parser/tasks/configuration_generator.rake"
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "fileutils"
4
+
5
+ namespace "dry_validation_parser" do
6
+ desc "Create a configuration file for Dry Validation"
7
+ task :create_configuration_file do
8
+ FileUtils.mkdir_p "#{Dir.pwd}/config/initializers/"
9
+ puts "Created #{Dir.pwd}/config/initializers/dry_validation_parser.rb"
10
+ File.open("#{Dir.pwd}/config/initializers/dry_validation_parser.rb", "w") do |file|
11
+ file.puts 'DryValidationParser::Config::ValidationConfiguration.configuration do |config|
12
+ config.enable_required_validation = true
13
+ config.enable_nullable_validation = true
14
+ config.enable_enums = true
15
+ config.enable_descriptions = true
16
+ config.nullable_type = :"x-nullable" # or :nullable
17
+ end'
18
+ end
19
+ end
20
+
21
+ desc "Create a YAML file for Dry Validation field descriptions"
22
+ task :create_validation_descriptions_yaml do
23
+ FileUtils.mkdir_p "#{Dir.pwd}/config/locales/"
24
+ puts "Created #{Dir.pwd}/config/locales/dry_validation_parser.yml"
25
+ File.open("#{Dir.pwd}/config/locales/dry_validation_parser.yml", "w") do |file|
26
+ file.puts 'en:
27
+ validation:
28
+ descriptions:
29
+ eql?: "Must be equal to %<value>s"
30
+ max_size?: "Maximum size: %<value>s"
31
+ min_size?: "Minimum size: %<value>s"
32
+ gteq?: "Greater than or equal to %<value>s"
33
+ gt?: "Greater than %<value>s"
34
+ lt?: "Lower than %<value>s"
35
+ lteq?: "Lower than or equal to %<value>s"
36
+ '
37
+ end
38
+ end
39
+
40
+ desc "Creates configuration files"
41
+ task :install do
42
+ Rake::Task["dry_validation_parser:create_configuration_file"].execute
43
+ Rake::Task["dry_validation_parser:create_validation_descriptions_yaml"].execute
44
+ end
45
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "dry/types"
4
+
5
+ module DryValidationParser
6
+ module Types
7
+ include ::Dry.Types()
8
+ end
9
+ end
@@ -0,0 +1,113 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DryValidationParser
4
+ class ValidationSchemaParser
5
+ PREDICATE_TO_TYPE = {
6
+ array?: "array",
7
+ bool?: "boolean",
8
+ date?: "date",
9
+ date_time?: "datetime",
10
+ decimal?: "float",
11
+ float?: "float",
12
+ hash?: "hash",
13
+ int?: "integer",
14
+ nil?: "nil",
15
+ str?: "string",
16
+ time?: "time"
17
+ }.freeze
18
+
19
+ # @api private
20
+ attr_reader :keys
21
+
22
+ # @api private
23
+ def initialize
24
+ @keys = {}
25
+ @config = Config::ValidationConfiguration
26
+ end
27
+
28
+ # @api private
29
+ def to_h
30
+ { keys: keys }
31
+ end
32
+
33
+ # @api private
34
+ def call(contract, &block)
35
+ @keys = {}
36
+ visit(contract.schema.to_ast)
37
+ instance_eval(&block) if block_given?
38
+ self
39
+ end
40
+
41
+ # @api private
42
+ def visit(node, opts = {})
43
+ meth, rest = node
44
+ public_send(:"visit_#{meth}", rest, opts)
45
+ end
46
+
47
+ # @api private
48
+ def visit_set(node, opts = {})
49
+ target = (key = opts[:key]) ? self.class.new : self
50
+
51
+ node.map { |child| target.visit(child, opts) }
52
+
53
+ return unless key
54
+
55
+ target_info = target.to_h
56
+ type = keys[key][:array] ? "array" : "hash"
57
+
58
+ keys.update(key => { **keys[key], type: type, **target_info })
59
+ end
60
+
61
+ # @api private
62
+ def visit_and(node, opts = {})
63
+ left, right = node
64
+
65
+ visit(left, opts)
66
+ visit(right, opts)
67
+ end
68
+
69
+ # Skip or predicate
70
+ def visit_or(_, _); end
71
+
72
+ def visit_not(_node, opts = {})
73
+ keys[opts[:key]][@config.nullable_type] = true
74
+ end
75
+
76
+ # @api private
77
+ def visit_implication(node, opts = {})
78
+ node.each do |el|
79
+ opts = opts.merge(required: false)
80
+ visit(el, opts)
81
+ end
82
+ end
83
+
84
+ # @api private
85
+ def visit_each(node, opts = {})
86
+ visit(node, opts.merge(member: true))
87
+ end
88
+
89
+ # @api private
90
+ def visit_key(node, opts = {})
91
+ name, rest = node
92
+ opts = opts.merge(key: name)
93
+ opts = opts.merge(required: true)
94
+ visit(rest, opts)
95
+ end
96
+
97
+ # @api private
98
+ def visit_predicate(node, opts = {})
99
+ name, rest = node
100
+ key = opts[:key]
101
+ if name.equal?(:key?)
102
+ keys[rest[0][1]] = { required: opts.fetch(:required, true) }
103
+ elsif name.equal?(:array?)
104
+ keys[key][:array] = true
105
+ elsif name.equal?(:included_in?)
106
+ keys[key][:enum] = rest[0][1]
107
+ keys[key][:enum] += [nil] if opts.fetch(@config.nullable_type, false)
108
+ elsif PREDICATE_TO_TYPE[name]
109
+ keys[key][:type] = PREDICATE_TO_TYPE[name]
110
+ end
111
+ end
112
+ end
113
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DryValidationParser
4
+ VERSION = "0.1.0"
5
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "dry_validation_parser/version"
4
+ require_relative "dry_validation_parser/validation_schema_parser"
5
+ require_relative "dry_validation_parser/config/configuration"
6
+ require_relative "dry_validation_parser/config/validation_configuration"
7
+ require_relative "dry_validation_parser/railtie" if defined?(Rails)
8
+
9
+ module DryValidationParser
10
+ class Error < StandardError; end
11
+ end
@@ -0,0 +1,4 @@
1
+ module DryValidationParser
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dry_validation_parser
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jane-Terziev
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-01-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: dry-types
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: dry-validation
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1'
41
+ description: |-
42
+ A parser which converts dry-validation contract schema into a readable hash for further
43
+ manipulation
44
+ email:
45
+ - janeterziev@gmail.com
46
+ executables: []
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - ".rspec"
51
+ - ".rubocop.yml"
52
+ - CHANGELOG.md
53
+ - CODE_OF_CONDUCT.md
54
+ - LICENSE.txt
55
+ - README.md
56
+ - Rakefile
57
+ - lib/dry_validation_parser.rb
58
+ - lib/dry_validation_parser/config/configuration.rb
59
+ - lib/dry_validation_parser/config/validation_configuration.rb
60
+ - lib/dry_validation_parser/railtie.rb
61
+ - lib/dry_validation_parser/tasks/configuration_generator.rake
62
+ - lib/dry_validation_parser/types.rb
63
+ - lib/dry_validation_parser/validation_schema_parser.rb
64
+ - lib/dry_validation_parser/version.rb
65
+ - sig/dry_validation_parser.rbs
66
+ homepage: https://github.com/Jane-Terziev/dry_validation_parser
67
+ licenses:
68
+ - MIT
69
+ metadata:
70
+ allowed_push_host: https://rubygems.org
71
+ homepage_uri: https://github.com/Jane-Terziev/dry_validation_parser
72
+ source_code_uri: https://github.com/Jane-Terziev/dry_validation_parser
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 2.6.0
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubygems_version: 3.4.10
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: Generate a readable hash from a dry-validation contract schema
92
+ test_files: []