civil_service 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +7 -7
- data/README.md +1 -1
- data/civil_service.gemspec +1 -1
- data/lib/civil_service/service.rb +1 -1
- data/lib/civil_service/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c81938a431b93fc416ce04cd6062971c03f6cb397b909afcca2c8b8e8bb1164a
|
4
|
+
data.tar.gz: 1786acdbe99e9245bf0c8e244fada4d5dc84bc40cfab4b860bbe5d65faf81c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80ffe9daa4f19ccb5b6aff3ead328758e4005b1cdccdac14cbbf66f8642d4b69c6d750bb0f50a1be03fc899dd1d6b8816de1b6db93847b8040b866e15a06e3ca
|
7
|
+
data.tar.gz: ace5d7948426b071564cb8696a2da2c6a8362ec47b26b0a5593d2b1530e3db0d870f48a053744c441c52918ef81b770fbeb55c03986d2bbac8537b1a0f882af1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
# Version 2.3.0 - April 3, 2020
|
2
|
+
|
3
|
+
* `#call!` now raises the underlying exception if the service threw an exception,
|
4
|
+
rather than hiding it inside a `CivilService::ServiceFailure`.
|
5
|
+
|
1
6
|
# Version 2.2.1 - October 4, 2019
|
2
7
|
|
3
8
|
* `CivilService::MultiResultService::MultiResult#exception` now checks the underlying exception on
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
civil_service (2.
|
4
|
+
civil_service (2.3.0)
|
5
5
|
activemodel (>= 3.0.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -15,15 +15,15 @@ GEM
|
|
15
15
|
minitest (~> 5.1)
|
16
16
|
tzinfo (~> 1.1)
|
17
17
|
zeitwerk (~> 2.1, >= 2.1.8)
|
18
|
-
concurrent-ruby (1.1.
|
19
|
-
i18n (1.
|
18
|
+
concurrent-ruby (1.1.6)
|
19
|
+
i18n (1.8.2)
|
20
20
|
concurrent-ruby (~> 1.0)
|
21
21
|
minitest (5.11.3)
|
22
|
-
rake (
|
22
|
+
rake (13.0.1)
|
23
23
|
thread_safe (0.3.6)
|
24
|
-
tzinfo (1.2.
|
24
|
+
tzinfo (1.2.6)
|
25
25
|
thread_safe (~> 0.1)
|
26
|
-
zeitwerk (2.
|
26
|
+
zeitwerk (2.2.0)
|
27
27
|
|
28
28
|
PLATFORMS
|
29
29
|
ruby
|
@@ -32,7 +32,7 @@ DEPENDENCIES
|
|
32
32
|
bundler (~> 1.16)
|
33
33
|
civil_service!
|
34
34
|
minitest (~> 5.0)
|
35
|
-
rake (~>
|
35
|
+
rake (~> 13.0)
|
36
36
|
|
37
37
|
BUNDLED WITH
|
38
38
|
1.17.2
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# CivilService
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/
|
3
|
+
[![Build Status](https://travis-ci.org/actblue/civil_service.svg?branch=master)](https://travis-ci.org/actblue/civil_service)
|
4
4
|
|
5
5
|
CivilService is a tiny framework for [service objects in Rails apps](https://hackernoon.com/service-objects-in-ruby-on-rails-and-you-79ca8a1c946e). With CivilService, you can use ActiveModel validations to do pre-flight checks before the service runs, and create your own result object classes to capture the results of complex operations.
|
6
6
|
|
data/civil_service.gemspec
CHANGED
@@ -23,6 +23,6 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_dependency "activemodel", ">= 3.0.0"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.16"
|
26
|
-
spec.add_development_dependency "rake", "~>
|
26
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
27
27
|
spec.add_development_dependency "minitest", "~> 5.0"
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civil_service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nat Budin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|