tiny_tds 0.9.5.beta.1-x64-mingw32 → 0.9.5.beta.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +3 -2
- data/VERSION +1 -1
- data/exe/tsql.exe +0 -0
- data/ext/tiny_tds/extconf.rb +6 -4
- data/tiny_tds.gemspec +28 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49778c850e7710ac88ac362ef0b1a45f172be4d4
|
4
|
+
data.tar.gz: a3819af52d51bf7fad36226e995037424d27b5f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e03034178e14835f7084cdb2f474a4a26e94310c174196e88b268d37d40eac1ee6ca52cf09467404cd43f27560e8d48315716c2edd11b82b950534ba5ddcbbf7
|
7
|
+
data.tar.gz: 3c9aad459176af6e1a9795a98a4352d5653a0a993f0142036366c099e3c824b2f9a2630596c9b21187e61e7af5be54a120c4da485e11a44a5f90d4d082c38baf
|
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
|
+
0.9.5.beta.2
|
data/exe/tsql.exe
ADDED
Binary file
|
data/ext/tiny_tds/extconf.rb
CHANGED
@@ -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
|
-
|
233
|
-
|
234
|
-
|
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
|
data/tiny_tds.gemspec
ADDED
@@ -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.
|
4
|
+
version: 0.9.5.beta.2
|
5
5
|
platform: x64-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-
|
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
|