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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c521c1060c03a97d7344c051c28079d1eee4e937
4
- data.tar.gz: 075d199311cf2c500fd02098912a135249bcf49f
3
+ metadata.gz: 50c5d1148f92b45a295b8ccea2d7d966c965366e
4
+ data.tar.gz: 7dc502c685355a1f5b7191710e0fc6583c3a79d1
5
5
  SHA512:
6
- metadata.gz: 8a44fb5bfebd0d19a424517a950813c22ff5730ad01a1dfc70a1c52a8f4cdbd7ffe5a12feea1ac9ef309be0c286c2d37c170060aece6091b7678324e6877ad55
7
- data.tar.gz: ebcb211d23199430d02570432c5362c44b1ba230d0e5323c63686d392153e454dcd98e25ea23fa7aa7a4967ae00cfac9e075992996956ea809c4a6d9ba05c9e8
6
+ metadata.gz: 8fb1593a5123329228cd21322429675d896376dce49f2985a901462acd5b3b81e8d3dfdfc27eeb7811e341b7d536bab0fb66b63b42f3d9f620d239f00e011b55
7
+ data.tar.gz: 36aaf8dc8a11d2ac5824a45e85d6349ca43bc552d56ec05ce13901de45122309d56320e724933df5fa46120401b114a4fd31b0ba32e1a5fb0c3cdc77b9446c9d
data/bin/tlapse CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  require "gli"
4
4
  require "fileutils"
5
- require "byebug"
6
5
 
7
6
  require_relative "../lib/tlapse"
8
7
 
data/lib/tlapse/doctor.rb CHANGED
@@ -12,11 +12,15 @@ module Tlapse
12
12
  puts "Looks good!"
13
13
  end
14
14
 
15
- def okay?
15
+ def status
16
16
  CHECKS.each { |check| send "check_#{check}!" }
17
- true
18
- rescue StandardError
19
- false
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 ###################################################################
@@ -1,3 +1,3 @@
1
1
  module Tlapse
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-06 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler