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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: edc5542fea9023a7fd7aeafb06d095877b4b18674f582a1785a89620fca2e2af
4
- data.tar.gz: 550f414d93a5950c3337277c75235f3e3d2892e02b55b85b481810eacdc7cfa2
3
+ metadata.gz: 51202f9bbc45b78472b86b240b179d6ea47dac880925e81fad23c17bb37f92c7
4
+ data.tar.gz: 2653a93bf1b08a67720786cd114202490e8e95a9ba37d47402e2885129f18432
5
5
  SHA512:
6
- metadata.gz: 3c9aad9891daf132312064b199077134d4954221ce7b06a095bce7e6cd768efb8c8d96038d4bb74e6c481a12b2cbe66d0271adf5a16c50193ea2b175bd203583
7
- data.tar.gz: cc3310148f010f19c6e250b3d49def857ab30a93726258d37546b683662f916556d10e171d7638b38ff305eeebffb5eb35c2b87818e5b2628d39ed13339c62f4
6
+ metadata.gz: b7a4597db80e7a26ffeb0a5ef12a633ee5ed1996cfaabb48642a0dc6d91ace7621ef922e8cd4fa184beb3fc839ddda9fb8ebf87fe54f519df73cd840f22bc8b7
7
+ data.tar.gz: f8a17c3d26b9ec360e3f68d46e3460f5304e8c8f63ff8048b4991bea09d58c4b1d75b8e8a9c5fcd8ae8e1dc07a87536cf52daa578fb102c015658d6a9a29cc94
@@ -5,8 +5,8 @@ jobs:
5
5
  strategy:
6
6
  fail-fast: false
7
7
  matrix:
8
- gemfile: [rails60, rails61]
9
- ruby: ["2.6", "2.7", "3.0"]
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.0.0
1
+ 3.1.0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Sealink Param Validation
2
2
 
3
+ ## 0.3.0
4
+
5
+ - [PLAT-183] Implement coverage check / ruby 3.1 / rails 7.0
6
+
3
7
  ## 0.2.0
4
8
 
5
9
  - [TT-8621] Update to build with github actions / ruby 3.0 / rails 6.1
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
 
@@ -6,6 +6,5 @@ group :development, :test do
6
6
  gem 'rspec'
7
7
  gem 'rspec-rails'
8
8
  gem 'simplecov'
9
- gem 'simplecov-rcov'
10
9
  gem 'rails', '~> 6.0'
11
10
  end
@@ -6,6 +6,5 @@ group :development, :test do
6
6
  gem 'rspec'
7
7
  gem 'rspec-rails'
8
8
  gem 'simplecov'
9
- gem 'simplecov-rcov'
10
9
  gem 'rails', '~> 6.1'
11
10
  end
@@ -0,0 +1,10 @@
1
+ source 'https://rubygems.org'
2
+ gemspec path: '../'
3
+
4
+ group :development, :test do
5
+ gem 'rake'
6
+ gem 'rspec'
7
+ gem 'rspec-rails'
8
+ gem 'simplecov'
9
+ gem 'rails', '~> 7.0'
10
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SealinkParamValidation
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
@@ -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.6.0'
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
@@ -5,6 +5,8 @@ require 'rails'
5
5
  require 'action_controller/railtie'
6
6
  require 'dry-schema'
7
7
  require 'rspec/rails'
8
+ require 'support/coverage_loader'
9
+
8
10
  require 'sealink-param-validation'
9
11
 
10
12
  module SealinkParamValidation
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'coverage/kit'
4
+
5
+ Coverage::Kit.setup(minimum_coverage: 92.1)
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.2.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: 2021-01-06 00:00:00.000000000 Z
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.6.0
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.2.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