jets 3.0.22 → 3.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/jets/builders/ruby_packager.rb +17 -8
- data/lib/jets/version.rb +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: a02adce73b38c44ec15f546538285e9797f544bdf6abe1301bfd97369c2d5cec
|
4
|
+
data.tar.gz: de64b60cfcc68e6af7b37f2c35ebd404c7d038dee00adb2f03f67c1a2d408ee0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e95182926df309068f600c5179a0ea327884ba412b374490ae19130dd44b2dfdf4b4d1106e8527150cf05722e5b17df876d4ecf92ebcae252ad363748d6608
|
7
|
+
data.tar.gz: 12a73a2866479ab9e76466d7577a04cb319697f62441f90b86609f9f6567d48bd857fbaca1e8a3958ad0c9979e78da91b2e9afd82994e99f0e962c60faf4bfc4
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## [3.0.23] - 2021-12-14
|
7
|
+
- [#610](https://github.com/boltops-tools/jets/pull/610) Rewrite PLATFORMS section to specify Ruby only
|
8
|
+
- [#611](https://github.com/boltops-tools/jets/pull/611) Update ruby_packager.rb
|
9
|
+
|
6
10
|
## [3.0.22] - 2021-10-26
|
7
11
|
- [#607](https://github.com/boltops-tools/jets/pull/607) Job serialize - Revert "Fix job params serialization"
|
8
12
|
|
@@ -3,7 +3,9 @@ require "bundler" # for clean_old_submodules only
|
|
3
3
|
module Jets::Builders
|
4
4
|
class RubyPackager
|
5
5
|
include Util
|
6
|
-
|
6
|
+
|
7
|
+
GEM_REGEXP = /-(arm|x)\d+.*-(darwin|linux)/
|
8
|
+
|
7
9
|
attr_reader :full_app_root
|
8
10
|
def initialize(relative_app_root)
|
9
11
|
@full_app_root = "#{build_area}/#{relative_app_root}"
|
@@ -169,21 +171,28 @@ module Jets::Builders
|
|
169
171
|
# Replace things like nokogiri (1.11.1-x86_64-darwin) => nokogiri (1.11.1)
|
170
172
|
lines, new_lines = new_lines, []
|
171
173
|
lines.each do |l|
|
172
|
-
|
173
|
-
l = l.sub('-x86_64-darwin','')
|
174
|
-
end
|
174
|
+
l.sub!(GEM_REGEXP, '') if l =~ GEM_REGEXP
|
175
175
|
new_lines << l
|
176
176
|
end
|
177
177
|
|
178
178
|
# Make sure platform is ruby
|
179
|
-
lines, new_lines,
|
179
|
+
lines, new_lines, in_platforms_section, platforms_rewritten = new_lines, [], false, false
|
180
180
|
lines.each do |l|
|
181
|
-
if
|
181
|
+
if in_platforms_section && platforms_rewritten # once PLATFORMS has been found, skip all lines until the next section
|
182
|
+
if l.present?
|
183
|
+
next
|
184
|
+
else
|
185
|
+
in_platforms_section = false
|
186
|
+
end
|
187
|
+
end
|
188
|
+
|
189
|
+
if in_platforms_section && !platforms_rewritten # specify ruby as the only platform
|
182
190
|
new_lines << " ruby\n"
|
183
|
-
|
191
|
+
platforms_rewritten = true
|
184
192
|
next
|
185
193
|
end
|
186
|
-
|
194
|
+
|
195
|
+
in_platforms_section = l.include?('PLATFORMS')
|
187
196
|
new_lines << l
|
188
197
|
end
|
189
198
|
|
data/lib/jets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|