irb 1.3.0 → 1.3.5

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.
data/lib/irb/version.rb CHANGED
@@ -11,7 +11,7 @@
11
11
  #
12
12
 
13
13
  module IRB # :nodoc:
14
- VERSION = "1.3.0"
14
+ VERSION = "1.3.5"
15
15
  @RELEASE_VERSION = VERSION
16
- @LAST_UPDATE_DATE = "2020-12-25"
16
+ @LAST_UPDATE_DATE = "2021-04-03"
17
17
  end
data/lib/irb/workspace.rb CHANGED
@@ -128,6 +128,7 @@ EOF
128
128
  def filter_backtrace(bt)
129
129
  return nil if bt =~ /\/irb\/.*\.rb/
130
130
  return nil if bt =~ /\/irb\.rb/
131
+ return nil if bt =~ /tool\/lib\/.*\.rb|runner\.rb/ # for tests in Ruby repository
131
132
  case IRB.conf[:CONTEXT_MODE]
132
133
  when 1
133
134
  return nil if bt =~ %r!/tmp/irb-binding!
@@ -174,7 +175,7 @@ EOF
174
175
  body = (start_pos..end_pos).map do |current_pos|
175
176
  sprintf(fmt, pos == current_pos ? '=>' : '', current_pos + 1, lines[current_pos])
176
177
  end.join("")
177
- "\nFrom: #{file} @ line #{pos + 1} :\n\n#{body}#{Color.clear}\n"
178
+ "\nFrom: #{file} @ line #{pos + 1} :\n\n#{body}#{Color.clear if use_colorize}\n"
178
179
  end
179
180
 
180
181
  def IRB.delete_caller
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keiju ISHITSUKA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-24 00:00:00.000000000 Z
11
+ date: 2021-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reline
@@ -75,12 +75,17 @@ files:
75
75
  - lib/irb/cmd/chws.rb
76
76
  - lib/irb/cmd/fork.rb
77
77
  - lib/irb/cmd/help.rb
78
+ - lib/irb/cmd/info.rb
78
79
  - lib/irb/cmd/load.rb
80
+ - lib/irb/cmd/ls.rb
79
81
  - lib/irb/cmd/measure.rb
80
82
  - lib/irb/cmd/nop.rb
81
83
  - lib/irb/cmd/pushws.rb
84
+ - lib/irb/cmd/show_source.rb
82
85
  - lib/irb/cmd/subirb.rb
86
+ - lib/irb/cmd/whereami.rb
83
87
  - lib/irb/color.rb
88
+ - lib/irb/color_printer.rb
84
89
  - lib/irb/completion.rb
85
90
  - lib/irb/context.rb
86
91
  - lib/irb/easter-egg.rb