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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
.yardoc/
doc/
sorbet/
bin/
Brewfile.lock.json
*.gem
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.4"
".": "0.1.0-alpha.5"
}
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-0dbb8ba730f755468357ebda41332664e8396faf29a6a6a64ad37cf35cf70d0c.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-43a4d1d907fd25faa99fef58ba7afb3dd39fae36f955b29bfe27b4bfdaa0ee54.yml
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 0.1.0-alpha.5 (2025-02-07)

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

### Features

* **api:** api update ([#20](https://github.com/orbcorp/orb-ruby/issues/20)) ([42c0f92](https://github.com/orbcorp/orb-ruby/commit/42c0f9247cb57c4d6654b596261612c1a6dafbd0))
* bundle typing manifests with gem release ([#17](https://github.com/orbcorp/orb-ruby/issues/17)) ([68023cc](https://github.com/orbcorp/orb-ruby/commit/68023ccc8969d72343cb78714878f908aa15627a))


### Chores

* do not git ignore `bin/` ([#16](https://github.com/orbcorp/orb-ruby/issues/16)) ([fc125dd](https://github.com/orbcorp/orb-ruby/commit/fc125dd7dc0ba99427bba5779d115d5231c9999c))
* fully qualify `Array` and `Hash` in rbs files to avoid collisions ([#19](https://github.com/orbcorp/orb-ruby/issues/19)) ([291a741](https://github.com/orbcorp/orb-ruby/commit/291a741ba6f569df26328854a3a951502a652fae))
* **internal:** codegen related update ([#18](https://github.com/orbcorp/orb-ruby/issues/18)) ([88b565d](https://github.com/orbcorp/orb-ruby/commit/88b565db466d101670a2951ba881e24304ce633a))
* **internal:** version bump ([#14](https://github.com/orbcorp/orb-ruby/issues/14)) ([338b17a](https://github.com/orbcorp/orb-ruby/commit/338b17ad3c66fa1641fc51860b6845b8606652c5))

## 0.1.0-alpha.4 (2025-02-06)

Full Changelog: [v0.1.0-alpha.3...v0.1.0-alpha.4](https://github.com/orbcorp/orb-ruby/compare/v0.1.0-alpha.3...v0.1.0-alpha.4)
Expand Down
8 changes: 4 additions & 4 deletions 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.3)
orb (0.1.0.pre.alpha.4)
connection_pool

GEM
Expand Down Expand Up @@ -80,9 +80,9 @@ GEM
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
securerandom (0.4.1)
sorbet (0.5.11805)
sorbet-static (= 0.5.11805)
sorbet-static (0.5.11805-x86_64-linux)
sorbet (0.5.11810)
sorbet-static (= 0.5.11810)
sorbet-static (0.5.11810-x86_64-linux)
steep (1.9.4)
activesupport (>= 5.1)
concurrent-ruby (>= 1.1.10)
Expand Down
21 changes: 21 additions & 0 deletions bin/check-release-environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash

errors=()

if [ -z "${GEM_HOST_API_KEY}" ]; then
errors+=("The ORB_GEM_HOST_API_KEY secret has not been set. Please set it in either this repository's secrets or your organization secrets")
fi

lenErrors=${#errors[@]}

if [[ lenErrors -gt 0 ]]; then
echo -e "Found the following errors in the release environment:\n"

for error in "${errors[@]}"; do
echo -e "- $error\n"
done

exit 1
fi

echo "The environment is ready to push releases!"
9 changes: 9 additions & 0 deletions bin/publish-gem
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -Eeuo pipefail

cd -- "$(dirname -- "$0")/.."

bundle
find . -maxdepth 1 -type f -name "*.gem" -delete
rake release
10 changes: 10 additions & 0 deletions lib/orb/models/events/backfill_close_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ class BackfillCloseResponse < Orb::BaseModel
# @return [Integer]
required :events_ingested, Integer

# @!attribute replace_existing_events
# If `true`, existing events in the backfill's timeframe will be replaced with the
# newly ingested events associated with the backfill. If `false`, newly ingested
# events will be added to the existing events.
#
# @return [Boolean]
required :replace_existing_events, Orb::BooleanModel

# @!attribute reverted_at
# The time at which this backfill was reverted.
#
Expand Down Expand Up @@ -84,6 +92,7 @@ class BackfillCloseResponse < Orb::BaseModel
# # @param created_at [Time]
# # @param customer_id [String, nil]
# # @param events_ingested [Integer]
# # @param replace_existing_events [Boolean]
# # @param reverted_at [Time, nil]
# # @param status [Symbol, Orb::Models::Events::BackfillCloseResponse::Status]
# # @param timeframe_end [Time]
Expand All @@ -96,6 +105,7 @@ class BackfillCloseResponse < Orb::BaseModel
# created_at:,
# customer_id:,
# events_ingested:,
# replace_existing_events:,
# reverted_at:,
# status:,
# timeframe_end:,
Expand Down
10 changes: 10 additions & 0 deletions lib/orb/models/events/backfill_create_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ class BackfillCreateResponse < Orb::BaseModel
# @return [Integer]
required :events_ingested, Integer

# @!attribute replace_existing_events
# If `true`, existing events in the backfill's timeframe will be replaced with the
# newly ingested events associated with the backfill. If `false`, newly ingested
# events will be added to the existing events.
#
# @return [Boolean]
required :replace_existing_events, Orb::BooleanModel

# @!attribute reverted_at
# The time at which this backfill was reverted.
#
Expand Down Expand Up @@ -84,6 +92,7 @@ class BackfillCreateResponse < Orb::BaseModel
# # @param created_at [Time]
# # @param customer_id [String, nil]
# # @param events_ingested [Integer]
# # @param replace_existing_events [Boolean]
# # @param reverted_at [Time, nil]
# # @param status [Symbol, Orb::Models::Events::BackfillCreateResponse::Status]
# # @param timeframe_end [Time]
Expand All @@ -96,6 +105,7 @@ class BackfillCreateResponse < Orb::BaseModel
# created_at:,
# customer_id:,
# events_ingested:,
# replace_existing_events:,
# reverted_at:,
# status:,
# timeframe_end:,
Expand Down
10 changes: 10 additions & 0 deletions lib/orb/models/events/backfill_fetch_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ class BackfillFetchResponse < Orb::BaseModel
# @return [Integer]
required :events_ingested, Integer

# @!attribute replace_existing_events
# If `true`, existing events in the backfill's timeframe will be replaced with the
# newly ingested events associated with the backfill. If `false`, newly ingested
# events will be added to the existing events.
#
# @return [Boolean]
required :replace_existing_events, Orb::BooleanModel

# @!attribute reverted_at
# The time at which this backfill was reverted.
#
Expand Down Expand Up @@ -84,6 +92,7 @@ class BackfillFetchResponse < Orb::BaseModel
# # @param created_at [Time]
# # @param customer_id [String, nil]
# # @param events_ingested [Integer]
# # @param replace_existing_events [Boolean]
# # @param reverted_at [Time, nil]
# # @param status [Symbol, Orb::Models::Events::BackfillFetchResponse::Status]
# # @param timeframe_end [Time]
Expand All @@ -96,6 +105,7 @@ class BackfillFetchResponse < Orb::BaseModel
# created_at:,
# customer_id:,
# events_ingested:,
# replace_existing_events:,
# reverted_at:,
# status:,
# timeframe_end:,
Expand Down
10 changes: 10 additions & 0 deletions lib/orb/models/events/backfill_list_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ class BackfillListResponse < Orb::BaseModel
# @return [Integer]
required :events_ingested, Integer

# @!attribute replace_existing_events
# If `true`, existing events in the backfill's timeframe will be replaced with the
# newly ingested events associated with the backfill. If `false`, newly ingested
# events will be added to the existing events.
#
# @return [Boolean]
required :replace_existing_events, Orb::BooleanModel

# @!attribute reverted_at
# The time at which this backfill was reverted.
#
Expand Down Expand Up @@ -84,6 +92,7 @@ class BackfillListResponse < Orb::BaseModel
# # @param created_at [Time]
# # @param customer_id [String, nil]
# # @param events_ingested [Integer]
# # @param replace_existing_events [Boolean]
# # @param reverted_at [Time, nil]
# # @param status [Symbol, Orb::Models::Events::BackfillListResponse::Status]
# # @param timeframe_end [Time]
Expand All @@ -96,6 +105,7 @@ class BackfillListResponse < Orb::BaseModel
# created_at:,
# customer_id:,
# events_ingested:,
# replace_existing_events:,
# reverted_at:,
# status:,
# timeframe_end:,
Expand Down
10 changes: 10 additions & 0 deletions lib/orb/models/events/backfill_revert_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ class BackfillRevertResponse < Orb::BaseModel
# @return [Integer]
required :events_ingested, Integer

# @!attribute replace_existing_events
# If `true`, existing events in the backfill's timeframe will be replaced with the
# newly ingested events associated with the backfill. If `false`, newly ingested
# events will be added to the existing events.
#
# @return [Boolean]
required :replace_existing_events, Orb::BooleanModel

# @!attribute reverted_at
# The time at which this backfill was reverted.
#
Expand Down Expand Up @@ -84,6 +92,7 @@ class BackfillRevertResponse < Orb::BaseModel
# # @param created_at [Time]
# # @param customer_id [String, nil]
# # @param events_ingested [Integer]
# # @param replace_existing_events [Boolean]
# # @param reverted_at [Time, nil]
# # @param status [Symbol, Orb::Models::Events::BackfillRevertResponse::Status]
# # @param timeframe_end [Time]
Expand All @@ -96,6 +105,7 @@ class BackfillRevertResponse < Orb::BaseModel
# created_at:,
# customer_id:,
# events_ingested:,
# replace_existing_events:,
# reverted_at:,
# status:,
# timeframe_end:,
Expand Down
Loading
Loading