capistrano-deployment-status 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +6 -5
- data/README.md +1 -1
- data/lib/capistrano/deployment_status/version.rb +1 -1
- data/lib/capistrano/tasks/deployment_status.rake +8 -3
- metadata +4 -4
- data/lib/capistrano-deployment-status.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abbb66bf541e7e813a7ff9ff8ae05f3872bac838
|
4
|
+
data.tar.gz: ade0f27e24ac6c0261661f7f23df35b6db88f9f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76afc8abcb63a4ea96f82b344cbec21479de19ef8f7b8314aa5aa0cc3b09814134f7f08c1e1f61f7a616f08e0c7d2e4517c3b5cdeeb33d61945a36ca9a69e760
|
7
|
+
data.tar.gz: 6957c29c171c21fc3653b34cc22dadfdff5ac23a324c4d94439ac8925ea8a9df560537a176ce1da1f501795057ebb05d6b5926f11c4a9a7ed61030867b63dfb5
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -33,7 +33,7 @@ Require the gem in your Capfile:
|
|
33
33
|
require 'capistrano/deployment_status'
|
34
34
|
```
|
35
35
|
|
36
|
-
Currently, that's it. A task will at the end of the deploy that will place a deployment_status.html file in the release's public directory.
|
36
|
+
Currently, that's it. A task will run at the end of the deploy that will place a deployment_status.html file in the release's public directory.
|
37
37
|
|
38
38
|
## Contributing
|
39
39
|
|
@@ -1,7 +1,5 @@
|
|
1
1
|
require 'erb'
|
2
2
|
|
3
|
-
set :deploy_status_template, "public/deployment_status.html"
|
4
|
-
|
5
3
|
namespace :deploy do
|
6
4
|
desc 'Create deployment status page'
|
7
5
|
task :status_page do
|
@@ -16,7 +14,8 @@ namespace :deploy do
|
|
16
14
|
deployed_by = fetch(:deployed_by, ENV['USER'])
|
17
15
|
|
18
16
|
result = StringIO.new(ERB.new(template).result(binding))
|
19
|
-
output_path = "#{release_path}/#{fetch(:
|
17
|
+
output_path = "#{release_path}/#{fetch(:deploy_status_destination)}"
|
18
|
+
|
20
19
|
on roles(:app) do
|
21
20
|
upload! result, output_path
|
22
21
|
execute :chmod, '644', output_path
|
@@ -25,6 +24,12 @@ namespace :deploy do
|
|
25
24
|
end
|
26
25
|
after "deploy:published", "deploy:status_page"
|
27
26
|
|
27
|
+
namespace :load do
|
28
|
+
task :defaults do
|
29
|
+
set :deploy_status_destination, "public/deployment_status.html"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
28
33
|
def template
|
29
34
|
input_path = File.join(File.dirname(__FILE__), "../deployment_status/view.html.erb")
|
30
35
|
File.read(input_path)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-deployment-status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- B.J. Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -66,7 +66,6 @@ files:
|
|
66
66
|
- README.md
|
67
67
|
- Rakefile
|
68
68
|
- capistrano-deployment-status.gemspec
|
69
|
-
- lib/capistrano-deployment-status.rb
|
70
69
|
- lib/capistrano/deployment_status.rb
|
71
70
|
- lib/capistrano/deployment_status/version.rb
|
72
71
|
- lib/capistrano/deployment_status/view.html.erb
|
@@ -91,8 +90,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
90
|
version: '0'
|
92
91
|
requirements: []
|
93
92
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.2.2
|
95
94
|
signing_key:
|
96
95
|
specification_version: 4
|
97
96
|
summary: Creates a deployment status page.
|
98
97
|
test_files: []
|
98
|
+
has_rdoc:
|
File without changes
|