rbktoblzcheck 0.1.0 → 0.1.1

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.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 0
data/ext/ktoblzcheck.c CHANGED
@@ -194,7 +194,7 @@ static VALUE find_info(VALUE self, VALUE blz)
194
194
  */
195
195
  void Init_ktoblzcheck_ext()
196
196
  {
197
- g_ktoblzcheck = rb_define_module("KtoBlzCheck");
197
+ g_ktoblzcheck = rb_define_class("KtoBlzCheck", rb_cObject);
198
198
  g_error = rb_define_class_under(g_ktoblzcheck, "Error", rb_eStandardError);
199
199
  rb_define_method(g_ktoblzcheck, "initialize", init, -1);
200
200
  rb_define_method(g_ktoblzcheck, "check", check, 2 );
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rbktoblzcheck}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sascha Loetz", "Kim Rudolph"]
12
- s.date = %q{2010-07-20}
12
+ s.date = %q{2010-07-21}
13
13
  s.default_executable = %q{kbc-ruby}
14
14
  s.email = %q{kim.rudolph@web.de}
15
15
  s.executables = ["kbc-ruby"]
@@ -22,11 +22,10 @@ Gem::Specification.new do |s|
22
22
  "bin/kbc-ruby",
23
23
  "ext/extconf.rb",
24
24
  "ext/ktoblzcheck.c",
25
- "lib/ktoblzcheck.rb",
26
25
  "rbktoblzcheck.gemspec",
27
- "test/test-bankdata.txt",
28
- "test/test-ktoblzcheck-all.rb",
29
- "test/test-ktoblzcheck.rb"
26
+ "test/bankdata.txt",
27
+ "test/ktoblzcheck-all.rb",
28
+ "test/ktoblzcheck.rb"
30
29
  ]
31
30
  s.homepage = %q{http://github.com/krudolph/rbktoblzcheck}
32
31
  s.rdoc_options = ["--charset=UTF-8"]
@@ -34,8 +33,8 @@ Gem::Specification.new do |s|
34
33
  s.rubygems_version = %q{1.3.7}
35
34
  s.summary = %q{rbktoblzcheck is an interface for libktoblzcheck, a library to check German account numbers and bank codes. See http://ktoblzcheck.sourceforge.net for details.}
36
35
  s.test_files = [
37
- "test/test-ktoblzcheck-all.rb",
38
- "test/test-ktoblzcheck.rb"
36
+ "test/ktoblzcheck.rb",
37
+ "test/ktoblzcheck-all.rb"
39
38
  ]
40
39
 
41
40
  if s.respond_to? :specification_version then
File without changes
File without changes
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sascha Loetz
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-20 00:00:00 +02:00
18
+ date: 2010-07-21 00:00:00 +02:00
19
19
  default_executable: kbc-ruby
20
20
  dependencies: []
21
21
 
@@ -35,11 +35,10 @@ files:
35
35
  - bin/kbc-ruby
36
36
  - ext/extconf.rb
37
37
  - ext/ktoblzcheck.c
38
- - lib/ktoblzcheck.rb
39
38
  - rbktoblzcheck.gemspec
40
- - test/test-bankdata.txt
41
- - test/test-ktoblzcheck-all.rb
42
- - test/test-ktoblzcheck.rb
39
+ - test/bankdata.txt
40
+ - test/ktoblzcheck-all.rb
41
+ - test/ktoblzcheck.rb
43
42
  has_rdoc: true
44
43
  homepage: http://github.com/krudolph/rbktoblzcheck
45
44
  licenses: []
@@ -74,5 +73,5 @@ signing_key:
74
73
  specification_version: 3
75
74
  summary: rbktoblzcheck is an interface for libktoblzcheck, a library to check German account numbers and bank codes. See http://ktoblzcheck.sourceforge.net for details.
76
75
  test_files:
77
- - test/test-ktoblzcheck-all.rb
78
- - test/test-ktoblzcheck.rb
76
+ - test/ktoblzcheck.rb
77
+ - test/ktoblzcheck-all.rb
data/lib/ktoblzcheck.rb DELETED
@@ -1,5 +0,0 @@
1
- require 'ktoblzcheck_ext'
2
-
3
- module KtoBlzCheck
4
- extend self
5
- end