roo_on_rails 1.5.0 → 1.6.0

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: 2ba8eb4d84b665c4b2f1c7fe68cb01c6c15d49c1
4
- data.tar.gz: f977b309d3d38618ef4e420c2bb54cefae60318f
3
+ metadata.gz: 86a6e1968fee13a33195ed5cf08d932a4852e3b6
4
+ data.tar.gz: 4d5aeb9679bdd99c13235f49135bd4128ed9a253
5
5
  SHA512:
6
- metadata.gz: 7537e1034c9e303b4f85dc17e53d88b536f9477ba9379163d2442f7e4427091396c528dfb4f7471542f59cbe8082de9dd8faa2f2b22173b7a11b8fff7044d5be
7
- data.tar.gz: 2760a62a00f82913bb3e93ab9020cde196502476b347a1c541b1b75291fb3d9bf9ed7877898ce73405a0851e210a1478342e61af06e0c767f4fbf3a703cad197
6
+ metadata.gz: 5c00030e5e763d19b2270f5193aea9c0d678818bd68f3e87236a5fe8d6766d93c35a8e88fbb86c082e7aca02d9fb9b34e4af9e9bf749642303fc1faf25c29d11
7
+ data.tar.gz: 3ac8b6245abd46a6ff7562b29234b58d5326f15b6cc052574b7aa7232815106b88b915c11fab4bbf65ffa3a5f319a07e112c556470e9124bbd30caeaf8dd7d1a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ # v1.6.0 (2017-07-11)
2
+
3
+ Features:
4
+
5
+ - Adds check for a `PLAYBOOK.md` file, which should detail how to deal with issues which might occur with the service.
6
+
7
+ Bug fixes:
8
+
9
+ - Allow usage of recent versions of `newrelic_rpm` (#38)
10
+
1
11
  # v1.5.0 (2017-06-19)
2
12
 
3
13
  Features:
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- roo_on_rails (1.5.0)
4
+ roo_on_rails (1.6.0)
5
5
  dogstatsd-ruby
6
6
  dotenv-rails (~> 2.1)
7
7
  hashie (~> 3.4)
8
8
  hirefire-resource
9
- newrelic_rpm (~> 3.17)
9
+ newrelic_rpm
10
10
  octokit
11
11
  platform-api (~> 2.0)
12
12
  rack-ssl-enforcer
@@ -68,7 +68,7 @@ GEM
68
68
  dotenv (= 2.2.1)
69
69
  railties (>= 3.2, < 5.2)
70
70
  erubis (2.7.0)
71
- excon (0.57.0)
71
+ excon (0.57.1)
72
72
  faraday (0.12.1)
73
73
  multipart-post (>= 1.2, < 3)
74
74
  ffi (1.9.18)
@@ -88,7 +88,7 @@ GEM
88
88
  guard-compat (~> 1.1)
89
89
  rspec (>= 2.99.0, < 4.0)
90
90
  hashie (3.5.5)
91
- heroics (0.0.22)
91
+ heroics (0.0.23)
92
92
  erubis (~> 2.0)
93
93
  excon
94
94
  multi_json (>= 1.9.2)
@@ -102,7 +102,7 @@ GEM
102
102
  rb-inotify (~> 0.9, >= 0.9.7)
103
103
  ruby_dep (~> 1.2)
104
104
  lumberjack (1.0.12)
105
- mail (2.5.4)
105
+ mail (2.5.5)
106
106
  mime-types (~> 1.16)
107
107
  treetop (~> 1.4.8)
108
108
  memfs (1.0.0)
@@ -112,15 +112,15 @@ GEM
112
112
  multi_json (1.12.1)
113
113
  multipart-post (2.0.0)
114
114
  nenv (0.3.0)
115
- newrelic_rpm (3.18.1.330)
115
+ newrelic_rpm (4.2.0.334)
116
116
  notiffany (0.1.1)
117
117
  nenv (~> 0.1)
118
118
  shellany (~> 0.0)
119
119
  octokit (4.7.0)
120
120
  sawyer (~> 0.8.0, >= 0.5.3)
121
- pg (0.20.0)
122
- platform-api (2.0.0)
123
- heroics (~> 0.0.22)
121
+ pg (0.21.0)
122
+ platform-api (2.1.0)
123
+ heroics (~> 0.0.23)
124
124
  moneta (~> 0.8.1)
125
125
  polyglot (0.3.5)
126
126
  pry (0.10.4)
@@ -159,8 +159,8 @@ GEM
159
159
  thor (>= 0.14.6, < 2.0)
160
160
  rake (10.5.0)
161
161
  rb-fsevent (0.9.8)
162
- rb-inotify (0.9.8)
163
- ffi (>= 0.5.0)
162
+ rb-inotify (0.9.10)
163
+ ffi (>= 0.5.0, < 2)
164
164
  rdoc (3.12.2)
165
165
  json (~> 1.4)
166
166
  redis (3.3.3)
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- roo_on_rails (1.5.0)
4
+ roo_on_rails (1.6.0)
5
5
  dogstatsd-ruby
6
6
  dotenv-rails (~> 2.1)
7
7
  hashie (~> 3.4)
8
8
  hirefire-resource
9
- newrelic_rpm (~> 3.17)
9
+ newrelic_rpm
10
10
  octokit
11
11
  platform-api (~> 2.0)
12
12
  rack-ssl-enforcer
@@ -75,7 +75,7 @@ GEM
75
75
  dotenv (= 2.2.1)
76
76
  railties (>= 3.2, < 5.2)
77
77
  erubis (2.7.0)
78
- excon (0.57.0)
78
+ excon (0.57.1)
79
79
  faraday (0.12.1)
80
80
  multipart-post (>= 1.2, < 3)
81
81
  ffi (1.9.18)
@@ -97,7 +97,7 @@ GEM
97
97
  guard-compat (~> 1.1)
98
98
  rspec (>= 2.99.0, < 4.0)
99
99
  hashie (3.5.5)
100
- heroics (0.0.22)
100
+ heroics (0.0.23)
101
101
  erubis (~> 2.0)
102
102
  excon
103
103
  multi_json (>= 1.9.2)
@@ -111,7 +111,7 @@ GEM
111
111
  loofah (2.0.3)
112
112
  nokogiri (>= 1.5.9)
113
113
  lumberjack (1.0.12)
114
- mail (2.6.5)
114
+ mail (2.6.6)
115
115
  mime-types (>= 1.16, < 4)
116
116
  memfs (1.0.0)
117
117
  method_source (0.8.2)
@@ -124,7 +124,7 @@ GEM
124
124
  multi_json (1.12.1)
125
125
  multipart-post (2.0.0)
126
126
  nenv (0.3.0)
127
- newrelic_rpm (3.18.1.330)
127
+ newrelic_rpm (4.2.0.334)
128
128
  nokogiri (1.8.0)
129
129
  mini_portile2 (~> 2.2.0)
130
130
  notiffany (0.1.1)
@@ -132,9 +132,9 @@ GEM
132
132
  shellany (~> 0.0)
133
133
  octokit (4.7.0)
134
134
  sawyer (~> 0.8.0, >= 0.5.3)
135
- pg (0.20.0)
136
- platform-api (2.0.0)
137
- heroics (~> 0.0.22)
135
+ pg (0.21.0)
136
+ platform-api (2.1.0)
137
+ heroics (~> 0.0.23)
138
138
  moneta (~> 0.8.1)
139
139
  pry (0.10.4)
140
140
  coderay (~> 1.1.0)
@@ -177,8 +177,8 @@ GEM
177
177
  thor (>= 0.18.1, < 2.0)
178
178
  rake (10.5.0)
179
179
  rb-fsevent (0.9.8)
180
- rb-inotify (0.9.8)
181
- ffi (>= 0.5.0)
180
+ rb-inotify (0.9.10)
181
+ ffi (>= 0.5.0, < 2)
182
182
  redis (3.3.3)
183
183
  rspec (3.6.0)
184
184
  rspec-core (~> 3.6.0)
@@ -198,7 +198,7 @@ GEM
198
198
  addressable (>= 2.3.5, < 2.6)
199
199
  faraday (~> 0.8, < 1.0)
200
200
  shellany (0.0.1)
201
- sidekiq (5.0.3)
201
+ sidekiq (5.0.4)
202
202
  concurrent-ruby (~> 1.0)
203
203
  connection_pool (~> 2.2, >= 2.2.0)
204
204
  rack-protection (>= 1.5.0)
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- roo_on_rails (1.5.0)
4
+ roo_on_rails (1.6.0)
5
5
  dogstatsd-ruby
6
6
  dotenv-rails (~> 2.1)
7
7
  hashie (~> 3.4)
8
8
  hirefire-resource
9
- newrelic_rpm (~> 3.17)
9
+ newrelic_rpm
10
10
  octokit
11
11
  platform-api (~> 2.0)
12
12
  rack-ssl-enforcer
@@ -17,39 +17,39 @@ PATH
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- actioncable (5.0.3)
21
- actionpack (= 5.0.3)
20
+ actioncable (5.0.4)
21
+ actionpack (= 5.0.4)
22
22
  nio4r (>= 1.2, < 3.0)
23
23
  websocket-driver (~> 0.6.1)
24
- actionmailer (5.0.3)
25
- actionpack (= 5.0.3)
26
- actionview (= 5.0.3)
27
- activejob (= 5.0.3)
24
+ actionmailer (5.0.4)
25
+ actionpack (= 5.0.4)
26
+ actionview (= 5.0.4)
27
+ activejob (= 5.0.4)
28
28
  mail (~> 2.5, >= 2.5.4)
29
29
  rails-dom-testing (~> 2.0)
30
- actionpack (5.0.3)
31
- actionview (= 5.0.3)
32
- activesupport (= 5.0.3)
30
+ actionpack (5.0.4)
31
+ actionview (= 5.0.4)
32
+ activesupport (= 5.0.4)
33
33
  rack (~> 2.0)
34
34
  rack-test (~> 0.6.3)
35
35
  rails-dom-testing (~> 2.0)
36
36
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
37
- actionview (5.0.3)
38
- activesupport (= 5.0.3)
37
+ actionview (5.0.4)
38
+ activesupport (= 5.0.4)
39
39
  builder (~> 3.1)
40
40
  erubis (~> 2.7.0)
41
41
  rails-dom-testing (~> 2.0)
42
42
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
43
- activejob (5.0.3)
44
- activesupport (= 5.0.3)
43
+ activejob (5.0.4)
44
+ activesupport (= 5.0.4)
45
45
  globalid (>= 0.3.6)
46
- activemodel (5.0.3)
47
- activesupport (= 5.0.3)
48
- activerecord (5.0.3)
49
- activemodel (= 5.0.3)
50
- activesupport (= 5.0.3)
46
+ activemodel (5.0.4)
47
+ activesupport (= 5.0.4)
48
+ activerecord (5.0.4)
49
+ activemodel (= 5.0.4)
50
+ activesupport (= 5.0.4)
51
51
  arel (~> 7.0)
52
- activesupport (5.0.3)
52
+ activesupport (5.0.4)
53
53
  concurrent-ruby (~> 1.0, >= 1.0.2)
54
54
  i18n (~> 0.7)
55
55
  minitest (~> 5.1)
@@ -78,7 +78,7 @@ GEM
78
78
  dotenv (= 2.2.1)
79
79
  railties (>= 3.2, < 5.2)
80
80
  erubis (2.7.0)
81
- excon (0.57.0)
81
+ excon (0.57.1)
82
82
  faraday (0.12.1)
83
83
  multipart-post (>= 1.2, < 3)
84
84
  ffi (1.9.18)
@@ -100,7 +100,7 @@ GEM
100
100
  guard-compat (~> 1.1)
101
101
  rspec (>= 2.99.0, < 4.0)
102
102
  hashie (3.5.5)
103
- heroics (0.0.22)
103
+ heroics (0.0.23)
104
104
  erubis (~> 2.0)
105
105
  excon
106
106
  multi_json (>= 1.9.2)
@@ -114,7 +114,7 @@ GEM
114
114
  loofah (2.0.3)
115
115
  nokogiri (>= 1.5.9)
116
116
  lumberjack (1.0.12)
117
- mail (2.6.5)
117
+ mail (2.6.6)
118
118
  mime-types (>= 1.16, < 4)
119
119
  memfs (1.0.0)
120
120
  method_source (0.8.2)
@@ -127,7 +127,7 @@ GEM
127
127
  multi_json (1.12.1)
128
128
  multipart-post (2.0.0)
129
129
  nenv (0.3.0)
130
- newrelic_rpm (3.18.1.330)
130
+ newrelic_rpm (4.2.0.334)
131
131
  nio4r (2.1.0)
132
132
  nokogiri (1.8.0)
133
133
  mini_portile2 (~> 2.2.0)
@@ -136,9 +136,9 @@ GEM
136
136
  shellany (~> 0.0)
137
137
  octokit (4.7.0)
138
138
  sawyer (~> 0.8.0, >= 0.5.3)
139
- pg (0.20.0)
140
- platform-api (2.0.0)
141
- heroics (~> 0.0.22)
139
+ pg (0.21.0)
140
+ platform-api (2.1.0)
141
+ heroics (~> 0.0.23)
142
142
  moneta (~> 0.8.1)
143
143
  pry (0.10.4)
144
144
  coderay (~> 1.1.0)
@@ -155,33 +155,33 @@ GEM
155
155
  rack-test (0.6.3)
156
156
  rack (>= 1.0)
157
157
  rack-timeout (0.4.2)
158
- rails (5.0.3)
159
- actioncable (= 5.0.3)
160
- actionmailer (= 5.0.3)
161
- actionpack (= 5.0.3)
162
- actionview (= 5.0.3)
163
- activejob (= 5.0.3)
164
- activemodel (= 5.0.3)
165
- activerecord (= 5.0.3)
166
- activesupport (= 5.0.3)
158
+ rails (5.0.4)
159
+ actioncable (= 5.0.4)
160
+ actionmailer (= 5.0.4)
161
+ actionpack (= 5.0.4)
162
+ actionview (= 5.0.4)
163
+ activejob (= 5.0.4)
164
+ activemodel (= 5.0.4)
165
+ activerecord (= 5.0.4)
166
+ activesupport (= 5.0.4)
167
167
  bundler (>= 1.3.0, < 2.0)
168
- railties (= 5.0.3)
168
+ railties (= 5.0.4)
169
169
  sprockets-rails (>= 2.0.0)
170
170
  rails-dom-testing (2.0.3)
171
171
  activesupport (>= 4.2.0)
172
172
  nokogiri (>= 1.6)
173
173
  rails-html-sanitizer (1.0.3)
174
174
  loofah (~> 2.0)
175
- railties (5.0.3)
176
- actionpack (= 5.0.3)
177
- activesupport (= 5.0.3)
175
+ railties (5.0.4)
176
+ actionpack (= 5.0.4)
177
+ activesupport (= 5.0.4)
178
178
  method_source
179
179
  rake (>= 0.8.7)
180
180
  thor (>= 0.18.1, < 2.0)
181
181
  rake (10.5.0)
182
182
  rb-fsevent (0.9.8)
183
- rb-inotify (0.9.8)
184
- ffi (>= 0.5.0)
183
+ rb-inotify (0.9.10)
184
+ ffi (>= 0.5.0, < 2)
185
185
  redis (3.3.3)
186
186
  rspec (3.6.0)
187
187
  rspec-core (~> 3.6.0)
@@ -201,7 +201,7 @@ GEM
201
201
  addressable (>= 2.3.5, < 2.6)
202
202
  faraday (~> 0.8, < 1.0)
203
203
  shellany (0.0.1)
204
- sidekiq (5.0.3)
204
+ sidekiq (5.0.4)
205
205
  concurrent-ruby (~> 1.0)
206
206
  connection_pool (~> 2.2, >= 2.2.0)
207
207
  rack-protection (>= 1.5.0)
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- roo_on_rails (1.5.0)
4
+ roo_on_rails (1.6.0)
5
5
  dogstatsd-ruby
6
6
  dotenv-rails (~> 2.1)
7
7
  hashie (~> 3.4)
8
8
  hirefire-resource
9
- newrelic_rpm (~> 3.17)
9
+ newrelic_rpm
10
10
  octokit
11
11
  platform-api (~> 2.0)
12
12
  rack-ssl-enforcer
@@ -79,7 +79,7 @@ GEM
79
79
  railties (>= 3.2, < 5.2)
80
80
  erubi (1.6.0)
81
81
  erubis (2.7.0)
82
- excon (0.57.0)
82
+ excon (0.57.1)
83
83
  faraday (0.12.1)
84
84
  multipart-post (>= 1.2, < 3)
85
85
  ffi (1.9.18)
@@ -101,7 +101,7 @@ GEM
101
101
  guard-compat (~> 1.1)
102
102
  rspec (>= 2.99.0, < 4.0)
103
103
  hashie (3.5.5)
104
- heroics (0.0.22)
104
+ heroics (0.0.23)
105
105
  erubis (~> 2.0)
106
106
  excon
107
107
  multi_json (>= 1.9.2)
@@ -115,7 +115,7 @@ GEM
115
115
  loofah (2.0.3)
116
116
  nokogiri (>= 1.5.9)
117
117
  lumberjack (1.0.12)
118
- mail (2.6.5)
118
+ mail (2.6.6)
119
119
  mime-types (>= 1.16, < 4)
120
120
  memfs (1.0.0)
121
121
  method_source (0.8.2)
@@ -128,7 +128,7 @@ GEM
128
128
  multi_json (1.12.1)
129
129
  multipart-post (2.0.0)
130
130
  nenv (0.3.0)
131
- newrelic_rpm (3.18.1.330)
131
+ newrelic_rpm (4.2.0.334)
132
132
  nio4r (2.1.0)
133
133
  nokogiri (1.8.0)
134
134
  mini_portile2 (~> 2.2.0)
@@ -137,9 +137,9 @@ GEM
137
137
  shellany (~> 0.0)
138
138
  octokit (4.7.0)
139
139
  sawyer (~> 0.8.0, >= 0.5.3)
140
- pg (0.20.0)
141
- platform-api (2.0.0)
142
- heroics (~> 0.0.22)
140
+ pg (0.21.0)
141
+ platform-api (2.1.0)
142
+ heroics (~> 0.0.23)
143
143
  moneta (~> 0.8.1)
144
144
  pry (0.10.4)
145
145
  coderay (~> 1.1.0)
@@ -181,8 +181,8 @@ GEM
181
181
  thor (>= 0.18.1, < 2.0)
182
182
  rake (10.5.0)
183
183
  rb-fsevent (0.9.8)
184
- rb-inotify (0.9.8)
185
- ffi (>= 0.5.0)
184
+ rb-inotify (0.9.10)
185
+ ffi (>= 0.5.0, < 2)
186
186
  redis (3.3.3)
187
187
  rspec (3.6.0)
188
188
  rspec-core (~> 3.6.0)
@@ -202,7 +202,7 @@ GEM
202
202
  addressable (>= 2.3.5, < 2.6)
203
203
  faraday (~> 0.8, < 1.0)
204
204
  shellany (0.0.1)
205
- sidekiq (5.0.3)
205
+ sidekiq (5.0.4)
206
206
  concurrent-ruby (~> 1.0)
207
207
  connection_pool (~> 2.2, >= 2.2.0)
208
208
  rack-protection (>= 1.5.0)
@@ -0,0 +1,23 @@
1
+ require 'roo_on_rails/checks/base'
2
+
3
+ module RooOnRails
4
+ module Checks
5
+ module Documentation
6
+ class Playbook < Base
7
+ LOCATION = 'PLAYBOOK.md'.freeze
8
+
9
+ def intro
10
+ 'Looking for an on-call Playbook...'
11
+ end
12
+
13
+ def call
14
+ if File.exist?(LOCATION)
15
+ pass 'playbook found, legion on-call engineers thank you.'
16
+ else
17
+ fail! "please create a playbook at #{LOCATION}."
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -5,6 +5,7 @@ require 'roo_on_rails/checks/heroku/preboot_enabled'
5
5
  require 'roo_on_rails/checks/heroku/app_exists'
6
6
  require 'roo_on_rails/checks/sidekiq/settings'
7
7
  require 'roo_on_rails/checks/heroku/drains_metrics'
8
+ require 'roo_on_rails/checks/documentation/playbook'
8
9
 
9
10
  module RooOnRails
10
11
  module Checks
@@ -13,6 +14,7 @@ module RooOnRails
13
14
  requires Heroku::DrainsMetrics
14
15
  requires Heroku::PrebootEnabled
15
16
  requires Sidekiq::Settings
17
+ requires Documentation::Playbook
16
18
 
17
19
  def call
18
20
  # nothing to do
@@ -1,3 +1,3 @@
1
1
  module RooOnRails
2
- VERSION = '1.5.0'.freeze
2
+ VERSION = '1.6.0'.freeze
3
3
  end
data/roo_on_rails.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ['lib']
23
23
 
24
24
  spec.add_runtime_dependency 'dotenv-rails', '~> 2.1'
25
- spec.add_runtime_dependency 'newrelic_rpm', '~> 3.17'
25
+ spec.add_runtime_dependency 'newrelic_rpm'
26
26
  spec.add_runtime_dependency 'rails', '>= 3.2.22', '< 5.2'
27
27
  spec.add_runtime_dependency 'platform-api', '~> 2.0'
28
28
  spec.add_runtime_dependency 'hashie', '~> 3.4'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roo_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-19 00:00:00.000000000 Z
11
+ date: 2017-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv-rails
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: newrelic_rpm
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '3.17'
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '3.17'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -319,6 +319,7 @@ files:
319
319
  - lib/roo_on_rails.rb
320
320
  - lib/roo_on_rails/checks.rb
321
321
  - lib/roo_on_rails/checks/base.rb
322
+ - lib/roo_on_rails/checks/documentation/playbook.rb
322
323
  - lib/roo_on_rails/checks/env_specific.rb
323
324
  - lib/roo_on_rails/checks/environment.rb
324
325
  - lib/roo_on_rails/checks/git/origin.rb