lite-command 1.0.7 → 1.0.8

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: 42b4977d98dc150661c9d6a3115d5fbcad3ec460215d0f245cc2ea1c9518df0e
4
- data.tar.gz: 211efe41137b268674613a5b5781a77009620cb5a89376d096ded8c36bc091e7
3
+ metadata.gz: 4084a5f3eb0c1fa527bf77fe30ea4bee37dc6d39b78e39b430f217c523cb59ef
4
+ data.tar.gz: b5a15fab4f5ce31f88de912d4896209906ab111b86f39e899ff5e5473aef8301
5
5
  SHA512:
6
- metadata.gz: 0c479936fe1d59c0af7d2ccce418009e29b2b390d3c8ad47925c6059a37540ca1b3c5d7119b9c2486435b9e7af0e2f6dc36708ddb8e9d16ca563f7258a692ba8
7
- data.tar.gz: ba335e1b2175413b589e91a4d9ed96e18123739397b1b192abeded0f635ffd8f92604ad9788b25d98d69a3695c6b026794b90c125afc724f21042dec99f9b437
6
+ metadata.gz: 4598cb719b2e06eb190a1adfcb2e3c6c0c70685dcc64597afc9d49b53725ee6d0901b73dca3c1e5a4a8dba63b0f83ed80e89494e8c5896da2f007ded0e71362e
7
+ data.tar.gz: 05a7ec0137f15ed0dcf57403a799d144bae8971230c4d72c26037a30cfaa2202f54777b81fc0232bd559a24794c9d9afd3827f06c46135db03f92a136594b636
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.8] - 2019-09-16
10
+ ### Changed
11
+ - Changed create propagation to check errors instead of persistence
12
+
9
13
  ## [1.0.7] - 2019-09-12
10
14
  ### Added
11
15
  - Add propagation mixin
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-command (1.0.7)
4
+ lite-command (1.0.8)
5
5
  lite-errors
6
6
  lite-memoize
7
7
 
@@ -16,7 +16,7 @@ module Lite
16
16
 
17
17
  def create_and_return!(klass, params)
18
18
  klass = klass.create(params)
19
- merge_errors!(klass) unless klass.persisted?
19
+ merge_errors!(klass) unless klass.errors.empty?
20
20
  klass
21
21
  end
22
22
 
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Command
5
5
 
6
- VERSION ||= '1.0.7'
6
+ VERSION ||= '1.0.8'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-12 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lite-errors