Activity

From 02/09/2010 to 03/10/2010

02/22/2010

07:09 PM Sapphire 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. Daniel Berger
07:07 PM Sapphire 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. Daniel Berger
07:06 PM Sapphire Feature Request #20: Add Object#to_bool
An idiom that I see in the wild is this: ... Daniel Berger
07:03 PM Sapphire 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. Daniel Berger

02/20/2010

09:28 AM Sapphire 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... Daniel Berger
04:14 AM Sapphire 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. Daniel Berger

02/19/2010

08:36 PM Sapphire Feature Request #3: Add structured warnings
I've created some skeleton code in warning.c. Daniel Berger
08:34 PM Sapphire 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. ... Daniel Berger
08:19 PM Sapphire 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. Daniel Berger

02/18/2010

03:24 AM Sapphire 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. Daniel Berger
03:23 AM Sapphire Revision 5fa7c112645ab2ba4152614711fd96379bd19228: Documentation and formatting updates for defau...
Documentation and formatting updates for default and default= methods in hash.c. Daniel Berger

02/17/2010

09:54 PM Sapphire Revision 2e44345bd58a823c4a9a3c2825d4b2768ae2c949: Refactored Hash[] tests to use declarative syn...
Refactored Hash[] tests to use declarative syntax and added some tests. Daniel Berger
09:03 PM Sapphire Revision df793d77795bed0b2b680d65fc49c870d94889a4: Refactored Hash.new tests to use declarative s...
Refactored Hash.new tests to use declarative syntax. Daniel Berger

02/16/2010

09:46 AM Sapphire 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. Daniel Berger

02/15/2010

12:14 PM Sapphire Revision 8e8311604c97954697ae325a78ad7d8587d0a23d: Attempt to make git stfu.
Attempt to make git stfu. Daniel Berger
12:02 PM Sapphire Revision f1655c8fc1e30a4fbdb60fb04f6ae8b6c9c1fc50: Added initial set of Hash tests.
Added initial set of Hash tests. Daniel Berger
12:01 PM Sapphire Revision 16a276fdc77847a92cba21d060b9880eb1fe75bb: Replaced current test-unit code with test-unit...
Replaced current test-unit code with test-unit 2.0.6 code. Daniel Berger
12:00 PM Sapphire Revision cfb4b7c464f26f7cfbea8bdbfd1c01a20227fc22: Added test-hash make task.
Added test-hash make task. Daniel Berger
« Previous
 

Also available in: Atom