sepa_king 0.0.7 → 0.1.0

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.
@@ -42,7 +42,7 @@ describe SEPA::Transaction do
42
42
  end
43
43
 
44
44
  it 'should not accept invalid value' do
45
- SEPA::Transaction.should_not accept(nil, '', 'invalid', for: :bic)
45
+ SEPA::Transaction.should_not accept('', 'invalid', for: :bic)
46
46
  end
47
47
  end
48
48
 
@@ -3,19 +3,23 @@ require 'spec_helper'
3
3
  describe 'Credit Transfer Initiation' do
4
4
  it "should validate example file" do
5
5
  File.read('spec/examples/pain.001.002.03.xml').should validate_against('pain.001.002.03.xsd')
6
+ File.read('spec/examples/pain.001.003.03.xml').should validate_against('pain.001.003.03.xsd')
6
7
  end
7
8
 
8
9
  it 'should not validate dummy string' do
9
10
  'foo'.should_not validate_against('pain.001.002.03.xsd')
11
+ 'foo'.should_not validate_against('pain.001.003.03.xsd')
10
12
  end
11
13
  end
12
14
 
13
15
  describe 'Direct Debit Initiation' do
14
16
  it 'should validate example file' do
15
17
  File.read('spec/examples/pain.008.002.02.xml').should validate_against('pain.008.002.02.xsd')
18
+ File.read('spec/examples/pain.008.003.02.xml').should validate_against('pain.008.003.02.xsd')
16
19
  end
17
20
 
18
21
  it 'should not validate dummy string' do
19
22
  'foo'.should_not validate_against('pain.008.002.02.xsd')
23
+ 'foo'.should_not validate_against('pain.008.003.02.xsd')
20
24
  end
21
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sepa_king
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Leciejewski
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-09-22 00:00:00.000000000 Z
12
+ date: 2013-11-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -168,7 +168,9 @@ files:
168
168
  - README.md
169
169
  - Rakefile
170
170
  - lib/schema/pain.001.002.03.xsd
171
+ - lib/schema/pain.001.003.03.xsd
171
172
  - lib/schema/pain.008.002.02.xsd
173
+ - lib/schema/pain.008.003.02.xsd
172
174
  - lib/sepa_king.rb
173
175
  - lib/sepa_king/account.rb
174
176
  - lib/sepa_king/account/creditor_account.rb
@@ -192,7 +194,9 @@ files:
192
194
  - spec/direct_debit_spec.rb
193
195
  - spec/direct_debit_transaction_spec.rb
194
196
  - spec/examples/pain.001.002.03.xml
197
+ - spec/examples/pain.001.003.03.xml
195
198
  - spec/examples/pain.008.002.02.xml
199
+ - spec/examples/pain.008.003.02.xml
196
200
  - spec/message_spec.rb
197
201
  - spec/spec_helper.rb
198
202
  - spec/support/custom_matcher.rb
@@ -220,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
224
  version: '0'
221
225
  requirements: []
222
226
  rubyforge_project:
223
- rubygems_version: 2.1.4
227
+ rubygems_version: 2.1.10
224
228
  signing_key:
225
229
  specification_version: 4
226
230
  summary: Ruby gem for creating SEPA XML files
@@ -234,7 +238,9 @@ test_files:
234
238
  - spec/direct_debit_spec.rb
235
239
  - spec/direct_debit_transaction_spec.rb
236
240
  - spec/examples/pain.001.002.03.xml
241
+ - spec/examples/pain.001.003.03.xml
237
242
  - spec/examples/pain.008.002.02.xml
243
+ - spec/examples/pain.008.003.02.xml
238
244
  - spec/message_spec.rb
239
245
  - spec/spec_helper.rb
240
246
  - spec/support/custom_matcher.rb