transactd 1.2.0-x86-mswin32-100 → 2.0.0-x86-mswin32-100
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/BUILD_UNIX-JA +46 -67
- data/BUILD_WIN-JA +106 -63
- data/CMakeLists.txt +40 -15
- data/README +219 -75
- data/README-JA +207 -76
- data/README_ORMSRCGEN +118 -0
- data/README_ORMSRCGEN-JA +115 -0
- data/bin/1.9/transactd.so +0 -0
- data/bin/2.0/transactd.so +0 -0
- data/bin/common/tdclc_32_2_0.dll +0 -0
- data/bin/common/tdclcpp_vc100_32mr_2_0.dll +0 -0
- data/build/tdclrb/bldgem/extconf.rb +28 -3
- data/build/tdclrb/gem/helper.rb +11 -1
- data/index_ja.html +15 -0
- data/source/bzs/test/tdclrb/bench_tdclcpp.rb +4 -6
- data/source/bzs/test/tdclrb/prepare.rb +15 -12
- data/source/bzs/test/tdclrb/transactd_blob_spec.rb +29 -32
- data/source/bzs/test/tdclrb/transactd_datetime_spec.rb +0 -29
- data/source/bzs/test/tdclrb/transactd_kanjischema_spec.rb +18 -19
- data/source/bzs/test/tdclrb/transactd_pool_spec.rb +107 -0
- data/source/bzs/test/tdclrb/transactd_spec.rb +734 -142
- data/transactd.gemspec +24 -16
- metadata +9 -5
- data/bin/common/tdclc_32_1_2.dll +0 -0
- data/bin/common/tdclcpp_vc100_32m_1_2.dll +0 -0
data/transactd.gemspec
CHANGED
@@ -20,32 +20,35 @@
|
|
20
20
|
=end
|
21
21
|
spec_build = Gem::Specification.new do |s|
|
22
22
|
s.name = 'transactd'
|
23
|
-
s.date = '2013-11-20'
|
24
23
|
s.summary = 'Transactd client'
|
25
24
|
s.description = 'Transactd client for ruby gem'
|
26
25
|
s.author = 'BizStation Corp.'
|
27
|
-
s.email = 'transactd@
|
26
|
+
s.email = 'transactd@bizstation.jp'
|
28
27
|
s.homepage = 'http://www.bizstation.jp/ja/transactd'
|
29
28
|
s.license = 'GPL v2'
|
30
29
|
|
31
|
-
|
30
|
+
# read version from tdapcapi.h
|
31
|
+
verfile = 'source/bzs/db/protocol/tdap/tdapcapi.h'
|
32
32
|
unless File.exist?(verfile)
|
33
33
|
raise 'Can not found ' + verfile
|
34
34
|
end
|
35
|
-
vers = IO.readlines(verfile).map{ |i| i.strip.split(/\s+/) }
|
36
35
|
versions = {}
|
37
|
-
|
38
|
-
|
36
|
+
File.open(verfile, "r") {|f|
|
37
|
+
f.each_line { |l|
|
38
|
+
if l.index("Build marker! Don't remove") != nil
|
39
|
+
l = l.sub(/#define/, '').sub(/\/\/.*$/, '').gsub('"', '').strip().split(/\s/)
|
40
|
+
versions[l[0].to_sym] = Integer(l[1]) if l.length == 2
|
41
|
+
end
|
42
|
+
}
|
43
|
+
}
|
44
|
+
unless (versions.has_key?(:CPP_INTERFACE_VER_MAJOR) &&
|
45
|
+
versions.has_key?(:CPP_INTERFACE_VER_MINOR) &&
|
46
|
+
versions.has_key?(:CPP_INTERFACE_VER_RELEASE))
|
47
|
+
raise 'Can not read versions from ' + verfile
|
39
48
|
end
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
raise 'Can not read versions from ' + verfile +
|
44
|
-
"\n need: TDVER_RUBYGEM_VER_MAJOR,TDVER_RUBYGEM_VER_MINOR,TDVER_RUBYGEM_VER_RELEASE"
|
45
|
-
end
|
46
|
-
s.version = versions[:TDVER_RUBYGEM_VER_MAJOR].to_s + '.' +
|
47
|
-
versions[:TDVER_RUBYGEM_VER_MINOR].to_s + '.' +
|
48
|
-
versions[:TDVER_RUBYGEM_VER_RELEASE].to_s
|
49
|
+
s.version = versions[:CPP_INTERFACE_VER_MAJOR].to_s + '.' +
|
50
|
+
versions[:CPP_INTERFACE_VER_MINOR].to_s + '.' +
|
51
|
+
versions[:CPP_INTERFACE_VER_RELEASE].to_s
|
49
52
|
|
50
53
|
binary_file = File.join('bin', RUBY_VERSION.match(/\d+\.\d+/)[0], 'transactd.so')
|
51
54
|
binarymode = File.exist?(binary_file)
|
@@ -65,7 +68,7 @@ spec_build = Gem::Specification.new do |s|
|
|
65
68
|
s.files += Dir.glob('./*')
|
66
69
|
else
|
67
70
|
#
|
68
|
-
#
|
71
|
+
# source code package
|
69
72
|
#
|
70
73
|
s.platform = Gem::Platform::RUBY
|
71
74
|
s.extensions = ['build/tdclrb/bldgem/extconf.rb']
|
@@ -75,6 +78,11 @@ spec_build = Gem::Specification.new do |s|
|
|
75
78
|
s.files += Dir.glob('build/swig/**/*') + Dir.glob('build/tdclc/**/*')
|
76
79
|
s.files += Dir.glob('build/tdclcpp/**/*') + Dir.glob('build/tdclrb/**/*')
|
77
80
|
s.files += Dir.glob('./*')
|
81
|
+
if RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/
|
82
|
+
# add prebuilt binary
|
83
|
+
tdclc_file = File.join('bin', 'common', 'tdclc_*.*')
|
84
|
+
s.files += Dir.glob(tdclc_file)
|
85
|
+
end
|
78
86
|
end
|
79
87
|
|
80
88
|
msgs = []
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transactd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: x86-mswin32-100
|
6
6
|
authors:
|
7
7
|
- BizStation Corp.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Transactd client for ruby gem
|
14
|
-
email: transactd@
|
14
|
+
email: transactd@bizstation.jp
|
15
15
|
executables: []
|
16
16
|
extensions:
|
17
17
|
- build/tdclrb/bldgem/extconf.rb
|
@@ -20,8 +20,8 @@ files:
|
|
20
20
|
- bin/1.9/transactd.so
|
21
21
|
- bin/2.0/transactd.so
|
22
22
|
- build/tdclrb/bldgem/extconf.rb
|
23
|
-
- bin/common/
|
24
|
-
- bin/common/
|
23
|
+
- bin/common/tdclcpp_vc100_32mr_2_0.dll
|
24
|
+
- bin/common/tdclc_32_2_0.dll
|
25
25
|
- build/tdclrb/gem/detect.rb
|
26
26
|
- build/tdclrb/gem/helper.rb
|
27
27
|
- build/tdclrb/gem/INSTALLLOG.win32
|
@@ -36,13 +36,17 @@ files:
|
|
36
36
|
- source/bzs/test/tdclrb/transactd_blob_spec.rb
|
37
37
|
- source/bzs/test/tdclrb/transactd_datetime_spec.rb
|
38
38
|
- source/bzs/test/tdclrb/transactd_kanjischema_spec.rb
|
39
|
+
- source/bzs/test/tdclrb/transactd_pool_spec.rb
|
39
40
|
- source/bzs/test/tdclrb/transactd_spec.rb
|
40
41
|
- ./BUILD_UNIX-JA
|
41
42
|
- ./BUILD_WIN-JA
|
42
43
|
- ./CMakeLists.txt
|
43
44
|
- ./COPYING
|
45
|
+
- ./index_ja.html
|
44
46
|
- ./README
|
45
47
|
- ./README-JA
|
48
|
+
- ./README_ORMSRCGEN
|
49
|
+
- ./README_ORMSRCGEN-JA
|
46
50
|
- ./transactd.gemspec
|
47
51
|
homepage: http://www.bizstation.jp/ja/transactd
|
48
52
|
licenses:
|
data/bin/common/tdclc_32_1_2.dll
DELETED
Binary file
|
Binary file
|