Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix warning: string literal in condition.

(pointed by andynu at github)
  • Loading branch information...
commit 8d89b9fc053dcdac96be619c379e6fdcadd546b0 1 parent 217cbb8
@kubo kubo authored
Showing with 6 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +2 −2 ruby-oci8.gemspec
View
4 ChangeLog
@@ -1,3 +1,7 @@
+2012-03-11 KUBO Takehiro <kubo@jiubao.org>
+ * ruby-oci8.gemspec: fix warning: string literal in condition.
+ (pointed by andynu at github)
+
2012-01-22 KUBO Takehiro <kubo@jiubao.org>
* ext/oci8/ocinumber.c: Use isnan() and isinf() instead of fpclassify()
for platforms which don't have fpclassify().
View
4 ruby-oci8.gemspec
@@ -55,8 +55,8 @@ EOS
raise "No compiled binary are found. Run make in advance."
end
# add map files to analyze a core (minidump) file.
- so_files << 'ext/oci8/oci8lib_18.map' if has_1_8 and 'ext/coi8/oci8lib_18.map'
- so_files << 'ext/oci8/oci8lib_191.map' if has_1_9_1 and 'ext/coi8/oci8lib_191.map'
+ so_files << 'ext/oci8/oci8lib_18.map' if has_1_8 and File.exists? 'ext/oci8/oci8lib_18.map'
+ so_files << 'ext/oci8/oci8lib_191.map' if has_1_9_1 and File.exists? 'ext/oci8/oci8lib_191.map'
FileUtils.copy so_files, 'lib', :preserve => true
files.reject! do |fname|
Please sign in to comment.
Something went wrong with that request. Please try again.