bindan 0.2.1 → 0.2.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: d8d6bd2055debe3414cc3c1c82802dd55aae38da0e493f8ce0252083bf62cc5f
4
- data.tar.gz: c6de5a2b13a1aeda060bd5886f973c21293d87cace68641a84119e51ae81e20f
3
+ metadata.gz: e21caf3c4e03547bf5770d6ebfcc4c3f26c6b2d40ec79420817d40cd362250ea
4
+ data.tar.gz: f57efb4fb78b7938d6936c8e6e1ea157114a1f6134cb687b9038ec9186ca18d5
5
5
  SHA512:
6
- metadata.gz: a1e7b8c963cec2bbf37f6324c4a0349c0e890420d7262296427d34e6ba263dc775b1ec87ddbbb2fc5958f287231beb9dbaf77f76afd33287669f2e5ba9973b91
7
- data.tar.gz: 676a894f98eb6a3e2a29a0a5e071064b8befb1071e50f29d61792a4073fea542618f22bd0c30d37797420e3820b484317696809d94dff9b911ea6faeda9a45c4
6
+ metadata.gz: b207adcdd4f308048d258ce14a67d36830a102f2b2ec4c470ac42ea9c3cc78a8b0917b167dbd6464b02aa2573f599ef9b9de7564ce27d95efbaf63ec1d7b9fa0
7
+ data.tar.gz: 758d909aa4e29abe0daa5d297ed75d567c8a9ae00e204ba834e6f24d30fe47d6a68ffd3bd80074f769be93ca101304a37d14b07da08e6a1d533167e25a35c0ee
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [0.2.2] - 2026-11-29
2
+
3
+ - (docs) Document the `cgi` requirement for Firestore on Ruby 3.0 and the `json` compatibility constraint for SDK bundles using `multi_json` 1.19.1 on Ruby 3.0–3.1.
4
+ - (chore) Apply those Ruby-specific constraints in Bindan's Gemfile for the existing CI matrix.
5
+
1
6
  ## [0.2.1] - 2026-11-15
2
7
 
3
8
  - (feat) Add `Bindan::SecretManagerHelper` and `bindan-secret-update` to add Secret Manager versions from exact file bytes or a known-good numerical version. The helper also retrieves the last created version regardless of its state.
data/README.md CHANGED
@@ -78,9 +78,19 @@ gem "bindan"
78
78
  gem "google-cloud-storage"
79
79
  gem "google-cloud-firestore"
80
80
  gem "google-cloud-secret_manager"
81
+
82
+ # Firestore uses CGI.escapeURIComponent, which Ruby 3.0 does not ship with.
83
+ gem "cgi", ">= 0.3.5" if RUBY_VERSION.start_with?("3.0.")
84
+
85
+ # On Ruby 3.0/3.1, SDK dependencies can resolve to multi_json 1.19.1,
86
+ # whose JSON adapter is incompatible with json 3 (for example, with Storage).
87
+ gem "json", "< 3" if RUBY_VERSION.start_with?("3.0.", "3.1.")
81
88
  ```
82
89
 
83
- and
90
+ Install only the SDKs you use. The `cgi` entry is only needed for Firestore on
91
+ Ruby 3.0. Keep the `json` constraint on Ruby 3.0/3.1 if your SDK bundle uses
92
+ `multi_json` 1.19.1. Bindan's [Gemfile](Gemfile) applies these compatibility
93
+ constraints when running the integration tests.
84
94
 
85
95
  ```ruby
86
96
  require "bindan"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bindan
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bindan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - wtnabe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-11-15 00:00:00.000000000 Z
11
+ date: 2026-11-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Bindan is a Ruby gem for building a single configuration object from
14
14
  various sources with providers (including bundled Google Cloud Storage, Firestore,