File tree Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,8 @@ jobs:
546
546
fail-fast : false
547
547
matrix :
548
548
server :
549
- - 7.2.4
549
+ - 7.6.1
550
+ - 7.2.5
550
551
- 7.1.6
551
552
- 7.0.5
552
553
steps :
Original file line number Diff line number Diff line change 7
7
- rubocop-thread_safety
8
8
9
9
AllCops :
10
- TargetRubyVersion : 3.0
10
+ TargetRubyVersion : 3.1
11
11
NewCops : enable
12
12
SuggestExtensions : false
13
13
Exclude :
@@ -49,4 +49,3 @@ Style/TrailingCommaInHashLiteral:
49
49
50
50
Layout/FirstHashElementIndentation :
51
51
EnforcedStyle : consistent
52
-
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ echo "CONTAINER_TAG=${CONTAINER_TAG}"
22
22
echo " JENKINS_SLAVE_LABELS=${JENKINS_SLAVE_LABELS} "
23
23
echo " NODE_LABELS=${NODE_LABELS} "
24
24
25
- SUPPORTED_RUBY_VERSIONS=" 3.3 3.2 3.1 3.0 "
25
+ SUPPORTED_RUBY_VERSIONS=" 3.3 3.2 3.1"
26
26
CMAKE_VERSION=3.28.1
27
27
if [ -d " ${HOME} /.cmake-${CMAKE_VERSION} /bin" ]
28
28
then
Original file line number Diff line number Diff line change @@ -92,13 +92,17 @@ def repackage(gemspec)
92
92
93
93
# adjust platform
94
94
gemspec . platform = Gem ::Platform ::CURRENT
95
- gemspec . required_ruby_version = "> 3.0"
95
+ if RUBY_PLATFORM . include? ( 'darwin' )
96
+ gemspec . platform . version = nil
97
+ gemspec . original_platform = gemspec . platform
98
+ end
99
+ gemspec . required_ruby_version = "> 3.1"
96
100
97
101
# build new gem
98
102
output_gem = nil
99
103
100
104
Dir . chdir gemspec . full_gem_path do
101
- output_gem = Gem ::Package . build ( gemspec )
105
+ output_gem = Gem ::Package . build ( gemspec , true )
102
106
end
103
107
104
108
abort "There was a problem building the gem." unless output_gem
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
spec . description = "Modern SDK for Couchbase Server"
26
26
spec . homepage = "https://www.couchbase.com"
27
27
spec . license = "Apache-2.0"
28
- spec . required_ruby_version = "> 3.0 "
28
+ spec . required_ruby_version = "> 3.1 "
29
29
30
30
spec . metadata = {
31
31
"homepage_uri" => "https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html" ,
You can’t perform that action at this time.
0 commit comments