knife-backup 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,7 +47,7 @@ module ServerBackup
47
47
  ui.warn "Backup is at least 1 day old" if (Time.now - File.atime(config[:backup_dir])) > 86400
48
48
  ui.confirm "Do you want to restore backup, possibly overwriting exisitng data"
49
49
  validate!
50
- components = name_args.empty? ? COMPONENTS.keys : name_args
50
+ components = name_args.empty? ? COMPONENTS : name_args
51
51
  Array(components).each { |component| self.send(component) }
52
52
  end
53
53
 
@@ -1,5 +1,5 @@
1
1
  module Knife
2
2
  module Backup
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
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: 2013-05-21 00:00:00.000000000 Z
12
+ date: 2013-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef