strum 0.0.47 → 0.0.48

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: b10dd96f151424fb690896c751c554d34a7a846d67dc1f6f64a79362f0ebcfee
4
- data.tar.gz: 1edd401414874ffa9dcfad7c703df50c6eb4a6a831e42c527f76b79c339fb070
3
+ metadata.gz: 11bc2c5ef2018db9f20cb1d24d91f3cca5046edcf16504b24cc3cc84dfeff506
4
+ data.tar.gz: 04cea813efccc1636ec621fe62e0ccb25e3dcb3974768d339f85ec92545cbf1b
5
5
  SHA512:
6
- metadata.gz: f6a0651ec30a8fd176fab884b04c88948eee8490fb749363b231a290aa6535b7cccf4e33ce82cc870fe1484f41e3ea7d2f4c017bb543323e3d9350b8ec0f49f9
7
- data.tar.gz: 7b0c62128d6c9fbdc1706f0c8ab26fd35ad52d93869646b13fa19395cc97528d3b2c4884841191d8dba28c3626f300b5b37d703d111c95e0e79ddfa92a79ede9
6
+ metadata.gz: 2eaa964ecaaf5a8b3ffaeece93f7844d58853a186298b3eda7e0bc94405dc4ee996fc3c83854393ac790cf628af8a395f7a4ed6e0727a96a5d3b6c1ee422e6a7
7
+ data.tar.gz: 12c201176237a9c82c07e7096ffee3b94a6c043179e1b4816b55f29a8bf4690d914910d2e056e3d750b9c97482843e5622e49919b7c7046eb5f3970c99a041fb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strum (0.0.47)
4
+ strum (0.0.48)
5
5
  dry-inflector (~> 0.2.0)
6
6
  dry-struct (~> 1.2)
7
7
  sequel (~> 5.29)
data/lib/strum/service.rb CHANGED
@@ -30,10 +30,8 @@ module Strum
30
30
 
31
31
  def execute
32
32
  audit
33
- if valid?
34
- yield(self) if block_given?
35
- call
36
- end
33
+ yield(self) if block_given?
34
+ call if valid?
37
35
  valid? ? valid_result : invalid_result
38
36
  end
39
37
 
data/lib/strum/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Strum
4
- VERSION = "0.0.47"
4
+ VERSION = "0.0.48"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.47
4
+ version: 0.0.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serhiy Nazarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-11 00:00:00.000000000 Z
11
+ date: 2020-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-inflector