negroku 2.8.2 → 2.8.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 +4 -4
- data/CHANGELOG.md +15 -1
- data/docs/TASKS.md +2 -0
- data/lib/negroku/capistrano/tasks/eye.rake +14 -0
- data/lib/negroku/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 00e4a34499f2fa1ff377fe452b716ae0d2ab81e4
|
|
4
|
+
data.tar.gz: 857d0ec7d2bac09ad7b2a5e1e0b5a5899b2425a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d7da2ad32d8838df132b21ce88afac8d7b73d5acbf6762fe65e7ee70b38c1270e2fa27ded47e842efde78c593f91f8e6e9ce894f43764e553201bbf7629f0d7
|
|
7
|
+
data.tar.gz: e2fcf7f44a09b904e7ae0f7211883faac335f356b434573cb4a811e595ea8ac49d1684ae3e0bf4f2583ea09a0ec7c57862f075c6703d4e8d8d4f8c14bd30decf
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,21 @@ Reverse Chronological Order:
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
-
https://github.com/platanus/negroku/compare/v2.8.
|
|
7
|
+
https://github.com/platanus/negroku/compare/v2.8.3...HEAD
|
|
8
|
+
|
|
9
|
+
## `2.8.3`
|
|
10
|
+
|
|
11
|
+
https://github.com/platanus/negroku/compare/v2.8.2...v2.8.3
|
|
12
|
+
|
|
13
|
+
FIX:
|
|
14
|
+
- Fix regression where custom watched processes where not being configured
|
|
15
|
+
by eye. This is a known breaking change but it was removed by mistake instead of being deprecated.
|
|
16
|
+
|
|
17
|
+
BREAKING CHANGES:
|
|
18
|
+
- **eye:watch_process task deprecated**
|
|
19
|
+
When adding custom processes to the eye config, don't use the `eye:watch_process` task.
|
|
20
|
+
Just use the `watch_process` method directly in the `deploy.rb`
|
|
21
|
+
https://github.com/platanus/negroku/blob/master/docs/TASKS.md#eye
|
|
8
22
|
|
|
9
23
|
## `2.8.2`
|
|
10
24
|
|
data/docs/TASKS.md
CHANGED
|
@@ -53,6 +53,8 @@ watch_process(:other_process, template: :process,
|
|
|
53
53
|
)
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
**Deprecation Notice**: `eye:watch_process` task is being called before the setup. This is not longer needed and is deprecated. You should add the process `watch_process()` directly in the `deploy.rb`
|
|
57
|
+
|
|
56
58
|
### Rails
|
|
57
59
|
|
|
58
60
|
##### Remote Console
|
|
@@ -34,6 +34,11 @@ end
|
|
|
34
34
|
namespace :eye do
|
|
35
35
|
WATCHED_PROCESSES = %w[unicorn delayed_job thinking_sphinx puma]
|
|
36
36
|
|
|
37
|
+
task :watch_process_deprecation do
|
|
38
|
+
puts "\n\nWARNING:\ttask 'eye:watch_process' is deprecated."
|
|
39
|
+
puts "\t\tPlease read the docs at https://github.com/platanus/negroku/blob/master/docs/TASKS.md#eye\n\n"
|
|
40
|
+
end
|
|
41
|
+
|
|
37
42
|
desc "Loads eye config and starts monitoring"
|
|
38
43
|
task :load do
|
|
39
44
|
on release_roles fetch(:eye_roles) do
|
|
@@ -64,6 +69,15 @@ namespace :eye do
|
|
|
64
69
|
|
|
65
70
|
desc "Upload eye configuration file"
|
|
66
71
|
task :setup do
|
|
72
|
+
# DEPRECATE eye:watch_process
|
|
73
|
+
begin
|
|
74
|
+
Rake::Task['eye:watch_process'].enhance do
|
|
75
|
+
at_exit { Rake::Task['eye:watch_process_deprecation'].invoke if $!.nil? }
|
|
76
|
+
end
|
|
77
|
+
Rake::Task['eye:watch_process'].invoke
|
|
78
|
+
rescue StandardError
|
|
79
|
+
end
|
|
80
|
+
|
|
67
81
|
WATCHED_PROCESSES.each do |task_name|
|
|
68
82
|
begin
|
|
69
83
|
Rake::Task["#{task_name}:watch_process"].invoke
|
data/lib/negroku/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: negroku
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.8.
|
|
4
|
+
version: 2.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juan Ignacio Donoso
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-10-
|
|
11
|
+
date: 2015-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rdoc
|
|
@@ -498,3 +498,4 @@ signing_key:
|
|
|
498
498
|
specification_version: 4
|
|
499
499
|
summary: Capistrano recipes collection
|
|
500
500
|
test_files: []
|
|
501
|
+
has_rdoc:
|