dotsync 0.1.1 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7656490334da78bcf97bcadae816a7adb7993c0e39a6925c642ef3f0c79e39ad
4
- data.tar.gz: '006061689d4068a5e73d7cbce3b36b8443090a8799095935b691dc3a7cdbcaca'
3
+ metadata.gz: '08b051bb2f245604662fd3f8347c70152dffb43d243d96bef919c38433a53124'
4
+ data.tar.gz: 79c2af0084417ad7c8253deac085b0466bbfd5d3c7b0c20054e92899907921b9
5
5
  SHA512:
6
- metadata.gz: ef03747509e578fe268adfe14f0834035d794bae10ec28432ca188771fa8909afeca678ee0e9557903c5aa7805476ccf9a9886faf79927178ddb5f726799cd15
7
- data.tar.gz: bd06222f5a2b8e329833565a611a2cf2b2be93baa0fc1a34eaec4c8e4d6b84d897b2a0116bab4b11c1dfe500c3ca079cbb3f60c857d935359dd3073acc888be2
6
+ metadata.gz: 21107170e600b1649aebdf5c5b4a2b4750c796c6800684a3a9bf3bf32eac88c6ea3a55056c7bab5a910b4a244aa95bae56627d222f56756f376704992a3bbdd7
7
+ data.tar.gz: 4b920346a4a3dd410e35374678a957517a53d3dbcbe4fff737c7a0e88040c842e0a526728d923bd471b85c5660a5505ea0eeb4e5fe7dd22734b45e7b4c6d1d63
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.2
2
+
3
+ Add gem version on usage banner
4
+
1
5
  # 0.1.1
2
6
 
3
7
  Add gem executables
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dotsync (0.1.1)
4
+ dotsync (0.1.2)
5
5
  fileutils (~> 1.7.3)
6
6
  listen (~> 3.9.0)
7
7
  logger (~> 1.7.0)
data/README.md CHANGED
@@ -36,6 +36,8 @@ Dotsync provides the following commands to manage your dotfiles:
36
36
  dotsync pull
37
37
  ```
38
38
 
39
+ During the `pull` operation, `Dotsync::PullAction` creates a backup of the existing files on the destination. These backups are stored in a directory under the XDG path, with each backup organized by a timestamp. To prevent excessive storage usage, only the 10 most recent backups are retained. Older backups are automatically purged, ensuring efficient storage management.
40
+
39
41
  - **Watch**: Continuously monitor and sync changes between your local machine and the repository.
40
42
  ```shell
41
43
  dotsync watch
data/exe/dotsync CHANGED
@@ -7,6 +7,7 @@ options = {}
7
7
 
8
8
  opt_parser = OptionParser.new do |opts|
9
9
  opts.banner = <<~BANNER
10
+ dotsync #{Dotsync::VERSION}
10
11
  Usage: dotsync [command] [options]
11
12
 
12
13
  Commands:
@@ -36,9 +37,11 @@ when "watch"
36
37
  when "setup"
37
38
  Dotsync::Runner.new.run(:setup)
38
39
  else
39
- puts "Unknown command: #{command}"
40
- puts
41
- puts opt_parser.banner
40
+ if command
41
+ puts "dotsync: no such command '#{command}'"
42
+ else
43
+ puts opt_parser.banner
44
+ end
42
45
  exit 1
43
46
  end
44
47
 
@@ -1,3 +1,3 @@
1
1
  module Dotsync
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Sáenz