renalware-core 2.0.48 → 2.0.50

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: 0be56fcf49b72f0490884ecc1bbd0c4148299c660d3e8712a735ef40302a9920
4
- data.tar.gz: a99656943d079f3466886557b7bae3ef2977440f2efcd77b2f8c2e5cbd80d887
3
+ metadata.gz: 9879c8f2e63f5541dba6bf6b23ef337c27d51a4f515efe21f018e76f425fc672
4
+ data.tar.gz: 671b52ac494c7ba8fb85a20643eaf435a2f018d56fe2a2c0e6127f2528ae16c9
5
5
  SHA512:
6
- metadata.gz: 58f18b012c7f6f78e7820f1b255c40cf9319d4e4e1922183d01a1668d991d5014c0916bf6e3f438ed172579a59939288fabb0c0dc8cd3037078bc740222e43e5
7
- data.tar.gz: 5247159c8e6011ecb9879943b263a62e5ad26fe1c58d1c0b90b3a5b2103521b97671f00b02b4ad919c1859e6f8d7d9db8320a35efd0ed5482df72a395cf25db5
6
+ metadata.gz: d9071a32e6d109103bbfbfe68f7d835f3208a05eaf680085a0b7481d13cf8616e776ee0a56465dc099dfa12652914a6138f9f91d6a9aefc47bae1bc1314fe724
7
+ data.tar.gz: 7b0523b35b846a8fb8fd009202636786c1ebd99eecb76e81119d0decd579e577b62ab08ee94c1f49a82d90a40924a39acc499362df5aae553261932afb918dd6
@@ -9,9 +9,7 @@ module Renalware
9
9
  def self.for(letter)
10
10
  recipients = [letter.main_recipient]
11
11
  recipients.concat(letter.cc_recipients)
12
- recipients.reject do |recipient|
13
- recipient.statment_to_indicate_letter_will_be_emailed.present?
14
- end
12
+ recipients.reject!(&:statment_to_indicate_letter_will_be_emailed)
15
13
  CollectionPresenter.new(recipients, RecipientPresenter::WithCurrentAddress)
16
14
  end
17
15
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renalware
4
- VERSION = "2.0.48"
4
+ VERSION = "2.0.50"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.48
4
+ version: 2.0.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-05 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_type