fb_adapter 0.5.7 → 0.5.8

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.
@@ -13,7 +13,7 @@ module ActiveRecord
13
13
  raise ArgumentError, "No database specified. Missing argument: database."
14
14
  end
15
15
  config[:database] = File.expand_path(config[:database]) if config[:host] =~ /localhost/i
16
- config[:database] = "#{config[:host]}:#{config[:database]}" if config[:host]
16
+ config[:database] = "#{config[:host]}/#{config[:port] || 3050}:#{config[:database]}" if config[:host]
17
17
  db = Fb::Database.new(config)
18
18
  begin
19
19
  connection = db.connect
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brent Rowland
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-02 00:00:00 -07:00
12
+ date: 2009-02-04 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -22,7 +22,6 @@ extensions: []
22
22
  extra_rdoc_files: []
23
23
 
24
24
  files:
25
- - fb_adapter.gemspec
26
25
  - lib/active_record/connection_adapters/fb_adapter.rb
27
26
  has_rdoc: false
28
27
  homepage: http://www.rowlandresearch.com/ruby/
data/fb_adapter.gemspec DELETED
@@ -1,24 +0,0 @@
1
- #!/bin/env ruby
2
- require 'rubygems'
3
-
4
- spec = Gem::Specification.new do |s|
5
- s.author = "Brent Rowland"
6
- s.name = "fb_adapter"
7
- s.version = "0.5.7"
8
- s.date = "2008-12-02"
9
- s.summary = "ActiveRecord Firebird Adapter"
10
- s.requirements = "Firebird library fb"
11
- s.require_path = 'lib'
12
- s.email = "rowland@rowlandresearch.com"
13
- s.homepage = "http://www.rowlandresearch.com/ruby/"
14
- s.rubyforge_project = "fblib"
15
- s.has_rdoc = false
16
- # s.extra_rdoc_files = ['README']
17
- # s.rdoc_options << '--title' << 'Fb -- ActiveRecord Firebird Adapter' << '--main' << 'README' << '-x' << 'test'
18
- s.files = ['fb_adapter.gemspec'] + Dir.glob('lib/active_record/connection_adapters/*')
19
- end
20
-
21
- if __FILE__ == $0
22
- Gem.manage_gems
23
- Gem::Builder.new(spec).build
24
- end