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
4 changes: 2 additions & 2 deletions lib/requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_url(request_options: nil, environment:)
end
# @return [Hash{String => String}]
def get_headers
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.0' }
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '0.3.3' }
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
headers
end
Expand Down Expand Up @@ -107,7 +107,7 @@ def get_url(request_options: nil, environment:)
end
# @return [Hash{String => String}]
def get_headers
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.0' }
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '0.3.3' }
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
headers
end
Expand Down
2 changes: 1 addition & 1 deletion vellum_ai.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require_relative "lib/gemconfig"

Gem::Specification.new do | spec |
spec.name = "vellum_ai"
spec.version = "1.10.0"
spec.version = "0.3.3"
spec.licenses = ["MIT"]
Comment on lines 13 to 15

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge Avoid regressing gem version from 1.10.0 to 0.3.3

The regeneration drops spec.version to "0.3.3" (and the request headers were changed to the same value) even though the previous commit on main released version 1.10.0. Publishing or tagging a lower semantic version breaks monotonic versioning: RubyGems will treat 0.3.3 as an older release, clients pinned to ~>1.10 will never receive this update, and releasing a lower version after a higher one may be rejected. Unless the intent is a brand‑new, pre‑1.0 line, the version should continue forward from 1.10.x rather than jumping back to 0.x.

Useful? React with 👍 / 👎.

spec.authors = Vellum::Gemconfig::AUTHORS
spec.email = Vellum::Gemconfig::EMAIL
Expand Down