color_hash 1.0.1 → 1.0.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: 5cf5a999840fff027b954343a856b43276c6d2f021100ddc1811b63b03ac1636
4
- data.tar.gz: c83fb8b5573feb4508c8ea64d4829f3db1ddc9390d7e6bfa82fda5a7f5a97df4
3
+ metadata.gz: 991fcc092d86bb579bee621cd5ba535c57ad27e8354776b795a41b7f0a83e375
4
+ data.tar.gz: c02de322dcaad3e352da21f25cc5a255a3e86f8d3645341b793124a33838b03d
5
5
  SHA512:
6
- metadata.gz: 053a0d6b28512402726a965fc1270e195b6f132cd0f67b59521f2cfa2cc74c93905d5df0173f567abc166a25ed259ca93d8ecda2c48e068507c461f066da1b82
7
- data.tar.gz: 462aea99f9e3d14e921d20fed8ed7c84c3672599fb83efb4bf588f8ce7018a6d11fc6954527260d2ba6043023ea2b47caea5a2702076795bfdde12e46883b2fb
6
+ metadata.gz: 251b9fa0a2cb9665d2b8d6f6dc4db0dbb1fa6f981a9344963e436981bd64b254a062bd488743db863d769aa527110c542cf06a68df1a2f6f58a1dfdbd369afdd
7
+ data.tar.gz: 9d73895360159af4fc9a3747b6e0d0c6380888489bf84be5f84c0bf86662461619e6f427ecf40022c1191d4f2f0d2c1584877944aa3d42dc4b07e1643ab7d953
data/CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
- ## [Unreleased]
1
+ ## [1.0.2] - 2026-11-05
2
+
3
+ - Add the MIT license
4
+ - Fix the gem's `source_code_uri` metadata
5
+ - `make test` now runs the Trivy and bundle-audit scans, replacing `make security`
6
+ - Trivy now fails on MEDIUM findings and above, and reports anything lower
7
+ - `make release` is now the only release path: it checks for a clean, pushed, untagged commit, and tags the version after publishing. `rake release` is gone
2
8
 
3
9
  ## [1.0.1] - 2026-11-04
4
10
 
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 KUY.io Inc.
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
@@ -56,9 +56,9 @@ color = "#79acd2"
56
56
 
57
57
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `make test` to run the linter and the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
58
58
 
59
- Run `make security` to scan for vulnerabilities. It requires [Trivy](https://trivy.dev) to be installed, and network access to update the advisory databases.
59
+ `make test` also scans for vulnerabilities. It requires [Trivy](https://trivy.dev) to be installed, and network access to update the advisory databases.
60
60
 
61
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, run `make test security`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
61
+ To install this gem onto your local machine, run `make build`, then `gem install` the `.gem` file it creates. To release a new version, update the version number in `version.rb` and the `CHANGELOG.md`, commit and push them, then run `make release`. It runs the tests, builds the gem, pushes it to [rubygems.org](https://rubygems.org), then tags the version and pushes the tag.
62
62
 
63
63
  ## Contributing
64
64
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ColorHash
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: color_hash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Bettenburg
8
- bindir: exe
8
+ bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies: []
@@ -17,17 +17,19 @@ extensions: []
17
17
  extra_rdoc_files: []
18
18
  files:
19
19
  - CHANGELOG.md
20
+ - LICENSE
20
21
  - README.md
21
22
  - lib/color_hash.rb
22
23
  - lib/color_hash/generator.rb
23
24
  - lib/color_hash/version.rb
24
25
  - sig/color_hash.rbs
25
26
  homepage: https://github.com/kuyio/color_hash
26
- licenses: []
27
+ licenses:
28
+ - MIT
27
29
  metadata:
28
30
  allowed_push_host: https://rubygems.org
29
31
  homepage_uri: https://github.com/kuyio/color_hash
30
- source_code_uri: https://github.com/kuyio/color_hash
32
+ source_code_uri: https://github.com/kuyio/color_hash/tree/main
31
33
  changelog_uri: https://github.com/kuyio/color_hash/blob/main/CHANGELOG.md
32
34
  rubygems_mfa_required: 'true'
33
35
  rdoc_options: []