tiny_tds 0.9.5.beta.1 → 0.9.5.beta.2

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: 01016f15f0b041b969db401841c67d17a65ceb75
4
- data.tar.gz: 0b67b9a84da72a99ead6d291d36b7b2514a62380
3
+ metadata.gz: 3a8eaae34d2d27d8f5eb89f77b491eb01647a98a
4
+ data.tar.gz: 251c3ad015898cd3896224d32f9404e19026bef7
5
5
  SHA512:
6
- metadata.gz: 7d784ee7a7538130bdd13745a65a531441d3b7d05d20297808f09c7d149f6c735119d569573fbc068bbbc248190fc83d24b26e7de4ac5e8bac5e436904666e79
7
- data.tar.gz: 0ea79493ee9fa705bc26bb4df84a0663c2f73dde0028d1c9edf7f73556e474c97dbc7a0d9f737783193432cca87b97fc0162e9a0979794d87a7fa7ec0b570fd2
6
+ metadata.gz: 6fe115e621164e4e1a22e92860fe8b3e5c6f66aa30c076e957645f003f90c35e27e17c8d2b1d59b64fca8a70d471a28bc119a9b87639f09b3989654a1ae62b89
7
+ data.tar.gz: 55a55430690db678c78922e430f361d8038f3581dbb615c854a9d87b12e6fce95829a521c4131d27728949d5725a61fa02d1c63514eb65ff41c4c52ac9d0ae84
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
@@ -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
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.1
4
+ version: 0.9.5.beta.2
5
5
  platform: ruby
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
@@ -151,6 +151,7 @@ files:
151
151
  - test/schema_test.rb
152
152
  - test/test_helper.rb
153
153
  - test/thread_test.rb
154
+ - tiny_tds.gemspec
154
155
  homepage: http://github.com/rails-sqlserver/tiny_tds
155
156
  licenses:
156
157
  - MIT