gemkeeper 0.7.1 → 0.7.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 +11 -1
- data/lib/gemkeeper/gem_syncer.rb +4 -4
- data/lib/gemkeeper/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: 79e1b77de1b2e65913e3e6c5c779ec2da40de77248d3f19023638f6bde8de52d
|
|
4
|
+
data.tar.gz: 3ab3353aeacb8a191b390130e15b69226e1f81955a88175183d25a21b0d150b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a55f01e490978fbb972e095407a7f18ad915e0c9a35bfacd54e577a1a7285cf7703d5bca056ab5ce7fa4d792385ca64ddc842b93028d763879ec186b6bc86b0
|
|
7
|
+
data.tar.gz: 4318c10b34fb9a183bcd4d08f9a78b0295dc83bd7d90246a6711cf69a0c1c614cda600713f2e917b64de35024c159f7d3943f365c77639fc01126420afe13a47
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.7.2] - 2026-05-28
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- `sync` now correctly skips gems that are already cached locally.
|
|
8
|
+
The cache check was looking in `gems_path/gems/name-version.gem` but `gem build` saves to `gems_path/name-version.gem`, so every gem was rebuilt and re-uploaded on every run.
|
|
9
|
+
- `sync` no longer checks out the trunk branch twice for `version: latest` gems.
|
|
10
|
+
`fetch_repo` already leaves the repo on trunk after clone or pull; the redundant `checkout_version("latest")` call is removed, and the cache check now happens immediately after fetch.
|
|
11
|
+
|
|
3
12
|
## [0.7.1] - 2026-05-28
|
|
4
13
|
|
|
5
14
|
### Fixed
|
|
@@ -161,7 +170,8 @@
|
|
|
161
170
|
|
|
162
171
|
- Initial release
|
|
163
172
|
|
|
164
|
-
[Unreleased]: https://github.com/danhorst/gemkeeper/compare/v0.7.
|
|
173
|
+
[Unreleased]: https://github.com/danhorst/gemkeeper/compare/v0.7.2...HEAD
|
|
174
|
+
[0.7.2]: https://github.com/danhorst/gemkeeper/compare/0.7.1...0.7.2
|
|
165
175
|
[0.7.1]: https://github.com/danhorst/gemkeeper/compare/0.7.0...0.7.1
|
|
166
176
|
[0.7.0]: https://github.com/danhorst/gemkeeper/compare/0.6.7...0.7.0
|
|
167
177
|
[0.6.7]: https://github.com/danhorst/gemkeeper/compare/0.6.6...0.6.7
|
data/lib/gemkeeper/gem_syncer.rb
CHANGED
|
@@ -29,12 +29,12 @@ module Gemkeeper
|
|
|
29
29
|
local_path = File.join(@config.repos_path, name)
|
|
30
30
|
repo = fetch_repo(repo_url, local_path)
|
|
31
31
|
|
|
32
|
-
Output.step("Checking out #{version}...")
|
|
33
|
-
repo.checkout_version(version)
|
|
34
|
-
|
|
35
32
|
if gem_def.latest?
|
|
36
33
|
version = latest_version!(repo, name, gems_path, repo_url)
|
|
37
34
|
return :skipped unless version
|
|
35
|
+
else
|
|
36
|
+
Output.step("Checking out #{version}...")
|
|
37
|
+
repo.checkout_version(version)
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
build_and_upload(local_path, gems_path)
|
|
@@ -86,7 +86,7 @@ module Gemkeeper
|
|
|
86
86
|
|
|
87
87
|
def cached?(name, version, gems_path)
|
|
88
88
|
bare = version.delete_prefix("v")
|
|
89
|
-
gem_file = File.join(gems_path, "
|
|
89
|
+
gem_file = File.join(gems_path, "#{name}-#{bare}.gem")
|
|
90
90
|
return false unless File.exist?(gem_file)
|
|
91
91
|
|
|
92
92
|
Output.skip("Skipping #{name} @ #{bare} (already cached)")
|
data/lib/gemkeeper/version.rb
CHANGED