capistrano-stretcher 0.5.2 → 0.5.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: 7c221408942057e0229b7c5ad28fc3563c7f5ea5
4
- data.tar.gz: 12808dcc1570efeb039fd0cc649a03351eb2e4b2
3
+ metadata.gz: 6678162a4e229f4245b479e99f2ce0278d5b8f31
4
+ data.tar.gz: 9cd5dfca82f8bdc2a3c2f343271de1a9bd2d60af
5
5
  SHA512:
6
- metadata.gz: c29dad07df70aa17884fb281cc9b47e102b75a0d48e492ce5e5a581716f14cfc18027d7f28060e9bbe5397d911f7c5b88ddf877b33f3e14b2f838e24f41ac5c9
7
- data.tar.gz: 497c26017a32e6818733ba8062b2d9fc965742753b8507e504a61f732d590616663d18517460f9b62245ab7b265aa921221ffc6a48ba72ca15847c3f72606a80
6
+ metadata.gz: b577448b62dd6095215d0bf2cf8440143dbf4c689619488f91752910b773f02d5c466de489e27078e552ce96190bd88762d569d6e9cb7df24d905897645a4a45
7
+ data.tar.gz: 7d6c1fa05bc176d35879dcdb4c561fe267a206f6365ee97bf862b84dcbcd1e0b7efd59795da56b86a4198c338057c31fc383c6e47daf1c46cc04af73ac28ebde
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-stretcher"
7
- spec.version = "0.5.2"
7
+ spec.version = "0.5.3"
8
8
  spec.authors = ["SHIBATA Hiroshi", "Uchio Kondo"]
9
9
  spec.email = ["hsbt@ruby-lang.org", "udzura@udzura.jp"]
10
10
 
@@ -117,7 +117,7 @@ namespace :stretcher do
117
117
 
118
118
  task :upload_tarball do
119
119
  on application_builder_roles do
120
- as 'root' do
120
+ as fetch(:stretcher_user) || 'root' do
121
121
  local_tarball_file = "#{local_tarball_path}/current/#{fetch(:local_tarball_name)}"
122
122
 
123
123
  if fetch(:stretcher_src).start_with?("s3://")
@@ -133,7 +133,7 @@ namespace :stretcher do
133
133
 
134
134
  task :create_and_upload_manifest do
135
135
  on application_builder_roles do
136
- as 'root' do
136
+ as fetch(:stretcher_user) || 'root' do
137
137
  failure_message = "Deploy failed at *$(hostname)* :fire:"
138
138
  checksum = capture("openssl sha256 #{local_tarball_path}/current/#{fetch(:local_tarball_name)} | gawk -F' ' '{print $2}'").chomp
139
139
  src = fetch(:stretcher_src)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-stretcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SHIBATA Hiroshi
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-11-21 00:00:00.000000000 Z
12
+ date: 2018-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  version: '0'
108
108
  requirements: []
109
109
  rubyforge_project:
110
- rubygems_version: 2.5.1
110
+ rubygems_version: 2.6.13
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: capistrano task for stretcher.