kontoapi-rails 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +151 -92
- data/LICENSE +1 -1
- data/README.markdown +6 -2
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/kontoapi-rails.gemspec +6 -5
- data/lib/kontoapi-rails/config.rb +10 -0
- data/lib/kontoapi-rails/orm/active_record_extension.rb +4 -0
- data/lib/kontoapi-rails/railtie.rb +0 -2
- data/lib/kontoapi-rails/validators/bank_account_validator.rb +16 -8
- metadata +21 -38
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3bdd360d4a499251ab089fb386ea80024f2df406
|
4
|
+
data.tar.gz: 4688d5b8cb9844bcaaa34f79dd57467d6be2b068
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1dfb75fb96571eed74348026320cd1ad6427994ceeb45775024af09e5f8628173cf7084d70661c05c72e77edab397147f2d2743c24f99a37d7dabc1de6ef3463
|
7
|
+
data.tar.gz: 54998c02d8445a367110bbf769bcac6423df41223ac10436979aaf02ec14bc5d74b238ac3a1ab15f81668d196972efcd321ac490a77bd05c86d66439cab4f19b
|
data/Gemfile.lock
CHANGED
@@ -1,106 +1,162 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (
|
5
|
-
actionpack (=
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
4
|
+
actionmailer (4.2.6)
|
5
|
+
actionpack (= 4.2.6)
|
6
|
+
actionview (= 4.2.6)
|
7
|
+
activejob (= 4.2.6)
|
8
|
+
mail (~> 2.5, >= 2.5.4)
|
9
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
10
|
+
actionpack (4.2.6)
|
11
|
+
actionview (= 4.2.6)
|
12
|
+
activesupport (= 4.2.6)
|
13
|
+
rack (~> 1.6)
|
14
|
+
rack-test (~> 0.6.2)
|
15
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
16
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
+
actionview (4.2.6)
|
18
|
+
activesupport (= 4.2.6)
|
19
|
+
builder (~> 3.1)
|
11
20
|
erubis (~> 2.7.0)
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
activemodel (
|
18
|
-
activesupport (=
|
19
|
-
builder (~> 3.
|
20
|
-
activerecord (
|
21
|
-
activemodel (=
|
22
|
-
activesupport (=
|
23
|
-
arel (~>
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
21
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
23
|
+
activejob (4.2.6)
|
24
|
+
activesupport (= 4.2.6)
|
25
|
+
globalid (>= 0.3.0)
|
26
|
+
activemodel (4.2.6)
|
27
|
+
activesupport (= 4.2.6)
|
28
|
+
builder (~> 3.1)
|
29
|
+
activerecord (4.2.6)
|
30
|
+
activemodel (= 4.2.6)
|
31
|
+
activesupport (= 4.2.6)
|
32
|
+
arel (~> 6.0)
|
33
|
+
activesupport (4.2.6)
|
34
|
+
i18n (~> 0.7)
|
35
|
+
json (~> 1.7, >= 1.7.7)
|
36
|
+
minitest (~> 5.1)
|
37
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
38
|
+
tzinfo (~> 1.1)
|
39
|
+
addressable (2.4.0)
|
40
|
+
arel (6.0.3)
|
41
|
+
builder (3.2.2)
|
42
|
+
concurrent-ruby (1.0.2)
|
43
|
+
descendants_tracker (0.0.4)
|
44
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
45
|
+
diff-lcs (1.2.5)
|
46
|
+
docile (1.1.5)
|
35
47
|
erubis (2.7.0)
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
48
|
+
faraday (0.9.2)
|
49
|
+
multipart-post (>= 1.2, < 3)
|
50
|
+
git (1.3.0)
|
51
|
+
github_api (0.14.1)
|
52
|
+
addressable (~> 2.4.0)
|
53
|
+
descendants_tracker (~> 0.0.4)
|
54
|
+
faraday (~> 0.8, < 0.10)
|
55
|
+
hashie (>= 3.4)
|
56
|
+
oauth2
|
57
|
+
globalid (0.3.6)
|
58
|
+
activesupport (>= 4.1.0)
|
59
|
+
hashie (3.4.4)
|
60
|
+
highline (1.7.8)
|
61
|
+
i18n (0.7.0)
|
62
|
+
jeweler (2.1.1)
|
63
|
+
builder
|
64
|
+
bundler (>= 1.0)
|
41
65
|
git (>= 1.2.5)
|
66
|
+
github_api
|
67
|
+
highline (>= 1.6.15)
|
68
|
+
nokogiri (>= 1.5.10)
|
42
69
|
rake
|
43
70
|
rdoc
|
44
|
-
|
45
|
-
json (1.
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
71
|
+
semver
|
72
|
+
json (1.8.3)
|
73
|
+
jwt (1.5.1)
|
74
|
+
kontoapi-ruby (0.3.0)
|
75
|
+
addressable (~> 2.3, >= 2.3.7)
|
76
|
+
yajl-ruby (~> 1.2, >= 1.2.1)
|
77
|
+
loofah (2.0.3)
|
78
|
+
nokogiri (>= 1.5.9)
|
79
|
+
mail (2.6.4)
|
80
|
+
mime-types (>= 1.16, < 4)
|
81
|
+
mime-types (3.1)
|
82
|
+
mime-types-data (~> 3.2015)
|
83
|
+
mime-types-data (3.2016.0521)
|
84
|
+
mini_portile2 (2.1.0)
|
85
|
+
minitest (5.9.0)
|
86
|
+
multi_json (1.12.1)
|
87
|
+
multi_xml (0.5.5)
|
88
|
+
multipart-post (2.0.0)
|
89
|
+
nokogiri (1.6.8)
|
90
|
+
mini_portile2 (~> 2.1.0)
|
91
|
+
pkg-config (~> 1.1.7)
|
92
|
+
oauth2 (1.1.0)
|
93
|
+
faraday (>= 0.8, < 0.10)
|
94
|
+
jwt (~> 1.0, < 1.5.2)
|
95
|
+
multi_json (~> 1.3)
|
96
|
+
multi_xml (~> 0.5)
|
97
|
+
rack (>= 1.2, < 3)
|
98
|
+
pkg-config (1.1.7)
|
99
|
+
rack (1.6.4)
|
100
|
+
rack-test (0.6.3)
|
62
101
|
rack (>= 1.0)
|
63
|
-
rails (
|
64
|
-
actionmailer (=
|
65
|
-
actionpack (=
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
102
|
+
rails (4.2.6)
|
103
|
+
actionmailer (= 4.2.6)
|
104
|
+
actionpack (= 4.2.6)
|
105
|
+
actionview (= 4.2.6)
|
106
|
+
activejob (= 4.2.6)
|
107
|
+
activemodel (= 4.2.6)
|
108
|
+
activerecord (= 4.2.6)
|
109
|
+
activesupport (= 4.2.6)
|
110
|
+
bundler (>= 1.3.0, < 2.0)
|
111
|
+
railties (= 4.2.6)
|
112
|
+
sprockets-rails
|
113
|
+
rails-deprecated_sanitizer (1.0.3)
|
114
|
+
activesupport (>= 4.2.0.alpha)
|
115
|
+
rails-dom-testing (1.0.7)
|
116
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
117
|
+
nokogiri (~> 1.6.0)
|
118
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
119
|
+
rails-html-sanitizer (1.0.3)
|
120
|
+
loofah (~> 2.0)
|
121
|
+
railties (4.2.6)
|
122
|
+
actionpack (= 4.2.6)
|
123
|
+
activesupport (= 4.2.6)
|
75
124
|
rake (>= 0.8.7)
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
rdoc (3.12)
|
125
|
+
thor (>= 0.18.1, < 2.0)
|
126
|
+
rake (11.2.2)
|
127
|
+
rdoc (4.2.2)
|
80
128
|
json (~> 1.4)
|
81
|
-
rspec (
|
82
|
-
rspec-core (~>
|
83
|
-
rspec-expectations (~>
|
84
|
-
rspec-mocks (~>
|
85
|
-
rspec-core (
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
129
|
+
rspec (3.4.0)
|
130
|
+
rspec-core (~> 3.4.0)
|
131
|
+
rspec-expectations (~> 3.4.0)
|
132
|
+
rspec-mocks (~> 3.4.0)
|
133
|
+
rspec-core (3.4.4)
|
134
|
+
rspec-support (~> 3.4.0)
|
135
|
+
rspec-expectations (3.4.0)
|
136
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
137
|
+
rspec-support (~> 3.4.0)
|
138
|
+
rspec-mocks (3.4.1)
|
139
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
140
|
+
rspec-support (~> 3.4.0)
|
141
|
+
rspec-support (3.4.1)
|
142
|
+
semver (1.0.1)
|
143
|
+
simplecov (0.11.2)
|
144
|
+
docile (~> 1.1.0)
|
145
|
+
json (~> 1.8)
|
146
|
+
simplecov-html (~> 0.10.0)
|
147
|
+
simplecov-html (0.10.0)
|
148
|
+
sprockets (3.6.2)
|
149
|
+
concurrent-ruby (~> 1.0)
|
150
|
+
rack (> 1, < 3)
|
151
|
+
sprockets-rails (3.0.4)
|
152
|
+
actionpack (>= 4.0)
|
153
|
+
activesupport (>= 4.0)
|
154
|
+
sprockets (>= 3.0.0)
|
155
|
+
thor (0.19.1)
|
156
|
+
thread_safe (0.3.5)
|
157
|
+
tzinfo (1.2.2)
|
158
|
+
thread_safe (~> 0.1)
|
159
|
+
yajl-ruby (1.2.1)
|
104
160
|
|
105
161
|
PLATFORMS
|
106
162
|
ruby
|
@@ -112,3 +168,6 @@ DEPENDENCIES
|
|
112
168
|
rails (>= 3.0.0)
|
113
169
|
rspec (>= 2.3.0)
|
114
170
|
simplecov
|
171
|
+
|
172
|
+
BUNDLED WITH
|
173
|
+
1.12.5
|
data/LICENSE
CHANGED
data/README.markdown
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
Konto API Rails Validator
|
2
2
|
=========================
|
3
3
|
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/kontoapi-rails.png)](http://badge.fury.io/rb/kontoapi-rails)
|
5
|
+
[![Code Climate](https://codeclimate.com/github/GeneralScripting/kontoapi-rails.png)](https://codeclimate.com/github/GeneralScripting/kontoapi-rails)
|
6
|
+
|
4
7
|
This library is a wrapper for the Konto API (https://www.kontoapi.de/).
|
5
8
|
It provides a validation method for ActiveRecord models that checks if a given account number and bank code represent a valid combination.
|
6
9
|
|
@@ -15,10 +18,11 @@ USAGE
|
|
15
18
|
Add an initializer (e.g. kontoapi.rb) in `config/initializers`:
|
16
19
|
|
17
20
|
KontoAPI.setup do |config|
|
18
|
-
#
|
21
|
+
# mandatory
|
19
22
|
config.api_key = '<your-api-key>' # get one at https://www.kontoapi.de/
|
20
23
|
# optional (with defaults)
|
21
24
|
config.timeout = 10
|
25
|
+
config.disable_for = ['development', 'test']
|
22
26
|
end
|
23
27
|
|
24
28
|
Then, in one of the models you want to validate bank account data with:
|
@@ -83,5 +87,5 @@ And if you want to autocomplete the bank name:
|
|
83
87
|
Copyright
|
84
88
|
---------
|
85
89
|
|
86
|
-
Copyright (c) 2011 General Scripting
|
90
|
+
Copyright (c) 2011-2013 General Scripting UG (haftungsbeschränkt). See LICENSE for further details.
|
87
91
|
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.6
|
data/kontoapi-rails.gemspec
CHANGED
@@ -2,14 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: kontoapi-rails 0.2.6 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "kontoapi-rails"
|
8
|
-
s.version = "0.2.
|
9
|
+
s.version = "0.2.6"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
11
13
|
s.authors = ["Jan Schwenzien"]
|
12
|
-
s.date = "
|
14
|
+
s.date = "2016-06-24"
|
13
15
|
s.description = "This library is a wrapper for the Konto API (https://www.kontoapi.de/). It provides a validation method for models that checks if a given account number and bank code represent a valid combination."
|
14
16
|
s.email = "jan@schwenzien.org"
|
15
17
|
s.extra_rdoc_files = [
|
@@ -38,12 +40,11 @@ Gem::Specification.new do |s|
|
|
38
40
|
]
|
39
41
|
s.homepage = "http://github.com/GeneralScripting/kontoapi-rails"
|
40
42
|
s.licenses = ["MIT"]
|
41
|
-
s.
|
42
|
-
s.rubygems_version = "1.8.23"
|
43
|
+
s.rubygems_version = "2.4.5.1"
|
43
44
|
s.summary = "A wrapper for the Konto API (https://www.kontoapi.de/) providing model validation."
|
44
45
|
|
45
46
|
if s.respond_to? :specification_version then
|
46
|
-
s.specification_version =
|
47
|
+
s.specification_version = 4
|
47
48
|
|
48
49
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
50
|
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
@@ -2,6 +2,8 @@ module KontoAPI
|
|
2
2
|
|
3
3
|
module Config
|
4
4
|
|
5
|
+
@@disable_for = ['development', 'test']
|
6
|
+
|
5
7
|
class << self
|
6
8
|
|
7
9
|
def api_key=(new_key)
|
@@ -12,6 +14,14 @@ module KontoAPI
|
|
12
14
|
KontoAPI::timeout = new_timeout
|
13
15
|
end
|
14
16
|
|
17
|
+
def disable_for
|
18
|
+
@@disable_for
|
19
|
+
end
|
20
|
+
|
21
|
+
def disable_for=(disable_for)
|
22
|
+
@@disable_for = disable_for
|
23
|
+
end
|
24
|
+
|
15
25
|
end
|
16
26
|
|
17
27
|
end
|
@@ -7,6 +7,7 @@ module KontoAPI
|
|
7
7
|
|
8
8
|
module ClassMethods
|
9
9
|
def validates_bank_account(options={})
|
10
|
+
return if KontoAPI::Config.disable_for.include?(::Rails.env)
|
10
11
|
options.symbolize_keys!
|
11
12
|
options.reverse_merge!(
|
12
13
|
:account_number_field => :account_number,
|
@@ -18,6 +19,7 @@ module KontoAPI
|
|
18
19
|
end
|
19
20
|
|
20
21
|
def autocomplete_bank_name(options={})
|
22
|
+
return if KontoAPI::Config.disable_for.include?(::Rails.env)
|
21
23
|
options.symbolize_keys!
|
22
24
|
options.reverse_merge!(
|
23
25
|
:bank_code_field => :bank_code,
|
@@ -46,6 +48,7 @@ module KontoAPI
|
|
46
48
|
end
|
47
49
|
|
48
50
|
def validates_iban(field, options={})
|
51
|
+
return if KontoAPI::Config.disable_for.include?(::Rails.env)
|
49
52
|
options.symbolize_keys!
|
50
53
|
options.reverse_merge!( :allow_nil => true, :on_timeout => :ignore )
|
51
54
|
define_method :iban_validation do
|
@@ -68,6 +71,7 @@ module KontoAPI
|
|
68
71
|
end
|
69
72
|
|
70
73
|
def validates_bic(field, options={})
|
74
|
+
return if KontoAPI::Config.disable_for.include?(::Rails.env)
|
71
75
|
options.symbolize_keys!
|
72
76
|
options.reverse_merge!( :allow_nil => true, :on_timeout => :ignore )
|
73
77
|
define_method :bic_validation do
|
@@ -13,8 +13,6 @@ module KontoAPI
|
|
13
13
|
end
|
14
14
|
if defined? ::Mongoid
|
15
15
|
require File.join(File.dirname(__FILE__), 'orm/mongoid_extension')
|
16
|
-
#::Mongoid::Document.send :include, KontoAPI::MongoidExtension::Document
|
17
|
-
#::Mongoid::Criteria.send :include, KontoAPI::MongoidExtension::Criteria
|
18
16
|
end
|
19
17
|
end
|
20
18
|
end
|
@@ -6,12 +6,26 @@ module KontoAPI
|
|
6
6
|
def validate(record)
|
7
7
|
account_number = record.send(:"#{options[:account_number_field]}")
|
8
8
|
bank_code = record.send(:"#{options[:bank_code_field]}")
|
9
|
+
return true if stop?(record, account_number, bank_code, options)
|
10
|
+
record.errors.add(:"#{options[:account_number_field]}", :invalid) unless KontoAPI::valid?( :ktn => account_number, :blz => bank_code )
|
11
|
+
rescue Timeout::Error => ex
|
12
|
+
handle_timeout(ex, record, options)
|
13
|
+
end
|
14
|
+
|
15
|
+
def change_method(record, field)
|
16
|
+
["#{field}_changed?", "encrypted_#{field}_changed?"].each do |m|
|
17
|
+
return m.to_sym if record.respond_to?( m.to_sym )
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def stop?(record, account_number, bank_code, options)
|
9
22
|
account_number_changed = record.send( change_method(record, options[:account_number_field]) )
|
10
23
|
bank_code_changed = record.send( change_method(record, options[:bank_code_field]) )
|
11
24
|
return true unless account_number_changed || bank_code_changed
|
12
25
|
return true if options[:allow_nil] && (account_number.nil? || bank_code.nil?)
|
13
|
-
|
14
|
-
|
26
|
+
end
|
27
|
+
|
28
|
+
def handle_timeout(ex, record, options)
|
15
29
|
case options[:on_timeout]
|
16
30
|
when :fail
|
17
31
|
record.errors.add(:"#{options[:account_number_field]}", :timeout)
|
@@ -22,11 +36,5 @@ module KontoAPI
|
|
22
36
|
end
|
23
37
|
end
|
24
38
|
|
25
|
-
def change_method(record, field)
|
26
|
-
["#{field}_changed?", "encrypted_#{field}_changed?"].each do |m|
|
27
|
-
return m.to_sym if record.respond_to?( m.to_sym )
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
39
|
end
|
32
40
|
end
|
metadata
CHANGED
@@ -1,110 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontoapi-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.6
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jan Schwenzien
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-06-24 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.0.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 3.0.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: kontoapi-ruby
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.2.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.2.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 2.3.0
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 2.3.0
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: bundler
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 1.1.0
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 1.1.0
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: jeweler
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: 1.5.2
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: 1.5.2
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: simplecov
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - ">="
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
description: This library is a wrapper for the Konto API (https://www.kontoapi.de/).
|
@@ -117,8 +104,8 @@ extra_rdoc_files:
|
|
117
104
|
- LICENSE
|
118
105
|
- README.markdown
|
119
106
|
files:
|
120
|
-
- .document
|
121
|
-
- .rspec
|
107
|
+
- ".document"
|
108
|
+
- ".rspec"
|
122
109
|
- Gemfile
|
123
110
|
- Gemfile.lock
|
124
111
|
- LICENSE
|
@@ -138,29 +125,25 @@ files:
|
|
138
125
|
homepage: http://github.com/GeneralScripting/kontoapi-rails
|
139
126
|
licenses:
|
140
127
|
- MIT
|
128
|
+
metadata: {}
|
141
129
|
post_install_message:
|
142
130
|
rdoc_options: []
|
143
131
|
require_paths:
|
144
132
|
- lib
|
145
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
134
|
requirements:
|
148
|
-
- -
|
135
|
+
- - ">="
|
149
136
|
- !ruby/object:Gem::Version
|
150
137
|
version: '0'
|
151
|
-
segments:
|
152
|
-
- 0
|
153
|
-
hash: -1721407188267647934
|
154
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
|
-
none: false
|
156
139
|
requirements:
|
157
|
-
- -
|
140
|
+
- - ">="
|
158
141
|
- !ruby/object:Gem::Version
|
159
142
|
version: '0'
|
160
143
|
requirements: []
|
161
144
|
rubyforge_project:
|
162
|
-
rubygems_version:
|
145
|
+
rubygems_version: 2.4.5.1
|
163
146
|
signing_key:
|
164
|
-
specification_version:
|
147
|
+
specification_version: 4
|
165
148
|
summary: A wrapper for the Konto API (https://www.kontoapi.de/) providing model validation.
|
166
149
|
test_files: []
|