luban 0.6.8 → 0.6.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/luban/deployment/cli/application/publisher.rb +3 -1
- data/lib/luban/deployment/cli/application/repository.rb +8 -2
- data/lib/luban/deployment/helpers/generator.rb +1 -1
- data/lib/luban/deployment/templates/project/Lubanfile.rb.erb +2 -1
- data/lib/luban/deployment/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcaab3a6f85c7700a2a3591f4964bc6588e1d341
|
4
|
+
data.tar.gz: d4d4038ffdf658f4a50bfcf796a5bec5aa23efe2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90d73c8299cd2c2197ed996532f859d3728a6cfa1f1ef8c099367adfe29ad4b50cb4f63d212b73cd66e1d774c2a4326e53185a18d6fcffe7c0126e6454d611bb
|
7
|
+
data.tar.gz: e17cb7ffc3fe8658d73d2cdadf3d06de1cc016056d9f27170614c11261d7ee7f43bc5d0c95aa3a9ff18bbd448c3b8cb3afbb9b180ce680f7ba9f6eba928183ec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## Version 0.6.9 (Aug 15, 2016)
|
4
|
+
|
5
|
+
Minor enhancements:
|
6
|
+
* Set parameter #project in Lubanfile template used in project initiation
|
7
|
+
* Added suffix ".deploy" as extension to project target path as a convention
|
8
|
+
|
9
|
+
Bug fixes:
|
10
|
+
* Handled bundle_without properly based on the deployment stage
|
11
|
+
|
3
12
|
## Version 0.6.8 (Aug 05, 2016)
|
4
13
|
|
5
14
|
Bug fixes:
|
@@ -201,7 +201,9 @@ module Luban
|
|
201
201
|
options << "--gemfile #{gemfile}"
|
202
202
|
options << "--path #{bundle_path}"
|
203
203
|
unless test(bundle_cmd, :check, *options)
|
204
|
-
|
204
|
+
unless bundle_without.include?(stage.to_s)
|
205
|
+
options << "--without #{bundle_without.join(' ')}"
|
206
|
+
end
|
205
207
|
options << bundle_flags.join(' ')
|
206
208
|
execute(bundle_cmd, :install, *options)
|
207
209
|
end
|
@@ -170,8 +170,14 @@ module Luban
|
|
170
170
|
if test(:tar, "-tzf #{release_package_path} #{gemfile_path} > /dev/null 2>&1")
|
171
171
|
within(workspace_path) do
|
172
172
|
execute(:tar, "--strip-components=1 -xzf #{release_package_path} #{gemfile_path}")
|
173
|
-
|
174
|
-
|
173
|
+
options = []
|
174
|
+
options << "--path #{bundle_path}"
|
175
|
+
unless test(:bundle, :check, *options)
|
176
|
+
unless bundle_without.include?(stage.to_s)
|
177
|
+
options << "--without #{bundle_without.join(' ')}"
|
178
|
+
end
|
179
|
+
options << "--quiet"
|
180
|
+
execute(:bundle, :install, *options)
|
175
181
|
info "Package gems bundled in Gemfile"
|
176
182
|
execute(:bundle, :package, "--all --quiet")
|
177
183
|
end
|
@@ -1 +1,2 @@
|
|
1
|
-
stages %w(<%= stages.join(' ') %>)
|
1
|
+
stages %w(<%= stages.join(' ') %>)
|
2
|
+
project <%= project.inspect %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luban
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rubyist Lei
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: luban-cli
|