vesr 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ module Prawn
6
6
 
7
7
  include ActionView::Helpers::TranslationHelper
8
8
 
9
- def esr_recipe(invoice, esr_account, sender, print_payment_for? = true)
9
+ def esr_recipe(invoice, esr_account, sender, print_payment_for = true)
10
10
  # VESR form
11
11
  # =========
12
12
  bank = esr_account.bank
@@ -18,7 +18,7 @@ module Prawn
18
18
  text bank.vcard.postal_code + " " + bank.vcard.locality
19
19
 
20
20
  text " "
21
- if print_payment_for?
21
+ if print_payment_for
22
22
  text I18n::translate(:biller, :scope => "activerecord.attributes.invoice")
23
23
  else
24
24
  text " "
@@ -68,7 +68,7 @@ module Prawn
68
68
  text bank.vcard.postal_code + " " + bank.vcard.locality
69
69
 
70
70
  text " "
71
- if print_payment_for?
71
+ if print_payment_for
72
72
  text I18n::translate(:biller, :scope => "activerecord.attributes.invoice")
73
73
  else
74
74
  text " "
@@ -1,3 +1,3 @@
1
1
  module Vesr
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vesr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Simecek