luban 0.10.2 → 0.10.3
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55aba9574e332f5a608c7176ec441d73fd4e03f4
|
|
4
|
+
data.tar.gz: 547945f3dc755960590af2589663b75412a8ad94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1c6d8e7f8edf67288c2198462beb0d255712aefe04c0c8dc799ac42794cc2ffe46796dbd96d596799d8bb7cdde716e9007fbfde6ffd5520afd528fb5b6f8563
|
|
7
|
+
data.tar.gz: a2977dfa28743cf5049367e04cd9af8022a0be5616375a77b0d659d51e529a9599f82a9c1640c853d4102b24f76fecafff7c708601e5d7949d1a0a46eae195d0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
-
## Version 0.10.
|
|
3
|
+
## Version 0.10.3 (Nov 22, 2016)
|
|
4
4
|
|
|
5
5
|
Minor enhancements:
|
|
6
6
|
* Upgraded Bundler for Ruby to version 0.13.6
|
|
7
7
|
* Removed bundle install during deployment project bootstrap
|
|
8
8
|
* Falled back to use "bundle install" which is a more persistent/general practice
|
|
9
|
+
* Ensured shell out bundler commands to setup application gems dependencies
|
|
10
|
+
* Luban deployment project also uses Bundler to manage its gems dependencies, therefore
|
|
11
|
+
* Used with_clean_env to invoke application level bundler commands
|
|
9
12
|
|
|
10
13
|
Bug fixes:
|
|
11
14
|
* Properly convert require path to string when loading luban package
|
|
@@ -163,7 +163,11 @@ module Luban
|
|
|
163
163
|
assure_dirs(bundle_config_path, gems_cache_path, bundle_path)
|
|
164
164
|
sync_gems_cache
|
|
165
165
|
sync_locked_gemfile
|
|
166
|
-
|
|
166
|
+
if defined?(Bundler)
|
|
167
|
+
Bundler.with_clean_env { install_gems_from_cache }
|
|
168
|
+
else
|
|
169
|
+
install_gems_from_cache
|
|
170
|
+
end
|
|
167
171
|
end
|
|
168
172
|
|
|
169
173
|
def sync_gems_cache
|
|
@@ -184,7 +184,13 @@ module Luban
|
|
|
184
184
|
bundle_path = Pathname.new('vendor').join('bundle')
|
|
185
185
|
if release_with_gemfile?(gemfile_path)
|
|
186
186
|
assure_dirs(gems_path)
|
|
187
|
-
|
|
187
|
+
if defined?(Bundler)
|
|
188
|
+
Bundler.with_clean_env do
|
|
189
|
+
bundle_gems!(gemfile_path, gems_cache, bundle_path)
|
|
190
|
+
end
|
|
191
|
+
else
|
|
192
|
+
bundle_gems!(gemfile_path, gems_cache, bundle_path)
|
|
193
|
+
end
|
|
188
194
|
else
|
|
189
195
|
{}
|
|
190
196
|
end
|