snapshot_archive 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 670356647fdde1ccb297580138cc3295eb963ef2bdfbaad8cde29843a5d625b6
4
- data.tar.gz: 6097cee6cf2c898754b6c3a3cf5f7fb5a76e5fa9e91ed5552aa8655dfa5d881e
3
+ metadata.gz: 39922e21c1be277d98cd3286c0e5af704208c4699f8131d37691c9f9e1c789ab
4
+ data.tar.gz: 90d276037f30a35799d9e868f7ef391187d4ef1864ccec3dbb8d51a9108690c6
5
5
  SHA512:
6
- metadata.gz: 3b1e96998fe608d27afd218c977950afb3aabaa29368ef58ae301be32b0e66ac854eb8ee8f5d6a171403f636409a32dc565c9a77e17dc025d96ada8fe0c3e1d2
7
- data.tar.gz: 43ad93fb0a0e052a74db31249f4a586efcbc33b129ecdddbb689eb0f76d8edf0ec1a656d358afcdd8fee60a460c99c4412378af7de424fecfc889dac136621fb
6
+ metadata.gz: 1a2bf6c53eb910b5f2b2843104018db8e248cda32035fd6a5658b17c1fde22bd32de5d506e8b1cfa5308e4ceb56c4dbe66136a51e3e251b75155ebff1460f377
7
+ data.tar.gz: 70a956f0b31dbb41e30e72bc4bccb54fc0c6684e075637256a98306a34c54bbabe53f96c99a5041193522a80295baffea8d756c2331d1396df6c5be1e4ca3176
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- snapshot_archive (0.2.0)
4
+ snapshot_archive (0.3.0)
5
5
  commander (~> 4.5)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -133,7 +133,7 @@ SnapshotArchive.configure do |config|
133
133
 
134
134
  # Using the store builder:
135
135
 
136
- config.register_store("my_customer_store") do |store|
136
+ config.register_store("my_custom_store") do |store|
137
137
  store.backup do |dir, args=[]|
138
138
  path = File.join(dir, "my_custom_store.txt")
139
139
  File.write(path, "received args: #{args}")
@@ -26,11 +26,11 @@ SnapshotArchive.configure do |config|
26
26
 
27
27
  next if db_names.empty?
28
28
 
29
- Cfg.bind_backup("mysql", db_names).backup(dir)
29
+ SnapshotArchive::Cfg.bind_backup("mysql", db_names).backup(dir)
30
30
  end
31
31
 
32
32
  store.restore do |metadata|
33
- Cfg.store("mysql").restore(metadata)
33
+ SnapshotArchive::Cfg.store("mysql").restore(metadata)
34
34
  end
35
35
  end
36
36
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SnapshotArchive
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snapshot_archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Kinnecom
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-15 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander