fb 0.6.6 → 0.6.7

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.
Files changed (2) hide show
  1. data/extconf.rb +2 -1
  2. metadata +3 -3
data/extconf.rb CHANGED
@@ -15,7 +15,8 @@
15
15
  # * Works
16
16
 
17
17
  if RUBY_PLATFORM =~ /(mingw32|mswin32)/ and ARGV.grep(/^--with-opt-dir=/).empty?
18
- if opt = Dir["C:/Progra~1/Firebird/Firebird_*"].sort.last
18
+ program_files = ENV['ProgramFiles'].gsub('\\', '/').gsub(/(\w+\s+[\w\s]+)/) { |s| s.size > 8 ? s[0,6] + '~1' : s }
19
+ if opt = Dir["#{program_files}/Firebird/Firebird_*"].sort.last
19
20
  ARGV << "--with-opt-dir=#{opt}"
20
21
  end
21
22
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 6
9
- version: 0.6.6
8
+ - 7
9
+ version: 0.6.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brent Rowland
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-25 00:00:00 -07:00
17
+ date: 2010-03-27 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20