transactd 1.0.1-x86-mswin32-100

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/transactd.gemspec ADDED
@@ -0,0 +1,97 @@
1
+ # coding : utf-8
2
+ =begin =============================================================
3
+ Copyright (C) 2013 BizStation Corp All rights reserved.
4
+
5
+ This program is free software; you can redistribute it and/or
6
+ modify it under the terms of the GNU General Public License
7
+ as published by the Free Software Foundation; either version 2
8
+ of the License, or (at your option) any later version.
9
+
10
+ This program is distributed in the hope that it will be useful,
11
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ GNU General Public License for more details.
14
+
15
+ You should have received a copy of the GNU General Public License
16
+ along with this program; if not, write to the Free Software
17
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
18
+ 02111-1307, USA.
19
+ ===================================================================
20
+ =end
21
+ spec_build = Gem::Specification.new do |s|
22
+ s.name = 'transactd'
23
+ s.date = '2013-11-20'
24
+ s.summary = 'Transactd client'
25
+ s.description = 'Transactd client for ruby gem'
26
+ s.author = 'BizStation Corp.'
27
+ s.email = 'transactd@aie.ne.jp'
28
+ s.homepage = 'http://www.bizstation.jp/ja/transactd'
29
+ s.license = 'GPL v2'
30
+
31
+ verfile = 'build/tdclrb/GEM_VERSION'
32
+ unless File.exist?(verfile)
33
+ raise 'Can not found ' + verfile
34
+ end
35
+ vers = IO.readlines(verfile).map{ |i| i.strip.split(/\s+/) }
36
+ versions = {}
37
+ for i in vers
38
+ versions[i[0].to_sym] = Integer(i[1].sub(/^"(.*)"$/, '\1')) if i.length == 2
39
+ 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
+
50
+ binary_file = File.join('bin', RUBY_VERSION.match(/\d+\.\d+/)[0], 'transactd.so')
51
+ binarymode = File.exist?(binary_file)
52
+
53
+ if binarymode
54
+ #
55
+ # use prebuilt binary
56
+ #
57
+ s.platform = Gem::Platform.local
58
+ s.extensions = ['build/tdclrb/bldgem/extconf.rb']
59
+ s.files = Dir.glob('bin/**/*.so')
60
+ s.files += Dir.glob('bin/common/*.dll') + Dir.glob('bin/common/*.so')
61
+ s.files += Dir.glob('build/tdclrb/gem/**/*')
62
+ s.files += Dir.glob('build/common/copyifgreater.*')
63
+ s.files += Dir.glob('build/common/system.*')
64
+ s.files += Dir.glob('source/bzs/test/tdclrb/*')
65
+ s.files += Dir.glob('./*')
66
+ else
67
+ #
68
+ # without prebuilt binary
69
+ #
70
+ s.platform = Gem::Platform::RUBY
71
+ s.extensions = ['build/tdclrb/bldgem/extconf.rb']
72
+ s.files = ['CMakeLists.txt']
73
+ s.files += Dir.glob('bin/common/*.dll') + Dir.glob('bin/common/*.so')
74
+ s.files += Dir.glob('source/**/*') + Dir.glob('build/common/**/*')
75
+ s.files += Dir.glob('build/swig/**/*') + Dir.glob('build/tdclc/**/*')
76
+ s.files += Dir.glob('build/tdclcpp/**/*') + Dir.glob('build/tdclrb/**/*')
77
+ s.files += Dir.glob('./*')
78
+ end
79
+
80
+ msgs = []
81
+ if binarymode
82
+ msgs.push('You installed PRE-BUILT BINARY of Transactd client.')
83
+ else
84
+ msgs.push('You build Transactd client from source code.')
85
+ end
86
+ if (RUBY_PLATFORM =~ /mswin/)
87
+ msgs.push('*** Please check install log ***')
88
+ msgs.push('TRANSACTD_GEM_DIR/install.log')
89
+ else
90
+ msgs.push('Install log is here:')
91
+ msgs.push('TRANSACTD_GEM_DIR/../build/tdclrb/bldgem/install_manifest.txt')
92
+ end
93
+ msgs.push('(TRANSACTD_GEM_DIR: `gem which transactd` and remove "lib/transactd.rb")')
94
+ msgs.push('-' * 50)
95
+ msgs.unshift('-' * 50)
96
+ s.post_install_message = msgs.join("\n") if msgs.length > 0
97
+ end
metadata ADDED
@@ -0,0 +1,76 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: transactd
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: x86-mswin32-100
6
+ authors:
7
+ - BizStation Corp.
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-20 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Transactd client for ruby gem
14
+ email: transactd@aie.ne.jp
15
+ executables: []
16
+ extensions:
17
+ - build/tdclrb/bldgem/extconf.rb
18
+ extra_rdoc_files: []
19
+ files:
20
+ - bin/1.9/transactd.so
21
+ - bin/2.0/transactd.so
22
+ - build/tdclrb/bldgem/extconf.rb
23
+ - bin/common/tdclcpp_vc100_32m_1_1.dll
24
+ - bin/common/tdclc_32_1_0.dll
25
+ - build/tdclrb/gem/detect.rb
26
+ - build/tdclrb/gem/helper.rb
27
+ - build/tdclrb/gem/INSTALLLOG.win32
28
+ - build/tdclrb/gem/Makefile.win32-prebuilt
29
+ - build/tdclrb/gem/Makefile.win32-VS
30
+ - build/tdclrb/gem/transactd.rb
31
+ - build/common/copyifgreater.cmd
32
+ - build/common/copyifgreater.js
33
+ - build/common/system.cmake
34
+ - source/bzs/test/tdclrb/bench_tdclcpp.rb
35
+ - source/bzs/test/tdclrb/prepare.rb
36
+ - source/bzs/test/tdclrb/transactd_datetime_spec.rb
37
+ - source/bzs/test/tdclrb/transactd_kanjischema_spec.rb
38
+ - source/bzs/test/tdclrb/transactd_spec.rb
39
+ - ./BUILD_UNIX-JA
40
+ - ./BUILD_WIN-JA
41
+ - ./CMakeLists.txt
42
+ - ./COPYING
43
+ - ./README
44
+ - ./README-JA
45
+ - ./transactd.gemspec
46
+ homepage: http://www.bizstation.jp/ja/transactd
47
+ licenses:
48
+ - GPL v2
49
+ metadata: {}
50
+ post_install_message: |-
51
+ --------------------------------------------------
52
+ You installed PRE-BUILT BINARY of Transactd client.
53
+ *** Please check install log ***
54
+ TRANSACTD_GEM_DIR/install.log
55
+ (TRANSACTD_GEM_DIR: `gem which transactd` and remove "lib/transactd.rb")
56
+ --------------------------------------------------
57
+ rdoc_options: []
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ requirements: []
71
+ rubyforge_project:
72
+ rubygems_version: 2.0.2
73
+ signing_key:
74
+ specification_version: 4
75
+ summary: Transactd client
76
+ test_files: []