Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 13, 2005
  1. @gsinclair

    * lib/rubygems/installer.rb: Removed all code relating to library

    gsinclair authored
      stubs as we haven't generated them for ages.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@824 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    * lib/rubygems/installer.rb (Gem::Installer#shebang): Refactored and

    gsinclair authored
      stripped result to avoid ^M issues.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@823 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Dec 13, 2004
  1. @gsinclair

    * test/test_loadmanager.rb: invalidated it as a unit test; it's

    gsinclair authored
       incompatible with custom_require.rb.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@706 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Dec 12, 2004
  1. @gsinclair

    * lib/rubygems/custom_require.rb: simple bug fix.

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@705 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Dec 11, 2004
  1. @gsinclair

    * lib/rubygems/custom_require.rb: new file to replace

    gsinclair authored
     loadpath_manager.rb and speed up the custom require functionality.
    
     * lib/rubygems/timer.rb: new file; simple benchmarking tool that's
     useful at the moment but needn't stay in RubyGems permanently.
    
     * lib/rubygems/source_index.rb: include Enumerable and implement #size
     and #length.
    
     * lib/rubygems/specification.rb: removed lazy initialisation of
     attributes to reduce #copy_of invocations; folded
     Specification.copy_of into Specification#copy_of.
    
     * lib/rubygems.rb: require 'rubygems/custom_require' instead of
     'rubygems/loadpath_manager'; removed out of date documentation; added
     "require 'rubygems/timer'" to temporarily assist with benchmarks.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@704 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    Removed seemingly invalid RDoc template

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@703 3d4018f9-ac1a-0410-99e9-8a154d859a19
  3. @gsinclair

    Can now run scripts/runtest.rb directly, and give pattern on command …

    gsinclair authored
    …line
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@702 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Sep 12, 2004
  1. @gsinclair

    Removed "docs" attribute

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@529 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    * scripts/specdoc.rb: Check that all attributes are documented; and

    gsinclair authored
       improved formatting.
     * scripts/specdoc.yaml: test_suite_file -> test_files; finished
       documentation.
     * scripts/specdoc.data: misc changes.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@527 3d4018f9-ac1a-0410-99e9-8a154d859a19
  3. @gsinclair

    General stub removal improvements

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@526 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Sep 10, 2004
  1. @gsinclair

    Corrected stub heuristics and cleaned code.

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@520 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 31, 2004
  1. @gsinclair

    Code clarification

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@506 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 23, 2004
  1. @gsinclair

    * lib/rubygems/installer.rb: Library stubs are now installed as per

    gsinclair authored
       'library_stubs' gemspec attribute.  A stub is (still) also installed
       for the 'autorequire' attribute.  All library stub handling
       refactored into two new classes: LibraryStubs and LibraryStub.
    
     * test/test_parse_commands.rb: as per 2004-08-17 below, the 'update'
       command takes --rdoc as its default now.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@491 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    Added an entry for 2004-08-06 that was somehow overlooked.

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@490 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 22, 2004
  1. @gsinclair

    * lib/rubygems/gem_commands.rb: --rdoc is default on 'update' command,

    gsinclair authored
       consistent with 'install'.  'default_str' methods changed to reflect
       --rdoc being default now.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@487 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    Code improvements

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@486 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 17, 2004
  1. @gsinclair

    * lib/rubygems/specification.rb:

    gsinclair authored
       - #test_suite_file and #test_files now work on older gems.
       - Added Specification.from_yaml for loading YAML gemspecs
       - #to_ruby doesn't emit 'specification_version'
    
     * lib/rubygems/gem_commands.rb: Updated test-on-install code to use
       Specification#test_files instead of #unit_test_suite.
    
     * lib/rubygems/old_format.rb: Use Specification.from_yaml
     * lib/rubygems/package.rb:    Ditto
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@478 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    added comment

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@477 3d4018f9-ac1a-0410-99e9-8a154d859a19
  3. @gsinclair

    * lib/rubygems/command.rb: --debug option to turn on $DEBUG

    gsinclair authored
     * lib/rubygems/config_file.rb: ditto
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@476 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 14, 2004
  1. @gsinclair

    * lib/rubygems/gem_commands.rb:

    gsinclair authored
       - 'gem spec X' displays spec for _latest_ version of X.  Added
         '--all' option if you want to see all versions.
       - RDocCommand code cleanup and slight change: document _all_
         versions of the gem by default, not just the first.
    
     * lib/rubygems/doc_manager.rb: removed 'kilmer' default template
       option and obsolete error message.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@473 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 11, 2004
  1. @gsinclair

    Removed erroneous flotsam from the code

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@457 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 10, 2004
  1. @gsinclair

    * lib/rubygems/specification.rb:

    gsinclair authored
       - Added convenience class methods: attribute_names,
         attribute_defaults, default_value, required_attributes, and
         required_attribute?.
    
       - IMPORTANT: attribute readers now use lazy initialization, just
         like some of them did before the 2004-08-01 change.  This was done
         to fix the breakage when loading older gemspecs.
    
       - IMPORTANT: replaced instance variable access with attribute reader
         method calls in many cases.  This is in line with the above change.
    
       - Good documentation for the "attribute" method.
    
       - Renamed _copy -> _copy_of.
    
     * lib/rubygems/cache.rb:
       - Some fairly shallow changes. Exception handling needs improvement.
    
     * lib/rubygems/version.rb:
       - (Version.create) new method (for convenience)
       - (Version::Requirement.create) new method (for convenience)
       - (Version::Requirement.default) new method (for consistency)
    
     * test/test_specification.rb: test attribute_names instead of
       attributes.  Other "class convenience" methods remain to be tested
       at this stage.  Also added test classes for legacy gemspecs.
    
     * test/data/legacy/keyedlist-0.4.0.ruby: added.
     * test/data/legacy/keyedlist-0.4.0.yaml: added.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@455 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 5, 2004
  1. @gsinclair

    Fixed small coding error

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@447 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    Added explanatory comment to #initialize

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@446 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Aug 1, 2004
  1. @gsinclair

    * lib/rubygems/specification.rb:

    gsinclair authored
       - (Re)defined class methods: attribute, attributes,
         required_attribute, read_only, overwrite_accessor. @@attributes
         contains a list of attribute names and default values.  This
         allows higher-level specification of gemspec attributes, and the
         handling of them in a DRY fashion.
    
       - to_yaml_properties now includes all properties, to ensure
         correct deserialization of a Gem::Specification object.
    
       - #to_ruby and #to_yaml_properties rewritten to use @@attributes
    
       - Introduced 'specification_version' attribute and three constants:
         NONEXISTENT_SPECIFICATION_VERSION, CURRENT_SPECIFICATION_VERSION, and
         SPECIFICATION_VERSION_HISTORY.  This allows us to track changes to
         the spec format.
    
       - Refactored several "helper" methods, using the new class method
         'attribute_alias_singular', which provides a "singular" alias for
         a "plural" attribute (e.g. require_path and require_paths).
    
       - All gemspec attributes now defined in a uniform fashion, which
         implies that they all have valid instance variables on
         initialization.  Previously, some attributes were lazily
         initialized.
    
       - Introduced attribute 'library_stubs', to allow the specification
         of several stub files.  (That feature not implemented, though.)
    
       - Introduced attribute 'test_files' and deprecated 'test_suite_file'.
    
       - Provided #warn_deprecated stub of a method, but don't know what to
         do with it.
    
       - Deprecated #has_test_suite? in favour of (new) #has_unit_tests?
    
       - Used overwrite_accessor to provide special behaviour for the
         setting of some attributes.
    
       - The 'date' attribute is now a Date object.  We don't need high
         resolution, and Time objects, being system-dependent, are not nice
         to deal with.
    
       - Various code style changes.
    
       - Summary: uniform treatment of gemspec attributes; reduced code by
         refactoring; 'test_suite_file' deprecated for 'test_files';
         'library_stubs' introduced; spec versioning introduced.
    
     * lib/rubygems/version.rb: (Dependency) added #to_s, #==, and an
       alias (requirements_list -> requirement_list).
    
     * test/test_specification.rb: several new tests: _singular_attributes,
       _deprecated_attributes, _defaults, _to_{yaml,ruby}_and_back,
       _directly_setting_dependencies_doesnt_work, and more.  Plus a new
       class to give Specification a more thorough workout (TestSpecificationComplex).
    
     * scripts/runtest.rb: require 'pp' so it's always available in unit
       tests.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@445 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Jul 22, 2004
  1. @gsinclair

    * lib/rubygems/version.rb:

    gsinclair authored
       * (Requirement#initialize) initialize @version to avoid warning
       * (Dependency#initialize) initialize @version_requirement to avoid
         warning
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@432 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Jul 17, 2004
  1. @gsinclair

    * lib/rubygems/gem_commands.rb (InstallCommand#execute): removed clear

    gsinclair authored
       bug (name -> gem.name).
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@427 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Jul 13, 2004
  1. @gsinclair

    code formatting

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@424 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    * lib/rubygems.rb: (#require_gem) added the ability to do

    gsinclair authored
       "require_gem 'rake/packagetask'", for instance, which is a
       shortcut for "require_gem 'rake'; require 'rake/packagetask'".
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@422 3d4018f9-ac1a-0410-99e9-8a154d859a19
  3. @gsinclair

    * lib/rubygems/gem_commands.rb: refactored --version option

    gsinclair authored
       in all cases to the new VersionOption module.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@421 3d4018f9-ac1a-0410-99e9-8a154d859a19
  4. @gsinclair

    added unpack

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@420 3d4018f9-ac1a-0410-99e9-8a154d859a19
  5. @gsinclair

    * lib/rubygems/cmd_manager.rb: added 'unpack' command.

    gsinclair authored
     * lib/rubygems/gem_commands.rb (UnpackCommand): added.
     * lib/rubygems/installer.rb (Installer#unpack): added.
    
    
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@419 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Jul 12, 2004
  1. @gsinclair

    minor updates

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@417 3d4018f9-ac1a-0410-99e9-8a154d859a19
  2. @gsinclair

    Many updates and improvements. Nearly finished.

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@416 3d4018f9-ac1a-0410-99e9-8a154d859a19
Commits on Jul 11, 2004
  1. @gsinclair

    *** empty log message ***

    gsinclair authored
    git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@415 3d4018f9-ac1a-0410-99e9-8a154d859a19
Something went wrong with that request. Please try again.