head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.2 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.3.0.14 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.12 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.10 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.8 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.6 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.2 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.2.0.8 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.6 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.4 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.2 pkgsrc-2010Q3-base:1.2; locks; strict; comment @# @; 1.4 date 2013.06.11.14.55.54; author taca; state dead; branches; next 1.3; commitid SPp1wZYhjtGPVcTw; 1.3 date 2011.08.12.15.50.44; author taca; state Exp; branches; next 1.2; 1.2 date 2010.09.16.12.02.05; author taca; state Exp; branches; next 1.1; 1.1 date 2010.09.10.03.48.40; author taca; state Exp; branches; next ; desc @@ 1.4 log @Update rubygems to 2.0.3. THere are too many changes to write here, please refer these release notes. http://blog.rubygems.org/2013/03/11/2.0.3-released.html http://blog.rubygems.org/2013/03/06/2.0.2-released.html http://blog.rubygems.org/2013/03/05/2.0.1-released.html http://blog.rubygems.org/2013/02/24/2.0.0-released.html http://blog.rubygems.org/2013/02/08/2.0.0.rc.2-released.html http://blog.rubygems.org/2012/12/03/2.0.0-preview2.html @ text @$NetBSD: patch-an,v 1.3 2011/08/12 15:50:44 taca Exp $ Add install_root option for pkgsrc's rubygems support. --- lib/rubygems/commands/unpack_command.rb.orig 2011-05-18 23:36:37.000000000 +0000 +++ lib/rubygems/commands/unpack_command.rb @@@@ -14,6 +14,10 @@@@ class Gem::Commands::UnpackCommand < Gem :version => Gem::Requirement.default, :target => Dir.pwd + add_option('--install-root DIR', 'Root directory for gem files on extract') do |value, options| + options[:install_root] = value + end + add_option('--target=DIR', 'target directory for unpacking') do |value, options| options[:target] = value @@@@ -70,7 +74,8 @@@@ class Gem::Commands::UnpackCommand < Gem basename = File.basename path, '.gem' target_dir = File.expand_path basename, options[:target] FileUtils.mkdir_p target_dir - Gem::Installer.new(path, :unpack => true).unpack target_dir + Gem::Installer.new(path, :unpack => true, + :install_root => options[:install_root]).unpack target_dir say "Unpacked gem: '#{target_dir}'" end end @ 1.3 log @Update rubygems package to 1.8.7 with adding compatibility to read older gemspec files. Changes are too may to write here, please refer History.txt file. @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.2 2010/09/16 12:02:05 taca Exp $ @ 1.2 log @Update rubygems to 1.3.7. o pkgsrc changes: * Add patches to keep output of specification sub-command as before. * Make sure to 'yaml is loaded in Gem::Specification::from_yaml(). === 1.3.7 / 2010-05-13 NOTE: http://rubygems.org is now the default source for downloading gems. You may have sources set via ~/.gemrc, so you should replace http://gems.rubyforge.org with http://rubygems.org http://gems.rubyforge.org will continue to work for the forseeable future. New features: * `gem` commands * `gem install` and `gem fetch` now report alternate platforms when a matching one couldn't be found. * `gem contents` --prefix is now the default as specified in --help. Bug #27211 by Mamoru Tasaka. * `gem fetch` can fetch of old versions again. Bug #27960 by Eric Hankins. * `gem query` and friends output now lists platforms. Bug #27856 by Greg Hazel. * `gem server` now allows specification of multiple gem dirs for documentation. Bug #27573 by Yuki Sonoda. * `gem unpack` can unpack gems again. Bug #27872 by Timothy Jones. * `gem unpack` now unpacks remote gems. * --user-install is no longer the default. If you really liked it, see Gem::ConfigFile to learn how to set it by default. (This change was made in 1.3.6) * RubyGems now has platform support for IronRuby. Patch #27951 by Will Green. Bug fixes: * Require rubygems/custom_require if --disable-gem was set. Bug #27700 by Roger Pack. * RubyGems now protects against exceptions being raised by plugins. * rubygems/builder now requires user_interaction. Ruby Bug #1040 by Phillip Toland. * Gem::Dependency support #version_requirements= with a warning. Fix for old Rails versions. Bug #27868 by Wei Jen Lu. * Gem::PackageTask depends on the package dir like the other rake package tasks so dependencies can be hooked up correctly. === 1.3.6 / 2010-02-17 New features: * `gem` commands * Added `gem push` and `gem owner` for interacting with modern/Gemcutter sources * `gem dep` now supports --prerelease. * `gem fetch` now supports --prerelease. * `gem server` now supports --bind. Patch #27357 by Bruno Michel. * `gem rdoc` no longer overwrites built documentation. Use --overwrite force rebuilding. Patch #25982 by Akinori MUSHA. * Captial letters are now allowed in prerelease versions. Bug fixes: * Development deps are no longer added to rubygems-update gem so older versions can update sucessfully. * Installer bugs: * Prerelease gems can now depend on non-prerelease gems. * Development dependencies are ignored unless explicitly needed. Bug #27608 by Roger Pack. * `gem` commands * `gem which` now fails if no paths were found. Adapted patch #27681 by Caio Chassot. * `gem server` no longer has invalid markup. Bug #27045 by Eric Young. * `gem list` and friends show both prerelease and regular gems when --prerelease --all is given * Gem::Format no longer crashes on empty files. Bug #27292 by Ian Ragsdale. * Gem::GemPathSearcher handles nil require_paths. Patch #27334 by Roger Pack. * Gem::RemoteFetcher no longer copies the file if it is where we want it. Patch #27409 by Jakub Stastny. Deprecation Notices: * lib/rubygems/timer.rb has been removed. * Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. * Bulk index update is no longer supported. * Gem::manage_gems was removed in 1.3.3. * Time::today was removed in 1.3.3. @ text @d1 1 a1 1 $NetBSD: patch-an,v 1.1 2010/09/10 03:48:40 taca Exp $ d5 1 a5 1 --- lib/rubygems/commands/unpack_command.rb.orig 2010-04-20 06:46:32.000000000 +0000 d7 1 a7 1 @@@@ -12,6 +12,10 @@@@ class Gem::Commands::UnpackCommand < Gem d18 1 a18 1 @@@@ -56,7 +60,8 @@@@ class Gem::Commands::UnpackCommand < Gem d26 2 a27 2 else alert_error "Gem '#{name}' not installed." @ 1.1 log @* take maintainer ship. * Add LICENSE. * Adjust new ruby packages' framework. * Command name is gem${RUBY_VER} == gem18 now and add ALTERNATIVES. * Add comments to patches. * Overhalt --install_root option. * Avoid access HOME when --install_root is enabled. * honor PKG_SYSCONFDIR. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/rubygems/commands/unpack_command.rb.orig 2009-06-22 22:54:36.000000000 +0000 d15 2 a16 1 add_option('--target=DIR', 'target directory for unpacking') do |value, options| d18 3 a20 4 end @@@@ -44,7 +48,8 @@@@ class Gem::Commands::UnpackCommand < Gem basename = File.basename(path).sub(/\.gem$/, '') target_dir = File.expand_path File.join(options[:target], basename) @