console_runner 0.1.28 → 0.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc3a9531df2e4e6164309a48b9711fb4ce4b82a0
4
- data.tar.gz: 52b2b36913c2bc8a5e8baf6ef06b368b556817fe
3
+ metadata.gz: 353dc940c1f3adbd282c3c039813d04b1cfee8cc
4
+ data.tar.gz: 4d75626a5ec152ad2cbce0507a4051f7fe2d7097
5
5
  SHA512:
6
- metadata.gz: 1de098adb92f8c1e600898eaac0d56d9e7cbb41c1b6a3c5e1c08795f13dd841ced303c7a2e2a2f7e8e1badf7d216da94c9dfb44d0c3a25707ec710726c33b30c
7
- data.tar.gz: ff252265a08da9bccad17fd4f315842a1e9e7136bfe3c23efd9f05b8a83ca35471a5fcc3c488135f4d0578579f232a29005a93632a66dbb9773c546dd082905c
6
+ metadata.gz: bb90e26f0d472c4f5b8c339285764eb6c376abc8d3b35c9b30c69d456e3327c2f3bb1badece608fff988e2688f73eea33af5a6a0d7813bd8ef3e3a4edd8eac5c
7
+ data.tar.gz: 02d6b94af7e6afa48727a933a94a2d99233df9503240374d66222ab289b2ef016d830b7c314b05f6765a8ebbf2cd5d918d008ff2acf698f3fb48c65672ea97a3
@@ -1,3 +1,3 @@
1
1
  module ConsoleRunner
2
- VERSION = '0.1.28'
2
+ VERSION = '0.1.29'
3
3
  end
@@ -1,11 +1,8 @@
1
1
  class ConsoleRunnerError < StandardError
2
2
 
3
3
  def backtrace
4
- if ENV['CR_DEBUG'].to_s == 'true'
5
- super
6
- else
7
- @object
8
- end
4
+ return @object unless CommandLineParser.debug?
5
+ super
9
6
  end
10
7
 
11
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console_runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.28
4
+ version: 0.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Karpovich