fb 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/extconf.rb +6 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: add7d92f17a3d5a31512f9ffdde85ee0b78c071e7a445f086ea74dd20f4cfb24
|
4
|
+
data.tar.gz: 46b05e58159beb94f88b1aa7740b503751d293afd4ada4be08603fece5f62b1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 144bd10348007fe283bf87490291432236013293e32adf6814a3124dbbffaa534bcd4956575d30b39e7d5d95537d8a7b916653b50f2272e94fc471f01fe28234
|
7
|
+
data.tar.gz: a9945280e87132313dcab122dfc037cc5348f9e7978d9ccbbac3ca0fee22e12536097cfc59ad4b743ad5d05691bfe9911a97bdb5c04c7878970e6330050eae71
|
data/extconf.rb
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
# * Unit tests take about 10 times as long to complete using Firebird Classic. Default xinetd.conf settings may not allow the tests to complete due to the frequency with which new attachments are made.
|
14
14
|
# = Mac OS X (Intel)
|
15
15
|
# * Works
|
16
|
+
WINDOWS_PLATFORMS = /(mingw32|mswin32|x64-mingw-ucrt)/
|
16
17
|
|
17
18
|
def unquote(string)
|
18
19
|
string.sub(/\A(['"])?(.*?)\1?\z/m, '\2') unless string.nil?
|
@@ -44,8 +45,8 @@ def search_firebird_path
|
|
44
45
|
result = Dir["#{program_files}/Firebird/Firebird_*"].sort.last || Dir["#{program_files_x86}/Firebird/Firebird_*"].sort.last
|
45
46
|
end
|
46
47
|
|
47
|
-
if RUBY_PLATFORM =~
|
48
|
-
opt = unquote(ENV['FIREBIRD'])
|
48
|
+
if RUBY_PLATFORM =~ WINDOWS_PLATFORMS and ARGV.grep(/^--with-opt-dir=/).empty?
|
49
|
+
opt = unquote(ENV['FIREBIRD'])
|
49
50
|
opt = opt || read_firebird_registry
|
50
51
|
opt = opt || search_firebird_path
|
51
52
|
if opt
|
@@ -53,7 +54,7 @@ if RUBY_PLATFORM =~ /(mingw32|mswin32)/ and ARGV.grep(/^--with-opt-dir=/).empty?
|
|
53
54
|
else
|
54
55
|
puts "No any Firebird instances found in system."
|
55
56
|
exit
|
56
|
-
end
|
57
|
+
end
|
57
58
|
end
|
58
59
|
|
59
60
|
require 'mkmf'
|
@@ -63,7 +64,7 @@ libs = %w/ fbclient gds /
|
|
63
64
|
case RUBY_PLATFORM
|
64
65
|
when /bccwin32/
|
65
66
|
libs.push "fbclient_bor"
|
66
|
-
when
|
67
|
+
when WINDOWS_PLATFORMS
|
67
68
|
$CFLAGS = $CFLAGS + " -DOS_WIN32"
|
68
69
|
libs.push "fbclient_ms"
|
69
70
|
when /darwin/
|
@@ -83,7 +84,7 @@ dir_config("firebird")
|
|
83
84
|
test_func = "isc_attach_database"
|
84
85
|
|
85
86
|
case RUBY_PLATFORM
|
86
|
-
when
|
87
|
+
when WINDOWS_PLATFORMS
|
87
88
|
libs.find {|lib| have_library(lib) } and
|
88
89
|
have_func(test_func, ["ibase.h"])
|
89
90
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brent Rowland
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Ruby Firebird Extension Library
|
14
14
|
email: rowland@rowlandresearch.com
|
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
57
|
version: '0'
|
58
58
|
requirements:
|
59
59
|
- Firebird client library fbclient.dll, libfbclient.so or Firebird.framework.
|
60
|
-
rubygems_version: 3.
|
60
|
+
rubygems_version: 3.3.5
|
61
61
|
signing_key:
|
62
62
|
specification_version: 4
|
63
63
|
summary: Firebird database driver
|