sbom-cyclonedx 0.2.0 → 0.3.0

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: 7a9fd66f9cec7d3f89319bc4163e6a2e5529c457b37f050b8caab1a682a68a11
4
- data.tar.gz: 0dccc46c4060f9fcb027d6c42063cd188a0a7c3842f2e8db4e2deabc4292af86
3
+ metadata.gz: 6832e6a123d82ad71e873959bc07c263a2394b712e5dda2294035b4b8e6e7405
4
+ data.tar.gz: b0b3b253244593be7efb0d1084dca37c628e58788efa8df8268695043b89db76
5
5
  SHA512:
6
- metadata.gz: 63944776752cb685fb917b0f7e2c94a167df4c5c16d0cf642520502469c6a8591e3fcd6bbebbf4ff3233119c56e5d980df9d4efd0a5c3a84dac2a51eaf298e3a
7
- data.tar.gz: a1ed619e813e4b3f88258462f3e7edff1061d3f39495c9c95d552f38726512b9295d546845d48017082a83e09d096699d1c444ce06946710b6e6a34ad856d1f2
6
+ metadata.gz: 773f999a504932363710289815e12e0e0d1572ae71a960d6d0690a2cddb0cf632b92aa774d036040cdfdacbb83b9cf228ebaf97383dd31f936de5797f8dd4b17
7
+ data.tar.gz: 90477f2368f73a3178f8c1168d7de44be0c5be00e5de02e6f4ff0395f2d6cad4b71b99624e81b870736cfc70346efa7d49126adfc4bd2e2a75d647eb934d0420
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.0] - 2025-03-10
4
+
5
+ - Loosen endpoints URI validation to accept non-host based URIs like mailto
6
+
3
7
  ## [0.2.0] - 2025-03-10
4
8
 
5
9
  - Fix of gem bundling
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sbom-cyclonedx (0.1.0)
4
+ sbom-cyclonedx (0.3.0)
5
5
  activesupport (>= 6.1, < 8)
6
6
  email_address (~> 0.2, >= 0.2.4)
7
7
 
data/RELEASE.md ADDED
@@ -0,0 +1,18 @@
1
+ # Release
2
+
3
+ Keeping releases consistent is important so here are the steps to follow when pushing a new version.
4
+
5
+ 1. Bump [lib/sbom/cyclone_dx/version.rb](https://github.com/Hacker0x01/sbom-cyclonedx/blob/main/lib/sbom/cyclone_dx/version.rb) to the next major.minor version
6
+ 2. Make sure all tests are passing ```bundle && bundle exec rake && bundle exec rake appraisal spec```
7
+ 3. Make sure [CHANGELOG](https://github.com/Hacker0x01/sbom-cyclonedx/blob/main/CHANGELOG.md) is up to date
8
+ 4. Commit changes ```git commit -am "bumping to vX.X"```
9
+
10
+ Changes committed:
11
+ - Gemfile.lock
12
+ - version.rb
13
+
14
+ 5. Push to github ```git push origin/master```
15
+ 6. Tag the version ```git tag -a vX.X -m 'Version X.X Stable' && git push --tags```
16
+ 7. Build the gem ```gem build sbom-cyclone_dx.gemspec```
17
+ 8. Push the gem to ruby gems ```gem push sbom-cyclone_dx-X.X.X.gem```
18
+ 9. Remove the built gem locally ```rm sbom-cyclone_dx-X.X.X.gem```
@@ -19,7 +19,7 @@ module SBOM
19
19
  begin
20
20
  # Steep is, for some reason, looking at OpenURI's ::URI, and not ::URI from stdlib...
21
21
  uri_value = value.is_a?(URI::Generic) ? value : URI.parse(value)
22
- return rv if uri_value.scheme.present? && uri_value.host.present?
22
+ return rv if uri_value.scheme.present?
23
23
  rescue NoMethodError, URI::Error
24
24
  # Do nothing, all errors handled below
25
25
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SBOM
4
4
  module CycloneDX
5
- VERSION = "0.2.0"
5
+ VERSION = "0.3.0"
6
6
  end
7
7
  end
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.files = `git ls-files`.split("\n")
24
24
  spec.bindir = "bin"
25
- spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
25
+ spec.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
26
26
 
27
27
  spec.require_paths = ["lib"]
28
28
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbom-cyclonedx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Trame
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-10 00:00:00.000000000 Z
11
+ date: 2025-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -71,6 +71,7 @@ files:
71
71
  - Gemfile.lock
72
72
  - LICENSE.txt
73
73
  - README.md
74
+ - RELEASE.md
74
75
  - Rakefile
75
76
  - Steepfile
76
77
  - bin/console