snapshot_archive 0.10.0 → 0.12.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: 0a509e2459e8eacc481040b2a3b8abfc9479a0004ab48439eefd4a2c644232e8
4
- data.tar.gz: cb7ed097f707afc0f3fdbf69ba5ba9df13fc656d2d8f4dc4e6a9b6a77958b8b6
3
+ metadata.gz: 3e3eaa6f260c80eb714a688799f0a463800077eb8d202992ed2edfc2016296b3
4
+ data.tar.gz: 0a8402fc3878033c5d4f434147deb19a1df08d457e4282bb93f440a3579c0235
5
5
  SHA512:
6
- metadata.gz: 797b07563f5d6328fcee8e19e7da4c137e358dfe763bf974cd6856178ad1c5d85fd1727aa1eafeee39417c3d7354589abccb9206b46ec5ac5e1695907cb7b3f9
7
- data.tar.gz: 6820e7d7a20c4efae51144a2e31a050f69b4fbee92f4634055c369abd460e437a45fe6f892f1af42d667e4bc0bdc66c5ed887f2e92c71514ff5330b465ed1197
6
+ metadata.gz: 222b817e448faadbaf70756c8fad317d02a05cede98faf4cac696f673e7baa1b1f5258f8f368d1e7bf6dd0a5f0753b119dabfc2ba43abdc6c2ec1ab4422fe4f9
7
+ data.tar.gz: '0697be13fa4393b9125528165256ee7816e41135e61e4d98910a4b93a2e3b2f0a02751ec474f59cd83b77a10d453785d7a0f70d22a0948dbf86733ebfd1e28ee'
@@ -15,9 +15,10 @@ module SnapshotArchive
15
15
  stores_metadata = (
16
16
  stores
17
17
  .map { |name, store|
18
- store_dir = FileUtils.mkdir(File.join(dir, name))
19
-
20
- store.backup(store_dir)&.merge(type: name)
18
+ File
19
+ .join(dir, name)
20
+ .tap { FileUtils.mkdir(_1) }
21
+ .then { store.backup(_1)&.merge(type: name) }
21
22
  }
22
23
  .compact
23
24
  )
@@ -21,6 +21,7 @@ module SnapshotArchive
21
21
  else
22
22
  metadata = {
23
23
  __schema__: SCHEMA,
24
+ __gem_version__: SnapshotArchive::VERSION,
24
25
  id: id,
25
26
  message: msg,
26
27
  timestamp: timestamp.utc.iso8601,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SnapshotArchive
4
- VERSION = "0.10.0"
4
+ VERSION = "0.12.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.10.0
4
+ version: 0.12.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: 2024-03-08 00:00:00.000000000 Z
11
+ date: 2024-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander