sauberia-db2s3 0.3.2.1 → 0.3.2.2
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/lib/db2s3.rb +3 -2
- metadata +3 -3
data/lib/db2s3.rb
CHANGED
@@ -112,7 +112,7 @@ class DB2S3
|
|
112
112
|
end
|
113
113
|
|
114
114
|
def dump_file_name time
|
115
|
-
"#{dump_file_name_prefix}-#{time.utc.strftime("%Y%m%d%H%M
|
115
|
+
"#{dump_file_name_prefix}-#{time.utc.strftime("%Y%m%d%H%M")}.sql.gz"
|
116
116
|
end
|
117
117
|
|
118
118
|
def most_recent_dump_file_name
|
@@ -163,7 +163,8 @@ class DB2S3
|
|
163
163
|
|
164
164
|
def delete(file_name)
|
165
165
|
if object = bucket.objects.find(file_name)
|
166
|
-
|
166
|
+
puts "Deleting file_name"
|
167
|
+
object.destroy
|
167
168
|
end
|
168
169
|
end
|
169
170
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sauberia-db2s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 91
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
9
|
- 2
|
10
|
-
-
|
11
|
-
version: 0.3.2.
|
10
|
+
- 2
|
11
|
+
version: 0.3.2.2
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Xavier Shay
|