tebako 0.5.8 → 0.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tebako/packager.rb +5 -7
- data/lib/tebako/version.rb +1 -1
- data/version.txt +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77e4913595da22e7cf3cec854ec7c38f471df15a5033c7ddd809ab9c95d4b75b
|
4
|
+
data.tar.gz: a86ca3c7d95deeaf9e15778fe5bf60d1d17a8ab19704a3c46e90c21ee5d45dbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f7ccd20fe1f5d886ebb3a5cf32bd1fe7dad8b4b7c5887e8f3b9aabcaa4cbaff0fb5cf8d6cd352a6722bc110a97cdb975c9a0b8e9852d29a6403e86ebf7866f8
|
7
|
+
data.tar.gz: 4614e7c96ba3ae73e6810ca581ac5a65f566b5f43f605edaff0d4fa89a32506c7a808ed4c3e329f2964dbe223c632b3e8e8653e01cfba125245c9845d05103be
|
data/lib/tebako/packager.rb
CHANGED
@@ -64,8 +64,8 @@ module Tebako
|
|
64
64
|
}.freeze
|
65
65
|
|
66
66
|
# Magic version numbers used to ensure compatibility for Ruby 2.7.x, 3.0.x
|
67
|
-
# These are the minimal versions required to provide linux-gnu / linux-musl
|
68
|
-
# Ruby 3.1+ default
|
67
|
+
# These are the minimal versions required to provide linux-gnu / linux-musl differentiation by bundler
|
68
|
+
# Ruby 3.1+ default rubygems versions work correctly out of the box
|
69
69
|
BUNDLER_VERSION = "2.4.22"
|
70
70
|
RUBYGEMS_VERSION = "3.4.22"
|
71
71
|
|
@@ -75,12 +75,12 @@ module Tebako
|
|
75
75
|
puts "-- Running deploy script"
|
76
76
|
|
77
77
|
ruby_ver = ruby_version(tbd)
|
78
|
-
update_rubygems(tbd, "#{src_dir}/lib", ruby_ver, RUBYGEMS_VERSION)
|
78
|
+
update_rubygems(tbd, "#{src_dir}/lib", ruby_ver, RUBYGEMS_VERSION) unless PatchHelpers.ruby31?(ruby_ver)
|
79
79
|
install_gem tbd, "tebako-runtime"
|
80
|
-
install_gem
|
80
|
+
install_gem(tbd, "bundler", BUNDLER_VERSION) if gflength.to_i != 0
|
81
81
|
end
|
82
82
|
|
83
|
-
#
|
83
|
+
# Init
|
84
84
|
def init(stash_dir, src_dir, pre_dir, bin_dir)
|
85
85
|
puts "-- Running init script"
|
86
86
|
|
@@ -162,8 +162,6 @@ module Tebako
|
|
162
162
|
end
|
163
163
|
|
164
164
|
def update_rubygems(tbd, tld, ruby_ver, gem_ver)
|
165
|
-
return if PatchHelpers.ruby31?(ruby_ver)
|
166
|
-
|
167
165
|
puts " ... updating rubygems to #{gem_ver}"
|
168
166
|
PatchHelpers.with_env(DEPLOY_ENV) do
|
169
167
|
out, st = Open3.capture2e("#{tbd}/gem", "update", "--no-doc", "--system", gem_ver.to_s)
|
data/lib/tebako/version.rb
CHANGED
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.10
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tebako
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|