bbmb 2.1.1 → 2.1.2

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: 0607b2f7a39456c25d5fa08641dd119cdac7b99d
4
- data.tar.gz: 21b5b2728a813a9ead2178f33be5d0ab4431dd29
3
+ metadata.gz: ca1e3853d456eb17bb861dfa2735d6f9cef58f7f
4
+ data.tar.gz: 2fec7f8260d9804273caf1ccd16f93e629be669f
5
5
  SHA512:
6
- metadata.gz: 4b45477d8a648c7971165984cc9dbe46c2a88551acf9efee282ea2b6549a29c3cbbca180e3e35e1dfd6227f8cb958f3ba147944f8de7bfe2fc1acc2b20f4688d
7
- data.tar.gz: 21755577a1ce1d2861d2c946ad117684f6d76bd1782296c2b0642da11c9a4b1b8f7998ea40da91687b569c217a5f41822db75369c4bd20e7658cb9908e787f1d
6
+ metadata.gz: a5e38799dbb236992aaa921f114ed82df2a54e40cf9f5611267407d2ab8515365494cf3015e7eb9f8e7a8ace72cc9b1e53ff82d6e1d5214a112abc7c7862f1d9
7
+ data.tar.gz: fc0bdd0bad5a25a652c4a740246a0cd73e6501ee97448a1acc58e5b327176a6ab2e59609dc4768a88cde4c5ca3c86bd9e4e8c1341629dc085782775fdfb9d7c7
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 2.1.2 / 07.09.2016
2
+
3
+ * Prevent mail error by no price product
4
+
1
5
  === 2.1.1 / 02.09.2016
2
6
 
3
7
  * Fix conversion error for backup_dir at PopMission
@@ -101,7 +101,8 @@ module Mail
101
101
  parts = []
102
102
  config.mail_confirm_lines.collect do |line|
103
103
  content = order.collect do |pos|
104
- sprintf line, pos.quantity, pos.description, pos.price_qty, pos.total
104
+ sprintf(line, pos.quantity.to_i,
105
+ pos.description, pos.price_qty.to_f, pos.total.to_f)
105
106
  end
106
107
  parts.push date, content.join("\n"), order.total
107
108
  if vtotal = order.total_incl_vat
data/lib/bbmb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module BBMB
2
- VERSION = '2.1.1'
2
+ VERSION = '2.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbmb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaomi Hatakeyama, Zeno R.R. Davatz, Niklaus Giger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-02 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: odba