summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jim Weirich [Sun, 3 Jan 2010 11:27:59 +0000 (06:27 -0500)]
Fixed misspelling of "multiple" (pivotaltracker.com/story/show/2072574)
Jim Weirich [Sun, 3 Jan 2010 03:25:05 +0000 (22:25 -0500)]
Renamed explict to explicit (pivotaltracker.com/story/show/2070657)
Jim Weirich [Sun, 3 Jan 2010 03:22:24 +0000 (22:22 -0500)]
Renamed test (pivotaltracker.com/story/show/2072574)
Jim Weirich [Sun, 3 Jan 2010 03:21:49 +0000 (22:21 -0500)]
Addd comments to gen and regen tasks.
Jim Weirich [Sun, 3 Jan 2010 03:21:33 +0000 (22:21 -0500)]
Some minor reformatting.
Jim Weirich [Sun, 3 Jan 2010 03:21:12 +0000 (22:21 -0500)]
Updated try ruby link
Jim Weirich [Sun, 3 Jan 2010 03:20:54 +0000 (22:20 -0500)]
Added pivotal tracker address to readme.
Jim Weirich [Thu, 31 Dec 2009 18:37:51 +0000 (13:37 -0500)]
Added tracker information to readme.
Jim Weirich [Thu, 24 Dec 2009 07:33:08 +0000 (02:33 -0500)]
Updated tryruby link to tryruby.org.
Jim Weirich [Thu, 24 Dec 2009 07:27:02 +0000 (02:27 -0500)]
Fixed typo in tribute to Ara Howard.
Jim Weirich [Wed, 23 Dec 2009 03:31:55 +0000 (22:31 -0500)]
Updated first test to properly fail on the first run.
Jim Weirich [Wed, 23 Dec 2009 03:26:04 +0000 (22:26 -0500)]
Updated Readme with ref to about_asserts.
Jim Weirich [Wed, 23 Dec 2009 03:25:47 +0000 (22:25 -0500)]
Fixed typos in Greed Rules.
Jim Weirich [Mon, 21 Dec 2009 21:57:46 +0000 (16:57 -0500)]
Added ref to Little Lisper.
Jim Weirich [Mon, 21 Dec 2009 21:45:33 +0000 (16:45 -0500)]
Fixed rules typos.
Jim Weirich [Mon, 21 Dec 2009 21:37:06 +0000 (16:37 -0500)]
Changed minor constant count change.
Jim Weirich [Mon, 21 Dec 2009 21:36:48 +0000 (16:36 -0500)]
Fixed broken assert in src, so that it is still broken in koan
Jim Weirich [Mon, 21 Dec 2009 21:31:42 +0000 (16:31 -0500)]
Added Main readme to koan directory.
Jim Weirich [Mon, 21 Dec 2009 21:31:11 +0000 (16:31 -0500)]
Cleaned up src directory
Jim Weirich [Mon, 21 Dec 2009 21:30:50 +0000 (16:30 -0500)]
Updated Rakfile to copy the main readme into the koan directory. Removed SOURCE directory reference.
Jim Weirich [Mon, 21 Dec 2009 21:30:07 +0000 (16:30 -0500)]
Ignoring the dist directory
Jim Weirich [Mon, 21 Dec 2009 21:17:32 +0000 (16:17 -0500)]
Merged src directory with existing koans.
Jim Weirich [Mon, 21 Dec 2009 20:07:03 +0000 (15:07 -0500)]
Added back require rake/rdoctask
Jim Weirich [Mon, 21 Dec 2009 20:03:28 +0000 (15:03 -0500)]
New Rakefile
Jim Weirich [Mon, 21 Dec 2009 20:03:20 +0000 (15:03 -0500)]
Added src directory
Bret Pettichord [Tue, 13 Oct 2009 04:46:33 +0000 (23:46 -0500)]
rename file to match the name of its Koan class
Ken Barker [Fri, 9 Oct 2009 22:06:47 +0000 (18:06 -0400)]
Add preceding bang to make first test fail
Seems in-line with the other koans at this point
to require the student remove the bang.
Corey Haines [Wed, 7 Oct 2009 18:47:15 +0000 (13:47 -0500)]
fix url for tryruby
RFelix [Sat, 22 Aug 2009 11:57:10 +0000 (12:57 +0100)]
Removed duplicated array assignment tests from about_arrays.rb which are also in about_array_assignment.rb
Robert Osborne [Sat, 27 Jun 2009 23:21:02 +0000 (19:21 -0400)]
re-wrote a bit of explanation of red/green/refactor
Robert Osborne [Mon, 29 Jun 2009 00:11:51 +0000 (20:11 -0400)]
fixed typoo in def test_any_ruby_expression_my_be_interpolated
Robert Osborne [Tue, 30 Jun 2009 01:08:36 +0000 (21:08 -0400)]
method name test_if_then_else_statements was duplicated, overwriting the first def.
Robert Osborne [Wed, 1 Jul 2009 02:21:26 +0000 (22:21 -0400)]
Edited GREED_RULES
capitalist [Tue, 10 Feb 2009 19:35:10 +0000 (12:35 -0700)]
Fix typo
capitalist [Tue, 10 Feb 2009 21:41:51 +0000 (14:41 -0700)]
Fixed typo and faulty expectation.
There are three twos = 200 and one five = 50 => so this should be 250
Also, here's my score method - I feel like I over complicated this:
# def score(dice)
# #count em up
# results = dice.inject(Hash.new) {|h, die| h[die] = h[die] ? h[die] + 1 : 1; h }
#
# #convert to scores
# score = results.keys.inject(0) do |s,k|
# s += \
# case k
# when 1
# results[k] >= 3 ? 1000 + (results[k]-3)*100 : results[k] * 100
# when 2..4,6
# results[k] >= 3 ? 100*k : 0
# when 5
# results[k] >= 3 ? 500 + (results[k]-3)*50 : results[k] * 50
# else
# 0
# end
# end
# end
Marc Peabody [Thu, 8 Oct 2009 14:35:50 +0000 (10:35 -0400)]
Merge branch 'master' of git://github.com/caius/ruby_koans into caius/master
Marc Peabody [Thu, 8 Oct 2009 14:16:57 +0000 (10:16 -0400)]
hash keys and values must assert against sorted arrays - thanks gregmalcolm
unknown [Wed, 18 Mar 2009 01:57:25 +0000 (21:57 -0400)]
Cleanup of "cross method" test on the Bulldog, by removing the unfinished test and also Bulldog.growl method, which becomes obsolete.
unknown [Wed, 18 Mar 2009 01:43:05 +0000 (21:43 -0400)]
I renamed the class to AboutTriangleAssignment2 as this was messing with the testing order.
Using the same class name as the other Triangle Assignment was affecting the testing order, causing this assignment to show up before about_exceptions.
unknown [Wed, 18 Mar 2009 01:38:05 +0000 (21:38 -0400)]
Provided an alternative test_hash_keys_and_values function.
Asserts on hash.keys or hash.values can not be relied on as the order is random (I had an expected values of [:two, :one] when I got to that test).
Caius Durling [Sat, 7 Feb 2009 02:13:34 +0000 (02:13 +0000)]
Assigning a variable so the test passes when correct code is added.
Jonathan Lim [Tue, 27 Jan 2009 22:46:11 +0000 (06:46 +0800)]
Ensuring method names unique.
Ensuring that later class method definitions don't mess with earlier tests.
Renaming test to reflect that other objects are not affected by singleton methods on objects.
Signed-off-by: edgecase <github@theedgecase.com>
Jonathan Lim [Tue, 27 Jan 2009 21:36:31 +0000 (05:36 +0800)]
Fixing scores
Signed-off-by: edgecase <github@theedgecase.com>
Joe O'Brien [Mon, 26 Jan 2009 20:41:59 +0000 (15:41 -0500)]
adding attribution and another tweak to the wording
Joe O'Brien [Mon, 26 Jan 2009 20:28:25 +0000 (15:28 -0500)]
small formatting tweak
Joe O'Brien [Mon, 26 Jan 2009 20:26:31 +0000 (15:26 -0500)]
no comment
Joe O'Brien [Mon, 26 Jan 2009 20:23:13 +0000 (15:23 -0500)]
almost finished with the readme. At what point do we begin splitting them into chapters
Joe O'Brien [Mon, 26 Jan 2009 18:22:49 +0000 (13:22 -0500)]
still tweaking readme
Joe O'Brien [Mon, 26 Jan 2009 17:11:46 +0000 (12:11 -0500)]
moving files around a bit
Joe O'Brien [Mon, 26 Jan 2009 17:05:37 +0000 (12:05 -0500)]
changing readme to get formatted on GH; adding license
Joe O'Brien [Mon, 26 Jan 2009 16:56:38 +0000 (11:56 -0500)]
moving to a new repo
Joe O'Brien [Mon, 26 Jan 2009 16:50:41 +0000 (11:50 -0500)]
first commit