bard-backup 0.12.0 → 0.13.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f051915564aff1edf80617a2f83d6eb0c5fbf392ef0f68b5cd4d082c9d0a6450
4
- data.tar.gz: 274a30cc6ac3579045ffb1c7be96a62016f63497e177fc09483122535c72329a
3
+ metadata.gz: 51001d22a2e69c99f9bb208bca62d65796d6380836e4591046d202a435352760
4
+ data.tar.gz: b7d759d4be19c813749b8861b974a56acbf986dcc0fcf1542e29bd6bf3816527
5
5
  SHA512:
6
- metadata.gz: 998e90d23806ee850d5440b7e63c89ef357749697dae25f5cb89b20c77b32ccb644da5c232ecebdbdc57d7e4a2b53562acdb9c081d02b34624ce533d03efb29f
7
- data.tar.gz: bd5eb49fa3a1676ea5f1c6805450f0146c0d18b9ee26139fcee74314d0bfcb9984d27076b7af510ff959f5fa4c7e1eb31d157e7be52795c20e138be75551a4fb
6
+ metadata.gz: e04e6a895738ea48bb2d60dbbd357d33ff5941c9ad0039b30726168c35aa5f4662522cd295965cd63c6d45cbfc4251766128ce548daf8d60d37dd02f05a5db37
7
+ data.tar.gz: 34f4cb5549b78961a9dc29f11818b98f5f45f2f6ec0d80aa9c17ca80a4ab9a88bd98fb96889122096fdd0c9f347d0b4a900d075448ded24384555fea50f7a550
@@ -1,6 +1,6 @@
1
1
  module Bard
2
2
  class Backup
3
- VERSION = "0.12.0"
3
+ VERSION = "0.13.0"
4
4
  end
5
5
  end
6
6
 
@@ -56,6 +56,15 @@ class Bard::Config
56
56
  end
57
57
  end
58
58
 
59
+ # data paths are shared config: bard-backup archives them, bard's `data` command syncs them.
60
+ def data(*paths)
61
+ if paths.empty?
62
+ @data_paths ||= []
63
+ else
64
+ @data_paths = paths
65
+ end
66
+ end
67
+
59
68
  def backup_enabled?
60
69
  backup == true
61
70
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-06-10 00:00:00.000000000 Z
10
+ date: 2026-07-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: backhoe