sealink-param-validation 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +7 -2
- data/.ruby-version +1 -1
- data/CHANGELOG.md +4 -0
- data/README.md +1 -0
- data/gemfiles/rails60.gemfile +0 -1
- data/gemfiles/rails61.gemfile +0 -1
- data/gemfiles/rails70.gemfile +10 -0
- data/lib/sealink_param_validation/version.rb +1 -1
- data/sealink_param_validation.gemspec +1 -4
- data/spec/spec_helper.rb +2 -0
- data/spec/support/coverage_loader.rb +5 -0
- metadata +7 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51202f9bbc45b78472b86b240b179d6ea47dac880925e81fad23c17bb37f92c7
|
4
|
+
data.tar.gz: 2653a93bf1b08a67720786cd114202490e8e95a9ba37d47402e2885129f18432
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7a4597db80e7a26ffeb0a5ef12a633ee5ed1996cfaabb48642a0dc6d91ace7621ef922e8cd4fa184beb3fc839ddda9fb8ebf87fe54f519df73cd840f22bc8b7
|
7
|
+
data.tar.gz: f8a17c3d26b9ec360e3f68d46e3460f5304e8c8f63ff8048b4991bea09d58c4b1d75b8e8a9c5fcd8ae8e1dc07a87536cf52daa578fb102c015658d6a9a29cc94
|
data/.github/workflows/ruby.yml
CHANGED
@@ -5,8 +5,8 @@ jobs:
|
|
5
5
|
strategy:
|
6
6
|
fail-fast: false
|
7
7
|
matrix:
|
8
|
-
gemfile: [rails60, rails61]
|
9
|
-
ruby: ["2.
|
8
|
+
gemfile: [rails60, rails61, rails70]
|
9
|
+
ruby: ["2.7", "3.0", "3.1"]
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
env:
|
12
12
|
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
@@ -17,3 +17,8 @@ jobs:
|
|
17
17
|
ruby-version: ${{ matrix.ruby }}
|
18
18
|
bundler-cache: true
|
19
19
|
- run: bundle exec rake
|
20
|
+
- name: Coveralls
|
21
|
+
uses: coverallsapp/github-action@master
|
22
|
+
with:
|
23
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
24
|
+
path-to-lcov: coverage/lcov.info
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.1.0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/sealink-param-validation.svg)](http://badge.fury.io/rb/sealink-param-validation)
|
4
4
|
[![Build Status](https://github.com/sealink/sealink-param-validation/workflows/Build%20and%20Test/badge.svg?branch=master)](https://github.com/sealink/sealink-param-validation/actions)
|
5
|
+
[![Coverage Status](https://coveralls.io/repos/sealink/sealink-param-validation/badge.png)](https://coveralls.io/r/sealink/sealink-param-validation)
|
5
6
|
|
6
7
|
This is our gem for validation our params with schemas.
|
7
8
|
|
data/gemfiles/rails60.gemfile
CHANGED
data/gemfiles/rails61.gemfile
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.files = `git ls-files`.split($/)
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = ['lib']
|
21
|
-
spec.required_ruby_version = '>= 2.
|
21
|
+
spec.required_ruby_version = '>= 2.7.0'
|
22
22
|
|
23
23
|
spec.add_dependency 'rails'
|
24
24
|
spec.add_dependency 'dry-schema', '>= 1.0.0'
|
@@ -28,7 +28,4 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.add_development_dependency 'rspec'
|
29
29
|
spec.add_development_dependency 'rspec-rails'
|
30
30
|
spec.add_development_dependency 'coverage-kit'
|
31
|
-
spec.add_development_dependency 'simplecov-rcov'
|
32
|
-
spec.add_development_dependency 'coveralls'
|
33
|
-
spec.add_development_dependency 'travis'
|
34
31
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sealink-param-validation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Earle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -108,48 +108,6 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: simplecov-rcov
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: coveralls
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: travis
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
111
|
description: Simple validation of params with a concern
|
154
112
|
email: development@travellink.com.au
|
155
113
|
executables: []
|
@@ -168,6 +126,7 @@ files:
|
|
168
126
|
- config/secrets.yml
|
169
127
|
- gemfiles/rails60.gemfile
|
170
128
|
- gemfiles/rails61.gemfile
|
129
|
+
- gemfiles/rails70.gemfile
|
171
130
|
- lib/sealink-param-validation.rb
|
172
131
|
- lib/sealink_param_validation/concern.rb
|
173
132
|
- lib/sealink_param_validation/error.rb
|
@@ -176,6 +135,7 @@ files:
|
|
176
135
|
- sealink_param_validation.gemspec
|
177
136
|
- spec/helper_spec.rb
|
178
137
|
- spec/spec_helper.rb
|
138
|
+
- spec/support/coverage_loader.rb
|
179
139
|
- spec/validation_spec.rb
|
180
140
|
homepage: http://github.com/sealink/sealink-param-validation
|
181
141
|
licenses:
|
@@ -189,14 +149,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
149
|
requirements:
|
190
150
|
- - ">="
|
191
151
|
- !ruby/object:Gem::Version
|
192
|
-
version: 2.
|
152
|
+
version: 2.7.0
|
193
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
154
|
requirements:
|
195
155
|
- - ">="
|
196
156
|
- !ruby/object:Gem::Version
|
197
157
|
version: '0'
|
198
158
|
requirements: []
|
199
|
-
rubygems_version: 3.
|
159
|
+
rubygems_version: 3.3.3
|
200
160
|
signing_key:
|
201
161
|
specification_version: 4
|
202
162
|
summary: This is some logic we want to use across many projects so we have extracted
|
@@ -204,4 +164,5 @@ summary: This is some logic we want to use across many projects so we have extra
|
|
204
164
|
test_files:
|
205
165
|
- spec/helper_spec.rb
|
206
166
|
- spec/spec_helper.rb
|
167
|
+
- spec/support/coverage_loader.rb
|
207
168
|
- spec/validation_spec.rb
|