negroku 2.8.2 → 2.8.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: 25b1727e1383eb522eb3c5fddfeef966a48981f9
4
- data.tar.gz: 69936052a164b3c60bf25e1c8b6921631b550533
3
+ metadata.gz: 00e4a34499f2fa1ff377fe452b716ae0d2ab81e4
4
+ data.tar.gz: 857d0ec7d2bac09ad7b2a5e1e0b5a5899b2425a3
5
5
  SHA512:
6
- metadata.gz: 54e0bdb3ad26f067b6ff63c2c28f984b14052ef26abb5a5e099c49189a75241cdff7076ec52dee9cb9073b79abaa9b9e168a82383767a538cd2a8472a70e35fc
7
- data.tar.gz: ffd6764eea667cbee32b1a8a2ff61154f400c9827f29273116acf78e86a69933904876ea9ea9f7e894b992c89398b493e821ef8cd515ae01d106a246aad9a720
6
+ metadata.gz: 3d7da2ad32d8838df132b21ce88afac8d7b73d5acbf6762fe65e7ee70b38c1270e2fa27ded47e842efde78c593f91f8e6e9ce894f43764e553201bbf7629f0d7
7
+ data.tar.gz: e2fcf7f44a09b904e7ae0f7211883faac335f356b434573cb4a811e595ea8ac49d1684ae3e0bf4f2583ea09a0ec7c57862f075c6703d4e8d8d4f8c14bd30decf
@@ -4,7 +4,21 @@ Reverse Chronological Order:
4
4
 
5
5
  ## Unreleased
6
6
 
7
- https://github.com/platanus/negroku/compare/v2.8.2...HEAD
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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Negroku
2
- VERSION = '2.8.2'
2
+ VERSION = '2.8.3'
3
3
  end
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.2
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-20 00:00:00.000000000 Z
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: