sepa 0.0.18 → 0.0.18.1

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: d4072cdfea647ba64a6c088da670ca417343627d
4
- data.tar.gz: dd4868a95de6fc3710df446f2e6446da288ccf2f
3
+ metadata.gz: 66a897ba3be8da790054ae7e8e3486d989092ffc
4
+ data.tar.gz: 1da0321274827f0069538136dc92aa219bb4c046
5
5
  SHA512:
6
- metadata.gz: 1cdf86cc601beb305927a836dbbe8d78cba5e8b6482da96193d66ce450752ce46b6efa6a53ca6f7e1f46860f4ec520e4e11d212ae1d404046119a0efe5840955
7
- data.tar.gz: 2433e3f55f8ab92ffef2e4356bf4341efb82f269db0a553de6938b1872249ce178697004ca667ba3553fe507ce34d766f2f3eb83b4d4e4a3d9a320bbe6057987
6
+ metadata.gz: 7801d300bb5447344727d6c6b6402015bffc6e49f03452f43da2cf81cfb592762e1b3e8e04eddf4dccf41e2f38b4b3fcad26cefce4838b02815ae4aa43465c3d
7
+ data.tar.gz: 26cd127d05963b39714e8bded55d3a782faeb0a570ff05c6ff06d19e8e5c8053b79933b93324506c35adba7873e5ed09e5cb5b4dccef2c7bb095010a632b40fa
data/lib/sepa/base.rb CHANGED
@@ -14,7 +14,7 @@ module Sepa
14
14
 
15
15
  class Max70Text < StringWithConstraint
16
16
  def constrain s
17
- s[0..70]
17
+ s ? s.to_s.strip[0..70] : ''
18
18
  end
19
19
  end
20
20
 
data/lib/sepa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sepa
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.18.1"
3
3
  end
@@ -54,7 +54,7 @@ describe Sepa::PaymentsInitiation::Pain00800104::CustomerDirectDebitInitiation d
54
54
  "payment_information[0].direct_debit_transaction_information[1].instructed_amount_currency" => "EUR",
55
55
  "payment_information[0].direct_debit_transaction_information[1].direct_debit_transaction.mandate_related_information.mandate_identification" => "mandate-id-1",
56
56
  "payment_information[0].direct_debit_transaction_information[1].debtor_agent.financial_institution_identification.bic_fi" => "FRQQWIGGA",
57
- "payment_information[0].direct_debit_transaction_information[1].debtor.name" => "ADAMS/SAMUELMR567892_2345678_3_2345678_4_2345678_5_2345678_6_12345678_7_2345678_should-be-truncated-at-70-chars",
57
+ "payment_information[0].direct_debit_transaction_information[1].debtor.name" => " ADAMS/SAMUELMR567892_2345678_3_2345678_4_2345678_5_2345678_6_12345678_7_2345678_should-be-truncated-at-70-chars ",
58
58
  "payment_information[0].direct_debit_transaction_information[1].debtor.postal_address.address_line[0]" => "256, Livva de Getamire",
59
59
  "payment_information[0].direct_debit_transaction_information[1].debtor.postal_address.post_code" => "75048",
60
60
  "payment_information[0].direct_debit_transaction_information[1].debtor.postal_address.town_name" => "PARIS",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sepa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Conan Dalton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-08 00:00:00.000000000 Z
11
+ date: 2014-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: builder