hey-you 1.3.3 → 1.3.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
  SHA256:
3
- metadata.gz: 9ad2c28532b80d7b3efb44590b9a9281169cd09240062d99a94a8c26498e9d8e
4
- data.tar.gz: 837c96af5d9c6d2a220d8384a6b77c1209f2358247d7a16cc5e33165045eb461
3
+ metadata.gz: af4fe24304e8d627f618c3cc5b6e93695a2be2f4d2207034f59feb0a7ad0d906
4
+ data.tar.gz: b60aa9ec6a472bc008d57e472406cb00e49b2f3d5827a5a3119a494fc83cfcbb
5
5
  SHA512:
6
- metadata.gz: dbd3ac7e73206eb9e3410fb51acb84f2c25fb8266570d047d2483ec12b11907b7629d10f19407b797abbc1c36cd918a3610b2b5f44c082f2d5d02fe00133b32d
7
- data.tar.gz: add12e5c26ddf9a8dcb8f75592d115f095168eb55a6486fdec1c79abe9a10cbabb9f50390afc614a5945856bddca9108c7742fd124e47dc6cc0bce469bd04525
6
+ metadata.gz: d1cf816831a4962b2f795621585156447cb837256773f4663da7009e6d404be2488e017ab2d96944b205764416f5bd4ee3b6c4bf28c399fbe6463abdcbbe65df
7
+ data.tar.gz: 165f7490a9a3eb749b2c966adf412a95027995bbcdb257c86b91c02484982ad56e48a99189157abcccf07cb88081bda0af3aa8673429c599ad336d14441a1709
@@ -1,5 +1,5 @@
1
1
  # Changelog for hey-you gem
2
- ## 1.3.1/1.3.2/1.3.3
2
+ ## 1.3.1/1.3.2/1.3.3/1.3.4
3
3
  Fixing bugs
4
4
 
5
5
  ## 1.3.0
@@ -10,7 +10,7 @@ module HeyYou
10
10
  @mailer_method = ch_data.fetch('mailer_method', nil)
11
11
  @delivery_method = ch_data.fetch('delivery_method', nil)
12
12
  @body = interpolate(ch_data['body'], options) if ch_data['body']
13
- @body_parts = interpolate_each(ch_data.fetch('body_parts', nil), options)
13
+ @body_parts = interpolate_each(ch_data.fetch('body_parts', nil)&.deep_dup, options)
14
14
  @subject = interpolate(ch_data.fetch('subject'), options)
15
15
  end
16
16
 
@@ -28,7 +28,7 @@ module HeyYou
28
28
 
29
29
  begin
30
30
  notification_hash[k] = v % options
31
- rescue KeyError
31
+ rescue KeyError => err
32
32
  raise InterpolationError, "Failed build notification string `#{v}`: #{err.message}"
33
33
  end
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module HeyYou
2
- VERSION = "1.3.3"
2
+ VERSION = "1.3.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hey-you
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Nesterov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-28 00:00:00.000000000 Z
11
+ date: 2020-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fcm