diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c372a02a..102812ff 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.5.4" + ".": "1.5.5" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 86802f9c..51d0f690 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.5.5 (2026-03-27) + +Full Changelog: [v1.5.4...v1.5.5](https://github.com/OneBusAway/ruby-sdk/compare/v1.5.4...v1.5.5) + +### Bug Fixes + +* **internal:** correct multipart form field name encoding ([d1a6306](https://github.com/OneBusAway/ruby-sdk/commit/d1a6306091eedf48a45eacc4240a1650b6ee3d87)) + ## 1.5.4 (2026-03-25) Full Changelog: [v1.5.3...v1.5.4](https://github.com/OneBusAway/ruby-sdk/compare/v1.5.3...v1.5.4) diff --git a/Gemfile.lock b/Gemfile.lock index 8dfe631c..f3a89d95 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - onebusaway-sdk (1.5.4) + onebusaway-sdk (1.5.5) cgi connection_pool diff --git a/README.md b/README.md index 7698d967..0cd96d9a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "onebusaway-sdk", "~> 1.5.4" +gem "onebusaway-sdk", "~> 1.5.5" ``` diff --git a/lib/onebusaway_sdk/internal/util.rb b/lib/onebusaway_sdk/internal/util.rb index c078616a..44ea71ce 100644 --- a/lib/onebusaway_sdk/internal/util.rb +++ b/lib/onebusaway_sdk/internal/util.rb @@ -571,8 +571,7 @@ def encode_query_params(query) y << "Content-Disposition: form-data" unless key.nil? - name = ERB::Util.url_encode(key.to_s) - y << "; name=\"#{name}\"" + y << "; name=\"#{key}\"" end case val diff --git a/lib/onebusaway_sdk/version.rb b/lib/onebusaway_sdk/version.rb index 51bb4142..0dacccba 100644 --- a/lib/onebusaway_sdk/version.rb +++ b/lib/onebusaway_sdk/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module OnebusawaySDK - VERSION = "1.5.4" + VERSION = "1.5.5" end diff --git a/scripts/mock b/scripts/mock index 3732f8e6..58e46285 100755 --- a/scripts/mock +++ b/scripts/mock @@ -24,7 +24,7 @@ if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout npm exec --package=@stdy/cli@0.19.7 -- steady --version - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=repeat --validator-query-array-format=repeat --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=repeat --validator-query-array-format=repeat --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index db2a338a..d56002e5 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=repeat --validator-query-array-format=repeat --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" echo exit 1