Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
github.repository == 'stainless-sdks/lithic-ruby' &&
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: false
- run: |-
Expand All @@ -39,7 +39,7 @@ jobs:
github.repository == 'stainless-sdks/lithic-ruby' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: core.setOutput('github_token', await core.getIDToken());

Expand All @@ -60,9 +60,9 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: false
- run: |-
Expand All @@ -76,9 +76,9 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/lithic-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: false
- run: |-
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
with:
bundler-cache: false
- run: |-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'lithic-com/lithic-ruby' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Check release environment
run: |
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.14.0"
".": "0.14.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 193
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-00f07b0edcc0c3c5ef79920ced7f58dac2434df5e4c27ff6041783e8228315f9.yml
openapi_spec_hash: 963688b09480159a06865075c94a2577
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-edd62262c633378b046a4c774cb9a824e2f6bf8f6c0cec613d3fb56e96ba1a29.yml
openapi_spec_hash: e90bfadcd60afbaf9e0c9ebaea4e374e
config_hash: 265a2b679964f4ad5706de101ad2a942
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.14.1 (2026-05-14)

Full Changelog: [v0.14.0...v0.14.1](https://github.com/lithic-com/lithic-ruby/compare/v0.14.0...v0.14.1)

### Bug Fixes

* **client:** elide content type header on requests without body ([d3a58d5](https://github.com/lithic-com/lithic-ruby/commit/d3a58d57130f65c30e56d39ba380cf8fe04e49da))
* **types:** correct value type from Integer to Float in auth rules ([c8a51d0](https://github.com/lithic-com/lithic-ruby/commit/c8a51d0231516251e038f074e3fc364222570f57))

## 0.14.0 (2026-05-08)

Full Changelog: [v0.13.0...v0.14.0](https://github.com/lithic-com/lithic-ruby/compare/v0.13.0...v0.14.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
lithic (0.14.0)
lithic (0.14.1)
cgi
connection_pool

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "lithic", "~> 0.14.0"
gem "lithic", "~> 0.14.1"
```

<!-- x-release-please-end -->
Expand Down
2 changes: 2 additions & 0 deletions lib/lithic/internal/transport/base_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ def initialize(
Lithic::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
end

headers.delete("content-type") if body.nil?

url = Lithic::Internal::Util.join_parsed_uri(
@base_url_components,
{**req, path: path, query: query}
Expand Down
4 changes: 2 additions & 2 deletions lib/lithic/models/auth_rules/auth_rule_condition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class AuthRuleCondition < Lithic::Internal::Type::BaseModel
# @!attribute value
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
#
# @return [String, Integer, Array<String>, Time]
# @return [String, Integer, Float, Array<String>, Time]
required :value, union: -> { Lithic::AuthRules::ConditionalValue }

# @!method initialize(attribute:, operation:, value:)
Expand All @@ -79,7 +79,7 @@ class AuthRuleCondition < Lithic::Internal::Type::BaseModel
#
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
#
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ class Condition < Lithic::Internal::Type::BaseModel
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
# fee field in the settlement/cardholder billing currency. This is the amount
# the issuer should authorize against unless the issuer is paying the acquirer
# fee on behalf of the cardholder.
# fee on behalf of the cardholder. Use an integer value.
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
# risk level, with a higher value indicating a higher amount of risk.
# risk level, with a higher value indicating a higher amount of risk. Use an
# integer value.
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
Expand All @@ -73,7 +74,7 @@ class Condition < Lithic::Internal::Type::BaseModel
# @!attribute value
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
#
# @return [String, Integer, Array<String>, Time]
# @return [String, Integer, Float, Array<String>, Time]
required :value, union: -> { Lithic::AuthRules::ConditionalValue }

# @!method initialize(attribute:, operation:, value:)
Expand All @@ -85,7 +86,7 @@ class Condition < Lithic::Internal::Type::BaseModel
#
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
#
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`

# The attribute to target.
#
Expand All @@ -104,9 +105,10 @@ class Condition < Lithic::Internal::Type::BaseModel
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
# fee field in the settlement/cardholder billing currency. This is the amount
# the issuer should authorize against unless the issuer is paying the acquirer
# fee on behalf of the cardholder.
# fee on behalf of the cardholder. Use an integer value.
# - `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication
# risk level, with a higher value indicating a higher amount of risk.
# risk level, with a higher value indicating a higher amount of risk. Use an
# integer value.
# - `MESSAGE_CATEGORY`: The category of the authentication being processed.
# - `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class Condition < Lithic::Internal::Type::BaseModel
# ID) of the entity initiating the ACH transaction.
# - `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
# - `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units
# (cents).
# (cents). Use an integer value.
# - `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction.
# Valid values include PPD (Prearranged Payment and Deposit Entry), CCD
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
Expand All @@ -209,7 +209,7 @@ class Condition < Lithic::Internal::Type::BaseModel
# @!attribute value
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
#
# @return [String, Integer, Array<String>, Time]
# @return [String, Integer, Float, Array<String>, Time]
required :value, union: -> { Lithic::AuthRules::ConditionalValue }

# @!method initialize(attribute:, operation:, value:)
Expand All @@ -221,7 +221,7 @@ class Condition < Lithic::Internal::Type::BaseModel
#
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
#
# @param value [String, Integer, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
# @param value [String, Integer, Float, Array<String>, Time] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`

# The attribute to target.
#
Expand All @@ -232,7 +232,7 @@ class Condition < Lithic::Internal::Type::BaseModel
# ID) of the entity initiating the ACH transaction.
# - `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
# - `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units
# (cents).
# (cents). Use an integer value.
# - `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction.
# Valid values include PPD (Prearranged Payment and Deposit Entry), CCD
# (Corporate Credit or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL
Expand Down
Loading