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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/openlayer-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: |-
github.repository == 'stainless-sdks/openlayer-ruby' &&
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/openlayer-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
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.1"
".": "0.15.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 31
openapi_spec_hash: a574ef9082e992c25120554886a9ab7a
config_hash: 2d4f9621ceae4bb25977853a964a0e54
configured_endpoints: 32
openapi_spec_hash: 72e2dd8871904fe6c130d1c81b033d5a
config_hash: f75dd97d47c446f8fdc8bcb36f445eea
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.15.0 (2026-08-03)

Full Changelog: [v0.14.1...v0.15.0](https://github.com/openlayer-ai/openlayer-ruby/compare/v0.14.1...v0.15.0)

### Features

* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([1e2b0dd](https://github.com/openlayer-ai/openlayer-ruby/commit/1e2b0dd15c04284222bb259bd5dd5b31537beaec))


### Chores

* **closes OPEN-11851:** expose update project endpoint ([c3918da](https://github.com/openlayer-ai/openlayer-ruby/commit/c3918daf0326fbeda5cc3844a0c39aa96dbdc573))

## 0.14.1 (2026-07-06)

Full Changelog: [v0.14.0...v0.14.1](https://github.com/openlayer-ai/openlayer-ruby/compare/v0.14.0...v0.14.1)
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:
openlayer (0.14.1)
openlayer (0.15.0)
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 @@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "openlayer", "~> 0.14.1"
gem "openlayer", "~> 0.15.0"
```

<!-- x-release-please-end -->
Expand Down
2 changes: 2 additions & 0 deletions lib/openlayer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
require_relative "openlayer/models/projects/test_list_response"
require_relative "openlayer/models/projects/test_update_params"
require_relative "openlayer/models/projects/test_update_response"
require_relative "openlayer/models/project_update_params"
require_relative "openlayer/models/project_update_response"
require_relative "openlayer/models/storage/presigned_url_create_params"
require_relative "openlayer/models/storage/presigned_url_create_response"
require_relative "openlayer/models/test_evaluate_params"
Expand Down
2 changes: 2 additions & 0 deletions lib/openlayer/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ module Openlayer

Projects = Openlayer::Models::Projects

ProjectUpdateParams = Openlayer::Models::ProjectUpdateParams

Storage = Openlayer::Models::Storage

TestEvaluateParams = Openlayer::Models::TestEvaluateParams
Expand Down
39 changes: 38 additions & 1 deletion lib/openlayer/models/inference_pipeline_retrieve_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -698,12 +698,37 @@ class Project < Openlayer::Internal::Type::BaseModel
enum: -> { Openlayer::Models::InferencePipelineRetrieveResponse::Project::TaskType },
api_name: :taskType

# @!attribute data_retention_days
# Number of days to retain monitoring data for this project. Null means data is
# retained indefinitely.
#
# @return [Integer, nil]
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true

# @!attribute description
# The project description.
#
# @return [String, nil]
optional :description, String, nil?: true

# @!attribute model_developer
# Who developed the model used in this project.
#
# @return [String, nil]
optional :model_developer, String, api_name: :modelDeveloper, nil?: true

# @!attribute model_types
# The kinds of model used in this project.
#
# @return [Array<String>, nil]
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true

# @!attribute purpose
# What the system in this project is intended to do.
#
# @return [String, nil]
optional :purpose, String, nil?: true

response_only do
# @!attribute id
# The project id.
Expand Down Expand Up @@ -788,7 +813,11 @@ class Project < Openlayer::Internal::Type::BaseModel
nil?: true
end

# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, description: nil, git_repo: nil)
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, data_retention_days: nil, description: nil, git_repo: nil, model_developer: nil, model_types: nil, purpose: nil)
# Some parameter documentations has been truncated, see
# {Openlayer::Models::InferencePipelineRetrieveResponse::Project} for more
# details.
#
# @param id [String] The project id.
#
# @param creator_id [String, nil] The project creator id.
Expand Down Expand Up @@ -817,9 +846,17 @@ class Project < Openlayer::Internal::Type::BaseModel
#
# @param workspace_id [String, nil] The workspace id.
#
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
#
# @param description [String, nil] The project description.
#
# @param git_repo [Openlayer::Models::InferencePipelineRetrieveResponse::Project::GitRepo, nil]
#
# @param model_developer [String, nil] Who developed the model used in this project.
#
# @param model_types [Array<String>, nil] The kinds of model used in this project.
#
# @param purpose [String, nil] What the system in this project is intended to do.

# @see Openlayer::Models::InferencePipelineRetrieveResponse::Project#links
class Links < Openlayer::Internal::Type::BaseModel
Expand Down
38 changes: 37 additions & 1 deletion lib/openlayer/models/inference_pipeline_update_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -698,12 +698,37 @@ class Project < Openlayer::Internal::Type::BaseModel
enum: -> { Openlayer::Models::InferencePipelineUpdateResponse::Project::TaskType },
api_name: :taskType

# @!attribute data_retention_days
# Number of days to retain monitoring data for this project. Null means data is
# retained indefinitely.
#
# @return [Integer, nil]
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true

# @!attribute description
# The project description.
#
# @return [String, nil]
optional :description, String, nil?: true

# @!attribute model_developer
# Who developed the model used in this project.
#
# @return [String, nil]
optional :model_developer, String, api_name: :modelDeveloper, nil?: true

# @!attribute model_types
# The kinds of model used in this project.
#
# @return [Array<String>, nil]
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true

# @!attribute purpose
# What the system in this project is intended to do.
#
# @return [String, nil]
optional :purpose, String, nil?: true

response_only do
# @!attribute id
# The project id.
Expand Down Expand Up @@ -788,7 +813,10 @@ class Project < Openlayer::Internal::Type::BaseModel
nil?: true
end

# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, description: nil, git_repo: nil)
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, data_retention_days: nil, description: nil, git_repo: nil, model_developer: nil, model_types: nil, purpose: nil)
# Some parameter documentations has been truncated, see
# {Openlayer::Models::InferencePipelineUpdateResponse::Project} for more details.
#
# @param id [String] The project id.
#
# @param creator_id [String, nil] The project creator id.
Expand Down Expand Up @@ -817,9 +845,17 @@ class Project < Openlayer::Internal::Type::BaseModel
#
# @param workspace_id [String, nil] The workspace id.
#
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
#
# @param description [String, nil] The project description.
#
# @param git_repo [Openlayer::Models::InferencePipelineUpdateResponse::Project::GitRepo, nil]
#
# @param model_developer [String, nil] Who developed the model used in this project.
#
# @param model_types [Array<String>, nil] The kinds of model used in this project.
#
# @param purpose [String, nil] What the system in this project is intended to do.

# @see Openlayer::Models::InferencePipelineUpdateResponse::Project#links
class Links < Openlayer::Internal::Type::BaseModel
Expand Down
38 changes: 37 additions & 1 deletion lib/openlayer/models/project_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,55 @@ class ProjectCreateParams < Openlayer::Internal::Type::BaseModel
# @return [Symbol, Openlayer::Models::ProjectCreateParams::TaskType]
required :task_type, enum: -> { Openlayer::ProjectCreateParams::TaskType }, api_name: :taskType

# @!attribute data_retention_days
# Number of days to retain monitoring data for this project. Null means data is
# retained indefinitely.
#
# @return [Integer, nil]
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true

# @!attribute description
# The project description.
#
# @return [String, nil]
optional :description, String, nil?: true

# @!method initialize(name:, task_type:, description: nil, request_options: {})
# @!attribute model_developer
# Who developed the model used in this project.
#
# @return [String, nil]
optional :model_developer, String, api_name: :modelDeveloper, nil?: true

# @!attribute model_types
# The kinds of model used in this project.
#
# @return [Array<String>, nil]
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true

# @!attribute purpose
# What the system in this project is intended to do.
#
# @return [String, nil]
optional :purpose, String, nil?: true

# @!method initialize(name:, task_type:, data_retention_days: nil, description: nil, model_developer: nil, model_types: nil, purpose: nil, request_options: {})
# Some parameter documentations has been truncated, see
# {Openlayer::Models::ProjectCreateParams} for more details.
#
# @param name [String] The project name.
#
# @param task_type [Symbol, Openlayer::Models::ProjectCreateParams::TaskType] The task type of the project.
#
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
#
# @param description [String, nil] The project description.
#
# @param model_developer [String, nil] Who developed the model used in this project.
#
# @param model_types [Array<String>, nil] The kinds of model used in this project.
#
# @param purpose [String, nil] What the system in this project is intended to do.
#
# @param request_options [Openlayer::RequestOptions, Hash{Symbol=>Object}]

# The task type of the project.
Expand Down
38 changes: 37 additions & 1 deletion lib/openlayer/models/project_create_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,37 @@ class ProjectCreateResponse < Openlayer::Internal::Type::BaseModel
# @return [Symbol, Openlayer::Models::ProjectCreateResponse::TaskType]
required :task_type, enum: -> { Openlayer::Models::ProjectCreateResponse::TaskType }, api_name: :taskType

# @!attribute data_retention_days
# Number of days to retain monitoring data for this project. Null means data is
# retained indefinitely.
#
# @return [Integer, nil]
optional :data_retention_days, Integer, api_name: :dataRetentionDays, nil?: true

# @!attribute description
# The project description.
#
# @return [String, nil]
optional :description, String, nil?: true

# @!attribute model_developer
# Who developed the model used in this project.
#
# @return [String, nil]
optional :model_developer, String, api_name: :modelDeveloper, nil?: true

# @!attribute model_types
# The kinds of model used in this project.
#
# @return [Array<String>, nil]
optional :model_types, Openlayer::Internal::Type::ArrayOf[String], api_name: :modelTypes, nil?: true

# @!attribute purpose
# What the system in this project is intended to do.
#
# @return [String, nil]
optional :purpose, String, nil?: true

response_only do
# @!attribute id
# The project id.
Expand Down Expand Up @@ -104,7 +129,10 @@ class ProjectCreateResponse < Openlayer::Internal::Type::BaseModel
nil?: true
end

# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, description: nil, git_repo: nil)
# @!method initialize(id:, creator_id:, date_created:, date_updated:, development_goal_count:, goal_count:, inference_pipeline_count:, links:, monitoring_goal_count:, name:, source:, task_type:, version_count:, workspace_id:, data_retention_days: nil, description: nil, git_repo: nil, model_developer: nil, model_types: nil, purpose: nil)
# Some parameter documentations has been truncated, see
# {Openlayer::Models::ProjectCreateResponse} for more details.
#
# @param id [String] The project id.
#
# @param creator_id [String, nil] The project creator id.
Expand Down Expand Up @@ -133,9 +161,17 @@ class ProjectCreateResponse < Openlayer::Internal::Type::BaseModel
#
# @param workspace_id [String, nil] The workspace id.
#
# @param data_retention_days [Integer, nil] Number of days to retain monitoring data for this project. Null means data is re
#
# @param description [String, nil] The project description.
#
# @param git_repo [Openlayer::Models::ProjectCreateResponse::GitRepo, nil]
#
# @param model_developer [String, nil] Who developed the model used in this project.
#
# @param model_types [Array<String>, nil] The kinds of model used in this project.
#
# @param purpose [String, nil] What the system in this project is intended to do.

# @see Openlayer::Models::ProjectCreateResponse#links
class Links < Openlayer::Internal::Type::BaseModel
Expand Down
Loading