dotsync 0.1.6 → 0.1.7
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 +3 -3
 - data/lib/dotsync/colors.rb +3 -3
 - data/lib/dotsync/config/base_config.rb +4 -0
 - data/lib/dotsync/runner.rb +2 -2
 - 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: 4b51df7b5c764f6c18fa189f842101b4169b212d357cc2ee91f650d71a5dea9e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: ebce99be5e27ba45c07d879699f08310212b2f39ebae931775bd273d8c9908f3
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: f5957200742a5f72530bfc940a5e38315c93d1cd1ed32c1b858843c29abecea5c6a4e7b4c3faaa48ade180fd25b9777df4a4b1ff2940054f6620989185d9911c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 333dd782f60dc3eb81b7b6de1334e94424ec001cd20dc42d56742b4c0f71ef04cbe3171472b3f6cd7ab995754764bdcd02fb57680262714dccab71149e5e9a28
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            PATH
         
     | 
| 
       2 
2 
     | 
    
         
             
              remote: .
         
     | 
| 
       3 
3 
     | 
    
         
             
              specs:
         
     | 
| 
       4 
     | 
    
         
            -
                dotsync (0.1. 
     | 
| 
      
 4 
     | 
    
         
            +
                dotsync (0.1.7)
         
     | 
| 
       5 
5 
     | 
    
         
             
                  fileutils (~> 1.7.3)
         
     | 
| 
       6 
6 
     | 
    
         
             
                  find (~> 0.2.0)
         
     | 
| 
       7 
7 
     | 
    
         
             
                  listen (~> 3.9.0)
         
     | 
| 
         @@ -37,7 +37,7 @@ GEM 
     | 
|
| 
       37 
37 
     | 
    
         
             
                logger (1.7.0)
         
     | 
| 
       38 
38 
     | 
    
         
             
                ostruct (0.6.3)
         
     | 
| 
       39 
39 
     | 
    
         
             
                parallel (1.27.0)
         
     | 
| 
       40 
     | 
    
         
            -
                parser (3.3. 
     | 
| 
      
 40 
     | 
    
         
            +
                parser (3.3.10.0)
         
     | 
| 
       41 
41 
     | 
    
         
             
                  ast (~> 2.4.1)
         
     | 
| 
       42 
42 
     | 
    
         
             
                  racc
         
     | 
| 
       43 
43 
     | 
    
         
             
                prism (1.6.0)
         
     | 
| 
         @@ -90,7 +90,7 @@ GEM 
     | 
|
| 
       90 
90 
     | 
    
         
             
                rubocop-rspec (3.7.0)
         
     | 
| 
       91 
91 
     | 
    
         
             
                  lint_roller (~> 1.1)
         
     | 
| 
       92 
92 
     | 
    
         
             
                  rubocop (~> 1.72, >= 1.72.1)
         
     | 
| 
       93 
     | 
    
         
            -
                ruby-lsp (0.26. 
     | 
| 
      
 93 
     | 
    
         
            +
                ruby-lsp (0.26.2)
         
     | 
| 
       94 
94 
     | 
    
         
             
                  language_server-protocol (~> 3.17.0)
         
     | 
| 
       95 
95 
     | 
    
         
             
                  prism (>= 1.2, < 2.0)
         
     | 
| 
       96 
96 
     | 
    
         
             
                  rbs (>= 3, < 5)
         
     | 
    
        data/lib/dotsync/colors.rb
    CHANGED
    
    | 
         @@ -10,9 +10,9 @@ module Dotsync 
     | 
|
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
                def self.load_custom_colors(config)
         
     | 
| 
       12 
12 
     | 
    
         
             
                  @custom_colors = {
         
     | 
| 
       13 
     | 
    
         
            -
                    diff_additions: config.dig("colors", "diff_additions") ||  
     | 
| 
       14 
     | 
    
         
            -
                    diff_modifications: config.dig("colors", "diff_modifications") ||  
     | 
| 
       15 
     | 
    
         
            -
                    diff_removals: config.dig("colors", "diff_removals") ||  
     | 
| 
      
 13 
     | 
    
         
            +
                    diff_additions: config.dig("colors", "diff_additions") || DEFAULT_DIFF_ADDITIONS,
         
     | 
| 
      
 14 
     | 
    
         
            +
                    diff_modifications: config.dig("colors", "diff_modifications") || DEFAULT_DIFF_MODIFICATIONS,
         
     | 
| 
      
 15 
     | 
    
         
            +
                    diff_removals: config.dig("colors", "diff_removals") || DEFAULT_DIFF_REMOVALS
         
     | 
| 
       16 
16 
     | 
    
         
             
                  }
         
     | 
| 
       17 
17 
     | 
    
         
             
                end
         
     | 
| 
       18 
18 
     | 
    
         | 
    
        data/lib/dotsync/runner.rb
    CHANGED
    
    | 
         @@ -17,8 +17,8 @@ module Dotsync 
     | 
|
| 
       17 
17 
     | 
    
         
             
                      config_class = Dotsync.const_get("#{camelize(action_name.to_s)}ActionConfig")
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
                      config = config_class.new(Dotsync.config_path)
         
     | 
| 
       20 
     | 
    
         
            -
                      Dotsync::Icons.load_custom_icons(config)
         
     | 
| 
       21 
     | 
    
         
            -
                      Dotsync::Colors.load_custom_colors(config)
         
     | 
| 
      
 20 
     | 
    
         
            +
                      Dotsync::Icons.load_custom_icons(config.to_h)
         
     | 
| 
      
 21 
     | 
    
         
            +
                      Dotsync::Colors.load_custom_colors(config.to_h)
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         
             
                      action = action_class.new(config, @logger)
         
     | 
| 
       24 
24 
     | 
    
         | 
    
        data/lib/dotsync/version.rb
    CHANGED