kontoapi-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "rails", "~> 3.0.0"
4
+ gem 'kontoapi-ruby'
5
+
6
+ group :development do
7
+ gem "rspec", "~> 2.3.0"
8
+ gem "bundler", "~> 1.0.0"
9
+ gem "jeweler", "~> 1.5.2"
10
+ gem "rcov", ">= 0"
11
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,96 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ abstract (1.0.0)
5
+ actionmailer (3.0.6)
6
+ actionpack (= 3.0.6)
7
+ mail (~> 2.2.15)
8
+ actionpack (3.0.6)
9
+ activemodel (= 3.0.6)
10
+ activesupport (= 3.0.6)
11
+ builder (~> 2.1.2)
12
+ erubis (~> 2.6.6)
13
+ i18n (~> 0.5.0)
14
+ rack (~> 1.2.1)
15
+ rack-mount (~> 0.6.14)
16
+ rack-test (~> 0.5.7)
17
+ tzinfo (~> 0.3.23)
18
+ activemodel (3.0.6)
19
+ activesupport (= 3.0.6)
20
+ builder (~> 2.1.2)
21
+ i18n (~> 0.5.0)
22
+ activerecord (3.0.6)
23
+ activemodel (= 3.0.6)
24
+ activesupport (= 3.0.6)
25
+ arel (~> 2.0.2)
26
+ tzinfo (~> 0.3.23)
27
+ activeresource (3.0.6)
28
+ activemodel (= 3.0.6)
29
+ activesupport (= 3.0.6)
30
+ activesupport (3.0.6)
31
+ addressable (2.2.5)
32
+ arel (2.0.9)
33
+ builder (2.1.2)
34
+ diff-lcs (1.1.2)
35
+ erubis (2.6.6)
36
+ abstract (>= 1.0.0)
37
+ git (1.2.5)
38
+ i18n (0.5.0)
39
+ jeweler (1.5.2)
40
+ bundler (~> 1.0.0)
41
+ git (>= 1.2.5)
42
+ rake
43
+ kontoapi-ruby (0.1.0)
44
+ addressable
45
+ yajl-ruby
46
+ mail (2.2.16)
47
+ activesupport (>= 2.3.6)
48
+ i18n (>= 0.4.0)
49
+ mime-types (~> 1.16)
50
+ treetop (~> 1.4.8)
51
+ mime-types (1.16)
52
+ polyglot (0.3.1)
53
+ rack (1.2.2)
54
+ rack-mount (0.6.14)
55
+ rack (>= 1.0.0)
56
+ rack-test (0.5.7)
57
+ rack (>= 1.0)
58
+ rails (3.0.6)
59
+ actionmailer (= 3.0.6)
60
+ actionpack (= 3.0.6)
61
+ activerecord (= 3.0.6)
62
+ activeresource (= 3.0.6)
63
+ activesupport (= 3.0.6)
64
+ bundler (~> 1.0)
65
+ railties (= 3.0.6)
66
+ railties (3.0.6)
67
+ actionpack (= 3.0.6)
68
+ activesupport (= 3.0.6)
69
+ rake (>= 0.8.7)
70
+ thor (~> 0.14.4)
71
+ rake (0.8.7)
72
+ rcov (0.9.9)
73
+ rspec (2.3.0)
74
+ rspec-core (~> 2.3.0)
75
+ rspec-expectations (~> 2.3.0)
76
+ rspec-mocks (~> 2.3.0)
77
+ rspec-core (2.3.1)
78
+ rspec-expectations (2.3.0)
79
+ diff-lcs (~> 1.1.2)
80
+ rspec-mocks (2.3.0)
81
+ thor (0.14.6)
82
+ treetop (1.4.9)
83
+ polyglot (>= 0.3.1)
84
+ tzinfo (0.3.26)
85
+ yajl-ruby (0.8.2)
86
+
87
+ PLATFORMS
88
+ ruby
89
+
90
+ DEPENDENCIES
91
+ bundler (~> 1.0.0)
92
+ jeweler (~> 1.5.2)
93
+ kontoapi-ruby
94
+ rails (~> 3.0.0)
95
+ rcov
96
+ rspec (~> 2.3.0)
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Jan Schwenzien
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.markdown ADDED
@@ -0,0 +1,48 @@
1
+ Konto API Rails Validator
2
+ =========================
3
+
4
+ This library is a wrapper for the Konto API (https://www.kontoapi.de/).
5
+ It provides a validation method for ActiveRecord models that checks if a given account number and bank code represent a valid combination.
6
+
7
+ INSTALLATION
8
+ ------------
9
+
10
+ $ [sudo] gem install kontoapi-rails
11
+
12
+ USAGE
13
+ -----
14
+
15
+ Add an initializer (e.g. kontoapi.rb) in `config/initializers`:
16
+
17
+ KontoAPI.setup do |config|
18
+ # mendatory
19
+ config.api_key = '<your-api-key>' # get one at https://www.kontoapi.de/
20
+ # optional (with defaults)
21
+ config.timeout = 10
22
+ end
23
+
24
+ Then, in one of the models you want to validate bank account data with:
25
+
26
+ class PaymentData < ActiveRecord::Base
27
+
28
+ # other validations
29
+ validates :account_number, :bank_code, :presence => true
30
+
31
+ # account data validation
32
+ # (really just a shortcut for `validates_with KontoAPI::BankAccountValidator`)
33
+ # takes any of the following options (the defaults are shown here):
34
+ # :account_number_field => :account_number,
35
+ # :bank_code_field => :bank_code,
36
+ # :allow_nil => true, <-- don't validate if one of them is nil
37
+ # :on_timeout => :ignore <-- do nothing if a timeout occurs, others:
38
+ # :fail <-- throw a validation error
39
+ # :retry <-- (not supported yet)
40
+ validates_account_data
41
+
42
+ end
43
+
44
+ Copyright
45
+ ---------
46
+
47
+ Copyright (c) 2011 General Scripting - Jan Schwenzien. See LICENSE for further details.
48
+
data/Rakefile ADDED
@@ -0,0 +1,50 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'rake'
11
+
12
+ require 'jeweler'
13
+ Jeweler::Tasks.new do |gem|
14
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
+ gem.name = "kontoapi-rails"
16
+ gem.homepage = "http://github.com/GeneralScripting/kontoapi-rails"
17
+ gem.license = "MIT"
18
+ gem.summary = %Q{A wrapper for the Konto API (https://www.kontoapi.de/) providing model validation.}
19
+ gem.description = %Q{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.}
20
+ gem.email = "jan@schwenzien.org"
21
+ gem.authors = ["Jan Schwenzien"]
22
+ # Include your dependencies below. Runtime dependencies are required when using your gem,
23
+ # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
+ # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
+ # gem.add_development_dependency 'rspec', '> 1.2.3'
26
+ end
27
+ Jeweler::RubygemsDotOrgTasks.new
28
+
29
+ require 'rspec/core'
30
+ require 'rspec/core/rake_task'
31
+ RSpec::Core::RakeTask.new(:spec) do |spec|
32
+ spec.pattern = FileList['spec/**/*_spec.rb']
33
+ end
34
+
35
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
36
+ spec.pattern = 'spec/**/*_spec.rb'
37
+ spec.rcov = true
38
+ end
39
+
40
+ task :default => :spec
41
+
42
+ require 'rake/rdoctask'
43
+ Rake::RDocTask.new do |rdoc|
44
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
45
+
46
+ rdoc.rdoc_dir = 'rdoc'
47
+ rdoc.title = "kontoapi-rails #{version}"
48
+ rdoc.rdoc_files.include('README*')
49
+ rdoc.rdoc_files.include('lib/**/*.rb')
50
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.1
data/init.rb ADDED
@@ -0,0 +1 @@
1
+ require 'kontoapi-rails'
@@ -0,0 +1,76 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{kontoapi-rails}
8
+ s.version = "0.0.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Jan Schwenzien"]
12
+ s.date = %q{2011-04-18}
13
+ s.description = %q{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
+ s.email = %q{jan@schwenzien.org}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.markdown"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE",
25
+ "README.markdown",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "init.rb",
29
+ "kontoapi-rails.gemspec",
30
+ "lib/kontoapi-rails.rb",
31
+ "lib/kontoapi-rails/config.rb",
32
+ "lib/kontoapi-rails/orm/active_record_extension.rb",
33
+ "lib/kontoapi-rails/orm/mongoid_extension.rb",
34
+ "lib/kontoapi-rails/railtie.rb",
35
+ "lib/kontoapi-rails/validators/bank_account_validator.rb",
36
+ "spec/kontoapi-rails_spec.rb",
37
+ "spec/spec_helper.rb"
38
+ ]
39
+ s.homepage = %q{http://github.com/GeneralScripting/kontoapi-rails}
40
+ s.licenses = ["MIT"]
41
+ s.require_paths = ["lib"]
42
+ s.rubygems_version = %q{1.7.2}
43
+ s.summary = %q{A wrapper for the Konto API (https://www.kontoapi.de/) providing model validation.}
44
+ s.test_files = [
45
+ "spec/kontoapi-rails_spec.rb",
46
+ "spec/spec_helper.rb"
47
+ ]
48
+
49
+ if s.respond_to? :specification_version then
50
+ s.specification_version = 3
51
+
52
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
+ s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
54
+ s.add_runtime_dependency(%q<kontoapi-ruby>, [">= 0"])
55
+ s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
56
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
57
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
58
+ s.add_development_dependency(%q<rcov>, [">= 0"])
59
+ else
60
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
61
+ s.add_dependency(%q<kontoapi-ruby>, [">= 0"])
62
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
63
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
64
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
65
+ s.add_dependency(%q<rcov>, [">= 0"])
66
+ end
67
+ else
68
+ s.add_dependency(%q<rails>, ["~> 3.0.0"])
69
+ s.add_dependency(%q<kontoapi-ruby>, [">= 0"])
70
+ s.add_dependency(%q<rspec>, ["~> 2.3.0"])
71
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
72
+ s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
73
+ s.add_dependency(%q<rcov>, [">= 0"])
74
+ end
75
+ end
76
+
@@ -0,0 +1,3 @@
1
+ require 'kontoapi-ruby'
2
+ require 'kontoapi-rails/config'
3
+ require 'kontoapi-rails/railtie'
@@ -0,0 +1,23 @@
1
+ module KontoAPI
2
+
3
+ module Config
4
+
5
+ class << self
6
+
7
+ def api_key=(new_key)
8
+ KontoAPI::api_key = new_key
9
+ end
10
+
11
+ def timeout=(new_timeout)
12
+ KontoAPI::timeout = new_timeout
13
+ end
14
+
15
+ end
16
+
17
+ end
18
+
19
+ def self.setup
20
+ yield KontoAPI::Config
21
+ end
22
+
23
+ end
@@ -0,0 +1,31 @@
1
+ module KontoAPI
2
+ module ActiveRecordExtension
3
+
4
+ def self.included(base)
5
+ base.send(:extend, ClassMethods)
6
+ end
7
+
8
+ module ClassMethods
9
+ def validates_bank_account(options={})
10
+ options.symbolize_keys!
11
+ validates_with KontoAPI::BankAccountValidator, options
12
+ end
13
+
14
+ def autocomplete_bank_name(options={})
15
+ options.symbolize_keys!
16
+ options.reverse_merge!(
17
+ :bank_code_field => :bank_code,
18
+ :bank_name_field => :bank_name
19
+ )
20
+ #write_inheritable_attribute(:autocomplete_bank_name_options, options)
21
+ define_method :autocomplete_bank_name do
22
+ current_value = send(:"#{options[:bank_name_field]}")
23
+ blz = send(:"#{options[:bank_code_field]}")
24
+ self.send(:"#{options[:bank_name_field]}=", KontoAPI::bank_name(blz)) if current_value.blank? && blz.present?
25
+ end
26
+ before_save :autocomplete_bank_name
27
+ end
28
+ end
29
+
30
+ end
31
+ end
@@ -0,0 +1 @@
1
+ # not implemented yet
@@ -0,0 +1,21 @@
1
+ require 'rails'
2
+ # ensure ORMs are loaded *before* initializing
3
+ begin; require 'mongoid'; rescue LoadError; end
4
+
5
+ require File.join(File.dirname(__FILE__), 'validators/bank_account_validator')
6
+
7
+ module KontoAPI
8
+ class Railtie < ::Rails::Railtie #:nodoc:
9
+ initializer 'kontoapi' do |app|
10
+ ActiveSupport.on_load(:active_record) do
11
+ require File.join(File.dirname(__FILE__), 'orm/active_record_extension')
12
+ ::ActiveRecord::Base.send :include, KontoAPI::ActiveRecordExtension
13
+ end
14
+ if defined? ::Mongoid
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
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,30 @@
1
+ require 'active_model/validator'
2
+
3
+ module KontoAPI
4
+ class BankAccountValidator < ActiveModel::Validator
5
+
6
+ DEFAULTS = {
7
+ :account_number_field => :account_number,
8
+ :bank_code_field => :bank_code,
9
+ :allow_nil => true,
10
+ :on_timeout => :ignore
11
+ }
12
+
13
+ def validate(record)
14
+ record_options = options.reverse_merge(DEFAULTS)
15
+ account_number = record.send(:"#{record_options[:account_number_field]}")
16
+ bank_code = record.send(:"#{record_options[:bank_code_field]}")
17
+ record.errors.add(:"#{record_options[:account_number_field]}", :invalid) unless KontoAPI::valid?(account_number, bank_code)
18
+ rescue Timeout::Error => ex
19
+ case record_options[:on_timeout]
20
+ when :fail
21
+ record.errors.add(:"#{record_options[:account_number_field]}", :timeout)
22
+ when :ignore
23
+ # nop
24
+ when :retry
25
+ raise 'not implemented yet'
26
+ end
27
+ end
28
+
29
+ end
30
+ end
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "KontoAPI Rails" do
4
+ it "should be tested" do
5
+ fail "TEST ME!"
6
+ end
7
+ end
@@ -0,0 +1,12 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
3
+ require 'rspec'
4
+ require 'kontoapi-rails'
5
+
6
+ # Requires supporting files with custom matchers and macros, etc,
7
+ # in ./support/ and its subdirectories.
8
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
+
10
+ RSpec.configure do |config|
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kontoapi-rails
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Jan Schwenzien
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-04-18 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rails
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 7
29
+ segments:
30
+ - 3
31
+ - 0
32
+ - 0
33
+ version: 3.0.0
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: kontoapi-ruby
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
47
+ version: "0"
48
+ type: :runtime
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rspec
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 2
61
+ - 3
62
+ - 0
63
+ version: 2.3.0
64
+ type: :development
65
+ version_requirements: *id003
66
+ - !ruby/object:Gem::Dependency
67
+ name: bundler
68
+ prerelease: false
69
+ requirement: &id004 !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ hash: 23
75
+ segments:
76
+ - 1
77
+ - 0
78
+ - 0
79
+ version: 1.0.0
80
+ type: :development
81
+ version_requirements: *id004
82
+ - !ruby/object:Gem::Dependency
83
+ name: jeweler
84
+ prerelease: false
85
+ requirement: &id005 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ~>
89
+ - !ruby/object:Gem::Version
90
+ hash: 7
91
+ segments:
92
+ - 1
93
+ - 5
94
+ - 2
95
+ version: 1.5.2
96
+ type: :development
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
99
+ name: rcov
100
+ prerelease: false
101
+ requirement: &id006 !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 0
109
+ version: "0"
110
+ type: :development
111
+ version_requirements: *id006
112
+ 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.
113
+ email: jan@schwenzien.org
114
+ executables: []
115
+
116
+ extensions: []
117
+
118
+ extra_rdoc_files:
119
+ - LICENSE
120
+ - README.markdown
121
+ files:
122
+ - .document
123
+ - .rspec
124
+ - Gemfile
125
+ - Gemfile.lock
126
+ - LICENSE
127
+ - README.markdown
128
+ - Rakefile
129
+ - VERSION
130
+ - init.rb
131
+ - kontoapi-rails.gemspec
132
+ - lib/kontoapi-rails.rb
133
+ - lib/kontoapi-rails/config.rb
134
+ - lib/kontoapi-rails/orm/active_record_extension.rb
135
+ - lib/kontoapi-rails/orm/mongoid_extension.rb
136
+ - lib/kontoapi-rails/railtie.rb
137
+ - lib/kontoapi-rails/validators/bank_account_validator.rb
138
+ - spec/kontoapi-rails_spec.rb
139
+ - spec/spec_helper.rb
140
+ homepage: http://github.com/GeneralScripting/kontoapi-rails
141
+ licenses:
142
+ - MIT
143
+ post_install_message:
144
+ rdoc_options: []
145
+
146
+ require_paths:
147
+ - lib
148
+ required_ruby_version: !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ hash: 3
154
+ segments:
155
+ - 0
156
+ version: "0"
157
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
+ none: false
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ hash: 3
163
+ segments:
164
+ - 0
165
+ version: "0"
166
+ requirements: []
167
+
168
+ rubyforge_project:
169
+ rubygems_version: 1.7.2
170
+ signing_key:
171
+ specification_version: 3
172
+ summary: A wrapper for the Konto API (https://www.kontoapi.de/) providing model validation.
173
+ test_files:
174
+ - spec/kontoapi-rails_spec.rb
175
+ - spec/spec_helper.rb