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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38d49bc83de63decd240b03732c6545b500761ee
4
- data.tar.gz: b8891df65db755fa1ebebfe86350b72053938fea
3
+ metadata.gz: 3a62cfa49c9c2274c96c1e19d257ce51f589001c
4
+ data.tar.gz: 956244b146f7e89c8c1ec067af4eca74c0ab0078
5
5
  SHA512:
6
- metadata.gz: ce7b428af4d66c3c29c2b020e01e33d74a225022565278a113d8e67f07ac6460872a800f0cdff6a302555b8ca8a76fc4f41c9bcc9c580c74fb49d37a2c57a63d
7
- data.tar.gz: d691902c208ddbecfb2a7caad3f17907b450fd8804551f50b3c5b7c526d31fdf7e164e41e03373821d26fc8ec67e01184a5911e15a3e85b18c5625b77053772e
6
+ metadata.gz: e3627481e033564ef99e24bb6ceda9ad07662edaea06f810ae265866b8fc4d2332f9ee6894270a82d7a617be124d46068ee4e73d455a279617ed167168162bfd
7
+ data.tar.gz: 9adfd2b9e13d617243d9f1849d20fcad154a97ec41d32a5651a49b00a51f5684f562874e14b745dbbea75247dab60693a3828d5a13cd177a32b5f6237b6e1845
@@ -1,6 +1,5 @@
1
1
  require 'json'
2
2
  require 'net/http'
3
- require 'capistrano/all'
4
3
 
5
4
  module FullSail
6
5
  def record(status)
@@ -47,3 +46,5 @@ module FullSail
47
46
 
48
47
  extend self
49
48
  end
49
+
50
+ load File.expand_path("../tasks/fullsail-gem.rake", __FILE__)
@@ -0,0 +1,5 @@
1
+ module Capistrano
2
+ module FullSailVr
3
+ VERSION = "0.0.3"
4
+ end
5
+ end
@@ -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.2
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-08-18 00:00:00.000000000 Z
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 https://github.com/nectify/shipyard-cli
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
@@ -1 +0,0 @@
1
- load File.expand_path("../tasks/fullsail.rake", __FILE__)
@@ -1,5 +0,0 @@
1
- module Capistrano
2
- module FullSailVr
3
- VERSION = "0.0.2"
4
- end
5
- end
@@ -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