transactd 2.0.1-x64-mswin64-100 → 2.1.0-x64-mswin64-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 +6 -6
- data/README +16 -16
- data/README-JA +16 -16
- data/bin/2.0/transactd.so +0 -0
- data/bin/2.1/transactd.so +0 -0
- data/bin/common/tdclc_64_2_1.dll +0 -0
- data/bin/common/tdclcpp_vc100_64mr_2_1.dll +0 -0
- data/source/bzs/test/tdclrb/bench_tdclcpp.rb +12 -14
- data/source/bzs/test/tdclrb/transactd_spec.rb +1127 -142
- data/transactd.gemspec +14 -27
- metadata +4 -4
- data/bin/common/tdclc_64_2_0.dll +0 -0
- data/bin/common/tdclcpp_vc100_64mr_2_0.dll +0 -0
data/transactd.gemspec
CHANGED
@@ -27,36 +27,22 @@ spec_build = Gem::Specification.new do |s|
|
|
27
27
|
s.homepage = 'http://www.bizstation.jp/ja/transactd'
|
28
28
|
s.license = 'GPL v2'
|
29
29
|
|
30
|
-
# read
|
31
|
-
verfile = '
|
32
|
-
unless File.exist?(verfile)
|
33
|
-
|
34
|
-
|
35
|
-
versions = {}
|
30
|
+
# read version from tdclrb.rc
|
31
|
+
verfile = 'build/tdclrb/tdclrb.rc'
|
32
|
+
raise 'Can not found ' + verfile unless File.exist?(verfile)
|
33
|
+
verpattern = /^[\t ]*VALUE[\t ]+"ProductVersion"[\t ]*,[\t ]*"([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)"[\t\r ]*$/i
|
34
|
+
ver_str = ''
|
36
35
|
File.open(verfile, "r") {|f|
|
37
36
|
f.each_line { |l|
|
38
|
-
|
39
|
-
|
40
|
-
|
37
|
+
m = verpattern.match(l)
|
38
|
+
if m != nil
|
39
|
+
ver_str = m[1].split('.').slice(0..2).join('.')
|
40
|
+
break
|
41
41
|
end
|
42
42
|
}
|
43
43
|
}
|
44
|
-
|
45
|
-
|
46
|
-
raise 'Can not read versions from ' + verfile
|
47
|
-
end
|
48
|
-
# read release version from GEM_RELEASE_VERSION
|
49
|
-
verfile = 'build/tdclrb/GEM_RELEASE_VERSION'
|
50
|
-
unless File.exist?(verfile)
|
51
|
-
raise 'Can not found ' + verfile
|
52
|
-
end
|
53
|
-
File.open(verfile, "r") {|f|
|
54
|
-
l = f.read.gsub(/\s\n/, '')
|
55
|
-
versions[:GEM_RELEASE_VERSION] = Integer(l)
|
56
|
-
}
|
57
|
-
s.version = versions[:CPP_INTERFACE_VER_MAJOR].to_s + '.' +
|
58
|
-
versions[:CPP_INTERFACE_VER_MINOR].to_s + '.' +
|
59
|
-
versions[:GEM_RELEASE_VERSION].to_s
|
44
|
+
raise 'Can not read versions from ' + verfile + ' (' + ver_str + ')' if ver_str.length == 0
|
45
|
+
s.version = ver_str
|
60
46
|
|
61
47
|
binary_file = File.join('bin', RUBY_VERSION.match(/\d+\.\d+/)[0], 'transactd.so')
|
62
48
|
binarymode = File.exist?(binary_file)
|
@@ -83,8 +69,9 @@ spec_build = Gem::Specification.new do |s|
|
|
83
69
|
s.files = ['CMakeLists.txt']
|
84
70
|
s.files += Dir.glob('bin/common/*.dll') + Dir.glob('bin/common/*.so')
|
85
71
|
s.files += Dir.glob('source/**/*') + Dir.glob('build/common/**/*')
|
86
|
-
s.files += Dir.glob('build/swig
|
87
|
-
s.files += Dir.glob('build/
|
72
|
+
s.files += Dir.glob('build/swig/*') + Dir.glob('build/swig/ruby/*')
|
73
|
+
s.files += Dir.glob('build/swig/ruby/**/*') + Dir.glob('build/tdclrb/**/*')
|
74
|
+
s.files += Dir.glob('build/tdclc/**/*') + Dir.glob('build/tdclcpp/**/*')
|
88
75
|
s.files += Dir.glob('./*')
|
89
76
|
if RUBY_PLATFORM =~ /mswin/ || RUBY_PLATFORM =~ /mingw/
|
90
77
|
# add prebuilt binary
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transactd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: x64-mswin64-100
|
6
6
|
authors:
|
7
7
|
- BizStation Corp.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Transactd client for ruby gem
|
14
14
|
email: transactd@bizstation.jp
|
@@ -20,8 +20,8 @@ files:
|
|
20
20
|
- bin/2.0/transactd.so
|
21
21
|
- bin/2.1/transactd.so
|
22
22
|
- build/tdclrb/bldgem/extconf.rb
|
23
|
-
- bin/common/
|
24
|
-
- bin/common/
|
23
|
+
- bin/common/tdclcpp_vc100_64mr_2_1.dll
|
24
|
+
- bin/common/tdclc_64_2_1.dll
|
25
25
|
- build/tdclrb/gem/detect.rb
|
26
26
|
- build/tdclrb/gem/helper.rb
|
27
27
|
- build/tdclrb/gem/INSTALLLOG.win32
|
data/bin/common/tdclc_64_2_0.dll
DELETED
Binary file
|
Binary file
|