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.11' }
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.11' }
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
8 changes: 8 additions & 0 deletions lib/vellum_ai/types/integration_name.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ module Vellum
# * `DISCORD` - Discord
# * `DOCUSIGN` - DocuSign
# * `TRELLO` - Trello
# * `HEYREACH` - HeyReach
# * `ACTIVE_CAMPAIGN` - Active Campaign
# * `CUSTOMER_IO` - Customer.io
# * `SEGMENT` - Segment
class IntegrationName

SLACK = "SLACK"
Expand Down Expand Up @@ -183,6 +187,10 @@ class IntegrationName
DISCORD = "DISCORD"
DOCUSIGN = "DOCUSIGN"
TRELLO = "TRELLO"
HEYREACH = "HEYREACH"
ACTIVE_CAMPAIGN = "ACTIVE_CAMPAIGN"
CUSTOMER_IO = "CUSTOMER_IO"
SEGMENT = "SEGMENT"

end
end
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.11"
spec.version = "0.3.3"

Choose a reason for hiding this comment

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

P1 Badge Avoid reverting gem version to 0.3.3

The commit drops the gem’s version to 0.3.3 even though the parent release (1228a96) was 1.11.11; releasing from this branch would regress the semantic version so Bundler will continue to choose the already published 1.11.x builds and the regenerated code (including new integrations) won’t reach consumers, while request headers would also report the downgraded version. Please keep the SDK version moving forward for the next release.

Useful? React with 👍 / 👎.

spec.licenses = ["MIT"]
spec.authors = Vellum::Gemconfig::AUTHORS
spec.email = Vellum::Gemconfig::EMAIL
Expand Down