Skip to content
Merged
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
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.1.0-alpha.23"
".": "0.1.0-alpha.24"
}
10 changes: 5 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ Layout/MultilineMethodParameterLineBreaks:
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

# Fairly useful in tests for pattern assertions.
Lint/EmptyInPattern:
Exclude:
- "test/**/*"

Lint/MissingSuper:
Exclude:
- "**/*.rbi"
Expand Down Expand Up @@ -115,11 +120,6 @@ Style/BisectedAttrAccessor:
Exclude:
- "**/*.rbi"

# Fairly useful in tests for pattern matching.
Style/CaseEquality:
Exclude:
- "test/**/*"

# We prefer nested modules in lib/, but are currently using compact style for tests.
Style/ClassAndModuleChildren:
Exclude:
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## 0.1.0-alpha.24 (2025-03-11)

Full Changelog: [v0.1.0-alpha.23...v0.1.0-alpha.24](https://github.com/orbcorp/orb-ruby/compare/v0.1.0-alpha.23...v0.1.0-alpha.24)

### Features

* support client level methods ([#122](https://github.com/orbcorp/orb-ruby/issues/122)) ([6b55a65](https://github.com/orbcorp/orb-ruby/commit/6b55a652c0b5e6456c4462d0fe4adcee4dc6445e))


### Bug Fixes

* fix casing in tests ([#129](https://github.com/orbcorp/orb-ruby/issues/129)) ([229b22c](https://github.com/orbcorp/orb-ruby/commit/229b22cd7c2464423c24df52bb3e613a4860d6ce))


### Chores

* better phone number examples ([#127](https://github.com/orbcorp/orb-ruby/issues/127)) ([ba7c288](https://github.com/orbcorp/orb-ruby/commit/ba7c288a8f7fdaf87ad78616086d3528632b07ef))
* **internal:** codegen related update ([#123](https://github.com/orbcorp/orb-ruby/issues/123)) ([b4835ec](https://github.com/orbcorp/orb-ruby/commit/b4835ecf97fa5c665b0a6bf5b31d4892557e1475))
* **internal:** codegen related update ([#124](https://github.com/orbcorp/orb-ruby/issues/124)) ([278685d](https://github.com/orbcorp/orb-ruby/commit/278685d61c77bb43bb17ffa8c2430cf66e13bcf7))
* **internal:** codegen related update ([#125](https://github.com/orbcorp/orb-ruby/issues/125)) ([4c6c880](https://github.com/orbcorp/orb-ruby/commit/4c6c8809f4801174629ee0794162e8d8111eb250))
* **internal:** codegen related update ([#126](https://github.com/orbcorp/orb-ruby/issues/126)) ([354931c](https://github.com/orbcorp/orb-ruby/commit/354931ceb58243c25b6dfb71ef480d093128ce4f))
* **internal:** codegen related update ([#128](https://github.com/orbcorp/orb-ruby/issues/128)) ([7e38127](https://github.com/orbcorp/orb-ruby/commit/7e381278a3814fc508d73a4cf0126e59776fd1f1))
* **internal:** version bump ([#120](https://github.com/orbcorp/orb-ruby/issues/120)) ([95888ac](https://github.com/orbcorp/orb-ruby/commit/95888acba23ab3068b2830fe5abfc046c9ea7dc4))

## 0.1.0-alpha.23 (2025-03-10)

Full Changelog: [v0.1.0-alpha.22...v0.1.0-alpha.23](https://github.com/orbcorp/orb-ruby/compare/v0.1.0-alpha.22...v0.1.0-alpha.23)
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:
orb (0.1.0.pre.alpha.23)
orb (0.1.0.pre.alpha.24)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/orb/base_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def try_strict_coerce(target, value)
in [-> { _1 <= Date || _1 <= Time }, String]
Kernel.then do
[true, target.parse(value), 1]
rescue ArgumentError, Date::Error
rescue ArgumentError
[false, false, 0]
end
in [_, ^target]
Expand Down
6 changes: 3 additions & 3 deletions lib/orb/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,10 @@
json
end
in %r{^text/event-stream}
lines = enum_lines(stream)
parse_sse(lines)
lines = decode_lines(stream)
decode_sse(lines)
in %r{^application/(?:x-)?jsonl}
enum_lines(stream)
decode_lines(stream)
in %r{^text/}
stream.to_a.join
else
Expand Down Expand Up @@ -613,7 +613,7 @@
# @return [Hash{Symbol=>Object}]
#
def decode_sse(lines)
chain_fused(lines) do |y|

Check warning on line 616 in lib/orb/util.rb

View workflow job for this annotation

GitHub Actions / lint

Metrics/BlockLength: Block has too many lines. [27/25]
blank = {event: nil, data: nil, id: nil, retry: nil}
current = {}

Expand Down
2 changes: 1 addition & 1 deletion lib/orb/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Orb
VERSION = "0.1.0-alpha.23"
VERSION = "0.1.0-alpha.24"
end
Loading
Loading