Blog
06 Jun 2004
0.5.0 Released
by fred, the rubygems robot
-
Jim added the ability to specify version constraints to avoid API incompatibilities. This has been the subject of much debate for the past couple of months, with many ideas and code contributed by Eivind Eklund and Mauricio Fernandez. The following set of assertions shows how it works:
assert_inadequate(“1.3”, “~> 1.4”) assert_adequate( “1.4”, “~> 1.4”) assert_adequate( “1.5”, “~> 1.4”) assert_inadequate(“2.0”, “~> 1.4”) # This one is key–the new operator # disallows major version number # differences.
-
Group gem search output when multiple versions exist for a given gem:
activerecord (0.7.8, 0.7.7, 0.7.6, 0.7.5) Implements the ActiveRecord pattern for ORM.
- Add arbitrary RDoc-able files via gemspec (not just Ruby source files) for people who have, for example, README.rdoc in their distributions. Add to gemspec via: spec.extra_rdoc_files = [“list”, “of”, “files”]. Ruby files are automatically included.
- Some small bug fixes