luban 0.12.10 → 0.12.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78e994cfbf65d77d825c52d2413fe7cd3af1f570
4
- data.tar.gz: dc600bc4019b0f2f14f3ea543b8ecb694676cca1
3
+ metadata.gz: cb67666121f6fcf2e0f70c16adb5c7b38766c8fb
4
+ data.tar.gz: db0722a6ca9911ec279b1e16e81e986ea48d054a
5
5
  SHA512:
6
- metadata.gz: e136cfc318bf28b85418356091e5d39175f9277472552a17994004a863fbcff0903dba526e9c49d1d582eee6eb8ca6ef775d28a4f474aef909770581bc6e888f
7
- data.tar.gz: 7f2a5afb5da8a8caf8d01ca5037ead086eb97b7528ff7589e1cf91914f3ae6212a9b90af4d2ab479c6aaae6ac204406c5bd393a0e7589214438adef0a9037c21
6
+ metadata.gz: c55ed12e6e87905f0f10d09cb6d3949a342e23d97ef9cdb1ff906f4ec6d5257fa82d0c9f3b9ecc02c641fe897f939ba7594959b466ff205146d361c91ae3e9b0
7
+ data.tar.gz: 2695763a39a650874112ec59710a5daefeda724611a3eebeb6bc2e5bdea24c988526b447a0b652f9bd74732d31f85fa63b09b4440281ca695024d8d2c7e2c65c
data/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change log
2
2
 
3
- ## Version 0.12.10 (Mar 28, 2017)
3
+ ## Version 0.12.11 (Mar 29, 2017)
4
4
 
5
5
  Bug fixes:
6
6
  * Cleaned up app releases except the most recent one during dockerization
7
+ * Corrected the default value for parameter :user in Luban::Deployment::Runner
8
+ * Fixed typos in the template of Lubanfile.rb.erb
7
9
 
8
10
  ## Version 0.12.9 (Mar 23, 2017)
9
11
 
@@ -11,7 +11,8 @@ module Luban
11
11
  @default_rc ||= { 'luban_roles' => %i(app),
12
12
  'luban_root_path' => Parameters::General::DefaultLubanRootPath,
13
13
  'stages' => %w(development staging production),
14
- 'author' => { 'name' => 'author name', 'email' => 'author@email.com' }
14
+ 'author' => { 'name' => 'author name', 'email' => 'author@email.com' },
15
+ 'user' => current_user
15
16
  }
16
17
  end
17
18
 
@@ -47,8 +48,7 @@ module Luban
47
48
  end
48
49
 
49
50
  def set_default_common_parameters
50
- %i(luban_roles luban_root_path stages author).each { |p| set_default p, rc[p.to_s] }
51
- set_default :user, (rc['user'] || ENV['USER'])
51
+ %i(luban_roles luban_root_path stages author user).each { |p| set_default p, rc[p.to_s] }
52
52
  end
53
53
 
54
54
  def set_default_project_parameters
@@ -1,3 +1,3 @@
1
1
  stages %w(<%= stages.join(' ') %>)
2
2
  project <%= project.inspect %>
3
- author name: <%= author['name'] %>, email: <%= author['email'] %>
3
+ author name: <%= author['name'].inspect %>, email: <%= author['email'].inspect %>
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module Deployment
3
- VERSION = "0.12.10"
3
+ VERSION = "0.12.11"
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.12.10
4
+ version: 0.12.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Lei