luban 0.7.14 → 0.7.15

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
  SHA1:
3
- metadata.gz: c8705574f5dd90fa9aeb2abfccca62ba8265888c
4
- data.tar.gz: 941c5a77e586b223dca0f4b3b2125ca6c605e8ca
3
+ metadata.gz: 79e1f167e693836da903a95a79e5ccf3d4019c40
4
+ data.tar.gz: cdd786aa212e17818ae3107ebc9382697a343972
5
5
  SHA512:
6
- metadata.gz: 001743da2f85e5a6ac9512cefa2597090e2308b8598413420171e34f5325d4c458220dfcdbf6ed37634e85a249d3989183e38b4c3b19e1e0e81082c342eaff87
7
- data.tar.gz: fe628c4325aab213092b8615fd4afbaf565d12e37d1b89272eb3172d855e445ebf28190f4680bbfb31c2674a5b23a4ff1588621309f599926097752d8aa50338
6
+ metadata.gz: 23d244aff4a62075d23589325b9510e776f76bc38c1d1e26f99b2a98825a4a67bd0719513ec35d1926a8b4de8fd6c94781efa57f19ea140dec6cbade52d20be8
7
+ data.tar.gz: 205dd39de95af822c32fa50b635a95d360a5d16e3f0d077b487cdd095349af6b8f5e67b0e52767dca37e5ba469392383d3cce876e442d01255f78735d972d9c9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.7.15 (Sept 07, 2016)
4
+
5
+ Minor enhancements:
6
+ * During app packaging, extracted vendor/gems from the source code if any along with Gemfile/Gemfile.lock
7
+
3
8
  ## Version 0.7.14 (Sept 06, 2016)
4
9
 
5
10
  Minor enhancements:
@@ -169,7 +169,8 @@ module Luban
169
169
  gems = bundled_gems[:gems] = {}
170
170
  if test(:tar, "-tzf #{release_package_path} #{gemfile_path} > /dev/null 2>&1")
171
171
  within(workspace_path) do
172
- execute(:tar, "--strip-components=1 -xzf #{release_package_path} #{gemfile_path} #{gemfile_path}.lock > /dev/null 2>&1; true")
172
+ paths_to_extract = [gemfile_path, "#{gemfile_path}.lock", "#{release_tag}/vendor/gems"]
173
+ execute(:tar, "--strip-components=1 -xzf #{release_package_path} #{paths_to_extract.join(' ')} > /dev/null 2>&1; true")
173
174
  options = []
174
175
  options << "--path #{bundle_path}"
175
176
  unless test(:bundle, :check, *options)
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.7.14"
3
+ VERSION = "0.7.15"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.14
4
+ version: 0.7.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Lei