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.24"
".": "0.1.0-alpha.25"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 103
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-04f02fa57c3ab8d15ecf0a16a41a83814c21cdc2a830fae4d65f1b7b2196d819.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-979330185e8fda7b2bc2440075fe81c66132fc87ff3c548e93dd05db35ba3172.yml
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

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

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

### Features

* **api:** api update ([#137](https://github.com/orbcorp/orb-ruby/issues/137)) ([7f2a33b](https://github.com/orbcorp/orb-ruby/commit/7f2a33b6f4794aefe50733a9867f5be9c1314482))


### Chores

* **internal:** codegen related update ([#132](https://github.com/orbcorp/orb-ruby/issues/132)) ([d86f52b](https://github.com/orbcorp/orb-ruby/commit/d86f52ba1a56416fe826861e19bcebf314287bab))
* **internal:** codegen related update ([#133](https://github.com/orbcorp/orb-ruby/issues/133)) ([55e3ee5](https://github.com/orbcorp/orb-ruby/commit/55e3ee56ef6931491e3da4853bc92bcec4a8ec38))
* **internal:** codegen related update ([#135](https://github.com/orbcorp/orb-ruby/issues/135)) ([4dde2f2](https://github.com/orbcorp/orb-ruby/commit/4dde2f205ea576930473bacad398511a72d23cb5))
* **internal:** codegen related update ([#136](https://github.com/orbcorp/orb-ruby/issues/136)) ([c6b55f4](https://github.com/orbcorp/orb-ruby/commit/c6b55f457aebc74a4edac6bbcd51363c9be88214))
* **internal:** version bump ([#130](https://github.com/orbcorp/orb-ruby/issues/130)) ([a9aff2a](https://github.com/orbcorp/orb-ruby/commit/a9aff2a5177db007f46407a3b76dd8ce35ec46af))
* pagination ([#134](https://github.com/orbcorp/orb-ruby/issues/134)) ([9265d32](https://github.com/orbcorp/orb-ruby/commit/9265d320d1a3e5b4647eff35ec9e3145d59ffea5))

## 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)
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.24)
orb (0.1.0.pre.alpha.25)
connection_pool

GEM
Expand Down
8 changes: 6 additions & 2 deletions lib/orb/models/events/backfill_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ class BackfillCreateParams < Orb::BaseModel
include Orb::RequestParameters

# @!attribute timeframe_end
# The (exclusive) end of the usage timeframe affected by this backfill.
# The (exclusive) end of the usage timeframe affected by this backfill. By
# default, Orb allows backfills up to 10 days in duration at a time. Reach out to
# discuss extending this limit and your use case.
#
# @return [Time]
required :timeframe_end, Time

# @!attribute timeframe_start
# The (inclusive) start of the usage timeframe affected by this backfill.
# The (inclusive) start of the usage timeframe affected by this backfill. By
# default, Orb allows backfills up to 10 days in duration at a time. Reach out to
# discuss extending this limit and your use case.
#
# @return [Time]
required :timeframe_start, Time
Expand Down
4 changes: 2 additions & 2 deletions lib/orb/page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
#
def next_page
unless next_page?
raise RuntimeError.new("No more pages available; please check #next_page? before calling #next_page")
raise RuntimeError.new("No more pages available. Please check #next_page? before calling ##{__method__}")

Check warning on line 71 in lib/orb/page.rb

View workflow job for this annotation

GitHub Actions / lint

Layout/LineLength: Line is too long. [113/110]
end

req = Orb::Util.deep_merge(@req, {query: {cursor: pagination_metadata&.next_cursor}})
Expand All @@ -79,7 +79,7 @@
#
def auto_paging_each(&blk)
unless block_given?
raise ArgumentError.new("A block must be given to #auto_paging_each")
raise ArgumentError.new("A block must be given to ##{__method__}")
end
page = self
loop do
Expand All @@ -92,7 +92,7 @@
# @return [String]
#
def inspect
"#<#{self.class}:0x#{object_id.to_s(16)} data=#{data.inspect} pagination_metadata=#{pagination_metadata.inspect}>"

Check warning on line 95 in lib/orb/page.rb

View workflow job for this annotation

GitHub Actions / lint

Layout/LineLength: Line is too long. [120/110]
end

class PaginationMetadata < Orb::BaseModel
Expand Down
8 changes: 6 additions & 2 deletions lib/orb/resources/events/backfills.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ class Backfills
#
# @param params [Orb::Models::Events::BackfillCreateParams, Hash{Symbol=>Object}] .
#
# @option params [Time] :timeframe_end The (exclusive) end of the usage timeframe affected by this backfill.
# @option params [Time] :timeframe_end The (exclusive) end of the usage timeframe affected by this backfill. By
# default, Orb allows backfills up to 10 days in duration at a time. Reach out to
# discuss extending this limit and your use case.
#
# @option params [Time] :timeframe_start The (inclusive) start of the usage timeframe affected by this backfill.
# @option params [Time] :timeframe_start The (inclusive) start of the usage timeframe affected by this backfill. By
# default, Orb allows backfills up to 10 days in duration at a time. Reach out to
# discuss extending this limit and your use case.
#
# @option params [Time, nil] :close_time The time at which no more events will be accepted for this backfill. The
# backfill will automatically begin reflecting throughout Orb at the close time.
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.24"
VERSION = "0.1.0-alpha.25"
end
Loading
Loading