lono 7.4.9 → 7.4.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e552e98666394b4573d02131de0e2e8e31707b9a2eab4f0d5abee72cc166bb4
4
- data.tar.gz: d8471da49ad51dfe39698e551d20f43f627d98b8c7661bc41484adeb60f598ed
3
+ metadata.gz: d4473eb554ddd18dc25030acd03362b4663b07b69493ed62a9f9853232397893
4
+ data.tar.gz: 1592d578018d153706d1d524bf25e1bf02c55af0110422fbe44c3ab0e1201b2b
5
5
  SHA512:
6
- metadata.gz: 383c2617d88b1ffb08dbe6f755616534ae872bf901b59a2a1412fc97161d955cd0ed3ce87679f5a8e4945d056c7b3aa5021684b6ef7dfcc366f67b569b8d2b7a
7
- data.tar.gz: '09f12a84287cbdcb76ea14d4ed7151bb87947d8503b4ed1f2b1fd26954aa49fd539813ec297ad8dc41fc574b41788195f8cdcb7d648f788ac94b7f083c9b3d53'
6
+ metadata.gz: ff146353f964d4b9b7d5ffed7a6739716ad479aeb919979237d0155d333faba3d6d88c8ddb5e8985e8f6432e55619d4a1bf423033d00716fd730e3ca3d2f7e14
7
+ data.tar.gz: e8417735c7cfbba2da5884dd85ec05cc1963047392c7540239daf4eada56b5f20154458b92a3af406df1ff217f4d918d68373c9495a7de738ea11256caf19d56
@@ -3,6 +3,9 @@
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
+ ## [7.4.10]
7
+ - #70 fix out-of-sync Gemfile.lock
8
+
6
9
  ## [7.4.9]
7
10
  - #69 `stack_output` and `stack_resource` helpers
8
11
 
@@ -90,10 +90,8 @@ class Lono::AppFile::Build::LambdaLayer
90
90
  end
91
91
 
92
92
  remove_bundled_with("#{cache_area}/Gemfile.lock")
93
-
94
- # Copy the Gemfile.lock back to the project in case it was updated.
95
- # For example we add the jets-rails to the Gemfile.
96
- copy_back_gemfile_lock
93
+ # Fixes really tricky bug where Gemfile and Gemfile.lock is out-of-sync. Details: https://gist.github.com/tongueroo/b5b0d0c924a4a1633eee514795e4b04b
94
+ FileUtils.cp("#{cache_area}/Gemfile.lock", "#{Lono.config.output_path}/#{@blueprint}/files/#{@registry_name}/Gemfile.lock")
97
95
 
98
96
  puts 'Bundle install success.'
99
97
  end
@@ -120,12 +118,6 @@ class Lono::AppFile::Build::LambdaLayer
120
118
  IO.write(gemfile_lock, content)
121
119
  end
122
120
 
123
- def copy_back_gemfile_lock
124
- src = "#{cache_area}/Gemfile.lock"
125
- dest = "#{@app_root}/Gemfile.lock"
126
- FileUtils.cp(src, dest)
127
- end
128
-
129
121
  def setup_bundle_config(dir)
130
122
  text =<<-EOL
131
123
  ---
@@ -1,3 +1,3 @@
1
1
  module Lono
2
- VERSION = "7.4.9"
2
+ VERSION = "7.4.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lono
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.4.9
4
+ version: 7.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-13 00:00:00.000000000 Z
11
+ date: 2020-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport