jets-api 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/jets/api/gems/check.rb +9 -7
- data/lib/jets/api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbe327a37df94bdc580f20e182be6a4696153f8475dbca1118d8ab29d8aac1d7
|
4
|
+
data.tar.gz: f9297a0c92d3a1bff92de4a4905e6a92495d7e0e0ae928e1ee861b98af52b44e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 176797b99ee626b13c0ce249406fbff6a873f9754c50c71f39543531e57aac3418544e86a124fa9a8b7101f8e0fac97501a26059872a59bd154530f0cc9916f6
|
7
|
+
data.tar.gz: 2ee96ca136eeaa46da9bdc90409205e7ce34a245645bc8064a12c670d9e84fe34c528657c6643a1bbd3e4de00a186f15dcf9f4d2b56aa067ce24762a10d90c1b
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [0.2.0] - 2024-01-09
|
7
|
+
- [#2](https://github.com/rubyonjets/jets-api/pull/2) improve gem check with arm aarch64-linux
|
8
|
+
|
9
|
+
## [0.1.5] - 2023-12-11
|
10
|
+
- update jets docs link
|
11
|
+
|
6
12
|
## [0.1.4] - 2023-12-11
|
7
13
|
- stack delete
|
8
14
|
|
data/lib/jets/api/gems/check.rb
CHANGED
@@ -73,7 +73,7 @@ To remedy this, you can:
|
|
73
73
|
<% end -%>
|
74
74
|
|
75
75
|
Compiled gems usually take some time to figure out how to build as they each depend on different libraries and packages.
|
76
|
-
More info:
|
76
|
+
More info: https://docs.rubyonjets.com/docs/pro/
|
77
77
|
|
78
78
|
EOL
|
79
79
|
erb = ERB.new(template, trim_mode: '-') # trim mode https://stackoverflow.com/questions/4632879/erb-template-removing-the-trailing-line
|
@@ -142,20 +142,22 @@ EOL
|
|
142
142
|
end
|
143
143
|
end
|
144
144
|
|
145
|
-
# note 2.
|
145
|
+
# note 3.2.0/gems vs 3.2.0/extensions
|
146
146
|
#
|
147
|
-
# /tmp/jets/demo/stage/opt/ruby/gems/2.
|
148
|
-
# /tmp/jets/demo/stage/opt/ruby/gems/2.
|
147
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/3.2.0/gems/nokogiri-1.16.0-x86_64-darwin/
|
148
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/3.2.0/extensions/x86_64-linux/3.2.0/
|
149
149
|
#
|
150
150
|
# Also the platform is appended to the gem folder now
|
151
151
|
#
|
152
|
-
# /tmp/jets/demo/stage/opt/ruby/gems/2.
|
153
|
-
# /tmp/jets/demo/stage/opt/ruby/gems/2.
|
152
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/3.2.0/gems/nokogiri-1.16.0-x86_64-darwin
|
153
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/3.2.0/gems/nokogiri-1.16.0-x86_64-linux
|
154
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/3.2.0/gems/nokogiri-1.16.0-arm64-darwin20
|
155
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/3.2.0/gems/nokogiri-1.16.0-aarch64-linux
|
154
156
|
#
|
155
157
|
# On new 2021 macbook with m1 chip: the gems are being saved in a folder like so:
|
156
158
|
# nokogiri-1.12.5-arm64-darwin
|
157
159
|
# The GEM_REGEXP accounts for this case.
|
158
|
-
GEM_REGEXP = /-(arm|x)\d+.*-(darwin|linux)/
|
160
|
+
GEM_REGEXP = /-(arm|x|aarch)\d+.*-(darwin|linux)/
|
159
161
|
def other_compiled_gems
|
160
162
|
paths = Dir.glob("#{Jets.build_root}/stage/opt/ruby/gems/#{Jets::Api::Gems.ruby_folder}/gems/*{-darwin,-linux}")
|
161
163
|
paths.map { |p| File.basename(p).sub(GEM_REGEXP,'') }
|
data/lib/jets/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jets-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
requirements: []
|
63
|
-
rubygems_version: 3.4
|
63
|
+
rubygems_version: 3.5.4
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: Jets API Client Library for Jets Ruby Serverless Framework
|