elocal_capistrano 2.0.1 → 2.0.2

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: 76619f41024dd3ae2bcb6c4fb0c428cd60d503e2
4
- data.tar.gz: 50d1b631245a8b6dd2155918426e1d592a57bcd3
3
+ metadata.gz: b10801a9ab8cd71920a76930d9fbfeb63ed3700c
4
+ data.tar.gz: 2eaf2d60882d47e25da47c7c67b9a629501347aa
5
5
  SHA512:
6
- metadata.gz: b6bb19fae520a6293eeea199c7f98a7fb76049c0273631c478a0fe104b08c98a5579be0d3ad14f27d84dab89590f965f2a361a0064636aedb242b58141c73fe9
7
- data.tar.gz: 02820354cbbc7ebe4708ffd71d1632315f11dbc84a4f1f794d871b839e4978036780e2222a648cc42efbb9a055271f0829317874e706bda678d7d689095c5b4a
6
+ metadata.gz: a5e56b831ac1c0b5f05e31015c8cf4320221e143469071fd602a1ec2aa006bbc66741bf06a5fcc301daf6e576eea904c524e7445e00ce7ce8b80d522b9fbd40c
7
+ data.tar.gz: c19ed84d154d2f891c1dfddd1bcf0c6420f5886d9df703fc19fbe4071d5d479ce6814c4e65dbd6a6c984015ee7dfd4db2d818d9de5fc9fe94752c481ab813066
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Elocal Capistrano
2
2
 
3
- A bunch of handy [Capistrano 2.0](https://github.com/capistrano/capistrano/wiki) tasks.
3
+ A bunch of handy [Capistrano](https://github.com/capistrano/capistrano/wiki) tasks.
4
4
 
5
5
  ## Usage
6
6
 
@@ -86,7 +86,7 @@ Generally, this will be hooked in like:
86
86
 
87
87
  ### Syslog
88
88
 
89
- cap syslog:grep -s pattern=abc -s all_logs=true
89
+ cap syslog:grep pattern=abc all_logs=true
90
90
 
91
91
  Utility to grep syslog for a specific pattern.
92
92
 
@@ -1,3 +1,3 @@
1
1
  module ElocalCapistrano
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.2'
3
3
  end
@@ -28,6 +28,15 @@ namespace :upstart do
28
28
  end
29
29
  end
30
30
  end
31
+
32
+ desc 'Perform a start/stop not a reload of the application puma service'
33
+ task :hard_restart do
34
+ on release_roles :app do
35
+ Array(fetch(:puma_application_name)).each do |app_name|
36
+ sudo :restart, app_name
37
+ end
38
+ end
39
+ end
31
40
  end
32
41
 
33
42
  namespace :delayed_job do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elocal_capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Di Marco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-17 00:00:00.000000000 Z
11
+ date: 2015-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  requirements: []
81
81
  rubyforge_project:
82
- rubygems_version: 2.4.6
82
+ rubygems_version: 2.4.5.1
83
83
  signing_key:
84
84
  specification_version: 4
85
85
  summary: Common eLocal Capistrano tasks