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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b671284dfcdd29739df951c9656b8a0a9867619b57175ac62c5eb6f45137ed0
4
- data.tar.gz: 26ee6f58257a4a556ea2a7f1eedc06660743fd47e1e073f1977b0a591a2db7f3
3
+ metadata.gz: 4b51df7b5c764f6c18fa189f842101b4169b212d357cc2ee91f650d71a5dea9e
4
+ data.tar.gz: ebce99be5e27ba45c07d879699f08310212b2f39ebae931775bd273d8c9908f3
5
5
  SHA512:
6
- metadata.gz: a0206e946ca9040ed97d5385c33fea54b0080e824fbe5c3844adac5bc37cdf452e75efd6ebc40ac1f40d66d1bfa52e9f60ec962ab5a247dda0a8acdea15c2235
7
- data.tar.gz: 2902acbf3de208132ced6cde1b22f4f3a5a72eacacd6c9c048d3edbf8f20ebf636bf5e7549aec207aba07c642d0a54cf55a6684191a6cb259c66fd31878e32bc
6
+ metadata.gz: f5957200742a5f72530bfc940a5e38315c93d1cd1ed32c1b858843c29abecea5c6a4e7b4c3faaa48ade180fd25b9777df4a4b1ff2940054f6620989185d9911c
7
+ data.tar.gz: 333dd782f60dc3eb81b7b6de1334e94424ec001cd20dc42d56742b4c0f71ef04cbe3171472b3f6cd7ab995754764bdcd02fb57680262714dccab71149e5e9a28
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.1.7
2
+
3
+ - Fixes broken runner
4
+
1
5
  # 0.1.6
2
6
 
3
7
  - Show diff changes on PushAction and PullAction.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dotsync (0.1.6)
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.9.0)
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.1)
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)
@@ -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") || DEFAULT_FORCE,
14
- diff_modifications: config.dig("colors", "diff_modifications") || DEFAULT_IGNORE,
15
- diff_removals: config.dig("colors", "diff_removals") || DEFAULT_INVALID
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
 
@@ -16,6 +16,10 @@ module Dotsync
16
16
  validate!
17
17
  end
18
18
 
19
+ def to_h
20
+ @config
21
+ end
22
+
19
23
  private
20
24
  # Validates the configuration file.
21
25
  #
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dotsync
4
- VERSION = "0.1.6"
4
+ VERSION = "0.1.7"
5
5
  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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Sáenz