Hello community, here is the log from the commit of package rubygem-byebug for openSUSE:Factory checked in at 2016-10-13 11:24:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-byebug (Old) and /work/SRC/openSUSE:Factory/.rubygem-byebug.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-byebug" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-byebug/rubygem-byebug.changes 2016-06-02 12:50:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-byebug.new/rubygem-byebug.changes 2016-10-13 11:24:30.000000000 +0200 @@ -1,0 +2,15 @@ +Sat Oct 1 04:33:09 UTC 2016 - [email protected] + +- updated to version 9.0.6 + see installed CHANGELOG.md + + ## 9.0.6 - 2016-09-29 + + ### Fixed + + * Error when using `byebug` with a ruby compiled against libedit (#241). + * Allow `Byebug.start_server` to yield the block passed to it when the actual + port is already known (#277, thanks @cben). + * Use a standard license name so it can be more reliably used by tools (#275). + +------------------------------------------------------------------- Old: ---- byebug-9.0.5.gem New: ---- byebug-9.0.6.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-byebug.spec ++++++ --- /var/tmp/diff_new_pack.Tu2P7A/_old 2016-10-13 11:24:31.000000000 +0200 +++ /var/tmp/diff_new_pack.Tu2P7A/_new 2016-10-13 11:24:31.000000000 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-byebug -Version: 9.0.5 +Version: 9.0.6 Release: 0 %define mod_name byebug %define mod_full_name %{mod_name}-%{version} ++++++ byebug-9.0.5.gem -> byebug-9.0.6.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2016-05-28 18:28:32.000000000 +0200 +++ new/CHANGELOG.md 2016-09-30 02:09:25.000000000 +0200 @@ -2,6 +2,15 @@ ## Master (Unreleased) +## 9.0.6 - 2016-09-29 + +### Fixed + +* Error when using `byebug` with a ruby compiled against libedit (#241). +* Allow `Byebug.start_server` to yield the block passed to it when the actual + port is already known (#277, thanks @cben). +* Use a standard license name so it can be more reliably used by tools (#275). + ## 9.0.5 - 2016-05-28 ### Fixed Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/byebug/breakpoint.rb new/lib/byebug/breakpoint.rb --- old/lib/byebug/breakpoint.rb 2016-05-28 18:28:32.000000000 +0200 +++ new/lib/byebug/breakpoint.rb 2016-09-30 02:09:25.000000000 +0200 @@ -82,9 +82,7 @@ # def inspect meths = %w(id pos source expr hit_condition hit_count hit_value enabled?) - values = meths.map do |field| - "#{field}: #{send(field)}" - end.join(', ') + values = meths.map { |field| "#{field}: #{send(field)}" }.join(', ') "#<Byebug::Breakpoint #{values}>" end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/byebug/commands/finish.rb new/lib/byebug/commands/finish.rb --- old/lib/byebug/commands/finish.rb 2016-05-28 18:28:32.000000000 +0200 +++ new/lib/byebug/commands/finish.rb 2016-09-30 02:09:25.000000000 +0200 @@ -40,7 +40,7 @@ n_frames = 1 end - force = n_frames == 0 ? true : false + force = n_frames.zero? ? true : false context.step_out(context.frame.pos + n_frames, force) context.frame = 0 processor.proceed! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/byebug/commands/info/breakpoints.rb new/lib/byebug/commands/info/breakpoints.rb --- old/lib/byebug/commands/info/breakpoints.rb 2016-05-28 18:28:32.000000000 +0200 +++ new/lib/byebug/commands/info/breakpoints.rb 2016-09-30 02:09:25.000000000 +0200 @@ -53,7 +53,7 @@ hits = brkpt.hit_count return unless hits > 0 - s = (hits > 1) ? 's' : '' + s = hits > 1 ? 's' : '' puts " breakpoint already hit #{hits} time#{s}" end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/byebug/helpers/toggle.rb new/lib/byebug/helpers/toggle.rb --- old/lib/byebug/helpers/toggle.rb 2016-05-28 18:28:32.000000000 +0200 +++ new/lib/byebug/helpers/toggle.rb 2016-09-30 02:09:25.000000000 +0200 @@ -39,7 +39,7 @@ end def enable_disable_display(is_enable, args) - return errmsg(pr('toggle.errors.no_display')) if 0 == n_displays + return errmsg(pr('toggle.errors.no_display')) if n_displays.zero? selected_displays = args ? args.split(/ +/) : [1..n_displays + 1] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/byebug/history.rb new/lib/byebug/history.rb --- old/lib/byebug/history.rb 2016-05-28 18:28:32.000000000 +0200 +++ new/lib/byebug/history.rb 2016-09-30 02:09:25.000000000 +0200 @@ -22,6 +22,13 @@ end # + # Array holding the list of commands in history + # + def buffer + Readline::HISTORY.to_a + end + + # # Restores history from disk. # def restore @@ -74,7 +81,7 @@ def to_s(n_cmds) show_size = n_cmds ? specific_max_size(n_cmds) : default_max_size - commands = Readline::HISTORY.to_a.last(show_size) + commands = buffer.last(show_size) last_ids(show_size).zip(commands).map do |l| format('%5d %s', l[0], l[1]) @@ -115,7 +122,7 @@ return true if /^\s*$/ =~ buf return false if Readline::HISTORY.empty? - Readline::HISTORY[Readline::HISTORY.length - 1] == buf + buffer[Readline::HISTORY.length - 1] == buf end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/byebug/interfaces/local_interface.rb new/lib/byebug/interfaces/local_interface.rb --- old/lib/byebug/interfaces/local_interface.rb 2016-05-28 18:28:32.000000000 +0200 +++ new/lib/byebug/interfaces/local_interface.rb 2016-09-30 02:09:25.000000000 +0200 @@ -20,9 +20,7 @@ # @param prompt Prompt to be displayed. # def readline(prompt) - with_repl_like_sigint do - Readline.readline(prompt, false) || EOF_ALIAS - end + with_repl_like_sigint { Readline.readline(prompt) || EOF_ALIAS } end # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/byebug/remote.rb new/lib/byebug/remote.rb --- old/lib/byebug/remote.rb 2016-05-28 18:28:32.000000000 +0200 +++ new/lib/byebug/remote.rb 2016-09-30 02:09:25.000000000 +0200 @@ -34,9 +34,7 @@ Context.interface = nil start - start_control(host, port == 0 ? 0 : port + 1) - - yield if block_given? + start_control(host, port.zero? ? 0 : port + 1) mutex = Mutex.new proceed = ConditionVariable.new @@ -44,6 +42,8 @@ server = TCPServer.new(host, port) self.actual_port = server.addr[1] + yield if block_given? + @thread = DebugThread.new do while (session = server.accept) Context.interface = RemoteInterface.new(session) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/byebug/version.rb new/lib/byebug/version.rb --- old/lib/byebug/version.rb 2016-05-28 18:28:32.000000000 +0200 +++ new/lib/byebug/version.rb 2016-09-30 02:09:25.000000000 +0200 @@ -3,5 +3,5 @@ # Reopen main module to define the library version # module Byebug - VERSION = '9.0.5'.freeze + VERSION = '9.0.6'.freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2016-05-28 18:28:32.000000000 +0200 +++ new/metadata 2016-09-30 02:09:25.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: byebug version: !ruby/object:Gem::Version - version: 9.0.5 + version: 9.0.6 platform: ruby authors: - David Rodriguez @@ -10,7 +10,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2016-05-28 00:00:00.000000000 Z +date: 2016-09-30 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: bundler @@ -171,7 +171,7 @@ - lib/byebug/version.rb homepage: http://github.com/deivid-rodriguez/byebug licenses: -- BSD +- BSD-2-Clause metadata: {} post_install_message: rdoc_options: [] @@ -189,9 +189,8 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.5.1 +rubygems_version: 2.6.7 signing_key: specification_version: 4 summary: Ruby 2.0 fast debugger - base + CLI test_files: [] -has_rdoc:
