mina-procodile 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c379cbf771e51a2a9456862450ae26fdf7e9a077
4
+ data.tar.gz: 6cb90250edcf299954aa990b3e806ab54e095d74
5
+ SHA512:
6
+ metadata.gz: 87d3065cb53c7167997ed6b3409d5c14f8d904300def8b40f39619c19b3562512c22dd71055d911e430d5a74d91d84b611ccb592d38f240fa710dde2123a2288
7
+ data.tar.gz: c042160ef7419e8291ac0fd2cab1b9beac62698410f04c8cb7c1d9ad37367d4417c41d5f19736c743990584c9f2c99c6773d5cba2bfd55e9f093bce09538d0f7
@@ -0,0 +1 @@
1
+ load File.expand_path("../procodile/tasks.rake", __FILE__)
@@ -0,0 +1,32 @@
1
+ require 'mina/bundler'
2
+ require 'mina/rails'
3
+
4
+ namespace :procodile do
5
+ set_default :procodile_cmd, -> { "procodile" }
6
+
7
+ desc 'Start Procodile processes'
8
+ task start: :environment do
9
+ procodile_command(:start)
10
+ end
11
+
12
+ desc 'Stop Procodile processes'
13
+ task stop: :environment do
14
+ procodile_command(:stop)
15
+ end
16
+
17
+ desc 'Restart Procodile processes'
18
+ task restart: :environment do
19
+ procodile_command(:restart)
20
+ end
21
+
22
+ desc 'Show Procodile status'
23
+ task status: :environment do
24
+ procodile_command(:status)
25
+ end
26
+
27
+ def procodile_command(command)
28
+ queue! %[
29
+ cd #{deploy_to}/#{current_path} && #{procodile_cmd} #{command} -r #{current_path}
30
+ ]
31
+ end
32
+ end
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mina-procodile
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Dean Perry
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Mina scripts for controlling Procodile
42
+ email:
43
+ - dean@voupe.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - lib/mina/procodile.rb
49
+ - lib/mina/procodile/tasks.rake
50
+ homepage: https://github.com/deanpcmad/mina-procodile
51
+ licenses:
52
+ - MIT
53
+ metadata: {}
54
+ post_install_message:
55
+ rdoc_options: []
56
+ require_paths:
57
+ - lib
58
+ required_ruby_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ requirements: []
69
+ rubyforge_project:
70
+ rubygems_version: 2.5.1
71
+ signing_key:
72
+ specification_version: 4
73
+ summary: Mina scripts for controlling Procodile
74
+ test_files: []