dry-mutations 1.5.3 → 1.5.4

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
  SHA1:
3
- metadata.gz: e945ae2443dbb7776ed990217b78b06d67edfc38
4
- data.tar.gz: 29702dd47829038718b4bc0a999011a68465e5be
3
+ metadata.gz: 878d18d3149ee1f179b2d46002c1d099ae9593e8
4
+ data.tar.gz: b19346193f2a7a62b211c5d6b46e24b0ec9111c5
5
5
  SHA512:
6
- metadata.gz: 4dbcd93bd9d0a637b6c142209893efedfe5a44cf8d4a3ef9b7335d4a2479fe393a8d2996e6ff60478d3872cf382ac58a4a7f4fa2fdb9e9ac6540226cd016b1cc
7
- data.tar.gz: e4b296a44c1c96cc60085054dcbf6bb213d1a51bcec46f7d7345111fea8a08e040d47f3e3efca1d09551e3eafa33465167df97ed56a8491ae45f9d1a72536ae1
6
+ metadata.gz: 429e152ff446bd4fca3be81871b6d6132de70a8be7b534ec51802c58456245c4dd2648927a0a71fd7e303f6547b514dd5faee645c55c837fa12785438e0c1e51
7
+ data.tar.gz: d5b4108c52455e5010e5ea17e5bb3eab072ff49971b7508863e8dc788c9ab24e4ce0a6d243e9e98e57e5318645aa24c84bf910a3bb018d6076879ef223d9852d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dry-mutations (1.5.3)
4
+ dry-mutations (1.5.4)
5
5
  activesupport (>= 3.2, < 5)
6
6
  dry-transaction (~> 0.9, < 0.10)
7
7
  dry-validation (~> 0.10)
@@ -20,7 +20,7 @@ module Dry
20
20
  callable = to_proc.(*args)
21
21
  outcome = callable.()
22
22
  ensure
23
- ::Dry::Mutations::Utils.extend_outcome outcome, callable.host
23
+ ::Dry::Mutations::Utils.extend_outcome outcome, callable.host if callable.respond_to?(:host)
24
24
  end
25
25
 
26
26
  def to_proc
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Mutations
3
- VERSION = '1.5.3'.freeze
3
+ VERSION = '1.5.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-mutations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksei Matiushkin