summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jim Weirich [Fri, 27 Aug 2010 13:44:10 +0000 (09:44 -0400)]
Updated koan directory from src.
Rene Mendoza [Fri, 27 Aug 2010 01:14:26 +0000 (20:14 -0500)]
Added autotest support to RubyKoans
Rene Mendoza [Fri, 27 Aug 2010 01:01:37 +0000 (20:01 -0500)]
Color support for Ruby Koans
Rene Mendoza [Wed, 25 Aug 2010 22:58:14 +0000 (17:58 -0500)]
Added autotest support and added colorized output of tests
Jim Weirich [Fri, 27 Aug 2010 13:25:10 +0000 (09:25 -0400)]
Tweeks on the color module
Jim Weirich [Fri, 27 Aug 2010 13:11:51 +0000 (09:11 -0400)]
Renamed method
Jim Weirich [Thu, 26 Aug 2010 11:58:28 +0000 (07:58 -0400)]
Updated koans with changed from src.
Jim Weirich [Thu, 26 Aug 2010 11:57:28 +0000 (07:57 -0400)]
Updated comment
Jim Weirich [Thu, 26 Aug 2010 11:55:04 +0000 (07:55 -0400)]
Disable colorization when the NO_COLOR env variable is defined.
Jim Weirich [Thu, 26 Aug 2010 11:53:22 +0000 (07:53 -0400)]
Removed method missing from color module.
Jim Weirich [Thu, 26 Aug 2010 11:45:31 +0000 (07:45 -0400)]
Added colors to output (based on renemendoza's patch).
Jim Weirich [Sun, 22 Aug 2010 06:03:17 +0000 (02:03 -0400)]
Updated koans from new regex section.
Jim Weirich [Sun, 22 Aug 2010 05:55:02 +0000 (01:55 -0400)]
Fixed spelling of repetition.
Jim Weirich [Sun, 22 Aug 2010 05:36:28 +0000 (01:36 -0400)]
Merge branch 'master' of git://github.com/JEG2/ruby_koans into numeric
* 'master' of git://github.com/JEG2/ruby_koans:
Adding Regular Expression koans.
Fixing a bug that was causing some number Koans to be presolved.
James Edward Gray II [Sun, 22 Aug 2010 03:11:06 +0000 (22:11 -0500)]
Adding Regular Expression koans.
James Edward Gray II [Sat, 21 Aug 2010 20:34:54 +0000 (15:34 -0500)]
Fixing a bug that was causing some number Koans to be presolved.
Jonathan Castello [Sat, 21 Aug 2010 18:32:57 +0000 (11:32 -0700)]
Typo fix: changed "parenthesis" to "parentheses"
Jim Weirich [Sat, 21 Aug 2010 13:01:10 +0000 (09:01 -0400)]
White space fixes
Jim Weirich [Sat, 21 Aug 2010 12:55:49 +0000 (08:55 -0400)]
Merge branch 'master' of github.com/Twisol/ruby_koans into twisol
* 'master' of http://github.com/Twisol/ruby_koans:
With 'test_in_ruby_1_8_single_characters_are_represented_by_strings', changed the name to use '1.9', since it's in an in_ruby_version("1.9") block. (Confused me for a good while.)
Jonathan Castello [Sat, 21 Aug 2010 08:33:13 +0000 (01:33 -0700)]
With 'test_in_ruby_1_8_single_characters_are_represented_by_strings', changed the name to use '1.9', since it's in an in_ruby_version("1.9") block. (Confused me for a good while.)
Jim Weirich [Tue, 17 Aug 2010 12:41:18 +0000 (08:41 -0400)]
Updated README (tweeks words, whitespace cleanup)
Jim Weirich [Mon, 16 Aug 2010 20:57:13 +0000 (16:57 -0400)]
Updated the koans directory.
Jim Weirich [Mon, 16 Aug 2010 20:56:42 +0000 (16:56 -0400)]
Now supporting Test::Unit as well under Ruby 1.9.
Jim Weirich [Mon, 16 Aug 2010 20:53:56 +0000 (16:53 -0400)]
Added support for minitest under Ruby 1.9.
Jim Weirich [Mon, 16 Aug 2010 19:40:54 +0000 (15:40 -0400)]
Make method_missing public in the test framework for Ruby 1.9.
Jim Weirich [Mon, 16 Aug 2010 19:39:46 +0000 (15:39 -0400)]
Setup load path in path_to_enlightenment, so -I not needed in Rakefile.
Jim Weirich [Mon, 16 Aug 2010 19:06:12 +0000 (15:06 -0400)]
UPdated koans to match latest source.
Jim Weirich [Mon, 16 Aug 2010 19:05:20 +0000 (15:05 -0400)]
Answers now Ruby 1.9 compliant
Jim Weirich [Mon, 16 Aug 2010 19:03:44 +0000 (15:03 -0400)]
Added current directory to rake runner.
Jim Weirich [Mon, 16 Aug 2010 18:59:04 +0000 (14:59 -0400)]
Minor change to comment about regular expressions.
Jim Weirich [Mon, 16 Aug 2010 18:40:37 +0000 (14:40 -0400)]
Updated require with yucky File.dirname(__FILE__) hacks.
Jim Weirich [Mon, 16 Aug 2010 17:59:58 +0000 (13:59 -0400)]
Reworded question.
Jim Weirich [Tue, 20 Apr 2010 20:26:57 +0000 (16:26 -0400)]
Removed unneeded check for no args.
Jim Weirich [Tue, 20 Apr 2010 20:26:18 +0000 (16:26 -0400)]
Added constants to koans path to enlightenment.
Jim Weirich [Tue, 20 Apr 2010 20:25:19 +0000 (16:25 -0400)]
Updates source to be consistent with the _n_ changes.
Jim Weirich [Tue, 20 Apr 2010 20:17:34 +0000 (16:17 -0400)]
Added about_constants
Jim Weirich [Tue, 20 Apr 2010 20:17:24 +0000 (16:17 -0400)]
Modified to be less dependent on exact method and constant counts.
Jim Weirich [Tue, 20 Apr 2010 20:16:55 +0000 (16:16 -0400)]
Added a numeric fill in method (_n_)
Jim Weirich [Fri, 15 Jan 2010 14:53:28 +0000 (09:53 -0500)]
Generated new koans directory.
Jim Weirich [Fri, 15 Jan 2010 14:51:50 +0000 (09:51 -0500)]
Added swap example to parallel assignments
Jim Weirich [Fri, 15 Jan 2010 14:46:17 +0000 (09:46 -0500)]
Renamed if test to avoid method name conflict.
Jim Weirich [Fri, 15 Jan 2010 14:39:48 +0000 (09:39 -0500)]
Added [1,1,3] case for triangles.
Jim Weirich [Thu, 14 Jan 2010 19:31:30 +0000 (14:31 -0500)]
Use .values rather than .keys in values test (pivotaltracker.com/story/show/2177802)
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