ruby_koans.git
13 years agoUpdatd exception koan to be clearer about StandardError VS RuntimeError rubykoans-2010-11-29
Jim Weirich [Mon, 29 Nov 2010 14:02:22 +0000 (09:02 -0500)]
Updatd exception koan to be clearer about StandardError VS RuntimeError

13 years agoFixed exceptions typo
Luke Pearce [Mon, 29 Nov 2010 13:24:40 +0000 (13:24 +0000)]
Fixed exceptions typo

13 years agoDisabled colored output on windows.
Jim Weirich [Thu, 21 Oct 2010 11:05:06 +0000 (07:05 -0400)]
Disabled colored output on windows.

13 years agoUpdated koans for about_symbols fix
Jim Weirich [Thu, 21 Oct 2010 11:04:54 +0000 (07:04 -0400)]
Updated koans for about_symbols fix

13 years agoFixed test_symbols_with_spaces_can_be_built method name collision.
Jim Weirich [Thu, 21 Oct 2010 11:02:10 +0000 (07:02 -0400)]
Fixed test_symbols_with_spaces_can_be_built method name collision.

13 years agoFixed bug where some koans were not generated properly.
Jim Weirich [Fri, 1 Oct 2010 15:05:25 +0000 (11:05 -0400)]
Fixed bug where some koans were not generated properly.

13 years agoAdded Java Interop koans if running jruby.
Jim Weirich [Tue, 28 Sep 2010 18:49:43 +0000 (14:49 -0400)]
Added Java Interop koans if running jruby.

13 years agoAdded descriptions to rake tasks.
Jim Weirich [Tue, 28 Sep 2010 18:49:20 +0000 (14:49 -0400)]
Added descriptions to rake tasks.

13 years agoAdded missing __ replacements
Jim Weirich [Tue, 28 Sep 2010 18:49:06 +0000 (14:49 -0400)]
Added missing __ replacements

13 years agoUpdated koans from source.
Jim Weirich [Tue, 28 Sep 2010 18:43:34 +0000 (14:43 -0400)]
Updated koans from source.

13 years agoAdded enumerable collections and open java classes to jruby koan.
Jim Weirich [Tue, 28 Sep 2010 18:43:03 +0000 (14:43 -0400)]
Added enumerable collections and open java classes to jruby koan.

13 years agoUpdated koans from src.
Jim Weirich [Tue, 28 Sep 2010 18:17:46 +0000 (14:17 -0400)]
Updated koans from src.

13 years agoMoved splat example to later + several typo corrections.
Jim Weirich [Tue, 28 Sep 2010 18:15:08 +0000 (14:15 -0400)]
Moved splat example to later + several typo corrections.

13 years agoCool test; Still can't believe there is no standard implementation of first/rest
Srdjan Pejic [Fri, 24 Sep 2010 01:06:40 +0000 (21:06 -0400)]
Cool test; Still can't believe there is no standard implementation of first/rest

13 years agoAdded more think about its to the ruby/java string comparisons.
Marc Peabody + Jim Weirich [Mon, 27 Sep 2010 22:24:25 +0000 (18:24 -0400)]
Added more think about its to the ruby/java string comparisons.

13 years agoMore class conflict examples.
Marc Peabody + Jim Weirich [Mon, 27 Sep 2010 20:54:10 +0000 (16:54 -0400)]
More class conflict examples.

13 years agoAdded Ruby version information to the output.
Jim Weirich [Mon, 27 Sep 2010 18:36:38 +0000 (14:36 -0400)]
Added Ruby version information to the output.

13 years agoMinitest lines in backtrace are no longer interesting.
Jim Weirich [Mon, 27 Sep 2010 18:15:59 +0000 (14:15 -0400)]
Minitest lines in backtrace are no longer interesting.

13 years agoSimplified output for running against multiple rubies.
Jim Weirich [Mon, 27 Sep 2010 18:09:38 +0000 (14:09 -0400)]
Simplified output for running against multiple rubies.

13 years agoAdded rake task for running koans against several rubies.
Jim Weirich [Mon, 27 Sep 2010 17:46:21 +0000 (13:46 -0400)]
Added rake task for running koans against several rubies.

13 years agoEvaluated each assert line without a replacement test specified.
Jim Weirich [Mon, 27 Sep 2010 17:38:50 +0000 (13:38 -0400)]
Evaluated each assert line without a replacement test specified.

13 years agoMoved checks into a separate rake file.
Jim Weirich [Mon, 27 Sep 2010 17:38:22 +0000 (13:38 -0400)]
Moved checks into a separate rake file.

13 years agoAdded symbol & string identity tests.
Jim Weirich [Mon, 27 Sep 2010 15:36:38 +0000 (11:36 -0400)]
Added symbol & string identity tests.

13 years agoAdded Koan on basic objects
Jim Weirich [Mon, 27 Sep 2010 15:36:00 +0000 (11:36 -0400)]
Added Koan on basic objects

13 years agoUpdated koans from source directory.
Jim Weirich [Mon, 27 Sep 2010 14:50:29 +0000 (10:50 -0400)]
Updated koans from source directory.

13 years agoMerge branch 'output_refactoring'
Jim Weirich [Mon, 27 Sep 2010 14:49:17 +0000 (10:49 -0400)]
Merge branch 'output_refactoring'

* output_refactoring:
  Updated for JRuby
  Switch blue color to cyan for better contrast on dark terminals.
  80 char limit to end screen
  Updated Koans directory
  Added else clause if progress file is not there.
  regen for updated koans/edgecase.rb
  end screen with koans logo ascii art

13 years agoUpdated for JRuby
Jim Weirich [Mon, 27 Sep 2010 14:44:58 +0000 (10:44 -0400)]
Updated for JRuby

13 years agoSwitch blue color to cyan for better contrast on dark terminals.
Jim Weirich [Mon, 27 Sep 2010 14:37:35 +0000 (10:37 -0400)]
Switch blue color to cyan for better contrast on dark terminals.

13 years agomerge and 80 char limit on src
Marc Peabody [Wed, 22 Sep 2010 19:14:11 +0000 (15:14 -0400)]
merge and 80 char limit on src

13 years ago80 char limit to end screen
Marc Peabody [Wed, 22 Sep 2010 19:09:08 +0000 (15:09 -0400)]
80 char limit to end screen

13 years agoUpdated Koans directory
Jim Weirich [Wed, 22 Sep 2010 18:54:42 +0000 (14:54 -0400)]
Updated Koans directory

13 years agoAdded else clause if progress file is not there.
Jim Weirich [Wed, 22 Sep 2010 18:50:25 +0000 (14:50 -0400)]
Added else clause if progress file is not there.

13 years agoregen for updated koans/edgecase.rb
Marc Peabody [Wed, 22 Sep 2010 18:10:34 +0000 (14:10 -0400)]
regen for updated koans/edgecase.rb

13 years agoend screen with koans logo ascii art
Marc Peabody [Wed, 22 Sep 2010 18:08:38 +0000 (14:08 -0400)]
end screen with koans logo ascii art

13 years agoAdd timestamps to package output
Matt Yoho [Tue, 21 Sep 2010 21:48:30 +0000 (17:48 -0400)]
Add timestamps to package output

13 years agoAdd koan on asserting exceptions
Matt Yoho [Tue, 21 Sep 2010 21:12:50 +0000 (17:12 -0400)]
Add koan on asserting exceptions

13 years agoUse correct method for exception fill-in blank
Matt Yoho [Tue, 21 Sep 2010 19:32:43 +0000 (15:32 -0400)]
Use correct method for exception fill-in blank

13 years agoClean up about_koans and add another example
Matt Yoho [Tue, 21 Sep 2010 19:29:21 +0000 (15:29 -0400)]
Clean up about_koans and add another example

13 years agoFixed typo
Daniel Parker [Tue, 21 Sep 2010 16:41:09 +0000 (17:41 +0100)]
Fixed typo

13 years agoAdd about_symbols koan
Matt Yoho [Tue, 21 Sep 2010 15:52:47 +0000 (11:52 -0400)]
Add about_symbols koan

13 years agominor grammar nit
Erik Ogan [Sun, 19 Sep 2010 23:52:26 +0000 (16:52 -0700)]
minor grammar nit

13 years agoUpdated koans from source.
Jim Weirich [Mon, 13 Sep 2010 01:33:11 +0000 (21:33 -0400)]
Updated koans from source.

13 years agoRemoved utf-8 character in comments.
Jim Weirich [Mon, 13 Sep 2010 01:32:55 +0000 (21:32 -0400)]
Removed utf-8 character in comments.

13 years agoNormalized file name and koan category name.
Jim Weirich [Mon, 13 Sep 2010 01:27:22 +0000 (21:27 -0400)]
Normalized file name and koan category name.

13 years agoAdded bonus question about the file read.
Jim Weirich [Mon, 13 Sep 2010 01:27:01 +0000 (21:27 -0400)]
Added bonus question about the file read.

13 years agoSimplified file read example.
Jim Weirich [Mon, 13 Sep 2010 01:26:49 +0000 (21:26 -0400)]
Simplified file read example.

13 years agoIgnoring project env rc file.
Jim Weirich [Mon, 13 Sep 2010 01:25:42 +0000 (21:25 -0400)]
Ignoring project env rc file.

13 years agoCleaned up some messy File housekeeping.
Greg Mefford [Sun, 12 Sep 2010 21:07:22 +0000 (17:07 -0400)]
Cleaned up some messy File housekeeping.

13 years agoUpdated koan directory from src. cinci-day-of-ruby-2010
Jim Weirich [Fri, 27 Aug 2010 13:44:10 +0000 (09:44 -0400)]
Updated koan directory from src.

13 years agoAdded autotest support to RubyKoans
Rene Mendoza [Fri, 27 Aug 2010 01:14:26 +0000 (20:14 -0500)]
Added autotest support to RubyKoans

13 years agoColor support for Ruby Koans
Rene Mendoza [Fri, 27 Aug 2010 01:01:37 +0000 (20:01 -0500)]
Color support for Ruby Koans

13 years agoAdded autotest support and added colorized output of tests
Rene Mendoza [Wed, 25 Aug 2010 22:58:14 +0000 (17:58 -0500)]
Added autotest support and added colorized output of tests

13 years agoTweeks on the color module
Jim Weirich [Fri, 27 Aug 2010 13:25:10 +0000 (09:25 -0400)]
Tweeks on the color module

13 years agoRenamed method
Jim Weirich [Fri, 27 Aug 2010 13:11:51 +0000 (09:11 -0400)]
Renamed method

13 years agoUpdated koans with changed from src.
Jim Weirich [Thu, 26 Aug 2010 11:58:28 +0000 (07:58 -0400)]
Updated koans with changed from src.

13 years agoUpdated comment
Jim Weirich [Thu, 26 Aug 2010 11:57:28 +0000 (07:57 -0400)]
Updated comment

13 years agoDisable colorization when the NO_COLOR env variable is defined.
Jim Weirich [Thu, 26 Aug 2010 11:55:04 +0000 (07:55 -0400)]
Disable colorization when the NO_COLOR env variable is defined.

13 years agoRemoved method missing from color module.
Jim Weirich [Thu, 26 Aug 2010 11:53:22 +0000 (07:53 -0400)]
Removed method missing from color module.

13 years agoAdded colors to output (based on renemendoza's patch).
Jim Weirich [Thu, 26 Aug 2010 11:45:31 +0000 (07:45 -0400)]
Added colors to output (based on renemendoza's patch).

13 years agoUpdated koans from new regex section.
Jim Weirich [Sun, 22 Aug 2010 06:03:17 +0000 (02:03 -0400)]
Updated koans from new regex section.

13 years agoFixed spelling of repetition.
Jim Weirich [Sun, 22 Aug 2010 05:55:02 +0000 (01:55 -0400)]
Fixed spelling of repetition.

13 years agoMerge branch 'master' of git://github.com/JEG2/ruby_koans into numeric
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.

13 years agoAdding Regular Expression koans.
James Edward Gray II [Sun, 22 Aug 2010 03:11:06 +0000 (22:11 -0500)]
Adding Regular Expression koans.

13 years agoFixing a bug that was causing some number Koans to be presolved.
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.

13 years agoTypo fix: changed "parenthesis" to "parentheses"
Jonathan Castello [Sat, 21 Aug 2010 18:32:57 +0000 (11:32 -0700)]
Typo fix: changed "parenthesis" to "parentheses"

13 years agoWhite space fixes
Jim Weirich [Sat, 21 Aug 2010 13:01:10 +0000 (09:01 -0400)]
White space fixes

13 years agoMerge branch 'master' of http://github.com/Twisol/ruby_koans into twisol
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.)

13 years agoWith 'test_in_ruby_1_8_single_characters_are_represented_by_strings', changed the...
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.)

13 years agoUpdated README (tweeks words, whitespace cleanup)
Jim Weirich [Tue, 17 Aug 2010 12:41:18 +0000 (08:41 -0400)]
Updated README (tweeks words, whitespace cleanup)

13 years agoUpdated the koans directory.
Jim Weirich [Mon, 16 Aug 2010 20:57:13 +0000 (16:57 -0400)]
Updated the koans directory.

13 years agoNow supporting Test::Unit as well under Ruby 1.9.
Jim Weirich [Mon, 16 Aug 2010 20:56:42 +0000 (16:56 -0400)]
Now supporting Test::Unit as well under Ruby 1.9.

13 years agoAdded support for minitest 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.

13 years agoMake method_missing public in the test framework for 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.

13 years agoSetup load path in path_to_enlightenment, so -I not needed in Rakefile.
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.

13 years agoUPdated koans to match latest source.
Jim Weirich [Mon, 16 Aug 2010 19:06:12 +0000 (15:06 -0400)]
UPdated koans to match latest source.

13 years agoAnswers now Ruby 1.9 compliant
Jim Weirich [Mon, 16 Aug 2010 19:05:20 +0000 (15:05 -0400)]
Answers now Ruby 1.9 compliant

13 years agoAdded current directory to rake runner.
Jim Weirich [Mon, 16 Aug 2010 19:03:44 +0000 (15:03 -0400)]
Added current directory to rake runner.

13 years agoMinor change to comment about regular expressions.
Jim Weirich [Mon, 16 Aug 2010 18:59:04 +0000 (14:59 -0400)]
Minor change to comment about regular expressions.

13 years agoUpdated require with yucky File.dirname(__FILE__) hacks.
Jim Weirich [Mon, 16 Aug 2010 18:40:37 +0000 (14:40 -0400)]
Updated require with yucky File.dirname(__FILE__) hacks.

13 years agoReworded question.
Jim Weirich [Mon, 16 Aug 2010 17:59:58 +0000 (13:59 -0400)]
Reworded question.

14 years agoRemoved unneeded check for no args.
Jim Weirich [Tue, 20 Apr 2010 20:26:57 +0000 (16:26 -0400)]
Removed unneeded check for no args.

14 years agoAdded constants to koans path to enlightenment.
Jim Weirich [Tue, 20 Apr 2010 20:26:18 +0000 (16:26 -0400)]
Added constants to koans path to enlightenment.

14 years agoUpdates source to be consistent with the _n_ changes.
Jim Weirich [Tue, 20 Apr 2010 20:25:19 +0000 (16:25 -0400)]
Updates source to be consistent with the _n_ changes.

14 years agoAdded about_constants
Jim Weirich [Tue, 20 Apr 2010 20:17:34 +0000 (16:17 -0400)]
Added about_constants

14 years agoModified to be less dependent on exact method and constant counts.
Jim Weirich [Tue, 20 Apr 2010 20:17:24 +0000 (16:17 -0400)]
Modified to be less dependent on exact method and constant counts.

14 years agoAdded a numeric fill in method (_n_)
Jim Weirich [Tue, 20 Apr 2010 20:16:55 +0000 (16:16 -0400)]
Added a numeric fill in method (_n_)

14 years agoGenerated new koans directory.
Jim Weirich [Fri, 15 Jan 2010 14:53:28 +0000 (09:53 -0500)]
Generated new koans directory.

14 years agoAdded swap example to parallel assignments
Jim Weirich [Fri, 15 Jan 2010 14:51:50 +0000 (09:51 -0500)]
Added swap example to parallel assignments

14 years agoRenamed if test to avoid method name conflict.
Jim Weirich [Fri, 15 Jan 2010 14:46:17 +0000 (09:46 -0500)]
Renamed if test to avoid method name conflict.

14 years agoAdded [1,1,3] case for triangles.
Jim Weirich [Fri, 15 Jan 2010 14:39:48 +0000 (09:39 -0500)]
Added [1,1,3] case for triangles.

14 years agoUse .values rather than .keys in values test (http://www.pivotaltracker.com/story...
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)

14 years agoFixed misspelling of "multiple" (http://www.pivotaltracker.com/story/show/2072574) codemash-2010
Jim Weirich [Sun, 3 Jan 2010 11:27:59 +0000 (06:27 -0500)]
Fixed misspelling of "multiple" (pivotaltracker.com/story/show/2072574)

14 years agoRenamed explict to explicit (http://www.pivotaltracker.com/story/show/2070657)
Jim Weirich [Sun, 3 Jan 2010 03:25:05 +0000 (22:25 -0500)]
Renamed explict to explicit (pivotaltracker.com/story/show/2070657)

14 years agoRenamed test (http://www.pivotaltracker.com/story/show/2072574)
Jim Weirich [Sun, 3 Jan 2010 03:22:24 +0000 (22:22 -0500)]
Renamed test (pivotaltracker.com/story/show/2072574)

14 years agoAddd comments to gen and regen tasks.
Jim Weirich [Sun, 3 Jan 2010 03:21:49 +0000 (22:21 -0500)]
Addd comments to gen and regen tasks.

14 years agoSome minor reformatting.
Jim Weirich [Sun, 3 Jan 2010 03:21:33 +0000 (22:21 -0500)]
Some minor reformatting.

14 years agoUpdated try ruby link
Jim Weirich [Sun, 3 Jan 2010 03:21:12 +0000 (22:21 -0500)]
Updated try ruby link

14 years agoAdded pivotal tracker address to readme.
Jim Weirich [Sun, 3 Jan 2010 03:20:54 +0000 (22:20 -0500)]
Added pivotal tracker address to readme.

14 years agoAdded tracker information to readme.
Jim Weirich [Thu, 31 Dec 2009 18:37:51 +0000 (13:37 -0500)]
Added tracker information to readme.

14 years agoUpdated tryruby link to tryruby.org.
Jim Weirich [Thu, 24 Dec 2009 07:33:08 +0000 (02:33 -0500)]
Updated tryruby link to tryruby.org.