We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8636c6 commit 8961153Copy full SHA for 8961153
instrumentation/anthropic/Appraisals
@@ -4,10 +4,13 @@
4
#
5
# SPDX-License-Identifier: Apache-2.0
6
7
-appraise 'anthropic-latest' do
8
- gem 'anthropic'
9
-end
+# Anthropic gem requires Ruby 3.2
+if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.2.0')
+ appraise 'anthropic-latest' do
10
+ gem 'anthropic'
11
+ end
12
-appraise 'anthropic-1.9.0' do
- gem 'anthropic', '~> 1.9.0'
13
+ appraise 'anthropic-1.9.0' do
14
+ gem 'anthropic', '~> 1.9.0'
15
16
+end
0 commit comments