kensa 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/kensa.gemspec +2 -2
- data/lib/heroku/kensa/check.rb +1 -3
- data/lib/heroku/kensa/client.rb +3 -5
- data/lib/heroku/kensa/version.rb +1 -1
- metadata +7 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1742c18acad882d4d762020dd7f3a7e889d286e
|
4
|
+
data.tar.gz: 420d48e85668662f582ed82302ee7908c1d80409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cf79cc917b82713e255281afc4211df58ab3a85870ec83217fca4997ea1fc4c0e56b1d7ef6a4e6d70b11c9bd00f9e6e7c469266b00397458aa6c12b4171ff1f
|
7
|
+
data.tar.gz: 5e9b2d617a4a03f4d34191117ba6dba5a1b381ad97fc5ea1a6394c11634bb28f59684f573ba8ce3b32910bbdf03d87fb53b89e993bfdcb0a21c417a8acba2a35
|
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kensa (2.4.
|
4
|
+
kensa (2.4.3)
|
5
|
+
colored (~> 1.2)
|
5
6
|
launchy (~> 2.2.0)
|
6
7
|
mechanize (~> 2.6.0)
|
7
8
|
netrc (~> 0.10.3)
|
8
|
-
rest-client (~> 1.
|
9
|
-
term-ansicolor (~> 1.3)
|
9
|
+
rest-client (~> 1.8)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
@@ -15,10 +15,13 @@ GEM
|
|
15
15
|
artifice (0.6)
|
16
16
|
rack-test
|
17
17
|
coderay (1.0.8)
|
18
|
+
colored (1.2)
|
18
19
|
contest (0.1.3)
|
19
|
-
domain_name (0.5.
|
20
|
+
domain_name (0.5.25)
|
20
21
|
unf (>= 0.0.5, < 1.0.0)
|
21
22
|
fakefs (0.4.2)
|
23
|
+
http-cookie (1.0.2)
|
24
|
+
domain_name (~> 0.5)
|
22
25
|
launchy (2.2.0)
|
23
26
|
addressable (~> 2.3)
|
24
27
|
mechanize (2.6.0)
|
@@ -35,7 +38,7 @@ GEM
|
|
35
38
|
net-http-digest_auth (1.4)
|
36
39
|
net-http-persistent (2.9.4)
|
37
40
|
netrc (0.10.3)
|
38
|
-
nokogiri (1.6.6.
|
41
|
+
nokogiri (1.6.6.4)
|
39
42
|
mini_portile (~> 0.6.0)
|
40
43
|
ntlm-http (0.1.1)
|
41
44
|
power_assert (0.2.2)
|
@@ -49,23 +52,20 @@ GEM
|
|
49
52
|
rack-test (0.6.2)
|
50
53
|
rack (>= 1.0)
|
51
54
|
rake (10.0.4)
|
52
|
-
|
53
|
-
|
54
|
-
mime-types (
|
55
|
-
|
55
|
+
rest-client (1.8.0)
|
56
|
+
http-cookie (>= 1.0.2, < 2.0)
|
57
|
+
mime-types (>= 1.16, < 3.0)
|
58
|
+
netrc (~> 0.7)
|
56
59
|
rr (1.0.4)
|
57
60
|
sinatra (1.4.2)
|
58
61
|
rack (~> 1.5, >= 1.5.2)
|
59
62
|
rack-protection (~> 1.4)
|
60
63
|
tilt (~> 1.3, >= 1.3.4)
|
61
64
|
slop (3.4.3)
|
62
|
-
term-ansicolor (1.3.2)
|
63
|
-
tins (~> 1.0)
|
64
65
|
test-unit (3.0.9)
|
65
66
|
power_assert
|
66
67
|
tilt (1.3.6)
|
67
68
|
timecop (0.6.1)
|
68
|
-
tins (1.6.0)
|
69
69
|
unf (0.1.4)
|
70
70
|
unf_ext
|
71
71
|
unf_ext (0.0.7.1)
|
data/kensa.gemspec
CHANGED
@@ -27,8 +27,8 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.add_runtime_dependency(%q<launchy>, "~> 2.2.0")
|
28
28
|
s.add_runtime_dependency(%q<mechanize>, "~> 2.6.0")
|
29
29
|
s.add_runtime_dependency(%q<netrc>, "~> 0.10.3")
|
30
|
-
s.add_runtime_dependency(%q<rest-client>,
|
31
|
-
s.add_runtime_dependency(%q<
|
30
|
+
s.add_runtime_dependency(%q<rest-client>, "~> 1.8")
|
31
|
+
s.add_runtime_dependency(%q<colored>, "~> 1.2")
|
32
32
|
|
33
33
|
s.add_development_dependency(%q<artifice>, "~> 0.6")
|
34
34
|
s.add_development_dependency(%q<contest>, "~> 0.1.3")
|
data/lib/heroku/kensa/check.rb
CHANGED
@@ -2,7 +2,7 @@ require 'mechanize'
|
|
2
2
|
require 'socket'
|
3
3
|
require 'timeout'
|
4
4
|
require 'uri'
|
5
|
-
require '
|
5
|
+
require 'colored'
|
6
6
|
|
7
7
|
module Heroku
|
8
8
|
module Kensa
|
@@ -168,8 +168,6 @@ module Heroku
|
|
168
168
|
|
169
169
|
|
170
170
|
class ProvisionResponseCheck < Check
|
171
|
-
include Term::ANSIColor
|
172
|
-
|
173
171
|
def call!
|
174
172
|
response = data[:provision_response]
|
175
173
|
test "response"
|
data/lib/heroku/kensa/client.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
require 'restclient'
|
2
|
-
require 'term/ansicolor'
|
3
2
|
require 'launchy'
|
4
3
|
require 'optparse'
|
5
4
|
require 'netrc'
|
5
|
+
require 'colored'
|
6
6
|
|
7
7
|
module Heroku
|
8
8
|
module Kensa
|
@@ -236,8 +236,6 @@ module Heroku
|
|
236
236
|
|
237
237
|
|
238
238
|
class Screen
|
239
|
-
include Term::ANSIColor
|
240
|
-
|
241
239
|
def test(msg)
|
242
240
|
$stdout.puts
|
243
241
|
$stdout.puts
|
@@ -250,11 +248,11 @@ module Heroku
|
|
250
248
|
end
|
251
249
|
|
252
250
|
def error(msg)
|
253
|
-
$stdout.print "\n",
|
251
|
+
$stdout.print "\n", " #{msg}".red
|
254
252
|
end
|
255
253
|
|
256
254
|
def result(status)
|
257
|
-
msg = status ?
|
255
|
+
msg = status ? "[PASS]".green : "[FAIL]".red.bold
|
258
256
|
$stdout.print " #{msg}"
|
259
257
|
end
|
260
258
|
|
data/lib/heroku/kensa/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kensa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Mizerany
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2015-11-
|
16
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: launchy
|
@@ -61,36 +61,30 @@ dependencies:
|
|
61
61
|
name: rest-client
|
62
62
|
requirement: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- - "<"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 1.7.0
|
67
64
|
- - "~>"
|
68
65
|
- !ruby/object:Gem::Version
|
69
|
-
version: '1.
|
66
|
+
version: '1.8'
|
70
67
|
type: :runtime
|
71
68
|
prerelease: false
|
72
69
|
version_requirements: !ruby/object:Gem::Requirement
|
73
70
|
requirements:
|
74
|
-
- - "<"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 1.7.0
|
77
71
|
- - "~>"
|
78
72
|
- !ruby/object:Gem::Version
|
79
|
-
version: '1.
|
73
|
+
version: '1.8'
|
80
74
|
- !ruby/object:Gem::Dependency
|
81
|
-
name:
|
75
|
+
name: colored
|
82
76
|
requirement: !ruby/object:Gem::Requirement
|
83
77
|
requirements:
|
84
78
|
- - "~>"
|
85
79
|
- !ruby/object:Gem::Version
|
86
|
-
version: '1.
|
80
|
+
version: '1.2'
|
87
81
|
type: :runtime
|
88
82
|
prerelease: false
|
89
83
|
version_requirements: !ruby/object:Gem::Requirement
|
90
84
|
requirements:
|
91
85
|
- - "~>"
|
92
86
|
- !ruby/object:Gem::Version
|
93
|
-
version: '1.
|
87
|
+
version: '1.2'
|
94
88
|
- !ruby/object:Gem::Dependency
|
95
89
|
name: artifice
|
96
90
|
requirement: !ruby/object:Gem::Requirement
|