commit rubygem-method_source for openSUSE:Factory

2020-04-27 Thread root
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 
+
+- 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.yml1970-01-01 01:00:00.0 +0100
+++ new/.circleci/config.yml2020-03-19 14:11:35.0 +0100
@@ -0,0 +1,139 @@
+version: 2
+references:
+  repo_restore_cache: _restore_cache
+restore_cache:
+  keys:
+- repo-{{ .Environment.CIRCLE_SHA1 }}
+
+  repo_save_cache: _save_cache
+save_cache:
+  key: repo-{{ .Environment.CIRCLE_SHA1 }}-{{ epoch }}
+  paths:
+- ~/method_source
+
+  bundle_install: _install
+run:
+  name: Install Bundler dependencies
+  command: bundle install --path ~/method_source/vendor/bundle --jobs 15
+
+  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
+

commit rubygem-method_source for openSUSE:Factory

2018-11-20 Thread root
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 - mschnit...@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.0 
+0100
+++ new/lib/method_source/code_helpers.rb   2018-11-11 19:41:11.0 
+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.rb2018-11-02 16:53:16.0 +0100
+++ new/lib/method_source/version.rb2018-11-11 19:41:11.0 +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/metadata2018-11-02 16:53:16.0 +0100
+++ new/metadata2018-11-11 19:41:11.0 +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.0 Z
+date: 2018-11-12 00:00:00.0 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.0 +0100
+++ new/method_source.gemspec   2018-11-11 19:41:11.0 +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

commit rubygem-method_source for openSUSE:Factory

2018-11-10 Thread root
Hello community,

here is the log from the commit of package rubygem-method_source for 
openSUSE:Factory checked in at 2018-11-10 17:00:09

Comparing /work/SRC/openSUSE:Factory/rubygem-method_source (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-method_source.new (New)


Package is "rubygem-method_source"

Sat Nov 10 17:00:09 2018 rev:11 rq:646830 version:0.9.1

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-method_source/rubygem-method_source.changes  
2017-09-26 21:17:44.530393441 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-method_source.new/rubygem-method_source.changes
 2018-11-10 17:02:16.195541582 +0100
@@ -1,0 +2,7 @@
+Tue Nov  6 10:25:44 UTC 2018 - mschnit...@suse.com
+
+- updated to version 0.9.1
+
+  no changelog found
+
+---

Old:

  method_source-0.9.0.gem

New:

  method_source-0.9.1.gem



Other differences:
--
++ rubygem-method_source.spec ++
--- /var/tmp/diff_new_pack.5F6tRv/_old  2018-11-10 17:02:16.811540830 +0100
+++ /var/tmp/diff_new_pack.5F6tRv/_new  2018-11-10 17:02:16.811540830 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-method_source
 #
-# 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-method_source
-Version:0.9.0
+Version:0.9.1
 Release:0
 %define mod_name method_source
 %define mod_full_name %{mod_name}-%{version}

++ method_source-0.9.0.gem -> method_source-0.9.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2017-09-26 13:43:00.0 +0200
+++ new/.travis.yml 2018-11-02 16:53:16.0 +0100
@@ -16,11 +16,12 @@
   - 2.1
   - 2.2
   - 2.3
-  - 2.4.1
+  - 2.4.2
   - ruby-head
 matrix:
   allow_failures:
 - rvm: ruby-head
+- rvm: jruby
 - rvm: jruby-head
 - rvm: rbx-3
   fast_finish: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2017-09-26 13:43:00.0 +0200
+++ new/Rakefile2018-11-02 16:53:16.0 +0100
@@ -19,6 +19,7 @@
   s.email = 'jrm...@gmail.com'
   s.description = s.summary
   s.require_path = 'lib'
+  s.license = 'MIT'
 
   s.add_development_dependency("rspec","~>3.6")
   s.add_development_dependency("rake", "~>0.9")
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   2017-09-26 13:43:00.0 
+0200
+++ new/lib/method_source/code_helpers.rb   2018-11-02 16:53:16.0 
+0100
@@ -1,6 +1,9 @@
 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.
@@ -29,6 +32,26 @@
 
   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.rb2017-09-26 13:43:00.0 +0200
+++ new/lib/method_source/version.rb2018-11-02 16:53:16.0 +0100
@@ -1,3 +1,3 @@
 module MethodSource
-  VERSION = "0.9.0"
+  VERSION = "0.9.1"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit rubygem-method_source for openSUSE:Factory

2017-09-26 Thread root
Hello community,

here is the log from the commit of package rubygem-method_source for 
openSUSE:Factory checked in at 2017-09-26 21:16:48

Comparing /work/SRC/openSUSE:Factory/rubygem-method_source (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-method_source.new (New)


Package is "rubygem-method_source"

Tue Sep 26 21:16:48 2017 rev:10 rq:528823 version:0.9.0

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-method_source/rubygem-method_source.changes  
2015-04-10 09:54:02.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-method_source.new/rubygem-method_source.changes
 2017-09-26 21:17:44.530393441 +0200
@@ -1,0 +2,9 @@
+Tue Sep 26 13:22:44 UTC 2017 - mde...@suse.com
+
+- update to version 0.9.0
+  Manually added the License (MIT), wasn't read by gem2rpm from
+  meta data of the gem
+
+  No changelog provided by the gem authors
+
+---

Old:

  method_source-0.8.2.gem

New:

  method_source-0.9.0.gem



Other differences:
--
++ rubygem-method_source.spec ++
--- /var/tmp/diff_new_pack.1bbJPc/_old  2017-09-26 21:17:45.034322594 +0200
+++ /var/tmp/diff_new_pack.1bbJPc/_new  2017-09-26 21:17:45.038322031 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-method_source
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,16 +24,16 @@
 #
 
 Name:   rubygem-method_source
-Version:0.8.2
+Version:0.9.0
 Release:0
 %define mod_name method_source
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
-BuildRequires:  %{ruby}
 BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros >= 5
 Url:http://banisterfiend.wordpress.com
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:retrieve the sourcecode for a method
 License:MIT

++ gem2rpm.yml ++
--- /var/tmp/diff_new_pack.1bbJPc/_old  2017-09-26 21:17:45.098313597 +0200
+++ /var/tmp/diff_new_pack.1bbJPc/_new  2017-09-26 21:17:45.098313597 +0200
@@ -7,7 +7,7 @@
 #
 #   it can be multiline
 # ## used by gem2rpm
-# :license: MIT or Ruby
+:license: MIT
 # ## used by gem2rpm and gem_packages
 # :version_suffix: -x_y
 # ## used by gem2rpm and gem_packages

++ method_source-0.8.2.gem -> method_source-0.9.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 1970-01-01 01:00:00.0 +0100
+++ new/.travis.yml 2017-09-26 13:43:00.0 +0200
@@ -1,12 +1,29 @@
+# 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.2
   - 1.9.3
   - ree
-  - rbx-18mode
-  - rbx-19mode
+  - rbx-3
   - jruby
-
+  - jruby-head
+  - 2.0.0
+  - 2.1
+  - 2.2
+  - 2.3
+  - 2.4.1
+  - ruby-head
+matrix:
+  allow_failures:
+- rvm: ruby-head
+- rvm: jruby-head
+- rvm: rbx-3
+  fast_finish: true
 notifications:
   irc: "irc.freenode.org#pry"
   recipients:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 1970-01-01 01:00:00.0 +0100
+++ new/Gemfile 2017-09-26 13:43:00.0 +0200
@@ -1,2 +1,2 @@
-source :rubygems
+source 'https://rubygems.org'
 gemspec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.markdown new/README.markdown
--- old/README.markdown 1970-01-01 01:00:00.0 +0100
+++ new/README.markdown 2017-09-26 13:43:00.0 +0200
@@ -1,4 +1,4 @@
-method_source
+method_source [![Build 
Status](https://travis-ci.org/banister/method_source.svg?branch=master)](https://travis-ci.org/banister/method_source)
 =
 
 (C) John Mair (banisterfiend) 2011
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile1970-01-01 01:00:00.0 +0100
+++ new/Rakefile2017-09-26 13:43:00.0 +0200
@@ -20,16 +20,17 @@
   s.description = s.summary
   s.require_path = 'lib'
 
-  s.add_development_dependency("bacon","~>1.1.0")
+  s.add_development_dependency("rspec","~>3.6")
   s.add_development_dependency("rake", "~>0.9")
   

commit rubygem-method_source for openSUSE:Factory

2014-10-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-method_source for 
openSUSE:Factory checked in at 2014-10-14 07:11:16

Comparing /work/SRC/openSUSE:Factory/rubygem-method_source (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-method_source.new (New)


Package is rubygem-method_source

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-method_source/rubygem-method_source.changes  
2013-08-04 23:52:37.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-method_source.new/rubygem-method_source.changes
 2014-10-14 07:11:58.0 +0200
@@ -1,0 +2,5 @@
+Sun Oct 12 11:35:48 UTC 2014 - adr...@suse.de
+
+- adapt to new rubygem packaging style
+
+---



Other differences:
--
++ rubygem-method_source.spec ++
--- /var/tmp/diff_new_pack.5n6dA6/_old  2014-10-14 07:11:59.0 +0200
+++ /var/tmp/diff_new_pack.5n6dA6/_new  2014-10-14 07:11:59.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-method_source
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 1
+BuildRequires:  ruby-macros = 5
 Url:http://banisterfiend.wordpress.com
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:retrieve the sourcecode for a method
@@ -33,49 +33,17 @@
 %description
 retrieve the sourcecode for a method
 
-%package doc
-Summary:RDoc documentation for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary:Test suite for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
 
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
-
-%files testsuite
-%defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test
+%gem_install \
+  --symlink-binaries \
+  --doc-files=LICENSE \
+  -f
+
+%gem_packages
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-method_source for openSUSE:Factory

2013-08-04 Thread h_root
Hello community,

here is the log from the commit of package rubygem-method_source for 
openSUSE:Factory checked in at 2013-08-04 20:41:40

Comparing /work/SRC/openSUSE:Factory/rubygem-method_source (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-method_source.new (New)


Package is rubygem-method_source

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-method_source/rubygem-method_source.changes  
2012-11-05 06:33:01.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-method_source.new/rubygem-method_source.changes
 2013-08-04 23:52:37.0 +0200
@@ -1,0 +2,5 @@
+Tue Jul 30 18:46:56 UTC 2013 - co...@suse.com
+
+- updated to version 0.8.2
+
+---

Old:

  method_source-0.8.1.gem

New:

  method_source-0.8.2.gem



Other differences:
--
++ rubygem-method_source.spec ++
--- /var/tmp/diff_new_pack.HvzHI1/_old  2013-08-04 23:52:38.0 +0200
+++ /var/tmp/diff_new_pack.HvzHI1/_new  2013-08-04 23:52:38.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-method_source
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-method_source
-Version:0.8.1
+Version:0.8.2
 Release:0
 %define mod_name method_source
 %define mod_full_name %{mod_name}-%{version}
@@ -25,7 +25,7 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1
 Url:http://banisterfiend.wordpress.com
-Source: %{mod_full_name}.gem
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:retrieve the sourcecode for a method
 License:MIT
 Group:  Development/Languages/Ruby
@@ -59,9 +59,12 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
 
 %files
 %defattr(-,root,root,-)
+%{_docdir}/%{name}
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-method_source for openSUSE:Factory

2012-11-04 Thread h_root
Hello community,

here is the log from the commit of package rubygem-method_source for 
openSUSE:Factory checked in at 2012-11-05 06:32:49

Comparing /work/SRC/openSUSE:Factory/rubygem-method_source (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-method_source.new (New)


Package is rubygem-method_source, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/rubygem-method_source/rubygem-method_source.changes  
2012-07-23 10:34:52.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-method_source.new/rubygem-method_source.changes
 2012-11-05 06:33:01.0 +0100
@@ -1,0 +2,5 @@
+Sun Oct 28 06:03:47 UTC 2012 - co...@suse.com
+
+- updated to version 0.8.1
+
+---

Old:

  method_source-0.8.gem

New:

  method_source-0.8.1.gem



Other differences:
--
++ rubygem-method_source.spec ++
--- /var/tmp/diff_new_pack.KEGOw6/_old  2012-11-05 06:33:02.0 +0100
+++ /var/tmp/diff_new_pack.KEGOw6/_new  2012-11-05 06:33:02.0 +0100
@@ -17,20 +17,18 @@
 
 
 Name:   rubygem-method_source
-Version:0.8
+Version:0.8.1
 Release:0
-Summary:Retrieve the sourcecode for a method
-License:MIT
-Group:  Development/Languages/Ruby
-Url:http://banisterfiend.wordpress.com
 %define mod_name method_source
 %define mod_full_name %{mod_name}-%{version}
-Source: %{mod_full_name}.gem
-BuildRequires:  rubygems_with_buildroot_patch
-Provides:   %{name}-0 = %{version}
-Provides:   %{name}-0_8 = %{version}
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%rubygems_requires
+BuildRequires:  ruby-macros = 1
+Url:http://banisterfiend.wordpress.com
+Source: %{mod_full_name}.gem
+Summary:retrieve the sourcecode for a method
+License:MIT
+Group:  Development/Languages/Ruby
 
 %description
 retrieve the sourcecode for a method
@@ -53,9 +51,14 @@
 Test::Unit or RSpec files, useful for developers.
 
 %prep
+#gem_unpack
+#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
+#gem_build
+
 %build
+
 %install
-%gem_install %{SOURCE0}
+%gem_install -f
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org