Hello community, here is the log from the commit of package rubygem-method_source for openSUSE:Factory checked in at 2020-04-27 23:42:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-method_source (Old) and /work/SRC/openSUSE:Factory/.rubygem-method_source.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-method_source" Mon Apr 27 23:42:11 2020 rev:13 rq:798263 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-method_source/rubygem-method_source.changes 2018-11-20 22:43:40.518255170 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-method_source.new.2738/rubygem-method_source.changes 2020-04-27 23:42:15.763981413 +0200 @@ -1,0 +2,7 @@ +Mon Apr 27 12:53:52 UTC 2020 - Manuel Schnitzer <mschnit...@suse.com> + +- updated to version 1.0.0 + + * Added Ruby 2.7 support + +------------------------------------------------------------------- Old: ---- method_source-0.9.2.gem New: ---- method_source-1.0.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-method_source.spec ++++++ --- /var/tmp/diff_new_pack.Aq8Jmk/_old 2020-04-27 23:42:16.391982697 +0200 +++ /var/tmp/diff_new_pack.Aq8Jmk/_new 2020-04-27 23:42:16.391982697 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-method_source # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-method_source -Version: 0.9.2 +Version: 1.0.0 Release: 0 %define mod_name method_source %define mod_full_name %{mod_name}-%{version} @@ -32,7 +32,7 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 -Url: http://banisterfiend.wordpress.com +URL: http://banisterfiend.wordpress.com Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: retrieve the sourcecode for a method @@ -48,7 +48,7 @@ %install %gem_install \ - --doc-files="LICENSE README.markdown" \ + --doc-files="CHANGELOG.md LICENSE README.markdown" \ -f %gem_packages ++++++ method_source-0.9.2.gem -> method_source-1.0.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.circleci/config.yml new/.circleci/config.yml --- old/.circleci/config.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/.circleci/config.yml 2020-03-19 14:11:35.000000000 +0100 @@ -0,0 +1,139 @@ +version: 2 +references: + repo_restore_cache: &repo_restore_cache + restore_cache: + keys: + - repo-{{ .Environment.CIRCLE_SHA1 }} + + repo_save_cache: &repo_save_cache + save_cache: + key: repo-{{ .Environment.CIRCLE_SHA1 }}-{{ epoch }} + paths: + - ~/method_source + + bundle_install: &bundle_install + run: + name: Install Bundler dependencies + command: bundle install --path ~/method_source/vendor/bundle --jobs 15 + + unit: &unit + run: + name: Run unit tests + command: bundle exec rake + +jobs: + "ruby-1.9": + docker: + - image: kyrylo/ruby-1.9.3p551 + working_directory: /home/circleci/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "ruby-2.0": + docker: + - image: kyrylo/ruby-2.0.0p648 + working_directory: /home/circleci/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "ruby-2.1": + docker: + - image: circleci/ruby:2.1 + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "ruby-2.2": + docker: + - image: circleci/ruby:2.2 + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "ruby-2.3": + docker: + - image: circleci/ruby:2.3 + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "ruby-2.4": + docker: + - image: circleci/ruby:2.4 + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "ruby-2.5": + docker: + - image: circleci/ruby:2.5 + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "ruby-2.6": + docker: + - image: circleci/ruby:2.6 + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "ruby-2.7": + docker: + - image: circleci/ruby:2.7.0 + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "jruby-9.1-jdk": + docker: + - image: circleci/jruby:9.1-jdk + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + "jruby-9.2-jdk": + docker: + - image: circleci/jruby:9.2-jdk + working_directory: ~/method_source + steps: + - checkout + - <<: *repo_restore_cache + - <<: *bundle_install + - <<: *unit + +workflows: + version: 2 + build: + jobs: + - "ruby-1.9" + - "ruby-2.0" + - "ruby-2.1" + - "ruby-2.2" + - "ruby-2.3" + - "ruby-2.4" + - "ruby-2.5" + - "ruby-2.6" + - "ruby-2.7" + - "jruby-9.1-jdk" + - "jruby-9.2-jdk" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2018-11-11 19:41:11.000000000 +0100 +++ new/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,31 +0,0 @@ -# To use rbx environment. -dist: trusty -bundler_args: "--verbose" -before_install: - - gem update --system - - which bundle || gem install bundler - - gem update bundler -rvm: - - 1.8.7 - - 1.9.3 - - ree - - rbx-3 - - jruby - - jruby-head - - 2.0.0 - - 2.1 - - 2.2 - - 2.3 - - 2.4.2 - - ruby-head -matrix: - allow_failures: - - rvm: ruby-head - - rvm: jruby - - rvm: jruby-head - - rvm: rbx-3 - fast_finish: true -notifications: - irc: "irc.freenode.org#pry" - recipients: - - jrm...@gmail.com diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 1970-01-01 01:00:00.000000000 +0100 +++ new/CHANGELOG.md 2020-03-19 14:11:35.000000000 +0100 @@ -0,0 +1,10 @@ +method_source changelog +======================= + +### master + +### [v1.0.0][v1.0.0] (March 19, 2020) + +* Added Ruby 2.7 support + +[v1.0.0]: https://github.com/banister/method_source/releases/tag/v1.0.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE new/LICENSE --- old/LICENSE 2018-11-11 19:41:11.000000000 +0100 +++ new/LICENSE 2020-03-19 14:11:35.000000000 +0100 @@ -1,7 +1,4 @@ -License -------- - -(The MIT License) +MIT License Copyright (c) 2011 John Mair (banisterfiend) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.markdown new/README.markdown --- old/README.markdown 2018-11-11 19:41:11.000000000 +0100 +++ new/README.markdown 2020-03-19 14:11:35.000000000 +0100 @@ -1,6 +1,8 @@ -method_source [![Build Status](https://travis-ci.org/banister/method_source.svg?branch=master)](https://travis-ci.org/banister/method_source) +method_source ============= +[![Circle Build Status](https://circleci.com/gh/banister/method_source.svg?style=shield)](https://circleci.com/gh/banister/method_source) + (C) John Mair (banisterfiend) 2011 _retrieve the sourcecode for a method_ @@ -22,7 +24,7 @@ `UnboundMethod` and `Proc` classes. * Install the [gem](https://rubygems.org/gems/method_source): `gem install method_source` -* Read the [documentation](http://rdoc.info/github/banister/method_source/master/file/README.markdown) +* Read the [documentation](https://www.rubydoc.info/github/banister/method_source/master) * See the [source code](http://github.com/banister/method_source) Example: display method source 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-11 19:41:11.000000000 +0100 +++ new/lib/method_source/code_helpers.rb 2020-03-19 14:11:35.000000000 +0100 @@ -125,7 +125,7 @@ GENERIC_REGEXPS = [ /unexpected (\$end|end-of-file|end-of-input|END_OF_FILE)/, # mri, jruby, ruby-2.0, ironruby /embedded document meets end of file/, # =begin - /unterminated (quoted string|string|regexp) meets end of file/, # "quoted string" is ironruby + /unterminated (quoted string|string|regexp|list) meets end of file/, # "quoted string" is ironruby /can't find string ".*" anywhere before EOF/, # rbx and jruby /missing 'end' for/, /expecting kWHEN/ # rbx ] 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-11 19:41:11.000000000 +0100 +++ new/lib/method_source/version.rb 2020-03-19 14:11:35.000000000 +0100 @@ -1,3 +1,3 @@ module MethodSource - VERSION = '0.9.2'.freeze + VERSION = '1.0.0'.freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2018-11-11 19:41:11.000000000 +0100 +++ new/metadata 2020-03-19 14:11:35.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: method_source version: !ruby/object:Gem::Version - version: 0.9.2 + version: 1.0.0 platform: ruby authors: - John Mair (banisterfiend) autorequire: bindir: bin cert_chain: [] -date: 2018-11-12 00:00:00.000000000 Z +date: 2020-03-19 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rspec @@ -44,9 +44,10 @@ extensions: [] extra_rdoc_files: [] files: +- ".circleci/config.yml" - ".gemtest" -- ".travis.yml" - ".yardopts" +- CHANGELOG.md - Gemfile - LICENSE - README.markdown @@ -78,8 +79,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubyforge_project: -rubygems_version: 2.6.13 +rubygems_version: 3.1.2 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-11 19:41:11.000000000 +0100 +++ new/method_source.gemspec 2020-03-19 14:11:35.000000000 +0100 @@ -1,20 +1,18 @@ # -*- encoding: utf-8 -*- -# stub: method_source 0.9.2 ruby lib Gem::Specification.new do |s| s.name = "method_source".freeze - s.version = "0.9.2" + s.version = "1.0.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 = "2018-11-12" + s.date = "2020-03-19" s.description = "retrieve the sourcecode for a method".freeze s.email = "jrm...@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.files = ["CHANGELOG.md".freeze, ".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.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-11 19:41:11.000000000 +0100 +++ new/spec/method_source_spec.rb 2020-03-19 14:11:35.000000000 +0100 @@ -33,7 +33,7 @@ @lambda_source = "MyLambda = lambda { :lambda }\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_instance_evaled_source_2 = " def \#{name}_two()\n if 40 + 4\n 45\n end\n end\n" @hello_class_evaled_source = " def hello_\#{name}(*args)\n send_mesg(:\#{name}, *args)\n end\n" @hi_module_evaled_source = " def hi_\#{name}\n @var = \#{name}\n end\n" end 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-11 19:41:11.000000000 +0100 +++ new/spec/spec_helper.rb 2020-03-19 14:11:35.000000000 +0100 @@ -82,14 +82,14 @@ M.instance_eval <<EOF, __FILE__, __LINE__ + 1 def #{name}_one() - if 43 + if 40 + 3 44 end end def #{name}_two() - if 44 + if 40 + 4 45 end end