ydim 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46e6d36c539ca68440088c2792c44d9b9915b27a
4
- data.tar.gz: 2c8e5d48ea0acb9ee159f7e38929876dcb565b7b
3
+ metadata.gz: 3bc505a34d41b960841280ccc80dbc949700ae49
4
+ data.tar.gz: 822c55680eb18a8c705ed7ea2f8cdb56b35e805a
5
5
  SHA512:
6
- metadata.gz: 1099d4d4da58ca3c7e9cdf86795f31757f925ea833e56b45005b792250657a8073d9f5bb3b2fef187012c98677c857f7c01ee2c2b486da4a50220fc8619ffb9c
7
- data.tar.gz: d29c220a2628613cf5e4ac9c14ba572fffc4addc22f3640eecf1f138f05f77ebb1815db2ae7213d8e6e5843253eb5ad7b94ef19eb19a4622c28be661e5b8b887
6
+ metadata.gz: 3497b907fc59d87e8759bf0ebe19fbb4c201fe9832658867ce67d9678dd42b2986c8450a21dd3c995c381556f59e4bcbc51af5633b418a98fd95c0eff68b1931
7
+ data.tar.gz: 534644ba159c00948a527dc5fe2bd8e91f0cdfb7294f350aaca3288471c6764aed2b9e6d0471a29f7d80a936ebc5935165db0725527d89aa0fb932e89974ae25
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.0.9 / 09.01.2018
2
+
3
+ * Send copy of email invoice to config.mail_recipients
4
+
1
5
  === 1.0.8 / 09.01.2018
2
6
 
3
7
  * Replace config['tax'] by vat_rate
data/lib/ydim/mail.rb CHANGED
@@ -27,6 +27,7 @@ module YDIM
27
27
  @mail = ::Mail.new
28
28
  @mail.to = debitor.email
29
29
  @mail.cc = debitor.emails_cc
30
+ @mail.bcc = config.mail_recipients
30
31
  @mail.from = config.mail_from
31
32
  @mail.subject = invoice_subject
32
33
  @mail.body = body(config, debitor, invoice)
data/lib/ydim/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module YDIM
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ydim
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaomi Hatakeyama, Zeno R.R. Davatz, Niklaus Giger