mina-sidekiq 1.0.2 → 1.0.3

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: 9e5c06fa7a2280a529d38725d4b28176f963fc90
4
- data.tar.gz: 02c707562cab925bed5715b8d99b1cb9635de477
3
+ metadata.gz: e83a12846c227f7fb2556d7f7b790b2fe202a50a
4
+ data.tar.gz: 4dbb611c7f3d9f859d2dfdff30520059e52c17f8
5
5
  SHA512:
6
- metadata.gz: 4bbc6b082ebe4092e6b2df3c0953d60212e577d6175d63f457119445fc4a9a1a39917284d0583782d5198db1562516397ac7bc6fbc72c621df8c43b51bb874a4
7
- data.tar.gz: c8afde90e012860d8761196a9e6dc190bcfc3e606f0e208ba3350d7ba249e2f864608219fc5a0fa3ad78a6e71278790695c222d8b13f69f4e92898ffcf615b51
6
+ metadata.gz: 8599964fe653f428528e1932b63b4409f0470e1c795f6bc9b3e4238a92b1be8e41907c7015a258b8aca032116f287488f8bafab631e56a2ca03b896a2e867cd3
7
+ data.tar.gz: 2e64560593ce53ad5bcb9e7c05b928d1d67a6cb0bd96d71c03972094c101e01102169695a2662a5e7528dda96144c3b97740499c8cc54d39281e9ec81345d260
@@ -1,14 +1,9 @@
1
1
  language: ruby
2
2
  cache: bundler
3
- sudo: false
4
3
  rvm:
5
4
  - "2.2.5"
6
5
  - "2.3.1"
7
- services: redis
8
6
 
9
7
  before_install:
10
8
  - ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa
11
9
  - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
12
- - echo "Host localhost" >> /home/travis/.ssh/config
13
- - echo " StrictHostKeyChecking no" >> /home/travis/.ssh/config
14
- - chmod g-rw,o-rw /home/travis/.ssh/*
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 1.0.3 2017-11-05
5
+ ----------------
6
+ * replace deprecated dependency on environment task with remote_environment
7
+
4
8
  1.0.2 2017-07-25
5
9
  ----------------
6
10
  * fix undefined variable, which broke `sidekiq:log`
data/README.md CHANGED
@@ -3,8 +3,8 @@ mina-sidekiq
3
3
 
4
4
  [![Build Status](https://travis-ci.org/Mic92/mina-sidekiq.png?branch=master)](https://travis-ci.org/Mic92/mina-sidekiq)
5
5
 
6
- mina-sidekiq is a gem that adds tasks to aid in the deployment of [Sidekiq] (http://mperham.github.com/sidekiq/)
7
- using [Mina] (http://nadarei.co/mina).
6
+ mina-sidekiq is a gem that adds tasks to aid in the deployment of [Sidekiq](http://mperham.github.com/sidekiq/)
7
+ using [Mina](http://nadarei.co/mina).
8
8
 
9
9
  Starting with 1.0.0 this gem requires Mina 1.0! (thanks [@devvmh](https://github.com/devvmh))
10
10
 
@@ -76,7 +76,7 @@ namespace :sidekiq do
76
76
 
77
77
  # ### sidekiq:quiet
78
78
  desc "Quiet sidekiq (stop accepting new work)"
79
- task :quiet => :environment do
79
+ task :quiet => :remote_environment do
80
80
  comment 'Quiet sidekiq (stop accepting new work)'
81
81
  in_path(fetch(:current_path)) do
82
82
  for_each_process do |pid_file, idx|
@@ -93,7 +93,7 @@ namespace :sidekiq do
93
93
 
94
94
  # ### sidekiq:stop
95
95
  desc "Stop sidekiq"
96
- task :stop => :environment do
96
+ task :stop => :remote_environment do
97
97
  comment 'Stop sidekiq'
98
98
  in_path(fetch(:current_path)) do
99
99
  for_each_process do |pid_file, idx|
@@ -110,7 +110,7 @@ namespace :sidekiq do
110
110
 
111
111
  # ### sidekiq:start
112
112
  desc "Start sidekiq"
113
- task :start => :environment do
113
+ task :start => :remote_environment do
114
114
  comment 'Start sidekiq'
115
115
  in_path(fetch(:current_path)) do
116
116
  for_each_process do |pid_file, idx|
@@ -133,7 +133,7 @@ namespace :sidekiq do
133
133
  end
134
134
 
135
135
  desc "Tail log from server"
136
- task :log => :environment do
136
+ task :log => :remote_environment do
137
137
  command %[tail -f #{fetch(:sidekiq_log)}]
138
138
  end
139
139
  end
@@ -1,5 +1,5 @@
1
1
  module MinaSidekiq
2
2
  def self.version
3
- '1.0.2'
3
+ '1.0.3'
4
4
  end
5
5
  end
@@ -14,11 +14,11 @@ set :repository, 'https://github.com/Mic92/mina-sidekiq-test-rails.git'
14
14
  set :keep_releases, 2
15
15
  set :sidekiq_processes, 2
16
16
 
17
- task :environment do
17
+ task :remote_environment do
18
18
  invoke :'rvm:use', ENV.fetch('RUBY_VERSION', 'ruby-2.3.1')
19
19
  end
20
20
 
21
- task setup: :environment do
21
+ task setup: :remote_environment do
22
22
  command %(mkdir -p "#{fetch(:deploy_to)}/shared/pids/")
23
23
  command %(mkdir -p "#{fetch(:deploy_to)}/shared/log/")
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joerg Thalheim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-25 00:00:00.000000000 Z
11
+ date: 2017-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mina
@@ -63,7 +63,6 @@ files:
63
63
  - ".travis.yml"
64
64
  - Changelog.md
65
65
  - Gemfile
66
- - Gemfile.lock
67
66
  - LICENSE
68
67
  - README.md
69
68
  - Rakefile
@@ -94,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
93
  version: '0'
95
94
  requirements: []
96
95
  rubyforge_project:
97
- rubygems_version: 2.6.10
96
+ rubygems_version: 2.6.13
98
97
  signing_key:
99
98
  specification_version: 4
100
99
  summary: Tasks to deploy Sidekiq with mina.
@@ -1,38 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- mina-sidekiq (1.0.1)
5
- mina (>= 1.0.2)
6
-
7
- GEM
8
- remote: https://www.rubygems.org/
9
- specs:
10
- byebug (9.0.6)
11
- coderay (1.1.1)
12
- method_source (0.8.2)
13
- mina (1.0.3)
14
- open4 (~> 1.3.4)
15
- rake
16
- minitest (5.9.1)
17
- open4 (1.3.4)
18
- pry (0.10.4)
19
- coderay (~> 1.1.0)
20
- method_source (~> 0.8.1)
21
- slop (~> 3.4)
22
- pry-byebug (3.4.0)
23
- byebug (~> 9.0)
24
- pry (~> 0.10)
25
- rake (11.3.0)
26
- slop (3.6.0)
27
-
28
- PLATFORMS
29
- ruby
30
-
31
- DEPENDENCIES
32
- mina-sidekiq!
33
- minitest
34
- pry-byebug
35
- rake
36
-
37
- BUNDLED WITH
38
- 1.13.6