makandra_sidekiq 0.2.0 → 0.2.1
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 +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +18 -2
- data/Gemfile.lock +6 -6
- data/lib/makandra_sidekiq/sidekiq_control.rb +10 -1
- data/lib/makandra_sidekiq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47a5113e14c3e6b57bae52343b8f25107c7f3eb19c6549f57ef4f3472611aba8
|
|
4
|
+
data.tar.gz: 56b1564ce0bf25208cc3f29b02cb03853068a24a919fabbe41338f8f57dde2d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1b74c9f9d8e299357bdd377bc784f6e0c33a5b1b2871422a08d4e41d4ad4202fdec86884c69b6f3b33849b75dbe0397d305ce6988b13b157f0c0b90bb950384
|
|
7
|
+
data.tar.gz: c0d6707a0116227fda7ed471c0e5eb5de2349e333aacc6b981881b8011036e210ccc90d3e1b515156038b3927c8502fb284a58e5d053dadbe07f692e2e6060f5
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.6.
|
|
1
|
+
2.6.6
|
data/CHANGELOG.md
CHANGED
|
@@ -6,25 +6,41 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
|
6
6
|
|
|
7
7
|
## Unreleased
|
|
8
8
|
|
|
9
|
+
|
|
10
|
+
## 0.2.1 2020-05-18
|
|
11
|
+
|
|
12
|
+
### Compatible changes
|
|
13
|
+
- Fixed deprecation warnings on modern Bundlers. We are now using `Bundler.with_original_env`.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## 0.2.0 2019-11-08
|
|
17
|
+
|
|
9
18
|
### Compatible changes
|
|
10
|
-
- CHANGELOG to satisfy [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
19
|
+
- Added CHANGELOG to satisfy [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
20
|
+
- Fix: now considering the configured Sidekiq timeout when running
|
|
21
|
+
`sidekiqctl stop` through `sidekiq:stop`. Previously, long-running jobs would
|
|
22
|
+
get lost!
|
|
23
|
+
|
|
11
24
|
|
|
12
25
|
## 0.1.3 2017-02-13
|
|
13
26
|
|
|
14
27
|
### Changed
|
|
15
28
|
- Gem no longer depends on `capistrano`, since using its Capistrano recipes is optional.
|
|
16
29
|
|
|
30
|
+
|
|
17
31
|
## 0.1.2 2017-01-12
|
|
18
32
|
|
|
19
33
|
### Added
|
|
20
34
|
- `sidekiq:start` checks that sidekiq really comes up and will retry a few times.
|
|
21
35
|
|
|
36
|
+
|
|
22
37
|
## 0.1.1 2016-09-29
|
|
23
38
|
|
|
24
39
|
### Fixed
|
|
25
40
|
- Do not fail on first deploy.
|
|
26
41
|
|
|
27
|
-
|
|
42
|
+
|
|
43
|
+
## 0.1.0 2016-09-29
|
|
28
44
|
|
|
29
45
|
### Added
|
|
30
46
|
- Initial release.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
makandra_sidekiq (0.1
|
|
4
|
+
makandra_sidekiq (0.2.1)
|
|
5
5
|
sidekiq (< 6)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -9,11 +9,11 @@ GEM
|
|
|
9
9
|
specs:
|
|
10
10
|
connection_pool (2.2.2)
|
|
11
11
|
diff-lcs (1.3)
|
|
12
|
-
rack (2.0.
|
|
13
|
-
rack-protection (2.0.
|
|
12
|
+
rack (2.0.9)
|
|
13
|
+
rack-protection (2.0.8.1)
|
|
14
14
|
rack
|
|
15
15
|
rake (10.5.0)
|
|
16
|
-
redis (4.1.
|
|
16
|
+
redis (4.1.4)
|
|
17
17
|
rspec (3.5.0)
|
|
18
18
|
rspec-core (~> 3.5.0)
|
|
19
19
|
rspec-expectations (~> 3.5.0)
|
|
@@ -27,9 +27,9 @@ GEM
|
|
|
27
27
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
28
28
|
rspec-support (~> 3.5.0)
|
|
29
29
|
rspec-support (3.5.0)
|
|
30
|
-
sidekiq (5.2.
|
|
30
|
+
sidekiq (5.2.8)
|
|
31
31
|
connection_pool (~> 2.2, >= 2.2.2)
|
|
32
|
-
rack (
|
|
32
|
+
rack (< 2.1.0)
|
|
33
33
|
rack-protection (>= 1.5.0)
|
|
34
34
|
redis (>= 3.3.5, < 5)
|
|
35
35
|
|
|
@@ -166,12 +166,21 @@ module MakandraSidekiq
|
|
|
166
166
|
|
|
167
167
|
def bundle_exec(*command)
|
|
168
168
|
string_command = command.map(&:to_s)
|
|
169
|
-
|
|
169
|
+
root = @root.to_s
|
|
170
|
+
stdout_str, stderr_str, status = with_original_env { capture3('bundle', 'exec', *string_command, chdir: root) }
|
|
170
171
|
puts stdout_str
|
|
171
172
|
unless status.success?
|
|
172
173
|
fail "#{command} failed with message: #{stderr_str}"
|
|
173
174
|
end
|
|
174
175
|
end
|
|
175
176
|
|
|
177
|
+
def capture3(*command)
|
|
178
|
+
Open3.capture3(*command)
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
def with_original_env(&block)
|
|
182
|
+
Bundler.with_original_env(&block)
|
|
183
|
+
end
|
|
184
|
+
|
|
176
185
|
end
|
|
177
186
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: makandra_sidekiq
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Kraze
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-05-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sidekiq
|