transactd 1.0.1-x64-mswin64-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.
- checksums.yaml +7 -0
 - data/BUILD_UNIX-JA +174 -0
 - data/BUILD_WIN-JA +256 -0
 - data/CMakeLists.txt +96 -0
 - data/COPYING +339 -0
 - data/README +406 -0
 - data/README-JA +424 -0
 - data/bin/2.0/transactd.so +0 -0
 - data/bin/common/tdclc_64_1_0.dll +0 -0
 - data/bin/common/tdclcpp_vc100_64m_1_1.dll +0 -0
 - data/build/common/copyifgreater.cmd +30 -0
 - data/build/common/copyifgreater.js +290 -0
 - data/build/common/system.cmake +122 -0
 - data/build/tdclrb/bldgem/extconf.rb +123 -0
 - data/build/tdclrb/gem/INSTALLLOG.win32 +9 -0
 - data/build/tdclrb/gem/Makefile.win32-VS +65 -0
 - data/build/tdclrb/gem/Makefile.win32-prebuilt +48 -0
 - data/build/tdclrb/gem/detect.rb +31 -0
 - data/build/tdclrb/gem/helper.rb +113 -0
 - data/build/tdclrb/gem/transactd.rb +22 -0
 - data/source/bzs/test/tdclrb/bench_tdclcpp.rb +375 -0
 - data/source/bzs/test/tdclrb/prepare.rb +226 -0
 - data/source/bzs/test/tdclrb/transactd_datetime_spec.rb +172 -0
 - data/source/bzs/test/tdclrb/transactd_kanjischema_spec.rb +208 -0
 - data/source/bzs/test/tdclrb/transactd_spec.rb +1536 -0
 - data/transactd.gemspec +97 -0
 - metadata +75 -0
 
    
        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,75 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: transactd
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.0.1
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: x64-mswin64-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/2.0/transactd.so
         
     | 
| 
      
 21 
     | 
    
         
            +
            - build/tdclrb/bldgem/extconf.rb
         
     | 
| 
      
 22 
     | 
    
         
            +
            - bin/common/tdclcpp_vc100_64m_1_1.dll
         
     | 
| 
      
 23 
     | 
    
         
            +
            - bin/common/tdclc_64_1_0.dll
         
     | 
| 
      
 24 
     | 
    
         
            +
            - build/tdclrb/gem/detect.rb
         
     | 
| 
      
 25 
     | 
    
         
            +
            - build/tdclrb/gem/helper.rb
         
     | 
| 
      
 26 
     | 
    
         
            +
            - build/tdclrb/gem/INSTALLLOG.win32
         
     | 
| 
      
 27 
     | 
    
         
            +
            - build/tdclrb/gem/Makefile.win32-prebuilt
         
     | 
| 
      
 28 
     | 
    
         
            +
            - build/tdclrb/gem/Makefile.win32-VS
         
     | 
| 
      
 29 
     | 
    
         
            +
            - build/tdclrb/gem/transactd.rb
         
     | 
| 
      
 30 
     | 
    
         
            +
            - build/common/copyifgreater.cmd
         
     | 
| 
      
 31 
     | 
    
         
            +
            - build/common/copyifgreater.js
         
     | 
| 
      
 32 
     | 
    
         
            +
            - build/common/system.cmake
         
     | 
| 
      
 33 
     | 
    
         
            +
            - source/bzs/test/tdclrb/bench_tdclcpp.rb
         
     | 
| 
      
 34 
     | 
    
         
            +
            - source/bzs/test/tdclrb/prepare.rb
         
     | 
| 
      
 35 
     | 
    
         
            +
            - source/bzs/test/tdclrb/transactd_datetime_spec.rb
         
     | 
| 
      
 36 
     | 
    
         
            +
            - source/bzs/test/tdclrb/transactd_kanjischema_spec.rb
         
     | 
| 
      
 37 
     | 
    
         
            +
            - source/bzs/test/tdclrb/transactd_spec.rb
         
     | 
| 
      
 38 
     | 
    
         
            +
            - ./BUILD_UNIX-JA
         
     | 
| 
      
 39 
     | 
    
         
            +
            - ./BUILD_WIN-JA
         
     | 
| 
      
 40 
     | 
    
         
            +
            - ./CMakeLists.txt
         
     | 
| 
      
 41 
     | 
    
         
            +
            - ./COPYING
         
     | 
| 
      
 42 
     | 
    
         
            +
            - ./README
         
     | 
| 
      
 43 
     | 
    
         
            +
            - ./README-JA
         
     | 
| 
      
 44 
     | 
    
         
            +
            - ./transactd.gemspec
         
     | 
| 
      
 45 
     | 
    
         
            +
            homepage: http://www.bizstation.jp/ja/transactd
         
     | 
| 
      
 46 
     | 
    
         
            +
            licenses:
         
     | 
| 
      
 47 
     | 
    
         
            +
            - GPL v2
         
     | 
| 
      
 48 
     | 
    
         
            +
            metadata: {}
         
     | 
| 
      
 49 
     | 
    
         
            +
            post_install_message: |-
         
     | 
| 
      
 50 
     | 
    
         
            +
              --------------------------------------------------
         
     | 
| 
      
 51 
     | 
    
         
            +
              You installed PRE-BUILT BINARY of Transactd client.
         
     | 
| 
      
 52 
     | 
    
         
            +
              *** Please check install log ***
         
     | 
| 
      
 53 
     | 
    
         
            +
              TRANSACTD_GEM_DIR/install.log
         
     | 
| 
      
 54 
     | 
    
         
            +
              (TRANSACTD_GEM_DIR: `gem which transactd` and remove "lib/transactd.rb")
         
     | 
| 
      
 55 
     | 
    
         
            +
              --------------------------------------------------
         
     | 
| 
      
 56 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 57 
     | 
    
         
            +
            require_paths:
         
     | 
| 
      
 58 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 59 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 60 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 61 
     | 
    
         
            +
              - - '>='
         
     | 
| 
      
 62 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 63 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 64 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 65 
     | 
    
         
            +
              requirements:
         
     | 
| 
      
 66 
     | 
    
         
            +
              - - '>='
         
     | 
| 
      
 67 
     | 
    
         
            +
                - !ruby/object:Gem::Version
         
     | 
| 
      
 68 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
      
 69 
     | 
    
         
            +
            requirements: []
         
     | 
| 
      
 70 
     | 
    
         
            +
            rubyforge_project: 
         
     | 
| 
      
 71 
     | 
    
         
            +
            rubygems_version: 2.0.2
         
     | 
| 
      
 72 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 73 
     | 
    
         
            +
            specification_version: 4
         
     | 
| 
      
 74 
     | 
    
         
            +
            summary: Transactd client
         
     | 
| 
      
 75 
     | 
    
         
            +
            test_files: []
         
     |