transactd 1.2.0-x64-mswin64-100 → 2.0.0-x64-mswin64-100

Sign up to get free protection for your applications and to get access to all the features.
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@aie.ne.jp'
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
- verfile = 'build/tdclrb/GEM_VERSION'
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
- for i in vers
38
- versions[i[0].to_sym] = Integer(i[1].sub(/^"(.*)"$/, '\1')) if i.length == 2
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
- unless (versions.has_key?(:TDVER_RUBYGEM_VER_MAJOR) &&
41
- versions.has_key?(:TDVER_RUBYGEM_VER_MINOR) &&
42
- versions.has_key?(:TDVER_RUBYGEM_VER_RELEASE))
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
- # without prebuilt binary
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: 1.2.0
4
+ version: 2.0.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: 2013-11-20 00:00:00.000000000 Z
11
+ date: 2014-09-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Transactd client for ruby gem
14
- email: transactd@aie.ne.jp
14
+ email: transactd@bizstation.jp
15
15
  executables: []
16
16
  extensions:
17
17
  - build/tdclrb/bldgem/extconf.rb
@@ -19,8 +19,8 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - bin/2.0/transactd.so
21
21
  - build/tdclrb/bldgem/extconf.rb
22
- - bin/common/tdclcpp_vc100_64m_1_2.dll
23
- - bin/common/tdclc_64_1_2.dll
22
+ - bin/common/tdclcpp_vc100_64mr_2_0.dll
23
+ - bin/common/tdclc_64_2_0.dll
24
24
  - build/tdclrb/gem/detect.rb
25
25
  - build/tdclrb/gem/helper.rb
26
26
  - build/tdclrb/gem/INSTALLLOG.win32
@@ -35,13 +35,17 @@ files:
35
35
  - source/bzs/test/tdclrb/transactd_blob_spec.rb
36
36
  - source/bzs/test/tdclrb/transactd_datetime_spec.rb
37
37
  - source/bzs/test/tdclrb/transactd_kanjischema_spec.rb
38
+ - source/bzs/test/tdclrb/transactd_pool_spec.rb
38
39
  - source/bzs/test/tdclrb/transactd_spec.rb
39
40
  - ./BUILD_UNIX-JA
40
41
  - ./BUILD_WIN-JA
41
42
  - ./CMakeLists.txt
42
43
  - ./COPYING
44
+ - ./index_ja.html
43
45
  - ./README
44
46
  - ./README-JA
47
+ - ./README_ORMSRCGEN
48
+ - ./README_ORMSRCGEN-JA
45
49
  - ./transactd.gemspec
46
50
  homepage: http://www.bizstation.jp/ja/transactd
47
51
  licenses:
Binary file
Binary file