snapshot_archive 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/snapshot_archive/archives.rb +1 -1
- data/lib/snapshot_archive/stores.rb +2 -2
- data/lib/snapshot_archive/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2101a4e57a0fb12ea5f1ad776ff655cbaf243ef925ad1c9776bff513c1d43ba6
|
4
|
+
data.tar.gz: 559d50debc8b3b5ddaafc8a6e7143535799a9c3aee97b1f91ccebe388346ec51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9986ea730b81f33751a3b5fb6ac1a665c8c598d88383f20fd4742422d63e510f54316f82059d38bea2c91bfe4f0568a1ccedba62278e6b8e44ae2b23e4402f20
|
7
|
+
data.tar.gz: 2d2b9e2be0bb3934ee5347302452812b818e1e8278e1da0cb96be0b449814208f0fec346e3ff86cb0922aa5992e2c1b317f9b51d34b121052cb6d100361df87f
|
data/README.md
CHANGED
@@ -130,7 +130,7 @@ SnapshotArchive.configure do |config|
|
|
130
130
|
# Using an object:
|
131
131
|
|
132
132
|
class MyCustomStore
|
133
|
-
def backup(dir:, id:, args: [])
|
133
|
+
def backup(dir:, id:, name:, args: [])
|
134
134
|
path = File.join(dir, "my_custom_store.txt")
|
135
135
|
File.write(path, "received args: #{args}")
|
136
136
|
|
@@ -148,7 +148,7 @@ SnapshotArchive.configure do |config|
|
|
148
148
|
# Using the store builder:
|
149
149
|
|
150
150
|
config.register_store("my_custom_store") do |store|
|
151
|
-
store.backup do |dir:, id:, args: []|
|
151
|
+
store.backup do |dir:, id:, name:, args: []|
|
152
152
|
path = File.join(dir, "my_custom_store.txt")
|
153
153
|
File.write(path, "received args: #{args}")
|
154
154
|
|