serverlessgems 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/jets/gems/check.rb +6 -2
- data/lib/jets/gems/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: 74e84f29a566951ffcc259be3bdf1e10421a5eb86528089fc0ff4f5805f52e8d
|
4
|
+
data.tar.gz: c3497fbf6fd4a7169bf29b7319599a43c59b3e6cc69d2b4a9ddd98e1bba395b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf4a3db72832ca353ea6fbe74d7e819e7631e88121d209efb1b1c645f56e520538323d480d289de5df861ddc22dd0bcc583214df6a261c6e5bf82664cbbaac13
|
7
|
+
data.tar.gz: 9d6d8d4669d7e7659a3b2ea6add218b963cd3160361ff6c5cf1b58699d0b5a069073364f9b959c1b4f9c23b7634c7178f85ea2ca4f05816651d59dbb6cda0e11
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
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
|
+
## [0.1.6] - 2021-11-11
|
7
|
+
- [#5](https://github.com/boltops-tools/serverlessgems/pull/5) fix gem regexp detection for 2021 macbook m1 chip
|
8
|
+
|
6
9
|
## [0.1.5] - 2021-08-31
|
7
10
|
- [#4](https://github.com/boltops-tools/serverlessgems/pull/4) Don't create a file if the download fails
|
8
11
|
|
data/lib/jets/gems/check.rb
CHANGED
@@ -148,9 +148,13 @@ EOL
|
|
148
148
|
# /tmp/jets/demo/stage/opt/ruby/gems/2.7.0/gems/nokogiri-1.11.1-x86_64-darwin
|
149
149
|
# /tmp/jets/demo/stage/opt/ruby/gems/2.7.0/gems/nokogiri-1.11.1-x86_64-linux
|
150
150
|
#
|
151
|
+
# On new 2021 macbook with m1 chip: the gems are being saved in a folder like so:
|
152
|
+
# nokogiri-1.12.5-arm64-darwin
|
153
|
+
# The GEM_REGEXP accounts for this case.
|
154
|
+
GEM_REGEXP = /-(arm|x)\d+.*-(darwin|linux)/
|
151
155
|
def other_compiled_gems
|
152
156
|
paths = Dir.glob("#{Jets.build_root}/stage/opt/ruby/gems/#{Jets::Gems.ruby_folder}/gems/*{-darwin,-linux}")
|
153
|
-
paths.map { |p| File.basename(p).sub(
|
157
|
+
paths.map { |p| File.basename(p).sub(GEM_REGEXP,'') }
|
154
158
|
end
|
155
159
|
|
156
160
|
def registered_compiled_gems
|
@@ -158,7 +162,7 @@ EOL
|
|
158
162
|
registered_gems = registered.all # no version numbers in this list
|
159
163
|
|
160
164
|
paths = Dir.glob("#{Jets.build_root}/stage/opt/ruby/gems/#{Jets::Gems.ruby_folder}/gems/*")
|
161
|
-
project_gems = paths.map { |p| File.basename(p).sub(
|
165
|
+
project_gems = paths.map { |p| File.basename(p).sub(GEM_REGEXP,'') }
|
162
166
|
project_gems.select do |name|
|
163
167
|
name_only = name.sub(/-\d+\.\d+\.\d+.*/,'')
|
164
168
|
registered_gems.include?(name_only)
|
data/lib/jets/gems/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverlessgems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
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-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gems
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
149
|
+
rubygems_version: 3.1.6
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Client Library works with Serverless Gems API for Jets Ruby Serverless Framework
|