pdd 0.19 → 0.19.1

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: 1301f2639525558a458d49bf60f7b0782ff64411
4
- data.tar.gz: 72f951b344e6356b743e5c8b41c5fd3b52ea8be1
3
+ metadata.gz: 70605c231a2b289a5a6596696970d736a82742bb
4
+ data.tar.gz: bfa4a9fbb46cd693337eb82c1658c2843e68ed17
5
5
  SHA512:
6
- metadata.gz: 322b941959f93466b62046260c8b34ebdedc71d916b435251a2f3566d798a6197fe066d45bd3c13cd2c18122746504dc86304e1e090ab3ff885aff0e4b2e17c2
7
- data.tar.gz: f5e136c6e729887be579b0b2231ee8de5e781323c4d45ebe4a2b1e2aaa5a1b52d7eb508cccfdea99ecc1602e5a8db3fdfd54110cdec459d55416113f553c5f9f
6
+ metadata.gz: 3ab6a6b36484213810dca3494b66cef150c413f7fbb6f29f8953724ceca0d1fc53f268bce66f369484511d290592f5ce0a66d598803367c0786b85d561b564ad
7
+ data.tar.gz: fa42c284c924fcb9fa9dec2ab659ea8fa75927f4ac4d530b6192e7f2b248d41058c6905deb7da77c445fcdc2c808994c87392c974cdb2379f792895d687f50ce
data/bin/pdd CHANGED
@@ -98,15 +98,18 @@ https://github.com/yegor256/pdd/blob/master/README.md"
98
98
  rescue SystemExit => ex
99
99
  puts ex.message unless ex.success?
100
100
  exit(ex.status)
101
- rescue Source::Error => ex
102
- puts "#{Rainbow('ERROR').red}: #{ex.message}"
103
- puts "If you can't understand the cause of this issue or you don't know \
101
+ rescue PDD::Error => ex
102
+ puts "#{Rainbow('ERROR').red}: #{ex.message}. \
103
+ If you can't understand the cause of this issue or you don't know \
104
104
  how to fix it, please submit a GitHub issue, we will try to help you: \
105
105
  https://github.com/yegor256/pdd/issues. This tool is still in its beta \
106
106
  version and we will appreciate your feedback. Here is where you can find \
107
107
  more documentation: https://github.com/yegor256/pdd/blob/master/README.md."
108
108
  exit(1)
109
109
  rescue StandardError => ex
110
- puts "#{Rainbow('ERROR').red}: #{ex.message}"
110
+ puts "#{Rainbow('ERROR').red} (#{ex.class.name}): #{ex.message}"
111
111
  exit(-1)
112
112
  end
113
+
114
+ # @todo xx
115
+
@@ -26,9 +26,6 @@ require_relative '../pdd/puzzle'
26
26
  module PDD
27
27
  # Source.
28
28
  class Source
29
- # If it breaks.
30
- class Error < PDD::Error
31
- end
32
29
  # Ctor.
33
30
  # +file+:: Absolute file name with source code
34
31
  # +path+:: Path to show (without full file name)
@@ -23,5 +23,5 @@
23
23
  # Copyright:: Copyright (c) 2014-2017 Yegor Bugayenko
24
24
  # License:: MIT
25
25
  module PDD
26
- VERSION = '0.19'.freeze
26
+ VERSION = '0.19.1'.freeze
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pdd
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.19'
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko