database_exporter 0.0.3 → 0.0.4

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.
@@ -5,7 +5,7 @@ require 'bundler'
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "database_exporter"
8
- s.version = '0.0.3'
8
+ s.version = '0.0.4'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Mike Pack"]
11
11
  s.email = ["mikepackdev@gmail.com"]
@@ -4,11 +4,11 @@ class DatabaseExporter
4
4
  extend Forwardable
5
5
 
6
6
  def initialize(config)
7
- @datbase = case config['adapter']
7
+ @adapter = case config['adapter']
8
8
  when /mysql/
9
9
  MysqlAdapter.new(config)
10
10
  end
11
11
  end
12
12
 
13
- def_delegators :@database, :export, :import, :copy, :ensure_db_exists
13
+ def_delegators :@adapter, :export, :import, :copy, :ensure_db_exists
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_exporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-18 00:00:00.000000000Z
12
+ date: 2012-02-19 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Experimental project to gain access to system-level database import,
15
15
  export and copy capabilities. It's build to handle Rail's database configuration