tiny_tds 1.2.0 → 1.3.0

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: 905c39083b6d7680f59e31b0641be63ab9e62e03
4
- data.tar.gz: 72f91d75ab1a116ecdd2fbd22eb63d9dd6759327
3
+ metadata.gz: 126725d886a1a81e1fbc82f80e5a98681899c7dd
4
+ data.tar.gz: be121db76ba53eab2d071cd4f506b0f6d5fb5b89
5
5
  SHA512:
6
- metadata.gz: ede21151909ab8d5c8ff41a44bde3f1eeb92f42d510ec4c6b5a1091a69b1779fe8ff0fe94db9c843c6f2c4b61fd029038f06811b9d25495bd71dc162ecf0a6b2
7
- data.tar.gz: de7a9d96cfb9a003e1e50390ba2598873ac97759688639c6479e2ec14272b3dfaea15ba78b602b0f127ff3f58d2174cd27fa890e30f7880e9bb9e702e35559bd
6
+ metadata.gz: adb6481507c55391d4a634d61487399b00c60342746f6551e22407e777d46fa86f50b26bb3764427e953350bfd3c4e48c4c0a43a278228fe9934e87ad497e3de
7
+ data.tar.gz: c800ea48a635f643530bd4841dbd2940b1d98ccd479f269e1b8985f799b2f705b75e9ea4c6d6faf82fe5b6945e41430b2e1eb259e2a0b2b77c23740c09449732
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ * 1.3.0
2
+
3
+ * FreeTDS: Link libgcc statically for Windows. (#351) Fixes #349.
4
+
5
+
1
6
  * 1.2.0
2
7
 
3
8
  * Use OpenSSL v1.1.0e & FreeTDS v1.00.27 for Windows builds.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
@@ -205,7 +205,9 @@ def define_libssl_recipe(host)
205
205
  end
206
206
 
207
207
  def install
208
- super
208
+ unless installed?
209
+ execute('install', %Q(#{make_cmd} install_sw install_ssldirs))
210
+ end
209
211
  FileUtils.cp "#{work_path}/libcrypto32-#{version}-#{host}.dll", "#{path}/bin/"
210
212
  FileUtils.cp "#{work_path}/libssl32-#{version}-#{host}.dll", "#{path}/bin/"
211
213
  FileUtils.cp "#{work_path}/libcrypto.dll.a", "#{path}/lib/"
@@ -249,6 +251,16 @@ def define_freetds_recipe(host, libiconv, libssl, gnutls)
249
251
 
250
252
  class << recipe
251
253
 
254
+ def configure
255
+ cross = enable_config("cross-build")
256
+ if cross
257
+ prev_cc = ENV['CC']
258
+ ENV['CC'] = consolidated_host(gcc_cmd) + ' -static-libgcc'
259
+ end
260
+ super
261
+ ENV['CC'] = prev_cc if cross
262
+ end
263
+
252
264
  def install
253
265
  super_value = super
254
266
  # Install binstub target binaries.
data/test/bin/setup.sh CHANGED
@@ -3,7 +3,7 @@
3
3
  set -x
4
4
  set -e
5
5
 
6
- tag=1.3
6
+ tag=1.4
7
7
 
8
8
  docker pull metaskills/mssql-server-linux-tinytds:$tag
9
9
 
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: 1.2.0
4
+ version: 1.3.0
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: 2017-03-12 00:00:00.000000000 Z
13
+ date: 2017-03-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: mini_portile2