makandra_sidekiq 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cdf2b37120431a87cfb6a7033e7cd8b011ceec8f
4
- data.tar.gz: a5b3dd8b2a3c7255304bfd0354334026d6d97ac6
3
+ metadata.gz: 39f9cb8d4180c57f0333ccaf56d611d46a89ccf4
4
+ data.tar.gz: 0e4ce34ef6280d53a3788c210638cb4c8c3d2c27
5
5
  SHA512:
6
- metadata.gz: b814fd76bcb8ad021a9c401dbeeb60fc3cef1260a70bcf7460f64dcd6596745128f8a25e655381179fb0b5b2a805b271aa5e6ee4894a25256d1591dc9ac10640
7
- data.tar.gz: e2ba1646f82d892a275c708f29224d749cce5382b909691154469d3c078535ec496f377d57cf1e1795550c84fa9829858cc27ca4e279350be8931bb898dfc954
6
+ metadata.gz: 52c3fb15a307cab8a24efd8c8f9321a4442fce04a2b05f2bb899a58923c1a7f61ca6bff1cf6d7ca36857f7a137de75e16392e39cda3975062a76c27af386e572
7
+ data.tar.gz: 7ab4c0282373834c04edcf57e8330b5a413371eab6d0b3c7c1b174c6b7637260add9adf523d025b04eb9a1fb437a203b96b5c3e71e010a3113369b90b1d69a6f
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.3.3
data/Gemfile.lock CHANGED
@@ -1,26 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- makandra_sidekiq (0.1.2)
5
- capistrano (>= 3)
4
+ makandra_sidekiq (0.1.3)
6
5
 
7
6
  GEM
8
7
  remote: https://rubygems.org/
9
8
  specs:
10
- airbrussh (1.1.1)
11
- sshkit (>= 1.6.1, != 1.7.0)
12
- capistrano (3.6.1)
13
- airbrussh (>= 1.0.0)
14
- capistrano-harrow
15
- i18n
16
- rake (>= 10.0.0)
17
- sshkit (>= 1.9.0)
18
- capistrano-harrow (0.5.3)
19
9
  diff-lcs (1.2.5)
20
- i18n (0.7.0)
21
- net-scp (1.2.1)
22
- net-ssh (>= 2.6.5)
23
- net-ssh (3.2.0)
24
10
  rake (10.5.0)
25
11
  rspec (3.5.0)
26
12
  rspec-core (~> 3.5.0)
@@ -35,9 +21,6 @@ GEM
35
21
  diff-lcs (>= 1.2.0, < 2.0)
36
22
  rspec-support (~> 3.5.0)
37
23
  rspec-support (3.5.0)
38
- sshkit (1.11.3)
39
- net-scp (>= 1.1.2)
40
- net-ssh (>= 2.8.0)
41
24
 
42
25
  PLATFORMS
43
26
  ruby
@@ -49,4 +32,4 @@ DEPENDENCIES
49
32
  rspec (~> 3.0)
50
33
 
51
34
  BUNDLED WITH
52
- 1.13.1
35
+ 1.13.6
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # makandra_sidekiq [![Build Status](https://travis-ci.org/makandra/makandra_sidekiq.svg?branch=master)](https://travis-ci.org/makandra/makandra_sidekiq)
2
2
 
3
- Support code for our default sidekiq setup.
3
+ Support code for our default Sidekiq setup.
4
4
 
5
- Includes rake tasks to start and stop sidekiq, capistrano recipes for deployment, and a way to restart sidekiq on reboot.
5
+ Includes rake tasks to start and stop Sidekiq, Capistrano recipes for deployment, and a way to restart Sidekiq on reboot.
6
6
 
7
7
 
8
8
  ## Installation
@@ -29,7 +29,9 @@ Make sure you include at least `:pidfile` and `:logfile`. Sane values are
29
29
 
30
30
  ### Capistrano
31
31
 
32
- makandra_sidekiq requires [capistrano](https://github.com/capistrano/capistrano) >= 3.
32
+ makandra_sidekiq comes with [Capistrano](https://github.com/capistrano/capistrano) recipes to call its rake tasks for (re)starting Sidekiq during deployment.
33
+
34
+ Note that those recipes require Capistrano 3+.
33
35
 
34
36
  - Add the following line to your Capfile:
35
37
 
@@ -44,19 +46,19 @@ makandra_sidekiq requires [capistrano](https://github.com/capistrano/capistrano)
44
46
 
45
47
  ### Restart sidekiq on reboot
46
48
 
47
- Simply add `rake sidekiq:start` as a @reboot task to your crontab.
49
+ Simply add `rake sidekiq:start` as a `@reboot` task to your crontab.
48
50
 
49
51
  When using [whenever](https://github.com/javan/whenever), add this to your schedule.rb:
50
52
 
51
53
  ```
52
54
  every :reboot do
53
- rake 'sidekiq:start'
55
+ rake 'sidekiq:start', output: { standard: nil }
54
56
  end
55
57
  ```
56
58
 
57
59
  In case you don't use whenever, this crontab entry will work:
58
60
  ```
59
- @reboot /bin/bash -l -c 'cd /path/to/rails/root && RAILS_ENV=environment bundle exec rake sidekiq:start --silent'
61
+ @reboot /bin/bash -l -c 'cd /path/to/rails/root && RAILS_ENV=environment bundle exec rake sidekiq:start --silent > /dev/null'
60
62
  ```
61
63
 
62
64
 
@@ -1,3 +1,3 @@
1
1
  module MakandraSidekiq
2
- VERSION = "0.1.2"
2
+ VERSION = '0.1.3'
3
3
  end
@@ -17,8 +17,6 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency 'capistrano', '>= 3'
21
-
22
20
  spec.add_development_dependency "bundler", "~> 1.12"
23
21
  spec.add_development_dependency "rake", "~> 10.0"
24
22
  spec.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makandra_sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-02-13 00:00:00.000000000 Z
12
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'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '3'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: bundler
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -111,9 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
97
  version: '0'
112
98
  requirements: []
113
99
  rubyforge_project:
114
- rubygems_version: 2.6.6
100
+ rubygems_version: 2.5.2
115
101
  signing_key:
116
102
  specification_version: 4
117
103
  summary: Support code for sidekiq, including rake tasks and capistrano recipes.
118
104
  test_files: []
119
- has_rdoc: