ruby-odbc 0.99995 → 0.99996

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.
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
  spec = Gem::Specification.new do |s|
3
3
  s.name = "ruby-odbc"
4
- s.version = "0.99995"
4
+ s.version = "0.99996"
5
5
  s.date = Date.today.to_s
6
6
  s.author = "Christian Werner"
7
7
  s.email = "chw @nospam@ ch-werner.de"
@@ -0,0 +1,8 @@
1
+ $count = $c.do("delete from test where 1 = 1")
2
+ if $count != 4
3
+ $stderr.print "delete row count: expected 4, got ", $count, "\n"
4
+ end
5
+ $count = $c.do("delete from test where 1 = 1")
6
+ if $count != 0
7
+ $stderr.print "delete row count: expected 0, got ", $count, "\n"
8
+ end
@@ -1,4 +1,4 @@
1
- # $Id: test.rb,v 1.7 2010/02/18 12:30:43 chw Exp chw $
1
+ # $Id: test.rb,v 1.8 2015/03/25 10:53:59 chw Exp chw $
2
2
  #
3
3
  # Execute in ruby-odbc top directory.
4
4
  #
@@ -13,8 +13,8 @@ $uid = ARGV.shift
13
13
  $pwd = ARGV.shift
14
14
 
15
15
  begin
16
- Dir.glob("test/[0-9]*.rb").sort.each do |f|
17
- f =~ /^test\/\d+(.*)\.rb$/
16
+ Dir.glob("[0-9]*.rb").sort.each do |f|
17
+ f =~ /\d+(.*)\.rb$/
18
18
  print $1 + "."*(20-$1.length)
19
19
  $stdout.flush
20
20
  load f
@@ -1,4 +1,4 @@
1
- # $Id: test.rb,v 1.3 2010/02/18 12:30:43 chw Exp chw $
1
+ # $Id: test.rb,v 1.4 2015/03/25 10:54:18 chw Exp chw $
2
2
  #
3
3
  # Execute in ruby-odbc utf8 directory.
4
4
  #
@@ -13,8 +13,8 @@ $uid = ARGV.shift
13
13
  $pwd = ARGV.shift
14
14
 
15
15
  begin
16
- Dir.glob("../test/[0-9]*.rb").sort.each do |f|
17
- f =~ /^..\/test\/\d+(.*)\.rb$/
16
+ Dir.glob("../[0-9]*.rb").sort.each do |f|
17
+ f =~ /^..\/\d+(.*)\.rb$/
18
18
  print $1 + "."*(20-$1.length)
19
19
  $stdout.flush
20
20
  load f
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-odbc
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.99995'
4
+ version: '0.99996'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Werner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-13 00:00:00.000000000 Z
11
+ date: 2015-03-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: chw @nospam@ ch-werner.de
@@ -35,6 +35,7 @@ files:
35
35
  - MANIFEST
36
36
  - doc/odbc.html
37
37
  - ChangeLog
38
+ - test/45delete.rb
38
39
  - test/20insert.rb
39
40
  - test/10create_table.rb
40
41
  - test/test.rb
@@ -56,12 +57,12 @@ require_paths:
56
57
  - lib
57
58
  required_ruby_version: !ruby/object:Gem::Requirement
58
59
  requirements:
59
- - - '>='
60
+ - - ">="
60
61
  - !ruby/object:Gem::Version
61
62
  version: '0'
62
63
  required_rubygems_version: !ruby/object:Gem::Requirement
63
64
  requirements:
64
- - - '>='
65
+ - - ">="
65
66
  - !ruby/object:Gem::Version
66
67
  version: '0'
67
68
  requirements: []