pagoda 0.7.4 → 0.7.5

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: f68dbfdee4fc21612c902e14ea8b90c792e37e6e
4
- data.tar.gz: 4eb03823c3d5729c177afda1356eb684e475bb3a
3
+ metadata.gz: bc94611a3f7274ca55f382eac24d5046d8bf95a8
4
+ data.tar.gz: 7544372284da6c61088bbd753ee1ea952cb29561
5
5
  SHA512:
6
- metadata.gz: 4bce58317eae1fddcd86e2959d13c803230df8b374d03e4df5d0d4f739fee01d030e20bcd775d058bfd44271b5d147586242a07645294a7ced9b0a400f5c13b0
7
- data.tar.gz: b9d42f6fdb5de37b0e3d8ee2f48fe6babd41dd842f4e909086e3a1129d61bfc98df68c6d73a2ecc037da2ccf09f1710d563c9a00ae8e79cecf878bb7e8f66249
6
+ metadata.gz: 2383112bd5c4a4e6a7f4e99d0976e0790d8ac2118ddad9c40d50fa2b960c2d5a1ac6716e08e4342352f4452f458ade1eb9a57ce1daf7e3170fc84e1612feb8d1
7
+ data.tar.gz: 6511198ef920ac81aaf9b0eb2a3e955e67eb1fef3a4746a75c80144e83fae9f650b1078bf2a2b5626442e296b12de402ceaa56c58d7ee6eb40eaf74126f2b631
@@ -41,11 +41,15 @@ module Pagoda
41
41
 
42
42
  def error(msg, exit=true, level=1)
43
43
  STDERR.puts
44
- case msg
45
- when Array
46
- say("<%= color('#{msg.join("\n")}', :red)%>")
47
- when String
48
- say("<%= color(msg, :red)%>")
44
+ begin
45
+ case msg
46
+ when Array
47
+ say("<%= color('#{msg.join("\n")}', :red)%>")
48
+ when String
49
+ say("<%= color(msg, :red)%>")
50
+ end
51
+ rescue
52
+ puts msg
49
53
  end
50
54
  STDERR.puts
51
55
  exit 1 if exit
@@ -1,5 +1,5 @@
1
1
  module Pagoda
2
2
  module CLI
3
- VERSION = "0.7.4"
3
+ VERSION = "0.7.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagoda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyon Hill