dry-validation-rails 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: 500d12bc6fad48330593308a23c315510fc282a787c7cdeb41503b30dd518c78
4
+ data.tar.gz: dd435b9261fb3dfbe81ac3200f9df3b3f86244b8e704378ff591bfc7cc76668b
5
+ SHA512:
6
+ metadata.gz: f5c6a9ef66888dcfb94a9516bab3f73dd1e4ac622737f5eb92abb0a56b4668b4a7becbbf4c2c2387178242d9ed61e1bed26f72028fb2f3f0674b7db84d5e8cc1
7
+ data.tar.gz: 56dda1dfcd16135f5c9a0da9373c7955e2c391b1679dd132109d00763b4b76106aa823bd672f6b48489d48cba460e737106e2d708acb5f132b5eb281ca8ab34d
data/.rubocop.yml ADDED
@@ -0,0 +1,29 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.7
3
+ NewCops: disable
4
+ SuggestExtensions: false
5
+
6
+ Style/StringLiterals:
7
+ Enabled: true
8
+ EnforcedStyle: single_quotes
9
+
10
+ Style/StringLiteralsInInterpolation:
11
+ Enabled: true
12
+ EnforcedStyle: single_quotes
13
+
14
+ Layout/LineLength:
15
+ Max: 120
16
+
17
+ Style/Documentation:
18
+ Enabled: false
19
+
20
+ Metrics/MethodLength:
21
+ Enabled: true
22
+ CountComments: false
23
+ Max: 30
24
+
25
+ Metrics/AbcSize:
26
+ Max: 30
27
+
28
+ Metrics/BlockLength:
29
+ Max: 30
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-11-09
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 nejdetkadir.550@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/Gemfile ADDED
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in dry-validation-rails.gemspec
6
+ gemspec
7
+
8
+ # Rake is a Make-like program implemented in Ruby [https://github.com/ruby/rake]
9
+ gem 'rake', '~> 13.0'
10
+
11
+ # Minitest provides a complete suite of testing facilities supporting [https://github.com/minitest/minitest]
12
+ gem 'minitest', '~> 5.0'
13
+
14
+ # RuboCop is a Ruby code style checking and code formatting tool [https://github.com/rubocop/rubocop]
15
+ gem 'rubocop', '~> 1.21'
16
+
17
+ # Pretty print Ruby objects with proper indentation and colors [https://github.com/awesome-print/awesome_print]
18
+ gem 'awesome_print'
19
+
20
+ # Pry is a runtime developer console and IRB alternative with powerful introspection capabilities [https://github.com/pry/pry]
21
+ gem 'pry', '~> 0.14.1'
data/Gemfile.lock ADDED
@@ -0,0 +1,215 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ dry-validation-rails (0.1.0)
5
+ dry-validation (~> 1.10)
6
+ rails (>= 6.0.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.0.4)
12
+ actionpack (= 7.0.4)
13
+ activesupport (= 7.0.4)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (7.0.4)
17
+ actionpack (= 7.0.4)
18
+ activejob (= 7.0.4)
19
+ activerecord (= 7.0.4)
20
+ activestorage (= 7.0.4)
21
+ activesupport (= 7.0.4)
22
+ mail (>= 2.7.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.4)
27
+ actionpack (= 7.0.4)
28
+ actionview (= 7.0.4)
29
+ activejob (= 7.0.4)
30
+ activesupport (= 7.0.4)
31
+ mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (7.0.4)
37
+ actionview (= 7.0.4)
38
+ activesupport (= 7.0.4)
39
+ rack (~> 2.0, >= 2.2.0)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (7.0.4)
44
+ actionpack (= 7.0.4)
45
+ activerecord (= 7.0.4)
46
+ activestorage (= 7.0.4)
47
+ activesupport (= 7.0.4)
48
+ globalid (>= 0.6.0)
49
+ nokogiri (>= 1.8.5)
50
+ actionview (7.0.4)
51
+ activesupport (= 7.0.4)
52
+ builder (~> 3.1)
53
+ erubi (~> 1.4)
54
+ rails-dom-testing (~> 2.0)
55
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
+ activejob (7.0.4)
57
+ activesupport (= 7.0.4)
58
+ globalid (>= 0.3.6)
59
+ activemodel (7.0.4)
60
+ activesupport (= 7.0.4)
61
+ activerecord (7.0.4)
62
+ activemodel (= 7.0.4)
63
+ activesupport (= 7.0.4)
64
+ activestorage (7.0.4)
65
+ actionpack (= 7.0.4)
66
+ activejob (= 7.0.4)
67
+ activerecord (= 7.0.4)
68
+ activesupport (= 7.0.4)
69
+ marcel (~> 1.0)
70
+ mini_mime (>= 1.1.0)
71
+ activesupport (7.0.4)
72
+ concurrent-ruby (~> 1.0, >= 1.0.2)
73
+ i18n (>= 1.6, < 2)
74
+ minitest (>= 5.1)
75
+ tzinfo (~> 2.0)
76
+ ast (2.4.2)
77
+ awesome_print (1.9.2)
78
+ builder (3.2.4)
79
+ coderay (1.1.3)
80
+ concurrent-ruby (1.1.10)
81
+ crass (1.0.6)
82
+ dry-configurable (1.0.0)
83
+ dry-core (~> 1.0, < 2)
84
+ zeitwerk (~> 2.6)
85
+ dry-core (1.0.0)
86
+ concurrent-ruby (~> 1.0)
87
+ zeitwerk (~> 2.6)
88
+ dry-inflector (1.0.0)
89
+ dry-initializer (3.1.1)
90
+ dry-logic (1.4.0)
91
+ concurrent-ruby (~> 1.0)
92
+ dry-core (~> 1.0, < 2)
93
+ zeitwerk (~> 2.6)
94
+ dry-schema (1.12.0)
95
+ concurrent-ruby (~> 1.0)
96
+ dry-configurable (~> 1.0, < 2)
97
+ dry-core (~> 1.0, < 2)
98
+ dry-initializer (~> 3.0)
99
+ dry-logic (>= 1.4, < 2)
100
+ dry-types (>= 1.7, < 2)
101
+ zeitwerk (~> 2.6)
102
+ dry-types (1.7.0)
103
+ concurrent-ruby (~> 1.0)
104
+ dry-core (~> 1.0, < 2)
105
+ dry-inflector (~> 1.0, < 2)
106
+ dry-logic (>= 1.4, < 2)
107
+ zeitwerk (~> 2.6)
108
+ dry-validation (1.10.0)
109
+ concurrent-ruby (~> 1.0)
110
+ dry-core (~> 1.0, < 2)
111
+ dry-initializer (~> 3.0)
112
+ dry-schema (>= 1.12, < 2)
113
+ zeitwerk (~> 2.6)
114
+ erubi (1.11.0)
115
+ globalid (1.0.0)
116
+ activesupport (>= 5.0)
117
+ i18n (1.12.0)
118
+ concurrent-ruby (~> 1.0)
119
+ json (2.6.2)
120
+ loofah (2.19.0)
121
+ crass (~> 1.0.2)
122
+ nokogiri (>= 1.5.9)
123
+ mail (2.7.1)
124
+ mini_mime (>= 0.1.1)
125
+ marcel (1.0.2)
126
+ method_source (1.0.0)
127
+ mini_mime (1.1.2)
128
+ minitest (5.16.3)
129
+ net-imap (0.3.1)
130
+ net-protocol
131
+ net-pop (0.1.2)
132
+ net-protocol
133
+ net-protocol (0.1.3)
134
+ timeout
135
+ net-smtp (0.3.3)
136
+ net-protocol
137
+ nio4r (2.5.8)
138
+ nokogiri (1.13.9-arm64-darwin)
139
+ racc (~> 1.4)
140
+ parallel (1.22.1)
141
+ parser (3.1.2.1)
142
+ ast (~> 2.4.1)
143
+ pry (0.14.1)
144
+ coderay (~> 1.1)
145
+ method_source (~> 1.0)
146
+ racc (1.6.0)
147
+ rack (2.2.4)
148
+ rack-test (2.0.2)
149
+ rack (>= 1.3)
150
+ rails (7.0.4)
151
+ actioncable (= 7.0.4)
152
+ actionmailbox (= 7.0.4)
153
+ actionmailer (= 7.0.4)
154
+ actionpack (= 7.0.4)
155
+ actiontext (= 7.0.4)
156
+ actionview (= 7.0.4)
157
+ activejob (= 7.0.4)
158
+ activemodel (= 7.0.4)
159
+ activerecord (= 7.0.4)
160
+ activestorage (= 7.0.4)
161
+ activesupport (= 7.0.4)
162
+ bundler (>= 1.15.0)
163
+ railties (= 7.0.4)
164
+ rails-dom-testing (2.0.3)
165
+ activesupport (>= 4.2.0)
166
+ nokogiri (>= 1.6)
167
+ rails-html-sanitizer (1.4.3)
168
+ loofah (~> 2.3)
169
+ railties (7.0.4)
170
+ actionpack (= 7.0.4)
171
+ activesupport (= 7.0.4)
172
+ method_source
173
+ rake (>= 12.2)
174
+ thor (~> 1.0)
175
+ zeitwerk (~> 2.5)
176
+ rainbow (3.1.1)
177
+ rake (13.0.6)
178
+ regexp_parser (2.6.0)
179
+ rexml (3.2.5)
180
+ rubocop (1.38.0)
181
+ json (~> 2.3)
182
+ parallel (~> 1.10)
183
+ parser (>= 3.1.2.1)
184
+ rainbow (>= 2.2.2, < 4.0)
185
+ regexp_parser (>= 1.8, < 3.0)
186
+ rexml (>= 3.2.5, < 4.0)
187
+ rubocop-ast (>= 1.23.0, < 2.0)
188
+ ruby-progressbar (~> 1.7)
189
+ unicode-display_width (>= 1.4.0, < 3.0)
190
+ rubocop-ast (1.23.0)
191
+ parser (>= 3.1.1.0)
192
+ ruby-progressbar (1.11.0)
193
+ thor (1.2.1)
194
+ timeout (0.3.0)
195
+ tzinfo (2.0.5)
196
+ concurrent-ruby (~> 1.0)
197
+ unicode-display_width (2.3.0)
198
+ websocket-driver (0.7.5)
199
+ websocket-extensions (>= 0.1.0)
200
+ websocket-extensions (0.1.5)
201
+ zeitwerk (2.6.6)
202
+
203
+ PLATFORMS
204
+ arm64-darwin-21
205
+
206
+ DEPENDENCIES
207
+ awesome_print
208
+ dry-validation-rails!
209
+ minitest (~> 5.0)
210
+ pry (~> 0.14.1)
211
+ rake (~> 13.0)
212
+ rubocop (~> 1.21)
213
+
214
+ BUNDLED WITH
215
+ 2.3.20
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 nejdetkadir
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,47 @@
1
+ [![Gem Version](https://badge.fury.io/rb/dry-validation-rails.svg)](https://badge.fury.io/rb/dry-validation-rails)
2
+ ![test](https://github.com/nejdetkadir/dry-validation-rails/actions/workflows/test.yml/badge.svg?branch=main)
3
+ ![rubocop](https://github.com/nejdetkadir/dry-validation-rails/actions/workflows/rubocop.yml/badge.svg?branch=main)
4
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
5
+ ![Ruby Version](https://img.shields.io/badge/ruby_version->=_2.7.0-blue.svg)
6
+
7
+ # Dry::Validation::Rails
8
+
9
+ Rails plugin for implementing [dry-validation](https://github.com/dry-rb/dry-validation) gem for your [Active Record Validations](https://guides.rubyonrails.org/active_record_validations.html).
10
+
11
+ ## Installation
12
+
13
+ ```ruby
14
+ gem 'dry-validation-rails', github: 'nejdetkadir/dry-validation-rails', branch: 'main'
15
+ ```
16
+
17
+ Install the gem and add to the application's Gemfile by executing:
18
+ ```bash
19
+ $ bundle add dry-validation-rails
20
+ ```
21
+
22
+ If bundler is not being used to manage dependencies, install the gem by executing:
23
+ ```bash
24
+ $ gem install dry-validation-rails
25
+ ```
26
+
27
+ ## Usage
28
+
29
+ TODO: Write usage instructions here
30
+
31
+ ## Development
32
+
33
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
34
+
35
+ 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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
36
+
37
+ ## Contributing
38
+
39
+ Bug reports and pull requests are welcome on GitHub at https://github.com/nejdetkadir/dry-validation-rails. 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/nejdetkadir/dry-validation-rails/blob/main/CODE_OF_CONDUCT.md).
40
+
41
+ ## License
42
+
43
+ The gem is available as open source under the terms of the [MIT License](LICENSE).
44
+
45
+ ## Code of Conduct
46
+
47
+ Everyone interacting in the Dry::Validation::Rails project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/nejdetkadir/dry-validation-rails/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rake/testtask'
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << 'test'
8
+ t.libs << 'lib'
9
+ t.test_files = FileList['test/**/test_*.rb']
10
+ end
11
+
12
+ require 'rubocop/rake_task'
13
+
14
+ RuboCop::RakeTask.new
15
+
16
+ task default: %i[test rubocop]
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/dry/validation/rails/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'dry-validation-rails'
7
+ spec.version = Dry::Validation::Rails::VERSION
8
+ spec.authors = ['nejdetkadir']
9
+ spec.email = ['nejdetkadir.550@gmail.com']
10
+
11
+ spec.summary = 'Rails plugin for implementing dry-validation gem for your Active Record Validations.'
12
+ spec.description = spec.summary
13
+ spec.homepage = "https://github.com/nejdetkadir/#{spec.name}"
14
+ spec.license = 'MIT'
15
+ spec.required_ruby_version = '>= 2.7.0'
16
+
17
+ spec.metadata['homepage_uri'] = spec.homepage
18
+ spec.metadata['source_code_uri'] = spec.homepage
19
+ spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/main/CHANGELOG.md"
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(__dir__) do
24
+ `git ls-files -z`.split("\x0").reject do |f|
25
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
26
+ end
27
+ end
28
+ spec.bindir = 'exe'
29
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ['lib']
31
+
32
+ # Uncomment to register a new dependency of your gem
33
+ spec.add_dependency 'dry-validation', '~> 1.10'
34
+ spec.add_dependency 'rails', '>= 6.0.0'
35
+
36
+ # For more information and examples about making a new gem, check out our
37
+ # guide at: https://bundler.io/guides/creating_gem.html
38
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Dry
4
+ module Validation
5
+ module Rails
6
+ VERSION = '0.1.0'
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'rails/version'
4
+ require 'rails'
5
+ require 'dry-validation'
6
+
7
+ module Dry
8
+ module Validation
9
+ module Rails
10
+ class Error < StandardError; end
11
+ # Your code goes here...
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,8 @@
1
+ module Dry
2
+ module Validation
3
+ module Rails
4
+ VERSION: String
5
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
6
+ end
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dry-validation-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - nejdetkadir
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-11-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: dry-validation
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 6.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 6.0.0
41
+ description: Rails plugin for implementing dry-validation gem for your Active Record
42
+ Validations.
43
+ email:
44
+ - nejdetkadir.550@gmail.com
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - ".rubocop.yml"
50
+ - CHANGELOG.md
51
+ - CODE_OF_CONDUCT.md
52
+ - Gemfile
53
+ - Gemfile.lock
54
+ - LICENSE
55
+ - README.md
56
+ - Rakefile
57
+ - dry-validation-rails.gemspec
58
+ - lib/dry/validation/rails.rb
59
+ - lib/dry/validation/rails/version.rb
60
+ - sig/dry/validation/rails.rbs
61
+ homepage: https://github.com/nejdetkadir/dry-validation-rails
62
+ licenses:
63
+ - MIT
64
+ metadata:
65
+ homepage_uri: https://github.com/nejdetkadir/dry-validation-rails
66
+ source_code_uri: https://github.com/nejdetkadir/dry-validation-rails
67
+ changelog_uri: https://github.com/nejdetkadir/dry-validation-rails/blob/main/CHANGELOG.md
68
+ post_install_message:
69
+ rdoc_options: []
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 2.7.0
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubygems_version: 3.3.17
84
+ signing_key:
85
+ specification_version: 4
86
+ summary: Rails plugin for implementing dry-validation gem for your Active Record Validations.
87
+ test_files: []