jets 1.5.7 → 1.5.8
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 +3 -0
- data/Gemfile.lock +4 -4
- data/lib/jets/builders/ruby_packager.rb +17 -3
- 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: b16fdda8f9d3b23fef1ddb01e93895c808cb20f6be85103ec92c775cb773e842
|
4
|
+
data.tar.gz: 896545b8ffa84657c350eae2beddcf1a8680eeabd900c2c2676f1fb56cca5751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c5b2f93a55ab1d2be058f0ee83a9b2e9f15c790f962b75c6db213afcfba7f8cfe8951992afdf522b05311e66ce0ec95b60de14cd0d0a1e87c00c91c97c1d48e
|
7
|
+
data.tar.gz: 973c23716337adea84b5ca17661f23c56b721d58c79550c4ec282d2c739157d67f13faf57575d5f7a26e49cc1724ce3f3f1bc84db1befbaf9b0115388111e05f
|
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/), even before v1.0.
|
5
5
|
|
6
|
+
## [1.5.8]
|
7
|
+
- #155 remove BUNDLED WITH from Gemfile.lock to fix newly released bundler issue
|
8
|
+
|
6
9
|
## [1.5.7]
|
7
10
|
- Fix prepend_* callbacks: These could modify a global callback array if used first
|
8
11
|
|
data/Gemfile.lock
CHANGED
@@ -11,7 +11,7 @@ GIT
|
|
11
11
|
PATH
|
12
12
|
remote: .
|
13
13
|
specs:
|
14
|
-
jets (1.5.
|
14
|
+
jets (1.5.8)
|
15
15
|
activerecord (>= 5.2.1)
|
16
16
|
activesupport (>= 5.2.1)
|
17
17
|
aws-sdk-apigateway
|
@@ -66,7 +66,7 @@ GEM
|
|
66
66
|
tzinfo (~> 1.1)
|
67
67
|
arel (9.0.0)
|
68
68
|
aws-eventstream (1.0.1)
|
69
|
-
aws-partitions (1.
|
69
|
+
aws-partitions (1.132.0)
|
70
70
|
aws-sdk-apigateway (1.23.0)
|
71
71
|
aws-sdk-core (~> 3, >= 3.39.0)
|
72
72
|
aws-sigv4 (~> 1.0)
|
@@ -76,12 +76,12 @@ GEM
|
|
76
76
|
aws-sdk-cloudwatchlogs (1.12.0)
|
77
77
|
aws-sdk-core (~> 3, >= 3.39.0)
|
78
78
|
aws-sigv4 (~> 1.0)
|
79
|
-
aws-sdk-core (3.
|
79
|
+
aws-sdk-core (3.46.0)
|
80
80
|
aws-eventstream (~> 1.0)
|
81
81
|
aws-partitions (~> 1.0)
|
82
82
|
aws-sigv4 (~> 1.0)
|
83
83
|
jmespath (~> 1.0)
|
84
|
-
aws-sdk-dynamodb (1.
|
84
|
+
aws-sdk-dynamodb (1.20.0)
|
85
85
|
aws-sdk-core (~> 3, >= 3.39.0)
|
86
86
|
aws-sigv4 (~> 1.0)
|
87
87
|
aws-sdk-kms (1.13.0)
|
@@ -60,12 +60,12 @@ class Jets::Builders
|
|
60
60
|
|
61
61
|
# Copy the Gemfile.lock back to the project in case it was updated.
|
62
62
|
# For example we add the jets-rails to the Gemfile.
|
63
|
-
|
63
|
+
copy_back_gemfile_lock
|
64
64
|
|
65
65
|
puts 'Bundle install success.'
|
66
66
|
end
|
67
67
|
|
68
|
-
def
|
68
|
+
def copy_back_gemfile_lock
|
69
69
|
src = "#{cache_area}/Gemfile.lock"
|
70
70
|
dest = "#{@full_app_root}/Gemfile.lock"
|
71
71
|
FileUtils.cp(src, dest)
|
@@ -130,7 +130,21 @@ class Jets::Builders
|
|
130
130
|
FileUtils.cp("#{full_project_path}/Gemfile", "#{cache_area}/Gemfile")
|
131
131
|
|
132
132
|
gemfile_lock = "#{full_project_path}/Gemfile.lock"
|
133
|
-
|
133
|
+
dest = "#{cache_area}/Gemfile.lock"
|
134
|
+
FileUtils.cp(gemfile_lock, dest) if File.exist?(gemfile_lock)
|
135
|
+
adjust_gemfile_lock(dest)
|
136
|
+
end
|
137
|
+
|
138
|
+
# Remove the BUNDLED WITH line since we don't control the bundler gem version on AWS Lambda
|
139
|
+
# And this can cause issues with require 'bundler/setup'
|
140
|
+
def adjust_gemfile_lock(path)
|
141
|
+
lines = IO.readlines(path)
|
142
|
+
n = lines.index { |l| l.include?("BUNDLED WITH") }
|
143
|
+
return unless n
|
144
|
+
|
145
|
+
new_lines = lines[0..n-1]
|
146
|
+
content = new_lines.join('')
|
147
|
+
IO.write(path, content)
|
134
148
|
end
|
135
149
|
|
136
150
|
def setup_bundle_config
|
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: 1.5.
|
4
|
+
version: 1.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|