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.11.14' }
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.11.14' }
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.11.14"
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.

P1 Badge Avoid downgrading released gem version

The gemspec now sets spec.version to 0.3.3, but the previous release was 1.11.14; publishing this regeneration under a lower semver means bundler users will continue to resolve 1.11.x as the newest version, so they will never receive the regenerated SDK and the X-Fern-SDK-Version header added in this commit will not match the installed package. Version numbers should move forward from 1.11.14 instead of dropping to 0.3.3.

Useful? React with 👍 / 👎.

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