ibanomat 0.0.5 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/LICENSE +1 -1
- data/README.md +6 -1
- data/ibanomat.gemspec +2 -2
- data/lib/ibanomat/version.rb +1 -1
- data/spec/client_spec.rb +4 -4
- data/spec/spec_helper.rb +0 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08d4f064ce357e99bbd83bc0fe9c64952236134c
|
4
|
+
data.tar.gz: e2e5133d70e69dfa195b711483861cb6f8f43ada
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54dc94fb1efa0b86fe7743e81a7a2da0e3c83e70eeef40f96dfa8efeba8333e18f89ad571684394098a3db3a68f8bfa168f33eca31f548a7f0cec352e906280e
|
7
|
+
data.tar.gz: 8a0a4493636a40a2400229f8b581913185430a3610e8e3ee62b43b4ecfef6a37f2dff291d05943b34e3fcf5c8ad432d22c872407a916c7277c3b64ed4193315f
|
data/.travis.yml
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -11,7 +11,7 @@ The gem is a Ruby wrapper for a [web service of the german "Sparkasse"](http://w
|
|
11
11
|
|
12
12
|
## Requirements
|
13
13
|
|
14
|
-
Ruby 1.
|
14
|
+
Ruby 1.9.3 or newer.
|
15
15
|
|
16
16
|
|
17
17
|
## Installation
|
@@ -54,3 +54,8 @@ A `return_code` other than '00' indicates a warning or error.
|
|
54
54
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
55
55
|
4. Push to the branch (`git push origin my-new-feature`)
|
56
56
|
5. Create new Pull Request
|
57
|
+
|
58
|
+
|
59
|
+
# Author
|
60
|
+
|
61
|
+
Copyright (c) 2013-2015 Georg Ledermann, released under the MIT license
|
data/ibanomat.gemspec
CHANGED
@@ -21,8 +21,8 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_dependency 'rest-client'
|
22
22
|
spec.add_dependency 'json'
|
23
23
|
|
24
|
-
spec.add_development_dependency 'bundler'
|
24
|
+
spec.add_development_dependency 'bundler'
|
25
25
|
spec.add_development_dependency 'rake'
|
26
|
-
spec.add_development_dependency 'rspec', '~>
|
26
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
27
27
|
spec.add_development_dependency 'webmock'
|
28
28
|
end
|
data/lib/ibanomat/version.rb
CHANGED
data/spec/client_spec.rb
CHANGED
@@ -27,15 +27,15 @@ describe Ibanomat do
|
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'should return bank_name' do
|
30
|
-
subject[:bank_name].
|
30
|
+
expect(subject[:bank_name]).to eq('Commerzbank')
|
31
31
|
end
|
32
32
|
|
33
33
|
it 'should return BIC' do
|
34
|
-
subject[:bic].
|
34
|
+
expect(subject[:bic]).to eq('COBADEFFXXX')
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'should return IBAN' do
|
38
|
-
subject[:iban].
|
38
|
+
expect(subject[:iban]).to eq('DE89370400440532013000')
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
@@ -56,7 +56,7 @@ describe Ibanomat do
|
|
56
56
|
end
|
57
57
|
|
58
58
|
it 'should return error code' do
|
59
|
-
subject[:return_code].
|
59
|
+
expect(subject[:return_code]).to eq('10')
|
60
60
|
end
|
61
61
|
end
|
62
62
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibanomat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georg Ledermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '3.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '3.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: webmock
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.4.8
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Wrapper for a web service to calculate the IBAN of german bank account numbers
|