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.
- data/database_exporter.gemspec +1 -1
- data/lib/database_exporter.rb +2 -2
- metadata +2 -2
data/database_exporter.gemspec
CHANGED
data/lib/database_exporter.rb
CHANGED
|
@@ -4,11 +4,11 @@ class DatabaseExporter
|
|
|
4
4
|
extend Forwardable
|
|
5
5
|
|
|
6
6
|
def initialize(config)
|
|
7
|
-
@
|
|
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 :@
|
|
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.
|
|
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-
|
|
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
|