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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e2cd32acb084bf999a6d7a1333bc55e23f9ea009
4
- data.tar.gz: 1e39355d270710e7737381e0882c43a2997defce
3
+ metadata.gz: 08d4f064ce357e99bbd83bc0fe9c64952236134c
4
+ data.tar.gz: e2e5133d70e69dfa195b711483861cb6f8f43ada
5
5
  SHA512:
6
- metadata.gz: 9fdbe039dd4e96bb7acddfa5f1520f7e19d2b42e0fa591f6d1ec885fbbd872b8a8a09127eefecf68cf45258c27eb86f4dada32118d8cb33d14703ea524a1f574
7
- data.tar.gz: 45e10921a68365e02f0bbfebad0363958393cef379bab783b0eb033c0ef420dbcfcdc4e4be6fbf363f2a235f5919c9330371e5c500671b2059e9eac1f59ffa1e
6
+ metadata.gz: 54dc94fb1efa0b86fe7743e81a7a2da0e3c83e70eeef40f96dfa8efeba8333e18f89ad571684394098a3db3a68f8bfa168f33eca31f548a7f0cec352e906280e
7
+ data.tar.gz: 8a0a4493636a40a2400229f8b581913185430a3610e8e3ee62b43b4ecfef6a37f2dff291d05943b34e3fcf5c8ad432d22c872407a916c7277c3b64ed4193315f
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  rvm:
2
- - 1.8.7
3
- - 1.9.2
4
2
  - 1.9.3
5
3
  - 2.0.0
4
+ - 2.1.0
5
+ before_install: gem update bundler
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2013 Georg Ledermann
3
+ Copyright (c) 2013-2015 Georg Ledermann
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
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.8.7 or newer. Ruby 2.0 recommended.
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', '~> 1.3'
24
+ spec.add_development_dependency 'bundler'
25
25
  spec.add_development_dependency 'rake'
26
- spec.add_development_dependency 'rspec', '~> 2.14'
26
+ spec.add_development_dependency 'rspec', '~> 3.0'
27
27
  spec.add_development_dependency 'webmock'
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module Ibanomat
2
- VERSION = '0.0.5'
2
+ VERSION = '1.0.0'
3
3
  end
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].should == 'Commerzbank'
30
+ expect(subject[:bank_name]).to eq('Commerzbank')
31
31
  end
32
32
 
33
33
  it 'should return BIC' do
34
- subject[:bic].should == 'COBADEFFXXX'
34
+ expect(subject[:bic]).to eq('COBADEFFXXX')
35
35
  end
36
36
 
37
37
  it 'should return IBAN' do
38
- subject[:iban].should == 'DE89370400440532013000'
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].should == '10'
59
+ expect(subject[:return_code]).to eq('10')
60
60
  end
61
61
  end
62
62
  end
data/spec/spec_helper.rb CHANGED
@@ -5,7 +5,6 @@
5
5
  #
6
6
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
7
  RSpec.configure do |config|
8
- config.treat_symbols_as_metadata_keys_with_true_values = true
9
8
  config.run_all_when_everything_filtered = true
10
9
  config.filter_run :focus
11
10
 
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.5
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: 2013-10-16 00:00:00.000000000 Z
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: '1.3'
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: '1.3'
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: '2.14'
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: '2.14'
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.1.9
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