rbarman 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -69,7 +69,10 @@ module RBarman
69
69
  parse_backup_info_file(backup)
70
70
  if opts[:with_wal_files]
71
71
  wals = wal_files(backup.server, backup.id)
72
- wals.each { |w| backup.add_wal_file(w) }
72
+ # using exact wal file size from xlog.db. show-backup is too inaccurate
73
+ backup.wal_files = wals
74
+ backup.wal_file_size = 0
75
+ wals.each { |w| backup.wal_file_size += w.size }
73
76
  end
74
77
  end
75
78
  return backups
@@ -1,3 +1,3 @@
1
1
  module RBarman
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbarman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-03-19 00:00:00.000000000 Z
12
+ date: 2013-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -107,12 +107,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
107
107
  - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
+ segments:
111
+ - 0
112
+ hash: 3178846134155136601
110
113
  required_rubygems_version: !ruby/object:Gem::Requirement
111
114
  none: false
112
115
  requirements:
113
116
  - - ! '>='
114
117
  - !ruby/object:Gem::Version
115
118
  version: '0'
119
+ segments:
120
+ - 0
121
+ hash: 3178846134155136601
116
122
  requirements: []
117
123
  rubyforge_project:
118
124
  rubygems_version: 1.8.23
@@ -120,4 +126,3 @@ signing_key:
120
126
  specification_version: 3
121
127
  summary: Wrapper for 2ndQuadrant's PostgreSQL backup tool 'barman'
122
128
  test_files: []
123
- has_rdoc: