Rubygems 1.7.1


#1

After much finger-pointing, rubygems-update version 1.7.1 has been
released!

RubyGems is a package management framework for Ruby.

This gem is an update for the RubyGems software. You must have an
installation of RubyGems before this update can be applied.

See Gem for information on RubyGems (or ri Gem)

To upgrade to the latest RubyGems, run:

$ gem update --system # you might need to be an administrator or root

See UPGRADING.rdoc for more details and alternative instructions.

=== GETTING HELP

=== Support Requests

Are you unsure of how to use RubyGems? Do you think you’ve found a bug
and
you’re not sure? If that is the case, the best place for you is to file
a
support request at {help.rubygems.org}[http://help.rubygems.org].

=== Filing Tickets

You’re sure you’ve found a bug! But where do you let us know? The best
place
for letting the RubyGems team know about bugs you’ve found is {on the
rubygems
tracker at rubyforge}[http://rubyforge.org/tracker/?group_id=126].

=== Bundler Compatibility

See http://gembundler.com/compatibility for known issues.


If you don’t have RubyGems installed, your can still do it manually:

For more details and other options, see:

ruby setup.rb --help

Changes:

=== 1.7.1 / 2011-03-32

  • 1 bug fix:
    • Fixed missing file in Manifest.txt. (Also a bug in hoe was fixed
      where
      rake check_manifest showing a diff would not exit with an error.)

=== 1.7.0 / 2011-03-32

  • 16 Deprecations (woot!)

  • Deprecated Gem.all_load_paths, latest_load_paths, promote_load_path,
    and
    cache.

  • Deprecated RemoteFetcher#open_uri_or_path.

  • Deprecated SourceIndex#all_gems.

  • Deprecated SourceIndex#initialize(hash_of_specs).

  • Deprecated SourceIndex.from_installed_gems, from_gems_in, and
    load_specification.

  • Deprecated Specification#has_rdoc, default_executable, and
    test_suite_file(=).

  • Deprecated Specification#has_rdoc= and default_executable=

  • 26 minor enhancements:

  • Added stupid simple deprecation module.

  • Added --spec option to gem unpack to output a gem’s original
    metadata

  • Added packaging option to Specification#validate

  • Gem.bin_path requires the exec_name argument.

  • Read from cached specs if fetch fails for some reason

  • Refactored Specification#assign_defaults into #initialize.

  • RemoteFetcher#fetch_path now dispatches dynamically to
    ‘fetch_<uri.schema>’

  • Removed Specification @@gather.

  • Removed Specification.attribute.

  • Removed Specification.attribute_alias_singular.

  • Removed Specification.attribute_defaults.

  • Removed Specification.attributes

  • Removed Specification.overwrite_accessor.

  • Removed Specification.read_only.

  • Removed Specification.required_attribute.

  • Removed Specification::SPECIFICATION_VERSION_HISTORY and turned into
    rdoc

  • Removed blanket rescue in default_executable. Hope it doesn’t blow
    up! :stuck_out_tongue:

  • Removed nearly all metaprogramming from Specification. Yay for
    attr_accessor!

  • SourceIndex#initialize changed to prefer an array of spec dirs,
    defaulting
    to none.

  • SourceIndex.new is now the preferred way to create SourceIndex
    instances.
    gasp

  • Specification#validate now checks that array attribs are indeed
    arrays.

  • Specification.default_value is now an instance method.

  • Switched Specification::TODAY to be proper midnight @ UTC

  • Update Gem::RemoteFetcher’s User-Agent to handle RUBY_ENGINE and
    RUBY_REVISION when patchlevel is -1

  • UpdateCommand#gems_to_update now returns (name, version) pairs.

  • UpdateCommand#which_to_update now takes an optional system argument.

  • 11 bug fixes:

  • Added missing remote fetcher require to pristine command (aarnell)

  • Building gems now checks to ensure all required fields are non-nil

  • Fix option parser when summary is nil.

  • Fixed gem contents to work with the lightweight specifications

  • Fixed gem update --system x.y.z where x.y.z == latest version.
    (MGPalmer)

  • Fixed gem contents sorting and tests. (MGPalmer)

  • Fixed intermittant problem in gem fetch with --platform specified
    (quix)

  • Fixed lightweight specifications so gem rdoc will generate proper
    documentation

  • MockGemUI#terminate_interaction should not raise
    Gem::SystemExitException.
    (MGPalmer)

  • RubyGems now raises a better error for broken .gem files. Bug #29067
    by
    Elias Baixas

  • gem update now uniq’s command line arguments.


#2

On Fri, Apr 1, 2011 at 7:57 PM, Eric H. removed_email_address@domain.invalid wrote:

After much finger-pointing, rubygems-update version 1.7.1 has been released!

For what is worth:

ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
835 tests, 2730 assertions, 0 failures, 0 errors, 18 skips

ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
822 tests, 2704 assertions, 0 failures, 0 errors, 20 skips


#3

On Sat, Apr 2, 2011 at 6:57 AM, Eric H. removed_email_address@domain.invalid wrote:

After much finger-pointing, rubygems-update version 1.7.1 has been released!

slight check

$ sudo gem update --system
[sudo] password for botp:
Updating rubygems-update
Successfully installed rubygems-update-1.7.1
Installing RubyGems 1.7.1
Error loading RubyGems plugin
“/usr/local/lib/ruby/gems/1.9.1/gems/yard-0.6.5/lib/rubygems_plugin.rb”:
undefined method overwrite_accessor' for Gem::Specification:Class (NoMethodError) Error loading RubyGems plugin "/usr/local/lib/ruby/gems/1.9.1/gems/yard-0.6.4/lib/rubygems_plugin.rb": undefined methodoverwrite_accessor’ for Gem::Specification:Class
(NoMethodError)

many thanks for rubygems
best regards -botp


#4

On Apr 2, 2011, at 02:22 , botp wrote:

Error loading RubyGems plugin
“/usr/local/lib/ruby/gems/1.9.1/gems/yard-0.6.5/lib/rubygems_plugin.rb”:
undefined method overwrite_accessor' for Gem::Specification:Class (NoMethodError) Error loading RubyGems plugin "/usr/local/lib/ruby/gems/1.9.1/gems/yard-0.6.4/lib/rubygems_plugin.rb": undefined methodoverwrite_accessor’ for Gem::Specification:Class
(NoMethodError)

many thanks for rubygems
best regards -botp

That’ll be on yard to fix.