kamal-image-retention 0.1.1 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0a48138263317ddaa8a5ca23da6beaeaf6a340b011024ca13943ca08837f29b
4
- data.tar.gz: 846384090f8dfe614ec44c7e0fd792c2ecf1c63f6c7027e152fe421e7374b9c0
3
+ metadata.gz: fa069ada08898090149a76b6c49fbd2f3a4e7bc6ff7854b5d3e8aa69f4db0eaf
4
+ data.tar.gz: 8437b1d704fea1ecea32335cc84be13885e7f9cf2618b75845e5187412e40623
5
5
  SHA512:
6
- metadata.gz: 755b66a99e784b76262ede4876b43bee45fba8d0351444c3fb79e863f98324d85d85bf107193b2947370da0ecfc2f12b131c39e27c06e03587f3de1d34c3e495
7
- data.tar.gz: 6450c797086b934f67bb7f31ff8bca23d8513077df44aa6cf651c390c099f20bca947171ecf7dda8ebc46ac575574bd59068bb78a4d2f94cc82eccfa95075855
6
+ metadata.gz: 155b0d300d516d6127712166cc282dfc80447c548b47ddf79ff1c20bf81eedb1155a83ab473bf96824b0932e3c361b8b8df426c0a29b25223e155d00bca8cc26
7
+ data.tar.gz: 5d1f6c97ff5ff5b95fa9bfd3fde9987469e2518a342fb811d172a46e17487d6b7186a288eda81709f4d43b17278712768ac502815d8843d38486519858c014cd
data/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ # Changelog
2
+
3
+ ## 0.1.2 — 2026-11-10
4
+
5
+ - Point the gem homepage to the introductory blog post, keeping source code and changelog links on GitHub.
6
+ - Show the installed command name in `kamal-retain-images --help`.
7
+ - Added the MIT license and changelog to the gem package.
8
+
9
+ ## 0.1.1 — 2026-11-10
10
+
11
+ - First release on RubyGems.org. Applications can install the gem by name.
12
+ - Documented how to preview cleanup, configure the retention count and run the command after a deployment.
13
+
14
+ ## 0.1.0 — 2026-11-10
15
+
16
+ - Initial Git release of `kamal-retain-images`. The command previews and removes obsolete release tags for one application on the build machine and in a Kamal-managed Distribution v3 registry.
17
+ - Uses Kamal's `retain_containers` setting and preserves named tags and images referenced by existing containers.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Anton Kopylov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -106,6 +106,14 @@ bundle install
106
106
  bundle exec ruby -Ilib test/retention_test.rb
107
107
  ```
108
108
 
109
+ ## Changelog
110
+
111
+ See the [release history](CHANGELOG.md).
112
+
113
+ ## License
114
+
115
+ [MIT License](LICENSE.txt)
116
+
109
117
  ## Author
110
118
 
111
119
  Built by [Anton Kopylov](https://www.kopylov.net).
@@ -7,7 +7,7 @@ module KamalImageRetention
7
7
  config_file = "config/deploy.yml"
8
8
  apply = false
9
9
  OptionParser.new do |opts|
10
- opts.banner = "Usage: bin/retain-images [-d destination] [-c config_file] [--apply]"
10
+ opts.banner = "Usage: kamal-retain-images [-d destination] [-c config_file] [--apply]"
11
11
  opts.on("-d DESTINATION") { |value| destination = value }
12
12
  opts.on("-c FILE") { |value| config_file = value }
13
13
  opts.on("--apply") { apply = true }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kamal-image-retention
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Kopylov
@@ -28,6 +28,8 @@ executables:
28
28
  extensions: []
29
29
  extra_rdoc_files: []
30
30
  files:
31
+ - CHANGELOG.md
32
+ - LICENSE.txt
31
33
  - README.md
32
34
  - exe/kamal-retain-images
33
35
  - lib/kamal_image_retention.rb
@@ -36,12 +38,14 @@ files:
36
38
  - lib/kamal_image_retention/registry_api.rb
37
39
  - lib/kamal_image_retention/registry_retention.rb
38
40
  - lib/kamal_image_retention/releases.rb
39
- homepage: https://github.com/tonic20/kamal-image-retention
41
+ homepage: https://www.kopylov.net/blog/kamal-image-retention-cleaning-up-after-deploys.html
40
42
  licenses:
41
- - Nonstandard
43
+ - MIT
42
44
  metadata:
43
45
  allowed_push_host: https://rubygems.org
46
+ homepage_uri: https://www.kopylov.net/blog/kamal-image-retention-cleaning-up-after-deploys.html
44
47
  source_code_uri: https://github.com/tonic20/kamal-image-retention
48
+ changelog_uri: https://github.com/tonic20/kamal-image-retention/blob/main/CHANGELOG.md
45
49
  rdoc_options: []
46
50
  require_paths:
47
51
  - lib
@@ -56,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
60
  - !ruby/object:Gem::Version
57
61
  version: '0'
58
62
  requirements: []
59
- rubygems_version: 3.6.9
63
+ rubygems_version: 3.7.2
60
64
  specification_version: 4
61
65
  summary: Retain recent Kamal builds on the build machine and in a private Distribution
62
66
  registry