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 +4 -4
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +1 -1
- data/lib/dotsync/utils/config_cache.rb +9 -6
- 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: 9d4bb3d5b17f77568dffe1f3483646a7ed35776f5f001b01cdce993382fe0421
|
|
4
|
+
data.tar.gz: 70e6d14b16fd94c61ba4c1cdfaee2f8a03bc71ebe1bffbeca0b7f50cdb00a3be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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
|
|
data/lib/dotsync/version.rb
CHANGED