lite-command 1.4.0 → 1.4.1

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: 282197a645e710c42a8f5dc270014479fa140448bdda36763f50ae752a06c929
4
- data.tar.gz: 2cb030c21fe0ee8c8fefe4e4d1d7d401721119ccc242d85ce79ccff1556134bc
3
+ metadata.gz: db69c57c2f2a1dbc5df71aac409ce0941225ac7cafa475fc2644b2598a0878c6
4
+ data.tar.gz: 83f5bd351a8f8ff270a3a27b561c19cae7a30478dbf1dff2f76b08c2bbe89dcd
5
5
  SHA512:
6
- metadata.gz: cfa99cd28ccf17132d77902bffdf0874202148e49a32d5d59656949cbcaf06191f4adda461e9d23eaaca65d6497ffc14e0d67cac98b7d8748d6465cd066bcc6c
7
- data.tar.gz: 5466138b9894de3a53f95e999f752d41ba965ccd9bd171d8da43cdff234b51fdfbfdaa42db9a507c7f0242b5505d7f45ed78b5b6cf93e2ee36b614e885b2688f
6
+ metadata.gz: 9b945016a9fa3a9548def3c5a47e519ee53d2f5751699c95ed1041737682bcdd80fa1450d6deaec40fa3501b6c2bd2ace8e117331103009493985b08cb8a53bf
7
+ data.tar.gz: 8d0f91b8f9273528114b65afe9855ad3fa83aececccdfc3dedba70c94bc70e9d3b0d5798c6594dcf0e656719711d3d0cebb32fab0c0696ae8d1830536cd5981d
data/CHANGELOG.md CHANGED
@@ -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.4.1] - 2021-09-04
10
+ ### Changed
11
+ - Fixed nil issue with `assign_and_return!`
12
+
9
13
  ## [1.4.0] - 2021-09-04
10
14
  ### Added
11
15
  - Added `assign_and_return!` to propagation extension
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-command (1.4.0)
4
+ lite-command (1.4.1)
5
5
  lite-errors
6
6
  lite-memoize
7
7
 
@@ -8,7 +8,7 @@ module Lite
8
8
  private
9
9
 
10
10
  def assign_and_return!(instance, params)
11
- instance = instance.assign_attributes(params)
11
+ instance.assign_attributes(params)
12
12
  errors.merge!(instance.errors) unless instance.valid?
13
13
  instance
14
14
  end
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Command
5
5
 
6
- VERSION = '1.4.0'
6
+ VERSION = '1.4.1'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez