capistrano-inspeqtor 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d31bd4dd56fa07c8da7f2b259796d06f6c18a289
4
+ data.tar.gz: 909a27bc09a65e0858fe201f2d057353ee13d7a3
5
+ SHA512:
6
+ metadata.gz: e719665d3512aaf218a4818004a906ed2279787c2deb1614553b38e8b0dee6dd6618053de527c56dcb73e1bfa1b391b1da84d08e6fa762f52ecc72cf24ae1eb7
7
+ data.tar.gz: 25d76c392b22a9097a7545a919c9e9ef25b9de16e14416f7408b4cc309c5880c411dfdf0582816fa0c2582bdb6a0515011e3182709eebc8fdd7a2baec21577ca
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /Gemfile.lock
2
+ .fbi
3
+ /pkg/
4
+ .cia
5
+ .nsa
6
+ *.gem
7
+ .idea
8
+
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,5 @@
1
+ Copyright (c) Abdelkader Boudih
2
+
3
+ capistrano-inspeqtor is an Open Source project licensed under the terms of
4
+ the LGPLv3 license. Please see <http://www.gnu.org/licenses/lgpl-3.0.html>
5
+ for license text.
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Capistrano::Inspeqtor
2
+
3
+ [Inspeqtor](http://contribsys.com/inspeqtor) integration for Capistrano
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'capistrano-inspeqtor'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install capistrano-inspeqtor
20
+
21
+
22
+ ## Usage
23
+ ```ruby
24
+ # Capfile
25
+
26
+ require 'capistrano/inspeqtor'
27
+ ```
28
+
29
+ ## Contributing
30
+
31
+ 1. Fork it ( https://github.com/seuros/capistrano-inspeqtor/fork )
32
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
33
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
34
+ 4. Push to the branch (`git push origin my-new-feature`)
35
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,19 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'capistrano/inspeqtor/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'capistrano-inspeqtor'
8
+ spec.version = Capistrano::Inspeqtor::VERSION
9
+ spec.authors = ['Abdelkader Boudih']
10
+ spec.email = ['terminale@gmail.com']
11
+ spec.summary = %q(Inspeqtor integration for Capistrano)
12
+ spec.description = spec.summary
13
+ spec.license = 'LGPLv3'
14
+
15
+ spec.files = `git ls-files -z`.split("\x0")
16
+ spec.require_paths = ['lib']
17
+
18
+ spec.add_runtime_dependency 'capistrano', '~> 3.0'
19
+ end
@@ -0,0 +1,6 @@
1
+ module Capistrano
2
+ #:nodoc:#
3
+ module Inspeqtor
4
+ VERSION = '0.0.1'
5
+ end
6
+ end
@@ -0,0 +1 @@
1
+ load File.expand_path('../tasks/inspeqtor.cap', __FILE__)
@@ -0,0 +1,33 @@
1
+ namespace :load do
2
+ task :defaults do
3
+ set :inspeqtor_role, -> { :all }
4
+ set :inspeqtor_bin, '/usr/bin/inspeqtor'
5
+ end
6
+ end
7
+
8
+ namespace :deploy do
9
+ before :starting do
10
+ invoke 'inspeqtor:add_default_hooks'
11
+ end
12
+ end
13
+
14
+ namespace :inspeqtor do
15
+ desc 'Pause Inspeqtor monitoring'
16
+ task :start do
17
+ on roles(fetch(:inspeqtor_role)) do
18
+ sudo "#{fetch(:inspeqtor_bin)} start deploy"
19
+ end
20
+ end
21
+
22
+ desc 'Resume Inspeqtor monitoring'
23
+ task :finish do
24
+ on roles(fetch(:inspeqtor_role)) do
25
+ sudo "#{fetch(:inspeqtor_bin)} finish deploy"
26
+ end
27
+ end
28
+
29
+ task :add_default_hooks do
30
+ after 'deploy:check', 'inspeqtor:start'
31
+ after 'deploy:publishing', 'inspeqtor:finish'
32
+ end
33
+ end
metadata ADDED
@@ -0,0 +1,68 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capistrano-inspeqtor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Abdelkader Boudih
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-11-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: capistrano
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ description: Inspeqtor integration for Capistrano
28
+ email:
29
+ - terminale@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".gitignore"
35
+ - Gemfile
36
+ - LICENSE.txt
37
+ - README.md
38
+ - Rakefile
39
+ - capistrano-inspeqtor.gemspec
40
+ - lib/capistrano/inspeqtor.rb
41
+ - lib/capistrano/inspeqtor/version.rb
42
+ - lib/capistrano/tasks/inspeqtor.cap
43
+ homepage:
44
+ licenses:
45
+ - LGPLv3
46
+ metadata: {}
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubyforge_project:
63
+ rubygems_version: 2.2.2
64
+ signing_key:
65
+ specification_version: 4
66
+ summary: Inspeqtor integration for Capistrano
67
+ test_files: []
68
+ has_rdoc: