tebako 0.5.8 → 0.5.9
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: 59a1195e4e4fb6fe044a05a589fdc3bf89c89d8690d3fae9dd246259033121d9
|
4
|
+
data.tar.gz: f0273f7f756cfce8d478345a4f1d44d9cfde87c54d2fdb2409d976bf00f28b4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac1431bd882c00533b36d42b157cad50824d07b5fe07fda25e433afdcb638589d7dc33464f571d29f50933f79dadb0624f4875919e81264051790cebfb1e8f3
|
7
|
+
data.tar.gz: de8019ef36513b2b89af5274ce16c2054efd22399be3ba6c5fd7ea4d253160a572dd6e4650eec7aeabb34deab2f8d6ec124f2f3539e094f2bdc57e3821c67ad2
|
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.9
|
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.9
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|