capistrano-unformatt 0.7 → 1.0

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: 7e683125c4e40f70b2ff63437650693b41e37d56
4
- data.tar.gz: 4accd0c70ed7e7c2fe91387c1e7f878c3422c032
3
+ metadata.gz: 2bcc5cf56592c5bb73e1848e513350ade9e66515
4
+ data.tar.gz: 22229675b58e394c733d0c46a1e298e9fc45f2c7
5
5
  SHA512:
6
- metadata.gz: 1faa5957cf3eaf602bc2296ec0f780cf48b33c989a7727be9c0aa26b71480fd019abc95490ef31cb5c6d7df6697c23aec5e1f79c246f0309dc3a5a8bdde5a380
7
- data.tar.gz: 64518aa47f98d6dddf5b68d962d40c9c9f239d4c2348b88142ce5d3fb43b43b7c90592f844b0d63de67726f307e786173274e1116986bfb3f75d793077e22a21
6
+ metadata.gz: c88195de53691c5abf69ee07198699196f712dd13a083327d1db538c772c23012caaf2b888dc53756ebc720b035bd4413459ed3859fb034b3288e64748143f94
7
+ data.tar.gz: a04429f33c3158b39379bffde013192be07c4eb4023b323ef03e74f9be4350eed2998f82852db5126192f768a3c73978b1ce4d53e0fbbc8e764db7ff682aa1f7
data/CHANGELOG.md CHANGED
@@ -21,3 +21,7 @@
21
21
  ## v0.6
22
22
 
23
23
  * Fixed capistrano recipes conflict
24
+
25
+ ## v1.0
26
+
27
+ * Fixed mistype calling capistrano variable
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-unformatt"
7
- spec.version = '0.7'
7
+ spec.version = '1.0'
8
8
  spec.authors = ["unformatt"]
9
9
  spec.email = ["unformatt@gmail.com"]
10
10
  spec.description = "Custom recipes for Unformatt projects"
@@ -3,28 +3,28 @@ namespace :deploy do
3
3
  desc "Starts sidekiq"
4
4
  task :start do
5
5
  on roles :app do
6
- execute "#{daemons_path}/#{fetch(:application)}-sidekiq start"
6
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq start"
7
7
  end
8
8
  end
9
9
 
10
10
  desc "Stops sidekiq"
11
11
  task :stop do
12
12
  on roles :app do
13
- execute "#{daemons_path}/#{fetch(:application)}-sidekiq stop"
13
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq stop"
14
14
  end
15
15
  end
16
16
 
17
17
  desc "Restarts sidekiq"
18
18
  task :restart do
19
19
  on roles :app do
20
- execute "#{daemons_path}/#{fetch(:application)}-sidekiq restart"
20
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq restart"
21
21
  end
22
22
  end
23
23
 
24
24
  desc "Rejects new sidekiq jobs"
25
25
  task :reject_jobs do
26
26
  on roles :app do
27
- execute "#{daemons_path}/#{fetch(:application)}-sidekiq reject_jobs"
27
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq reject_jobs"
28
28
  end
29
29
  end
30
30
  end
@@ -3,21 +3,21 @@ namespace :deploy do
3
3
  desc "Starts sunspot"
4
4
  task :start do
5
5
  on roles :app do
6
- execute "#{daemons_path}/#{fetch(:application)}-sunspot start"
6
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot start"
7
7
  end
8
8
  end
9
9
 
10
10
  desc "Stops sunspot"
11
11
  task :stop do
12
12
  on roles :app do
13
- execute "#{daemons_path}/#{fetch(:application)}-sunspot stop"
13
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot stop"
14
14
  end
15
15
  end
16
16
 
17
17
  desc "Starts sunspot"
18
18
  task :restart do
19
19
  on roles :app do
20
- execute "#{daemons_path}/#{fetch(:application)}-sunspot restart"
20
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sunspot restart"
21
21
  end
22
22
  end
23
23
  end
@@ -3,28 +3,28 @@ namespace :deploy do
3
3
  desc "Starts unicorn"
4
4
  task :start do
5
5
  on roles :app do
6
- execute "#{daemons_path}/#{fetch(:application)}-unicorn start"
6
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn start"
7
7
  end
8
8
  end
9
9
 
10
10
  desc "Stops unicorn"
11
11
  task :stop do
12
12
  on roles :app do
13
- execute "#{daemons_path}/#{fetch(:application)}-unicorn stop"
13
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn stop"
14
14
  end
15
15
  end
16
16
 
17
17
  desc "Starts unicorn"
18
18
  task :restart do
19
19
  on roles :app do
20
- execute "#{daemons_path}/#{fetch(:application)}-unicorn restart"
20
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn restart"
21
21
  end
22
22
  end
23
23
 
24
24
  desc "Reloads unicorn"
25
25
  task :reload do
26
26
  on roles :app do
27
- execute "#{daemons_path}/#{fetch(:application)}-unicorn reload"
27
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-unicorn reload"
28
28
  end
29
29
  end
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-unformatt
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: '1.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - unformatt