tlapse 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/tlapse +0 -1
- data/lib/tlapse/doctor.rb +8 -4
- data/lib/tlapse/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50c5d1148f92b45a295b8ccea2d7d966c965366e
|
4
|
+
data.tar.gz: 7dc502c685355a1f5b7191710e0fc6583c3a79d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fb1593a5123329228cd21322429675d896376dce49f2985a901462acd5b3b81e8d3dfdfc27eeb7811e341b7d536bab0fb66b63b42f3d9f620d239f00e011b55
|
7
|
+
data.tar.gz: 36aaf8dc8a11d2ac5824a45e85d6349ca43bc552d56ec05ce13901de45122309d56320e724933df5fa46120401b114a4fd31b0ba32e1a5fb0c3cdc77b9446c9d
|
data/bin/tlapse
CHANGED
data/lib/tlapse/doctor.rb
CHANGED
@@ -12,11 +12,15 @@ module Tlapse
|
|
12
12
|
puts "Looks good!"
|
13
13
|
end
|
14
14
|
|
15
|
-
def
|
15
|
+
def status
|
16
16
|
CHECKS.each { |check| send "check_#{check}!" }
|
17
|
-
|
18
|
-
rescue StandardError
|
19
|
-
|
17
|
+
"OK"
|
18
|
+
rescue StandardError => e
|
19
|
+
e.message
|
20
|
+
end
|
21
|
+
|
22
|
+
def okay?
|
23
|
+
status == "OK"
|
20
24
|
end
|
21
25
|
|
22
26
|
private ###################################################################
|
data/lib/tlapse/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tlapse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Toniazzo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|