request_handler 2.1.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +12 -13
- data/CHANGELOG.md +4 -0
- data/lib/request_handler/builder/fieldsets_resource_builder.rb +1 -1
- data/lib/request_handler/validation/definition_engine.rb +1 -1
- data/lib/request_handler/version.rb +1 -1
- data/request_handler.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84a7da676c652eb23c13f36d57e89b8808909c404a6874fb76b2f7c56a72b8f7
|
4
|
+
data.tar.gz: 8aeea4b06cfacba6ef4553974c07e705b6482753cd49bb3322d18c1a86faeb1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9ac556ccfe78a670a5733cae9cb1ca2b3030119150feab16b73953336621e25657f6f9598c8e50d93cd9fcae05c633d65a9c96f6002c6fd09d3789706a92b24
|
7
|
+
data.tar.gz: f1d9f617c904954c7029d3d065ddeb2ab19f6a232b9f54bc2e03d528f0be02e77edec90971002c003bad1bfbd8fc4f01094c562526c3baa80c7bc54ea8fcb2f0
|
data/.circleci/config.yml
CHANGED
@@ -19,7 +19,6 @@ common_steps: &common_steps
|
|
19
19
|
- vendor/bundle
|
20
20
|
|
21
21
|
- run: ruby -v
|
22
|
-
- run: bundle exec danger
|
23
22
|
- run:
|
24
23
|
name: run tests
|
25
24
|
command: |
|
@@ -42,24 +41,24 @@ common_steps: &common_steps
|
|
42
41
|
|
43
42
|
version: 2
|
44
43
|
jobs:
|
45
|
-
ruby-2.
|
44
|
+
ruby-2.6:
|
46
45
|
docker:
|
47
|
-
- image: circleci/ruby:2.
|
46
|
+
- image: circleci/ruby:2.6
|
48
47
|
steps:
|
49
48
|
*common_steps
|
50
|
-
ruby-2.
|
49
|
+
ruby-2.7:
|
51
50
|
docker:
|
52
|
-
- image: circleci/ruby:2.
|
51
|
+
- image: circleci/ruby:2.7
|
53
52
|
steps:
|
54
53
|
*common_steps
|
55
|
-
jruby-9.
|
54
|
+
jruby-9.3:
|
56
55
|
docker:
|
57
|
-
- image: circleci/jruby:9.
|
56
|
+
- image: circleci/jruby:9.3
|
58
57
|
steps:
|
59
58
|
*common_steps
|
60
|
-
jruby-9.
|
59
|
+
jruby-9.3-indy:
|
61
60
|
docker:
|
62
|
-
- image: circleci/jruby:9.
|
61
|
+
- image: circleci/jruby:9.3
|
63
62
|
environment:
|
64
63
|
JRUBY_OPTS: '-Xcompile.invokedynamic=true'
|
65
64
|
steps:
|
@@ -69,7 +68,7 @@ workflows:
|
|
69
68
|
version: 2
|
70
69
|
build:
|
71
70
|
jobs:
|
72
|
-
- ruby-2.
|
73
|
-
- ruby-2.
|
74
|
-
- jruby-9.
|
75
|
-
- jruby-9.
|
71
|
+
- ruby-2.6
|
72
|
+
- ruby-2.7
|
73
|
+
- jruby-9.3
|
74
|
+
- jruby-9.3-indy
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [2.2.0] - 2022-02-25
|
10
|
+
### Changed
|
11
|
+
- The definition engine now makes use of the translated error messages to return more useful messages
|
12
|
+
|
9
13
|
## [2.1.1] - 2021-06-14
|
10
14
|
### Fixed
|
11
15
|
- Change error object's source attribute from `param` to `parameters` to align with JSONAPI specification
|
data/request_handler.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = 'shared base for request_handler using dry-* gems'
|
15
15
|
spec.homepage = 'https://github.com/runtastic/request_handler'
|
16
16
|
spec.license = 'MIT'
|
17
|
-
spec.required_ruby_version = '~> 2.
|
17
|
+
spec.required_ruby_version = '~> 2.6'
|
18
18
|
|
19
19
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
20
20
|
f.match(%r{^(test|spec|features)/})
|
@@ -44,5 +44,5 @@ Gem::Specification.new do |spec|
|
|
44
44
|
|
45
45
|
spec.add_development_dependency 'rack'
|
46
46
|
|
47
|
-
spec.add_development_dependency 'definition', '~> 0.
|
47
|
+
spec.add_development_dependency 'definition', '~> 0.7'
|
48
48
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: request_handler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andreas Eger
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: docile
|
@@ -241,14 +241,14 @@ dependencies:
|
|
241
241
|
requirements:
|
242
242
|
- - "~>"
|
243
243
|
- !ruby/object:Gem::Version
|
244
|
-
version: '0.
|
244
|
+
version: '0.7'
|
245
245
|
type: :development
|
246
246
|
prerelease: false
|
247
247
|
version_requirements: !ruby/object:Gem::Requirement
|
248
248
|
requirements:
|
249
249
|
- - "~>"
|
250
250
|
- !ruby/object:Gem::Version
|
251
|
-
version: '0.
|
251
|
+
version: '0.7'
|
252
252
|
description: shared base for request_handler using dry-* gems
|
253
253
|
email:
|
254
254
|
- andreas.eger@runtastic.com
|
@@ -327,7 +327,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
327
327
|
requirements:
|
328
328
|
- - "~>"
|
329
329
|
- !ruby/object:Gem::Version
|
330
|
-
version: '2.
|
330
|
+
version: '2.6'
|
331
331
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
332
332
|
requirements:
|
333
333
|
- - ">="
|