tiny_tds 0.5.0-x86-mingw32 → 0.5.1.rc1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ * 0.5.1 *
3
+
4
+ * Change how we configure with iconv, basically it is always needed. Fixes #11 [asdavey]
5
+
6
+
2
7
  * 0.5.0 *
3
8
 
4
9
  * Copy mysql2s handling of Time and Datetime so 64bit systems are leveraged. Fixes #46 and #47. Thanks @lsylvester!
@@ -48,8 +53,9 @@
48
53
 
49
54
  * 0.4.2 *
50
55
 
51
- * Iconv is a dep only when compiling locally. However, left in the ability to configure it for native gem installation
52
- but you must use --enable-iconv before using --with-iconv-dir=/some/dir
56
+ * Iconv is a dep only when compiling locally. However, left in the ability to configure
57
+ it for native gem installation but you must use
58
+ --enable-iconv before using --with-iconv-dir=/some/dir
53
59
 
54
60
  * Really fix what 0.4.1 was supposed to do, force SYBDBLIB compile.
55
61
 
data/Rakefile CHANGED
@@ -44,7 +44,6 @@ task :compile => ["ports:freetds"] unless ENV['TINYTDS_SKIP_PORTS']
44
44
 
45
45
  Rake::ExtensionTask.new('tiny_tds', gemspec) do |ext|
46
46
  ext.lib_dir = 'lib/tiny_tds'
47
- ext.config_options << "--enable-iconv" unless ENV['TINYTDS_SKIP_PORTS']
48
47
  if RUBY_PLATFORM =~ /mswin|mingw/ then
49
48
  # Define target for extension (supporting fat binaries).
50
49
  RUBY_VERSION =~ /(\d+\.\d+)/
@@ -1,10 +1,9 @@
1
1
  require 'mkmf'
2
2
 
3
- FREETDS_LIBRARIES = ['sybdb']
4
- FREETDS_LIBRARIES.unshift 'iconv' if enable_config('iconv')
3
+ FREETDS_LIBRARIES = ['iconv','sybdb']
5
4
  FREETDS_HEADERS = ['sybfront.h', 'sybdb.h']
6
5
 
7
- dir_config('iconv') if enable_config('iconv')
6
+ dir_config('iconv')
8
7
  dir_config('freetds')
9
8
 
10
9
  def root_paths
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module TinyTds
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1.rc1'
3
3
  end
data/tasks/ports.rake CHANGED
@@ -12,8 +12,6 @@ namespace :ports do
12
12
  # "0.82" => {:files => "http://ibiblio.org/pub/Linux/ALPHA/freetds/old/0.82/freetds-patched.tgz"},
13
13
  "0.91" => {:files => "http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.91.tar.gz"} }
14
14
 
15
- ORIGINAL_HOST = RbConfig::CONFIG["arch"]
16
-
17
15
  directory "ports"
18
16
 
19
17
  $recipes = {}
@@ -40,8 +38,7 @@ namespace :ports do
40
38
  recipe = $recipes[:freetds]
41
39
  checkpoint = "ports/.#{recipe.name}.#{recipe.version}.#{recipe.host}.timestamp"
42
40
  unless File.exist?(checkpoint)
43
- # recipe.configure_options << "--disable-debug"
44
- recipe.configure_options << '--sysconfdir="C:/Sites"' if recipe.host != ORIGINAL_HOST
41
+ recipe.configure_options << '--sysconfdir="C:/Sites"' if recipe.host =~ /mswin|mingw/i
45
42
  recipe.configure_options << "--disable-odbc"
46
43
  if ENV['TINYTDS_FREETDS_082']
47
44
  recipe.configure_options << "--with-tdsver=8.0"
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_tds
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
5
- prerelease:
4
+ hash: 15424079
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ - rc
11
+ - 1
12
+ version: 0.5.1.rc1
11
13
  platform: x86-mingw32
12
14
  authors:
13
15
  - Ken Collins
@@ -16,7 +18,7 @@ autorequire:
16
18
  bindir: bin
17
19
  cert_chain: []
18
20
 
19
- date: 2011-10-30 00:00:00 -04:00
21
+ date: 2011-11-12 00:00:00 -05:00
20
22
  default_executable:
21
23
  dependencies: []
22
24
 
@@ -85,12 +87,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
87
  required_rubygems_version: !ruby/object:Gem::Requirement
86
88
  none: false
87
89
  requirements:
88
- - - ">="
90
+ - - ">"
89
91
  - !ruby/object:Gem::Version
90
- hash: 3
92
+ hash: 25
91
93
  segments:
92
- - 0
93
- version: "0"
94
+ - 1
95
+ - 3
96
+ - 1
97
+ version: 1.3.1
94
98
  requirements: []
95
99
 
96
100
  rubyforge_project: