Hello community,

here is the log from the commit of package rubygem-pry for openSUSE:Factory 
checked in at 2013-03-21 22:15:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-pry (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-pry.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-pry", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-pry/rubygem-pry.changes  2012-09-15 
17:29:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-pry.new/rubygem-pry.changes     
2013-03-21 22:15:19.000000000 +0100
@@ -1,0 +2,52 @@
+Wed Mar 20 09:06:18 UTC 2013 - [email protected]
+
+- buildrequire rdoc (see https://gist.github.com/saketoba/4662125)
+
+-------------------------------------------------------------------
+Wed Mar 20 06:04:41 UTC 2013 - [email protected]
+
+- updated to version 0.9.12
+ Bug fixes:
+ * Fix major bug where commands broke due to slop looking at ARGV
+        instead of command parameters (#828)
+ * Fix bug where pager broke in some situations (#845)
+ * Fix broken rendering of some docs (#795)
+ * silence warnings during failed tab-completion attempts
+ * fix broken prompt when prompt is colored (#822 / #823)
+ * added reload-method alias for reload-code (for backwards compat)
+ * Reopen Readline.output if it is not a tty (see 1538bc0990)
+ 
+ Features:
+ * added pry --gem (see 19bfc13aa)
+ * show-source now works on commands created with create_command
+ * add -m (method) -c (class) and -f (file) switches to 'whereami' command
+ * show-source now falls back to superclass if can't find class code
+        (displays warning)
+ * show-source/show-doc now indicate when -a option is available.
+
+-------------------------------------------------------------------
+Thu Jan 24 06:41:50 UTC 2013 - [email protected]
+
+- updated to version 0.9.11.4
+ * fixed pager bug (wouldn't render color codes in some circumstances)
+ * added Pry.last_internal_error, useful for devs debugging commands
+ 
+ * fix Pry.run_command
+ * improve `ls` output
+ * add :requires_gem => "jist" to 'gist' command (so deps can be installed
+        via install-command)
+ * improve help for 'edit' command
+ 
+ * minor bug fix for gist on windows, rescuing Jist::ClipboardError
+ rather than letting the scary error spill out to users and potentially
+ have them think the gist didnt post.
+ 
+ * fixed minor bug in 'gist' command where i neglected to remove
+   a call to a non-existent method (no_arg) which was called when
+   `gist` is invoked with no parameters
+ 
+ dependency changes:
+ * upgrade the slop gem to version ~> 3.4
+ * new optional dependency: Bond (you'll need to perform `gem install bond`). 
+
+-------------------------------------------------------------------

Old:
----
  pry-0.9.10.gem

New:
----
  pry-0.9.12.gem

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

Other differences:
------------------
++++++ rubygem-pry.spec ++++++
--- /var/tmp/diff_new_pack.Vqw339/_old  2013-03-21 22:15:20.000000000 +0100
+++ /var/tmp/diff_new_pack.Vqw339/_new  2013-03-21 22:15:20.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-pry
 #
-# 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,25 +17,27 @@
 
 
 Name:           rubygem-pry
-Version:        0.9.10
+Version:        0.9.12
 Release:        0
 %define mod_name pry
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
+# MANUAL
+BuildRequires:  rubygem(rdoc) >= 3.12
 Url:            http://pry.github.com
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        An IRB alternative and runtime developer console
 License:        MIT
 Group:          Development/Languages/Ruby
+%define mod_branch -0.9.12
+%define mod_weight 0
+PreReq:         update-alternatives
 
 %description
 An IRB alternative and runtime developer console
 
-#MANUAL
-#NOTE: No seperate doc package because we also have 'rubygem-pry-doc' :-)
-
 %package testsuite
 Summary:        Test suite for %{mod_name}
 Group:          Development/Languages/Ruby
@@ -44,6 +46,9 @@
 %description testsuite
 Test::Unit or RSpec files, useful for developers.
 
+#MANUAL
+#NOTE: No seperate doc package because we also have 'rubygem-pry-doc' :-)
+
 %prep
 #gem_unpack
 #if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
@@ -53,18 +58,32 @@
 
 %install
 %gem_install -f
+mv %{buildroot}%{_bindir}/pry{,%{mod_branch}}
+ln -s pry%{mod_branch} %{buildroot}%{_bindir}/pry
+
+# MANUAL
+rm -rf %{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/pry pry %{_bindir}/pry%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove pry %{_bindir}/pry%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/pry
+%{_bindir}/pry%{mod_branch}
+%ghost %{_bindir}/pry
 %{_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
+%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
 %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
-%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
+%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to