Commit Graph

150 Commits

Author SHA1 Message Date
Jim Weirich
3a8f125dd7 Shorter stack traces, even on exceptions. 2013-07-10 17:30:43 -04:00
Jim Weirich
0e6d826af4 Internalized assertions.
This makes us independent of test/unit and minitest.
2013-07-10 17:30:43 -04:00
michael-gebis
8ce0fb6506 Trimmed artistic end message to 79 columns.
On Windows, the standard terminal will insert a blank line after
any 80-column line.  Yes, this is a silly way for a terminal to
work, but on Windows, this is likely to happen.  Trimming to 79
columns makes things much less ugly.
2013-06-11 23:11:48 -07:00
Jim Weirich
d5b787cd2b Beefed up the greed scoring tests just a bit. 2013-06-07 06:01:01 +08:00
Jim Weirich
b8fa86ed1e Merge pull request #95 from ArturMoczulski/patch-1
Fixes a silly typo in the method name
2013-06-06 14:43:06 -07:00
Jim Weirich
3f49c8f000 Merge pull request #99 from StevenNdaye/about_keyword_arguments
Wrong class name from AboutMethods to AboutKeywordArguments
2013-06-06 14:39:47 -07:00
Jim Weirich
ad5f6f5fe8 Fixed missed sum => product change 2013-06-07 05:38:44 +08:00
Jim Weirich
4509e0c8fe Merge branch 'patch-1' of https://github.com/backspace/ruby_koans into product
* 'patch-1' of https://github.com/backspace/ruby_koans:
  test_inject_will_blow_your_mind uses an incorrect memo argument name
2013-06-07 05:36:33 +08:00
Adler Santos
dfaeb570e5 corrected example code in test_each_can_use_curly_brace_blocks_too
test_each_can_use_curly_brace_blocks_too was using the do-end block instead of the curly brace syntax for the each method.
2013-06-03 02:18:29 +08:00
Buck Doyle
1ce6d52963 test_inject_will_blow_your_mind uses an incorrect memo argument name
No big NBD, but the second memo argument is better called 'product' than 'sum'.
2013-05-13 16:48:57 -03:00
Steven Ndaye
6b66d46156 Wrong class name from AboutMethods to AboutKeywordArguments 2013-05-13 11:22:02 +02:00
Artur Moczulski
f4d9dc0db7 Fixes a silly typo in the method name
in method_with_keyword_arguments_with_mandatory_argument
2013-04-24 00:24:09 -07:00
Jim Weirich
12639186cb Fix order of comparison in about symbols to follow standard. 2013-04-09 11:27:30 -04:00
Jim Weirich
197dd8eff8 Clarify the difference between here docs and multi-line strings. 2013-04-09 11:27:30 -04:00
Jim Weirich
63753656af Fix prematurely correct answer. 2013-04-09 11:27:30 -04:00
Jim Weirich
86cb9c5a27 Fixed times example. 2013-04-09 10:46:13 -04:00
Jim Weirich
a079acbacd Merge pull request #89 from lucasrcosta/master
Added Times Statement in Control Statements
2013-04-09 07:45:19 -07:00
Jim Weirich
dc8f73f107 Remove test_helper.rb 2013-04-09 10:40:49 -04:00
Jim Weirich
09b03e9b1c Change EdgeCase to Neo 2013-04-09 10:40:27 -04:00
Jim Weirich
67750bf9bf Fix missing blanks in about hashes. 2013-04-09 10:33:43 -04:00
Jim Weirich
7eb51a9a30 Remove unused files. 2013-04-09 10:33:43 -04:00
Jim Weirich
f2e4a1f357 Make each do/end usage more consistent. 2013-04-09 10:33:43 -04:00
Jim Weirich
ceca9875cf Merge pull request #87 from weilu/remove_unused_variables
Remove assigned but unused variables
2013-04-09 07:13:04 -07:00
Jim Weirich
957b672d7a Merge pull request #86 from weilu/fix_indentation
Fix indentation
2013-04-09 07:12:05 -07:00
Jim Weirich
e150dd6d9e Fix private message error for JRuby. 2013-04-09 10:10:24 -04:00
Jim Weirich
f03e0d21ee Add keyword arguments (with correct answers). 2013-04-09 09:45:23 -04:00
Jim Weirich
58238ef54a Removed fixed object_id koan
This koan is not as important now that Ruby 2 has changed all the
object ids.
2013-04-09 09:30:33 -04:00
mfeckie
9c5ecb509a Add support for Ruby 2.0 2013-04-06 13:23:56 +08:00
mfeckie
cb14e48f1d Add tests for keyword arguments in Ruby 2.0 2013-04-06 12:18:41 +08:00
mfeckie
405c42eb81 Updated Sensei for 2.0.0
Add support for Ruby 2.0.0
2013-04-06 11:31:32 +08:00
Jim Weirich
2df8e5554d Added todo for EdgeCase to Neo conversion. 2013-04-01 19:10:47 -04:00
lucasrcosta
4d41bab6e6 Added Times Statement 2013-03-10 14:31:05 -03:00
Wei Lu
aa3c83f044 Remove assigned but unused variables 2013-02-28 18:59:58 +08:00
Wei Lu
676d9ce8ac Fix indentation 2013-02-28 15:44:28 +08:00
Adam McCrea
1a073e5db5 Merge pull request #66 from oflannabhra/patch-1
Test that constants are symbols by comparing strings
2012-11-26 06:17:39 -08:00
Ethan Zimmerman
7f29082e95 Modify test to better illustrate point 2012-06-05 14:22:14 -04:00
Matthew Boston
7bef32522e Merge branch 'master' of github.com:edgecase/ruby_koans 2012-02-23 11:19:54 -05:00
Matthew Boston
48fd6fdb1e Merge branch 'master' of github.com:edgecase/ruby_koans 2012-02-10 16:32:45 -05:00
Matthew Boston
7d0550259b Merge branch 'master' of github.com:edgecase/ruby_koans 2012-02-10 16:32:34 -05:00
Alex Burkhart
6af4597b80 Use rake instead of directly invoking path_to_enlightenment. 2012-02-10 19:36:50 +00:00
Alex Burkhart
a565ac232d Removed autotest. Added Watchr script. 2012-02-09 18:57:31 +00:00
Matthew Boston
711564c452 remove line-ending whitespace 2012-02-07 22:16:52 -05:00
Matthew Boston
34d1127f98 whitespace cleanup 2012-02-06 23:17:48 -05:00
Henry Liu
907c1fc0be Fixed color support in OS X 2012-01-22 00:20:40 -08:00
oflannabhra
b44b5f8bb2 Compare strings instead of symbols for constants, similar to method names. 2012-01-02 22:33:46 -05:00
Rich Lewis
63a7f27313 removed duplicate word "The" in comment. 2011-12-20 15:42:07 -05:00
Jim Weirich
d92f3234c7 Added __ to assert with no __ blanks. 2011-12-04 02:39:29 -05:00
Jim Weirich
4633ba5c79 Add a dummy KeyError to 1.8 so that src koans will run. 2011-12-04 02:14:42 -05:00
Jim Weirich
5665cb0366 Handle 1.8 VS 1.9 differences in fetch exception. 2011-12-04 02:03:10 -05:00
Jim Weirich
6592f3d36e Back ported a lot of changes made to the Koans directory.
Evidently, a lot of changes / pull requests were made to the koans
directory and not to the src directory.  Perhaps we should remove the
koans directory entirely from the repo.
2011-12-04 02:00:22 -05:00