bibliothecary 15.1.1 → 15.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: ec784146d4312b4aa64cbc0f3c4891ec79aa68681659afc4dbbd440f4e8d82d4
4
- data.tar.gz: 07cbe2ce4be0c7523f43b3166a5e9dceb07bfd167bd8d40092da80864663013f
3
+ metadata.gz: dd0ca7b3946ccf2a33db994a2552273c6fad71f11253d3d34db4a7cd37ac9849
4
+ data.tar.gz: a542321fc9bc94e2b32a801adb6e4a9148d9454b843bd6ff590e87192edf5abc
5
5
  SHA512:
6
- metadata.gz: 1f32ffc16d47f5c604a415c6ccb6c8476e5d2190b304b28e5ec6c01838ba8824c24ba5051585778de263027ea1e06bf99b51728f7782bda2ebdc806c4e1c4831
7
- data.tar.gz: c0ed683665369220f5c369da68faab8edd2951951009699b7f8bfef5eecc264e82412c8819c107e8a4baac5f8aad28e97d69cc3ae8a4c11973ce93211d6f3002
6
+ metadata.gz: aeb7c99b14891244ef60e21d46e5ce3bcc4bb50816295ce1acabd0197daf02f35e68c6792ae3674b707f03d9c3cb077e3021632eea1f7e1e6e240d8f4aab4fae
7
+ data.tar.gz: f80efb1670d56898046df1cba084fdbf1d677c4f42244311e86f26417f708d7041828d964d252a3ff3a1135b2f97d4802dcd0d0068078c2e45331eec93ddb214
data/CHANGELOG.md CHANGED
@@ -13,6 +13,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Removed
15
15
 
16
+ ## [15.1.2]
17
+
18
+ ### Changed
19
+
20
+ - Make SPDX and CycloneDX filename matchers case-insensitive.
16
21
 
17
22
  ## [15.1.1]
18
23
 
@@ -63,22 +63,22 @@ module Bibliothecary
63
63
 
64
64
  def self.mapping
65
65
  {
66
- match_extension("cyclonedx.json") => {
66
+ match_extension("cyclonedx.json", case_insensitive: true) => {
67
67
  kind: "lockfile",
68
68
  parser: :parse_cyclonedx_json,
69
69
  ungroupable: true,
70
70
  },
71
- match_extension("cdx.json") => {
71
+ match_extension("cdx.json", case_insensitive: true) => {
72
72
  kind: "lockfile",
73
73
  parser: :parse_cyclonedx_json,
74
74
  ungroupable: true,
75
75
  },
76
- match_extension("cyclonedx.xml") => {
76
+ match_extension("cyclonedx.xml", case_insensitive: true) => {
77
77
  kind: "lockfile",
78
78
  parser: :parse_cyclonedx_xml,
79
79
  ungroupable: true,
80
80
  },
81
- match_extension(".cdx.xml") => {
81
+ match_extension("cdx.xml", case_insensitive: true) => {
82
82
  kind: "lockfile",
83
83
  parser: :parse_cyclonedx_xml,
84
84
  ungroupable: true,
@@ -30,12 +30,12 @@ module Bibliothecary
30
30
 
31
31
  def self.mapping
32
32
  {
33
- match_extension(".spdx") => {
33
+ match_extension("spdx", case_insensitive: true) => {
34
34
  kind: "lockfile",
35
35
  parser: :parse_spdx_tag_value,
36
36
  ungroupable: true,
37
37
  },
38
- match_extension(".spdx.json") => {
38
+ match_extension("spdx.json", case_insensitive: true) => {
39
39
  kind: "lockfile",
40
40
  parser: :parse_spdx_json,
41
41
  ungroupable: true,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bibliothecary
4
- VERSION = "15.1.1"
4
+ VERSION = "15.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibliothecary
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.1.1
4
+ version: 15.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Nesbitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-02 00:00:00.000000000 Z
11
+ date: 2026-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander