light-services 2.0.0.rc1 → 2.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/lib/light/services/messages.rb +1 -6
- data/lib/light/services/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87f3143772cbfb27b9714d3d92542d07fb949e3ee99213f8e6674e70e3aed4a2
|
4
|
+
data.tar.gz: 0f5443f6e200c0421c9c176610c7068d7dde55b9d23799ed6713411c04c83088
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c6adacbe7c8e00c5dc5891a65d86644cdc583805966f3792528aa802540f8e9c81333a3d72cbe8d55383a05799e33a804881ed6554d9d3e695e9c2192fc725c
|
7
|
+
data.tar.gz: 2f672d7d41608a9b6f19fa8368c1774f82e7f98075df042efcc15a502f60fd4498eac4b02190615aeba01dcd8e3ad930d38799ec2741ae250382b37d46d153b9
|
data/.gitignore
CHANGED
@@ -12,12 +12,7 @@ module Light
|
|
12
12
|
|
13
13
|
def add(key, message, opts = {})
|
14
14
|
@messages[key] ||= []
|
15
|
-
|
16
|
-
if message.is_a?(Array)
|
17
|
-
@messages[key] += message
|
18
|
-
else
|
19
|
-
@messages[key] << message
|
20
|
-
end
|
15
|
+
@messages[key] += [*message]
|
21
16
|
|
22
17
|
raise!(key, message)
|
23
18
|
break!(opts[:break])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: light-services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Emelianenko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Powerful implementation of Service Object pattern for Ruby and Rails
|
14
14
|
email:
|