db2fog 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/HISTORY +2 -0
  2. data/lib/db2fog.rb +1 -1
  3. metadata +4 -4
data/HISTORY CHANGED
@@ -1,3 +1,5 @@
1
+ v0.5.2 (15th September 2011)
2
+ - fix restoring of postgresql databases (thanks Dan Neighman)
1
3
  v0.5.1 (29th August 2011)
2
4
  - relax fog dependency to allow higher versions
3
5
  v0.5.0 (6th August 2011)
data/lib/db2fog.rb CHANGED
@@ -130,7 +130,7 @@ class DB2Fog
130
130
  dump_file.path
131
131
  end
132
132
 
133
- def restore
133
+ def restore(path)
134
134
  run "gunzip -c #{path} | psql #{psql_options}"
135
135
  end
136
136
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 1
9
- version: 0.5.1
8
+ - 2
9
+ version: 0.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - James Healy
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-08-29 00:00:00 +10:00
17
+ date: 2011-09-15 00:00:00 +10:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -124,9 +124,9 @@ extensions: []
124
124
  extra_rdoc_files: []
125
125
 
126
126
  files:
127
- - lib/db2fog.rb
128
127
  - lib/db2fog/railtie.rb
129
128
  - lib/db2fog/tasks.rb
129
+ - lib/db2fog.rb
130
130
  - README.rdoc
131
131
  - HISTORY
132
132
  has_rdoc: true