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 +4 -4
 - data/CHANGELOG.md +4 -0
 - data/Gemfile.lock +1 -1
 - data/README.md +2 -0
 - data/exe/dotsync +6 -3
 - data/lib/dotsync/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: '08b051bb2f245604662fd3f8347c70152dffb43d243d96bef919c38433a53124'
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 79c2af0084417ad7c8253deac085b0466bbfd5d3c7b0c20054e92899907921b9
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 21107170e600b1649aebdf5c5b4a2b4750c796c6800684a3a9bf3bf32eac88c6ea3a55056c7bab5a910b4a244aa95bae56627d222f56756f376704992a3bbdd7
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4b920346a4a3dd410e35374678a957517a53d3dbcbe4fff737c7a0e88040c842e0a526728d923bd471b85c5660a5505ea0eeb4e5fe7dd22734b45e7b4c6d1d63
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    
    
        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 
     | 
    
         
            -
               
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
               
     | 
| 
      
 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 
     | 
    
         | 
    
        data/lib/dotsync/version.rb
    CHANGED