db2fog 0.4 → 0.4.1

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 +18 -2
data/HISTORY CHANGED
@@ -1,3 +1,5 @@
1
+ v0.4.1 (23rd July 2011)
2
+ - fixed cleaning of old backups
1
3
  v0.4.0 (22nd July 2011)
2
4
  - forked db2s3 into db2fog
3
5
  0.3.1 (7 Dec 2009)
data/lib/db2fog.rb CHANGED
@@ -128,7 +128,7 @@ class DB2Fog
128
128
  end
129
129
 
130
130
  def delete(remote_filename)
131
- remote_file = remote_file.head(remote_filename)
131
+ remote_file = directory.files.head(remote_filename)
132
132
  remote_file.destroy if remote_file
133
133
  end
134
134
 
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- version: "0.4"
8
+ - 1
9
+ version: 0.4.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - James Healy
@@ -13,7 +14,7 @@ autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
16
 
16
- date: 2011-07-22 00:00:00 +10:00
17
+ date: 2011-07-23 00:00:00 +10:00
17
18
  default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency
@@ -101,6 +102,21 @@ dependencies:
101
102
  version: "2.6"
102
103
  type: :development
103
104
  version_requirements: *id006
105
+ - !ruby/object:Gem::Dependency
106
+ name: timecop
107
+ prerelease: false
108
+ requirement: &id007 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ~>
112
+ - !ruby/object:Gem::Version
113
+ segments:
114
+ - 0
115
+ - 3
116
+ - 5
117
+ version: 0.3.5
118
+ type: :development
119
+ version_requirements: *id007
104
120
  description: db2fig provides rake tasks for backing up and restoring your DB to cloud storage providers
105
121
  email:
106
122
  - james@yob.id.au