dotsync 0.3.0 → 0.3.1

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: 710780a2db7e818a04b5eca4d4546b3fb6f085fc4b0eaba11df1bcab6bfc0ebd
4
- data.tar.gz: 4e41f76afbbce3996c723e681d9af06d6babd2e69533b6b67ac687fe15e06864
3
+ metadata.gz: 9d4bb3d5b17f77568dffe1f3483646a7ed35776f5f001b01cdce993382fe0421
4
+ data.tar.gz: 70e6d14b16fd94c61ba4c1cdfaee2f8a03bc71ebe1bffbeca0b7f50cdb00a3be
5
5
  SHA512:
6
- metadata.gz: 57e5da2e7b69b306a01709a5d6ebcc2e2d7cfd7fdd767bae7ab2bbc9957034abbd6dca04a9d0d237b6cd442ae6ac570c57bce15761ebabe865dc2730b1fb3558
7
- data.tar.gz: adf1fb97f5fa7ca956653617c2d574f556e9bb6c9ed7407384e480de7f6694bd770776eed99d8a0474d7b1399d8f0616948e8e4d12e4aab0f242681371c2ab9f
6
+ metadata.gz: 572e007e7feb0ac45c60544f46e312d9eaa05114b188d3968e38d199468583d699b8837661c135e9e6ad8e2715776b1b9e9d212bd0ac5a0f2ea46319243841b3
7
+ data.tar.gz: a4ff2e20aad1ff708edf8a3dd1482520414849be2a3dd52168425eddb15ec1300fc1dfaf0d4d1b50c184690be50db070776d435491104e9625723b25ec0ba156
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## [0.3.1] - 2026-02-14
2
+
3
+ ### Fixed
4
+
5
+ - Fix config cache swallowing ConfigError and returning nil (#22)
6
+ - Fix release tasks reading installed gem version instead of local
7
+
8
+ ### Dependencies
9
+
10
+ - Bump version to 0.3.1
11
+
1
12
  ## [0.3.0] - 2026-02-14
2
13
 
3
14
  **New Features:**
@@ -429,3 +440,5 @@ Add gem executables
429
440
  # 0.1.0
430
441
 
431
442
  Initial version
443
+
444
+ [0.3.1]: https://github.com/dsaenztagarro/dotsync/compare/v0.3.0...v0.3.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dotsync (0.3.0)
4
+ dotsync (0.3.1)
5
5
  fileutils (~> 1.7.3)
6
6
  find (~> 0.2.0)
7
7
  listen (~> 3.9.0)
@@ -26,6 +26,8 @@ module Dotsync
26
26
 
27
27
  # Fast path: load from cache
28
28
  Marshal.load(File.binread(@cache_file))
29
+ rescue ConfigError
30
+ raise
29
31
  rescue StandardError
30
32
  # Fallback: reparse if cache corrupted or any error
31
33
  parse_and_cache
@@ -67,13 +69,14 @@ module Dotsync
67
69
  config = resolve_config
68
70
 
69
71
  # Write cache files
70
- FileUtils.mkdir_p(@cache_dir)
71
- File.binwrite(@cache_file, Marshal.dump(config))
72
- File.write(@meta_file, JSON.generate(build_metadata))
72
+ begin
73
+ FileUtils.mkdir_p(@cache_dir)
74
+ File.binwrite(@cache_file, Marshal.dump(config))
75
+ File.write(@meta_file, JSON.generate(build_metadata))
76
+ rescue StandardError
77
+ # If caching fails, still return the parsed config
78
+ end
73
79
 
74
- config
75
- rescue StandardError
76
- # If caching fails, still return the parsed config
77
80
  config
78
81
  end
79
82
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dotsync
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Sáenz