sqlanywhere 0.1.2-i386-mswin32 → 0.1.3-i386-mswin32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,5 +1,9 @@
1
1
  =CHANGE LOG
2
2
 
3
+ =====0.1.3 -- 2008/12/31
4
+ - Removed 'hint file' in lib directory
5
+ - Added extensions to gemspec to force a local compile
6
+
3
7
  =====0.1.2 -- 2008/12/18
4
8
  - Fixed bug when trying to read input value from OUTPUT parameter
5
9
  - Added error checking to C2RB
data/Rakefile CHANGED
@@ -56,11 +56,6 @@ end
56
56
  # If we can't determine the version, throw up your hands and exit
57
57
  raise RuntimeError, "Could not determine current package version!" if pkg_version.empty?
58
58
 
59
- # The hint file will be automatically added to a souce_gem builds. If someone installs the source gem and
60
- # tries to run it, they will get a LoadError telling them that they must compile the software. This file
61
- # ONLY exists in a source gem
62
- hint_file = "raise LoadError, \"You need to compile the sqlanywhere package for this particular platform. To compile the package, change to the sqlanywhere package directory and run rake:\n cd $GEM_HOME/sqlanywhere-#{pkg_version}\n rake\nFor more information on compiling, please read $GEM_HOME/sqlanywhere-#{pkg_version}/README\""
63
-
64
59
  MAKE = (ARCH =~ /win32/ and USE_NMAKE_ON_WIN) ? 'nmake' : 'make'
65
60
 
66
61
  spec = Gem::Specification.new do |spec|
@@ -79,6 +74,7 @@ spec = Gem::Specification.new do |spec|
79
74
  spec.platform = Gem::Platform::CURRENT
80
75
  spec.required_ruby_version = '>= 1.8.6'
81
76
  spec.require_paths = ['lib']
77
+ spec.extensions << 'ext/extconf.rb'
82
78
  spec.test_file = 'test/sqlanywhere_test.rb'
83
79
  spec.rdoc_options << '--title' << 'SQL Anywhere Ruby Driver' <<
84
80
  '--main' << 'README' <<
@@ -118,23 +114,14 @@ file "sqlanywhere-#{pkg_version}.gem" => ["Rakefile",
118
114
  "README",
119
115
  "CHANGELOG",
120
116
  "LICENSE"] do
121
- # Create the hint file in the lib directory
122
- File.open(File.join("lib", "sqlanywhere.rb"), "w") do |f|
123
- f.puts hint_file
124
- end
125
117
  # Get the updated list of files to include in the gem
126
118
  spec.files = Dir['ext/**/*'] + Dir['lib/**/*'] + Dir['test/**/*'] + Dir['CHANGELOG'] + Dir['LICENSE'] + Dir['README'] + Dir['Rakefile']
127
119
  # Since this contains no compilked binaries, set it to be platform RUBY
128
120
  spec.platform = Gem::Platform::RUBY
129
121
  Gem::Builder.new(spec).build
130
- # Delete the hint file
131
- File.unlink(File.join("lib", "sqlanywhere.rb"))
132
122
  end
133
123
 
134
-
135
124
  file File.join("lib", library_file) => [File.join("ext", library_file)] do
136
- # If the hint file exists, delete it
137
- File.unlink(File.join("lib", "sqlanywhere.rb")) if File.exists?(File.join("lib", "sqlanywhere.rb"))
138
125
  File.copy(File.join("ext", library_file), "lib")
139
126
  end
140
127
 
data/ext/sacapidll.obj CHANGED
Binary file
Binary file
Binary file
Binary file
data/ext/sqlanywhere.c CHANGED
@@ -24,7 +24,7 @@
24
24
  #include "ruby.h"
25
25
  #include "sacapidll.h"
26
26
 
27
- const char* VERSION = "0.1.2";
27
+ const char* VERSION = "0.1.3";
28
28
 
29
29
  // Defining the Ruby Modules
30
30
  static VALUE mSQLAnywhere;
data/ext/sqlanywhere.obj CHANGED
Binary file
data/ext/sqlanywhere.so CHANGED
Binary file
data/ext/vc60.pdb CHANGED
Binary file
data/lib/sqlanywhere.so CHANGED
Binary file
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: sqlanywhere
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.2
7
- date: 2008-12-18 00:00:00 -05:00
6
+ version: 0.1.3
7
+ date: 2008-12-31 00:00:00 -05:00
8
8
  summary: SQL Anywhere library for Ruby
9
9
  require_paths:
10
10
  - lib
@@ -65,8 +65,8 @@ extra_rdoc_files:
65
65
  - ext/sqlanywhere.c
66
66
  executables: []
67
67
 
68
- extensions: []
69
-
68
+ extensions:
69
+ - ext/extconf.rb
70
70
  requirements: []
71
71
 
72
72
  dependencies: []