tiny_tds 0.9.5.beta.1-x86-mingw32 → 0.9.5.beta.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d01c5104e3d9fca09baf462846cdd74fdf26101a
4
- data.tar.gz: 8130b528dc03072400572a0eaf4dd55eeb9c8d8c
3
+ metadata.gz: eea9590e94b62687d8612c50cb905cb5c2370b90
4
+ data.tar.gz: f855b3d038f90e3be27e5ccc015a3eeee38d38a5
5
5
  SHA512:
6
- metadata.gz: 33a34316107a7e3770a6f9182a9cf38bec646fa01efbeb2a1eff4c591b18e0d9414a9fdd1d406ab765f0653a109599e598a9e3c6bb1f9a49e30c1496a045ad80
7
- data.tar.gz: 3a11bdf345ef5eb5167283d11f62c1085027dd601cc80027386e14298e2de13ca9a229c5c56d1148353ea4a63aa1e0ea8b754ed2144492615d71d95fec21e88e
6
+ metadata.gz: 423f35babc39b2e57a244c9ef71d6bc68f1e0b0aacd3a322a981581a834629334b1ed2ef20ff0714f04a6d1ad719c55dbe9db13abe58e7ac7e5d9f9996859e02
7
+ data.tar.gz: 99f492daf40108451d963d310bbebcdd320320090d301b9e175cba19f8dd759797a3a4a22256566ec3433dfa331e4e6b212b49172af93e99bd71147227a90057
data/Rakefile CHANGED
@@ -74,8 +74,9 @@ Rake::ExtensionTask.new('tiny_tds', gemspec) do |ext|
74
74
  "libsybdb-5.dll",
75
75
  ]
76
76
  # We don't need the sources in a fat binary gem
77
- spec.files = spec.files.reject{|f| f=~/^ports\/archives/ }
78
- spec.files += dlls.map{|dll| "ports/#{host}/bin/#{File.basename(dll)}" }
77
+ spec.files = spec.files.reject { |f| f=~/^ports\/archives/ }
78
+ spec.files += dlls.map { |dll| "ports/#{host}/bin/#{File.basename(dll)}" }
79
+ spec.files += Dir.glob('exe/*')
79
80
  dlls.each do |dll|
80
81
  file "ports/#{host}/bin/#{dll}" do |t|
81
82
  sh "x86_64-w64-mingw32-strip", t.name
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.5.beta.1
1
+ 0.9.5.beta.2
Binary file
@@ -227,11 +227,13 @@ def define_freetds_recipe(host, libiconv, libssl, gnutls)
227
227
  bin_path = File.expand_path File.join(path, 'bin')
228
228
  exe_path = File.expand_path File.join(target, '..', 'exe')
229
229
  return unless File.directory?(bin_path)
230
- ENV['PATH'] = "#{bin_path}#{File::PATH_SEPARATOR}#{ENV['PATH']}" unless ENV['PATH'].include?(bin_path)
231
230
  ['tsql'].each do |bin|
232
- path = which(bin)
233
- next unless path.include?(bin_path)
234
- FileUtils.cp path, exe_path
231
+ ['.exe', ''].each do |ext|
232
+ exe = File.join bin_path, "#{bin}#{ext}"
233
+ next unless File.exists?(exe)
234
+ next unless File.executable?(exe)
235
+ FileUtils.cp exe, exe_path
236
+ end
235
237
  end
236
238
  end
237
239
  super_value
@@ -0,0 +1,28 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "tiny_tds/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'tiny_tds'
7
+ s.version = TinyTds::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ['Ken Collins', 'Erik Bryn', 'Will Bond']
10
+ s.email = ['ken@metaskills.net', 'will@wbond.net']
11
+ s.homepage = 'http://github.com/rails-sqlserver/tiny_tds'
12
+ s.summary = 'TinyTDS - A modern, simple and fast FreeTDS library for Ruby using DB-Library.'
13
+ s.description = 'TinyTDS - A modern, simple and fast FreeTDS library for Ruby using DB-Library. Developed for the ActiveRecord SQL Server adapter.'
14
+ s.files = `git ls-files`.split("\n") + Dir.glob('exe/*')
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.require_paths = ['lib']
18
+ s.rdoc_options = ['--charset=UTF-8']
19
+ s.extensions = ['ext/tiny_tds/extconf.rb']
20
+ s.license = 'MIT'
21
+ s.required_ruby_version = '>= 2.0.0'
22
+ s.add_runtime_dependency 'mini_portile2', '~> 2.0' # Keep this version in sync with the one in extconf.rb !
23
+ s.add_development_dependency 'rake', '~> 10.4'
24
+ s.add_development_dependency 'rake-compiler', '0.9.5'
25
+ s.add_development_dependency 'rake-compiler-dock', '~> 0.4.3'
26
+ s.add_development_dependency 'minitest', '~> 5.6'
27
+ s.add_development_dependency 'connection_pool', '~> 2.2'
28
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_tds
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5.beta.1
4
+ version: 0.9.5.beta.2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Ken Collins
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-12-17 00:00:00.000000000 Z
13
+ date: 2015-12-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2
@@ -117,6 +117,7 @@ files:
117
117
  - appveyor.yml
118
118
  - bin/tsql
119
119
  - exe/.keep
120
+ - exe/tsql.exe
120
121
  - ext/tiny_tds/client.c
121
122
  - ext/tiny_tds/client.h
122
123
  - ext/tiny_tds/extconf.rb
@@ -157,6 +158,7 @@ files:
157
158
  - test/schema_test.rb
158
159
  - test/test_helper.rb
159
160
  - test/thread_test.rb
161
+ - tiny_tds.gemspec
160
162
  homepage: http://github.com/rails-sqlserver/tiny_tds
161
163
  licenses:
162
164
  - MIT