Hello community, here is the log from the commit of package rubygem-method_source for openSUSE:Factory checked in at 2018-11-20 22:43:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-method_source (Old) and /work/SRC/openSUSE:Factory/.rubygem-method_source.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-method_source" Tue Nov 20 22:43:29 2018 rev:12 rq:650336 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-method_source/rubygem-method_source.changes 2018-11-10 17:02:16.195541582 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-method_source.new.19453/rubygem-method_source.changes 2018-11-20 22:43:40.518255170 +0100 @@ -1,0 +2,7 @@ +Mon Nov 12 17:46:29 UTC 2018 - mschnitzer@suse.com + +- updated to version 0.9.2 + + no changelog found + +------------------------------------------------------------------- Old: ---- method_source-0.9.1.gem New: ---- method_source-0.9.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-method_source.spec ++++++ --- /var/tmp/diff_new_pack.tYn2Dy/_old 2018-11-20 22:43:41.550254779 +0100 +++ /var/tmp/diff_new_pack.tYn2Dy/_new 2018-11-20 22:43:41.550254779 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-method_source -Version: 0.9.1 +Version: 0.9.2 Release: 0 %define mod_name method_source %define mod_full_name %{mod_name}-%{version} ++++++ method_source-0.9.1.gem -> method_source-0.9.2.gem ++++++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/method_source/code_helpers.rb new/lib/method_source/code_helpers.rb --- old/lib/method_source/code_helpers.rb 2018-11-02 16:53:16.000000000 +0100 +++ new/lib/method_source/code_helpers.rb 2018-11-11 19:41:11.000000000 +0100 @@ -1,9 +1,6 @@ module MethodSource module CodeHelpers - # @return [Boolean] - JRUBY_9200 = (defined?(JRUBY_VERSION) || false) && JRUBY_VERSION == '9.2.0.0' - # Retrieve the first expression starting on the given line of the given file. # # This is useful to get module or method source code. @@ -32,26 +29,6 @@ extract_first_expression(relevant_lines, options[:consume]) rescue SyntaxError => e - # JRuby 9.2.0.0 breaks #source_location for Procs (it reports line number - # as the last line of the Proc). This raises SyntaxError. - # See https://github.com/pry/pry/issues/1804 for details. - # - # To fix this, this hack rewinds source location one step at a time and - # tries to see if the new location is a complete expression. - # - # TODO: delete this once latest JRuby version is bumped. - # See https://github.com/banister/method_source/issues/52 - if JRUBY_9200 && line_number > 0 - loop do - line_number -= 1 - - # Skip empty lines since they are not real expressions. - break unless lines[line_number - 1] == "\n" - end - - retry - end - raise if options[:strict] begin diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/method_source/version.rb new/lib/method_source/version.rb --- old/lib/method_source/version.rb 2018-11-02 16:53:16.000000000 +0100 +++ new/lib/method_source/version.rb 2018-11-11 19:41:11.000000000 +0100 @@ -1,3 +1,3 @@ module MethodSource - VERSION = "0.9.1" + VERSION = '0.9.2'.freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2018-11-02 16:53:16.000000000 +0100 +++ new/metadata 2018-11-11 19:41:11.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: method_source version: !ruby/object:Gem::Version - version: 0.9.1 + version: 0.9.2 platform: ruby authors: - John Mair (banisterfiend) autorequire: bindir: bin cert_chain: [] -date: 2018-11-02 00:00:00.000000000 Z +date: 2018-11-12 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rspec @@ -79,7 +79,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.6.14 +rubygems_version: 2.6.13 signing_key: specification_version: 4 summary: retrieve the sourcecode for a method diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/method_source.gemspec new/method_source.gemspec --- old/method_source.gemspec 2018-11-02 16:53:16.000000000 +0100 +++ new/method_source.gemspec 2018-11-11 19:41:11.000000000 +0100 @@ -1,20 +1,20 @@ # -*- encoding: utf-8 -*- -# stub: method_source 0.9.1 ruby lib +# stub: method_source 0.9.2 ruby lib Gem::Specification.new do |s| s.name = "method_source".freeze - s.version = "0.9.1" + s.version = "0.9.2" 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 = "2018-11-02" + s.date = "2018-11-12" s.description = "retrieve the sourcecode for a method".freeze s.email = "jrmair@gmail.com".freeze s.files = [".gemtest".freeze, ".travis.yml".freeze, ".yardopts".freeze, "Gemfile".freeze, "LICENSE".freeze, "README.markdown".freeze, "Rakefile".freeze, "lib/method_source.rb".freeze, "lib/method_source/code_helpers.rb".freeze, "lib/method_source/source_location.rb".freeze, "lib/method_source/version.rb".freeze, "method_source.gemspec".freeze, "spec/method_source/code_helpers_spec.rb".freeze, "spec/method_source_spec.rb".freeze, "spec/spec_helper.rb".freeze] s.homepage = "http://banisterfiend.wordpress.com".freeze s.licenses = ["MIT".freeze] - s.rubygems_version = "2.6.14".freeze + s.rubygems_version = "2.7.6".freeze s.summary = "retrieve the sourcecode for a method".freeze s.test_files = ["spec/method_source/code_helpers_spec.rb".freeze, "spec/method_source_spec.rb".freeze, "spec/spec_helper.rb".freeze] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/method_source_spec.rb new/spec/method_source_spec.rb --- old/spec/method_source_spec.rb 2018-11-02 16:53:16.000000000 +0100 +++ new/spec/method_source_spec.rb 2018-11-11 19:41:11.000000000 +0100 @@ -31,7 +31,7 @@ @hello_comment = "# A comment for hello\n# It spans two lines and is indented by 2 spaces\n" @lambda_comment = "# This is a comment for MyLambda\n" @lambda_source = "MyLambda = lambda { :lambda }\n" - @proc_source = "MyProc = Proc.new do\n\n\nend\n" + @proc_source = "MyProc = Proc.new { :proc }\n" @hello_instance_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n" @hello_instance_evaled_source_2 = " def \#{name}_two()\n if 44\n 45\n end\n end\n" @hello_class_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/spec_helper.rb new/spec/spec_helper.rb --- old/spec/spec_helper.rb 2018-11-02 16:53:16.000000000 +0100 +++ new/spec/spec_helper.rb 2018-11-11 19:41:11.000000000 +0100 @@ -49,11 +49,9 @@ # This is a comment for MyLambda MyLambda = lambda { :lambda } -MyProc = Proc.new do +MyProc = Proc.new { :proc } -end - name = "name" M.instance_eval <<-METHOD, __FILE__, __LINE__ + 1 @@ -100,3 +98,4 @@ # class_eval without filename and lineno + 1 parameter M.class_eval "def #{name}_three; @tempfile.#{name}; end" +