fullsail 0.0.2 → 0.0.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 +4 -4
- data/lib/{fullsail.rb → capistrano/fullsail-gem.rb} +2 -1
- data/lib/capistrano/fullsail-gem/version.rb +5 -0
- data/lib/capistrano/tasks/fullsail-gem.rake +30 -0
- metadata +6 -7
- data/lib/capistrano/fullsail.rb +0 -1
- data/lib/capistrano/fullsail/version.rb +0 -5
- data/lib/capistrano/tasks/fullsail.rake +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a62cfa49c9c2274c96c1e19d257ce51f589001c
|
4
|
+
data.tar.gz: 956244b146f7e89c8c1ec067af4eca74c0ab0078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3627481e033564ef99e24bb6ceda9ad07662edaea06f810ae265866b8fc4d2332f9ee6894270a82d7a617be124d46068ee4e73d455a279617ed167168162bfd
|
7
|
+
data.tar.gz: 9adfd2b9e13d617243d9f1849d20fcad154a97ec41d32a5651a49b00a51f5684f562874e14b745dbbea75247dab60693a3828d5a13cd177a32b5f6237b6e1845
|
@@ -0,0 +1,30 @@
|
|
1
|
+
DEPLOY_STATUS = {
|
2
|
+
:fail => -2,
|
3
|
+
:start => -1,
|
4
|
+
:success => 0
|
5
|
+
}
|
6
|
+
|
7
|
+
namespace :deploy do
|
8
|
+
|
9
|
+
task :set_commit_hash do
|
10
|
+
FullSail.setCommitHash()
|
11
|
+
end
|
12
|
+
|
13
|
+
task :fullS_starting do
|
14
|
+
FullSail.record(DEPLOY_STATUS[:start])
|
15
|
+
end
|
16
|
+
|
17
|
+
task :fullS_failed do
|
18
|
+
FullSail.record(DEPLOY_STATUS[:fail])
|
19
|
+
end
|
20
|
+
|
21
|
+
task :fullS_finishing do
|
22
|
+
FullSail.record(DEPLOY_STATUS[:success])
|
23
|
+
end
|
24
|
+
|
25
|
+
before :starting, :set_commit_hash
|
26
|
+
before :starting, :fullS_starting
|
27
|
+
after 'deploy:failed', :fullS_failed
|
28
|
+
after :finishing, :fullS_finishing
|
29
|
+
|
30
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fullsail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean-Jacques MOIROUX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -27,16 +27,15 @@ dependencies:
|
|
27
27
|
description: |-
|
28
28
|
FullSail's Gem is used to log Capistratno's
|
29
29
|
deployments into FullSail API server.
|
30
|
-
Source code on
|
30
|
+
Source code on http://github.com/nectify/fullsail-gem.git
|
31
31
|
email: jj@fre.sc
|
32
32
|
executables: []
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/capistrano/fullsail.rb
|
37
|
-
- lib/capistrano/fullsail/version.rb
|
38
|
-
- lib/capistrano/tasks/fullsail.rake
|
39
|
-
- lib/fullsail.rb
|
36
|
+
- lib/capistrano/fullsail-gem.rb
|
37
|
+
- lib/capistrano/fullsail-gem/version.rb
|
38
|
+
- lib/capistrano/tasks/fullsail-gem.rake
|
40
39
|
homepage: http://www.fre.sc
|
41
40
|
licenses:
|
42
41
|
- Nectify
|
data/lib/capistrano/fullsail.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
load File.expand_path("../tasks/fullsail.rake", __FILE__)
|
@@ -1,24 +0,0 @@
|
|
1
|
-
require 'capistrano/fullsail'
|
2
|
-
|
3
|
-
namespace :deploy do
|
4
|
-
task :set_commit_hash do
|
5
|
-
FullSail.setCommitHash()
|
6
|
-
end
|
7
|
-
|
8
|
-
task :fullS_starting do
|
9
|
-
FullSail.record(-1)
|
10
|
-
end
|
11
|
-
|
12
|
-
task :fullS_failed do
|
13
|
-
FullSail.record(-2)
|
14
|
-
end
|
15
|
-
|
16
|
-
task :fullS_finishing do
|
17
|
-
FullSail.record(0)
|
18
|
-
end
|
19
|
-
|
20
|
-
before :starting, :set_commit_hash
|
21
|
-
before :starting, :fullS_starting
|
22
|
-
after 'deploy:failed', :fullS_failed
|
23
|
-
after :finishing, :fullS_finishing
|
24
|
-
end
|