jets-gems 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +3 -0
- data/lib/jets/gems/check.rb +20 -1
- data/lib/jets/gems/version.rb +1 -1
- metadata +3 -4
- data/Gemfile.lock +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad6e3bcbd02a888df504258d85b4614b266d1545b002dd479528a2be5aa263b9
|
4
|
+
data.tar.gz: c8577d0dc97c64dfad4ffecc047a8b0ea2830820bb46176c147f6d7909df3051
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb2301e328ee65a11a602c133e8f9619aa30df5ada4c36b8125563ce05c9ff5f023a897ccbd58ce8ae63a913130c42c81ac48e3f7645ec8ad5fdac21e31cd82c
|
7
|
+
data.tar.gz: 3b3b88d52bd31f4db9660c807a0bebfd580b5331aaddb085ac973fd03a11f80253838fd81da50fdd8d00c98a9d4298e87743c2adc662dae39690a6a59164b994
|
data/.gitignore
CHANGED
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.2.3] - 2021-01-28
|
7
|
+
- [#4](https://github.com/tongueroo/jets-gems/pull/4) fix gem detection
|
8
|
+
|
6
9
|
## [0.2.2]
|
7
10
|
- #3 fix for afterburner mode, change option to use_gemspec
|
8
11
|
|
data/lib/jets/gems/check.rb
CHANGED
@@ -149,10 +149,29 @@ EOL
|
|
149
149
|
# jets deploy
|
150
150
|
# jets gems:check
|
151
151
|
#
|
152
|
-
gemspec_compiled_gems
|
152
|
+
gems = gemspec_compiled_gems
|
153
|
+
gems += other_compiled_gems
|
154
|
+
gems.uniq
|
153
155
|
end
|
154
156
|
end
|
155
157
|
|
158
|
+
# note 2.5.0/gems vs 2.5.0/extensions
|
159
|
+
#
|
160
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/2.5.0/gems/nokogiri-1.11.1-x86_64-darwin/
|
161
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0/
|
162
|
+
#
|
163
|
+
# Also the platform is appended to the gem folder now
|
164
|
+
#
|
165
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/2.5.0/gems/nokogiri-1.11.1-x86_64-darwin
|
166
|
+
# /tmp/jets/demo/stage/opt/ruby/gems/2.5.0/gems/nokogiri-1.11.1-x86_64-linux
|
167
|
+
#
|
168
|
+
def other_compiled_gems
|
169
|
+
paths = Dir.glob("#{Jets.build_root}/stage/opt/ruby/gems/#{Jets::Gems.ruby_folder}/gems/*{-darwin,-linux}")
|
170
|
+
paths.map { |p| File.basename(p).sub(/-x\d+.*-(darwin|linux)/,'') }
|
171
|
+
end
|
172
|
+
|
173
|
+
|
174
|
+
|
156
175
|
# Use pre-compiled gem because the gem could have development header shared
|
157
176
|
# object file dependencies. The shared dependencies are packaged up as part
|
158
177
|
# of the pre-compiled gem so it is available in the Lambda execution environment.
|
data/lib/jets/gems/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jets-gems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
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: 2021-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gems
|
@@ -78,7 +78,6 @@ files:
|
|
78
78
|
- ".travis.yml"
|
79
79
|
- CHANGELOG.md
|
80
80
|
- Gemfile
|
81
|
-
- Gemfile.lock
|
82
81
|
- LICENSE.txt
|
83
82
|
- README.md
|
84
83
|
- Rakefile
|
@@ -115,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
114
|
- !ruby/object:Gem::Version
|
116
115
|
version: '0'
|
117
116
|
requirements: []
|
118
|
-
rubygems_version: 3.
|
117
|
+
rubygems_version: 3.2.5
|
119
118
|
signing_key:
|
120
119
|
specification_version: 4
|
121
120
|
summary: Library manages pre-compiled Lambda Gems for Jets Ruby Serverless Framework
|
data/Gemfile.lock
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
jets-gems (0.1.0)
|
5
|
-
gems
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
diff-lcs (1.3)
|
11
|
-
gems (1.1.1)
|
12
|
-
json
|
13
|
-
json (2.2.0)
|
14
|
-
rake (10.5.0)
|
15
|
-
rspec (3.8.0)
|
16
|
-
rspec-core (~> 3.8.0)
|
17
|
-
rspec-expectations (~> 3.8.0)
|
18
|
-
rspec-mocks (~> 3.8.0)
|
19
|
-
rspec-core (3.8.2)
|
20
|
-
rspec-support (~> 3.8.0)
|
21
|
-
rspec-expectations (3.8.4)
|
22
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
23
|
-
rspec-support (~> 3.8.0)
|
24
|
-
rspec-mocks (3.8.1)
|
25
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
26
|
-
rspec-support (~> 3.8.0)
|
27
|
-
rspec-support (3.8.2)
|
28
|
-
|
29
|
-
PLATFORMS
|
30
|
-
ruby
|
31
|
-
|
32
|
-
DEPENDENCIES
|
33
|
-
bundler
|
34
|
-
jets-gems!
|
35
|
-
rake (~> 10.0)
|
36
|
-
rspec (~> 3.0)
|
37
|
-
|
38
|
-
BUNDLED WITH
|
39
|
-
2.0.2
|