serverlessgems 0.1.0 → 0.1.1
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 +19 -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: 6756e479ba86b9b25e086d1779911039ce33279054f0ecc968174195dd0a20b5
|
4
|
+
data.tar.gz: 6d447ad46909e821ead5bc87d8099783503f73b7635883b4699fcac945581711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b606e3d673fc0bceb0edfeac4010559714126cb1edf1506ce761dba5a7a88558a3a623e7cae94f591901aac00f01abd480a770a191ba6346e8ac740e30e21fb
|
7
|
+
data.tar.gz: c35c1a8617de78772a415bed0c98ac52f94592b55848b1a0ba11cda0c746602e0b1f58cc471449ae17faf552d0835c3f440a4ab4331869ccc475ff0e810f532b
|
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.1] - 2021-01-12
|
7
|
+
- [#1](https://github.com/boltops-tools/serverlessgems/pull/1) fix native gem detection
|
8
|
+
|
6
9
|
## [0.1.0]
|
7
10
|
- Initial release
|
8
11
|
- Rename to serverlessgems
|
data/lib/jets/gems/check.rb
CHANGED
@@ -131,10 +131,27 @@ EOL
|
|
131
131
|
# jets deploy
|
132
132
|
# jets gems:check
|
133
133
|
#
|
134
|
-
gemspec_compiled_gems
|
134
|
+
gems = gemspec_compiled_gems
|
135
|
+
gems += other_compiled_gems
|
136
|
+
gems.uniq
|
135
137
|
end
|
136
138
|
end
|
137
139
|
|
140
|
+
# note 2.7.0/gems vs 2.7.0/extensions
|
141
|
+
#
|
142
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/2.7.0/gems/nokogiri-1.11.1-x86_64-darwin/
|
143
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/
|
144
|
+
#
|
145
|
+
# Also the platform is appended to the gem folder now
|
146
|
+
#
|
147
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/2.7.0/gems/nokogiri-1.11.1-x86_64-darwin
|
148
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/2.7.0/gems/nokogiri-1.11.1-x86_64-linux
|
149
|
+
#
|
150
|
+
def other_compiled_gems
|
151
|
+
paths = Dir.glob("/tmp/jets/demo/stage/opt/ruby/gems/#{Jets::Gems.ruby_folder}/gems/*{-darwin,-linux}")
|
152
|
+
paths.map { |p| File.basename(p).sub(/-x\d+.*-(darwin|linux)/,'') }
|
153
|
+
end
|
154
|
+
|
138
155
|
# Use pre-compiled gem because the gem could have development header shared
|
139
156
|
# object file dependencies. The shared dependencies are packaged up as part
|
140
157
|
# of the pre-compiled gem so it is available in the Lambda execution environment.
|
@@ -189,4 +206,4 @@ EOL
|
|
189
206
|
output.include?("has been deleted")
|
190
207
|
end
|
191
208
|
end
|
192
|
-
end
|
209
|
+
end
|
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.1
|
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-01-
|
11
|
+
date: 2021-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gems
|
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
148
|
+
rubygems_version: 3.2.5
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: Client Library works with Serverless Gems API for Jets Ruby Serverless Framework
|