byebug 9.0.4 → 9.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/byebug/core.rb +10 -3
- data/lib/byebug/runner.rb +3 -3
- data/lib/byebug/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: b4e23e41b748149fde1e27a62d7acc75dde046cb
|
4
|
+
data.tar.gz: d0cf42efb883f7e1a1d57e1461d29ba6f14d3554
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0eb92662556f8a58e678d63c336621ac5a050e94f8f3cdfc2fd276eb920418f5d2133bd9e038896804bee4299d597dc6870e7cd818f2b0cf532cfc18b4c727a
|
7
|
+
data.tar.gz: d51f4ebdcd26bacd3f4173559f2ee69fe090c02126b158595b13993fb379103a18297e6af612bbb91bf178f296088e6b77fd16e3ec30a70a2680073c8a312f0f
|
data/CHANGELOG.md
CHANGED
data/lib/byebug/core.rb
CHANGED
@@ -47,9 +47,7 @@ module Byebug
|
|
47
47
|
# are debugging, in the directory where you invoke byebug.
|
48
48
|
#
|
49
49
|
def run_init_script
|
50
|
-
run_rc_file(
|
51
|
-
|
52
|
-
run_rc_file(Dir.pwd) unless Dir.pwd == ENV['HOME']
|
50
|
+
rc_dirs.each { |dir| run_rc_file(dir) }
|
53
51
|
end
|
54
52
|
|
55
53
|
def self.load_settings
|
@@ -94,6 +92,15 @@ module Byebug
|
|
94
92
|
ensure
|
95
93
|
Context.interface = old_interface
|
96
94
|
end
|
95
|
+
|
96
|
+
#
|
97
|
+
# List of folders to load rc files from
|
98
|
+
#
|
99
|
+
# @note Files will be loaded in the order specified here.
|
100
|
+
#
|
101
|
+
def rc_dirs
|
102
|
+
[ENV['HOME'], Dir.pwd].compact.uniq
|
103
|
+
end
|
97
104
|
end
|
98
105
|
|
99
106
|
Byebug.load_settings
|
data/lib/byebug/runner.rb
CHANGED
@@ -71,11 +71,11 @@ module Byebug
|
|
71
71
|
# Usage banner.
|
72
72
|
#
|
73
73
|
def banner
|
74
|
-
<<-EOB.gsub(/^ {
|
74
|
+
<<-EOB.gsub(/^ {6}/, '')
|
75
75
|
|
76
|
-
|
76
|
+
byebug #{Byebug::VERSION}
|
77
77
|
|
78
|
-
|
78
|
+
Usage: byebug [options] <script.rb> -- <script.rb parameters>
|
79
79
|
|
80
80
|
EOB
|
81
81
|
end
|
data/lib/byebug/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: byebug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.0.
|
4
|
+
version: 9.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Rodriguez
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-05-
|
13
|
+
date: 2016-05-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|