Hello community,

here is the log from the commit of package rubygem-binding_of_caller for 
openSUSE:Factory checked in at 2018-02-10 17:59:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-binding_of_caller (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-binding_of_caller.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-binding_of_caller"

Sat Feb 10 17:59:46 2018 rev:3 rq:574925 version:0.8.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-binding_of_caller/rubygem-binding_of_caller.changes
      2017-11-01 11:09:42.585616674 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-binding_of_caller.new/rubygem-binding_of_caller.changes
 2018-02-10 17:59:48.372572254 +0100
@@ -1,0 +2,6 @@
+Thu Feb  8 05:54:20 UTC 2018 - co...@suse.com
+
+- updated to version 0.8.0
+ see installed HISTORY
+
+-------------------------------------------------------------------

Old:
----
  binding_of_caller-0.7.3.gem

New:
----
  binding_of_caller-0.8.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-binding_of_caller.spec ++++++
--- /var/tmp/diff_new_pack.y4IwQG/_old  2018-02-10 17:59:49.160543729 +0100
+++ /var/tmp/diff_new_pack.y4IwQG/_new  2018-02-10 17:59:49.160543729 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-binding_of_caller
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-binding_of_caller
-Version:        0.7.3
+Version:        0.8.0
 Release:        0
 %define mod_name binding_of_caller
 %define mod_full_name %{mod_name}-%{version}

++++++ binding_of_caller-0.7.3.gem -> binding_of_caller-0.8.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2017-10-22 02:45:01.000000000 +0200
+++ new/.travis.yml     2018-01-10 12:36:06.000000000 +0100
@@ -6,6 +6,7 @@
   - 2.2.6
   - 2.3.0
   - 2.4.0
+  - 2.5.0
 
 notifications:
   irc: "irc.freenode.org#pry"
@@ -26,8 +27,8 @@
 
 #script: rake test --trace
 #
-#before_install:
-#  - gem update --system
+before_install:
+  - gem update --system
 #  - gem --version
 #  - gem install rake bacon
 #  - rake gem
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/binding_of_caller.gemspec 
new/binding_of_caller.gemspec
--- old/binding_of_caller.gemspec       2017-10-22 02:45:01.000000000 +0200
+++ new/binding_of_caller.gemspec       2018-01-10 12:36:06.000000000 +0100
@@ -1,21 +1,21 @@
 # -*- encoding: utf-8 -*-
-# stub: binding_of_caller 0.7.3 ruby lib
+# stub: binding_of_caller 0.8.0 ruby lib
 # stub: ext/binding_of_caller/extconf.rb
 
 Gem::Specification.new do |s|
   s.name = "binding_of_caller".freeze
-  s.version = "0.7.3"
+  s.version = "0.8.0"
 
   s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if 
s.respond_to? :required_rubygems_version=
   s.require_paths = ["lib".freeze]
   s.authors = ["John Mair (banisterfiend)".freeze]
-  s.date = "2017-10-22"
+  s.date = "2018-01-10"
   s.description = "Retrieve the binding of a method's caller. Can also 
retrieve bindings even further up the stack.".freeze
   s.email = "jrm...@gmail.com".freeze
   s.extensions = ["ext/binding_of_caller/extconf.rb".freeze]
   s.files = [".gemtest".freeze, ".gitignore".freeze, ".travis.yml".freeze, 
".yardopts".freeze, "Gemfile".freeze, "HISTORY".freeze, "LICENSE".freeze, 
"README.md".freeze, "Rakefile".freeze, "binding_of_caller.gemspec".freeze, 
"examples/benchmark.rb".freeze, "examples/example.rb".freeze, 
"ext/binding_of_caller/binding_of_caller.c".freeze, 
"ext/binding_of_caller/extconf.rb".freeze, 
"ext/binding_of_caller/ruby_headers/192/debug.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/dln.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/eval_intern.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/id.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/iseq.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/method.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/node.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/regenc.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/regint.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/regparse.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/rubys_gc.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/thread_pthread.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/thread_win32.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/timev.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/transcode_data.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/version.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/vm_core.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/vm_exec.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/vm_insnhelper.h".freeze, 
"ext/binding_of_caller/ruby_headers/192/vm_opts.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/addr2line.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/atomic.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/constant.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/debug.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/dln.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/encdb.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/eval_intern.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/id.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/internal.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/iseq.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/method.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/node.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/parse.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/regenc.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/regint.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/regparse.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/revision.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/rubys_gc.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/thread_pthread.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/thread_win32.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/timev.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/transcode_data.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/transdb.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/version.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/vm_core.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/vm_exec.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/vm_insnhelper.h".freeze, 
"ext/binding_of_caller/ruby_headers/193/vm_opts.h".freeze, 
"lib/binding_of_caller.rb".freeze, 
"lib/binding_of_caller/jruby_interpreted.rb".freeze, 
"lib/binding_of_caller/mri2.rb".freeze, 
"lib/binding_of_caller/rubinius.rb".freeze, 
"lib/binding_of_caller/version.rb".freeze, 
"test/test_binding_of_caller.rb".freeze]
   s.homepage = "http://github.com/banister/binding_of_caller".freeze
-  s.rubygems_version = "2.6.13".freeze
+  s.rubygems_version = "2.6.14".freeze
   s.summary = "Retrieve the binding of a method's caller. Can also retrieve 
bindings even further up the stack.".freeze
   s.test_files = ["test/test_binding_of_caller.rb".freeze]
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/binding_of_caller/mri2.rb 
new/lib/binding_of_caller/mri2.rb
--- old/lib/binding_of_caller/mri2.rb   2017-10-22 02:45:01.000000000 +0200
+++ new/lib/binding_of_caller/mri2.rb   2018-01-10 12:36:06.000000000 +0100
@@ -17,25 +17,19 @@
     # @return [Array<Binding>]
     def callers
       ary = []
-    
-      RubyVM::DebugInspector.open do |i|
-        n = 0
-        loop do
-          begin
-            b = i.frame_binding(n) 
-          rescue ArgumentError
-            break
-          end
 
+      RubyVM::DebugInspector.open do |dc|
+        locs = dc.backtrace_locations
+
+        locs.size.times do |i|
+          b = dc.frame_binding(i)
           if b
-            b.instance_variable_set(:@iseq, i.frame_iseq(n))
+            b.instance_variable_set(:@iseq, dc.frame_iseq(i))
             ary << b
           end
-          
-          n += 1
         end
       end
-      
+
       ary.drop(1)
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/binding_of_caller/version.rb 
new/lib/binding_of_caller/version.rb
--- old/lib/binding_of_caller/version.rb        2017-10-22 02:45:01.000000000 
+0200
+++ new/lib/binding_of_caller/version.rb        2018-01-10 12:36:06.000000000 
+0100
@@ -1,3 +1,3 @@
 module BindingOfCaller
-  VERSION = "0.7.3"
+  VERSION = "0.8.0"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-10-22 02:45:01.000000000 +0200
+++ new/metadata        2018-01-10 12:36:06.000000000 +0100
@@ -1,55 +1,55 @@
 --- !ruby/object:Gem::Specification
 name: binding_of_caller
 version: !ruby/object:Gem::Version
-  version: 0.7.3
+  version: 0.8.0
 platform: ruby
 authors:
 - John Mair (banisterfiend)
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-10-22 00:00:00.000000000 Z
+date: 2018-01-10 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: debug_inspector
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - ! '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: 0.0.1
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - ! '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: 0.0.1
 - !ruby/object:Gem::Dependency
   name: bacon
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - ! '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - ! '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0'
 - !ruby/object:Gem::Dependency
   name: rake
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - ! '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - ! '>='
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0'
 description: Retrieve the binding of a method's caller. Can also retrieve 
bindings
@@ -60,10 +60,10 @@
 - ext/binding_of_caller/extconf.rb
 extra_rdoc_files: []
 files:
-- .gemtest
-- .gitignore
-- .travis.yml
-- .yardopts
+- ".gemtest"
+- ".gitignore"
+- ".travis.yml"
+- ".yardopts"
 - Gemfile
 - HISTORY
 - LICENSE
@@ -137,17 +137,17 @@
 - lib
 required_ruby_version: !ruby/object:Gem::Requirement
   requirements:
-  - - ! '>='
+  - - ">="
     - !ruby/object:Gem::Version
       version: '0'
 required_rubygems_version: !ruby/object:Gem::Requirement
   requirements:
-  - - ! '>='
+  - - ">="
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.6.13
+rubygems_version: 2.6.14
 signing_key: 
 specification_version: 4
 summary: Retrieve the binding of a method's caller. Can also retrieve bindings 
even


Reply via email to