Activity
From 02/10/2010 to 03/11/2010
02/22/2010
- 07:09 PM Feature Request #22: Add Object#blank?
- Ruby on Rails has added the @.blank?@ method to several core classes. I've found that this method is handy outside of Rails as well. An object is blank if it is nil. It is also blank if it responds to @.empty?@ and that method returns true.
- 07:07 PM Support #21: Added tests for the Object class
- See the title. Let's add tests for the Object class, including tests for new core methods.
- 07:06 PM Feature Request #20: Add Object#to_bool
- An idiom that I see in the wild is this: ...
- 07:03 PM Feature Request #19: Add Object#in?
- Add the Object#in? method. Basically, the inverse of @obj.include?(x)@. The rules are simple: The argument to Object#in? must be an object that responds to @.include?@. That method is then called on self, and returns the resulting value.
02/20/2010
- 09:28 AM Redmine upgrade, new redirects
- The sapphire-lang.org site has been upgraded from 0.8.3 to 0.8.7, the last of the 0.8.x branches, which includes some XSS fixes among other things. I've also switched the session storage mechanism behind this site, so if you were logged in and wer...
- 04:14 AM Bug #18: Nested hash failure in Hash#[]
- Actually, I think this is a bug of 1.8.6 that was fixed in 1.8.7.
02/19/2010
- 08:36 PM Feature Request #3: Add structured warnings
- I've created some skeleton code in warning.c.
- 08:34 PM Bug #18: Nested hash failure in Hash#[]
- This test fails in test_aref.rb. I suspect it's because of the hash slicing code, but I'm not positive. ...
- 08:19 PM Revision e8a15c2800e475a59845e9807ee30cc04ce8f059: Updated Hash#[] tests to use declarative synta...
- Updated Hash#[] tests to use declarative syntax, split out some tests, and added a test for nested hash aref.
02/18/2010
- 03:24 AM Revision acd6b93e03274546c3ca40d510172401041ac282: Split tests for Hash#default and Hash#default=...
- Split tests for Hash#default and Hash#default= into separate files, and refactored them to use the declarative syntax.
- 03:23 AM Revision 5fa7c112645ab2ba4152614711fd96379bd19228: Documentation and formatting updates for defau...
- Documentation and formatting updates for default and default= methods in hash.c.
02/17/2010
- 09:54 PM Revision 2e44345bd58a823c4a9a3c2825d4b2768ae2c949: Refactored Hash[] tests to use declarative syn...
- Refactored Hash[] tests to use declarative syntax and added some tests.
- 09:03 PM Revision df793d77795bed0b2b680d65fc49c870d94889a4: Refactored Hash.new tests to use declarative s...
- Refactored Hash.new tests to use declarative syntax.
02/16/2010
- 09:46 AM Revision 00d14854acd1f8a25cf22351dd7cc9eb7314c740: Heavily refactored hash.c, added slicing, set ...
- Heavily refactored hash.c, added slicing, set aliases properly, removed some aliases and reformatted the source.
02/15/2010
- 12:14 PM Revision 8e8311604c97954697ae325a78ad7d8587d0a23d: Attempt to make git stfu.
- Attempt to make git stfu.
- 12:02 PM Revision f1655c8fc1e30a4fbdb60fb04f6ae8b6c9c1fc50: Added initial set of Hash tests.
- Added initial set of Hash tests.
- 12:01 PM Revision 16a276fdc77847a92cba21d060b9880eb1fe75bb: Replaced current test-unit code with test-unit...
- Replaced current test-unit code with test-unit 2.0.6 code.
- 12:00 PM Revision cfb4b7c464f26f7cfbea8bdbfd1c01a20227fc22: Added test-hash make task.
- Added test-hash make task.
Also available in: Atom