Commit Graph

265 Commits

Author SHA1 Message Date
David Kennedy
5f3a6a19f2 Ignore RVM config if the user wants to use it
RVM allows the user to select a specific Ruby for a specific
project. It is common to put a .rvmrc config file in the root
of a project to select the Ruby automatically when the user
switches into that project.

The Ruby Koans should ignore this file if present and not mistake
it for a change to the Koans themselves. There are other ways
of choosing a Ruby to use, and use of RVM is not mandated by the
Koans so ignoring seems like the right solution.
2013-02-14 12:51:00 +00: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
Marc Peabody
9cb57ef35f Merge pull request #77 from thebinarypenguin/about-hashes-bonus-question
Modify test to better illustrate point
2012-06-05 12:19:07 -07:00
Ethan Zimmerman
7f29082e95 Modify test to better illustrate point 2012-06-05 14:22:14 -04:00
Marc Peabody
75ba956176 Merge pull request #72 from Erkan-Yilmaz/master
missing: ) + first example output adapted
2012-03-08 06:35:36 -08:00
Erkan Yilmaz
f3d20b8e14 seems screen output of the 1st example changed 2012-03-08 14:03:45 +01:00
Erkan Yilmaz
03caa9b349 add missing: ) 2012-03-08 13:57:01 +01: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
Matthew Boston
bd94b445de Merge pull request #70 from saterus/master
Switch from Autotest to Watchr
2012-02-10 13:32:14 -08: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
Matthew Boston
8926a0d96b Merge pull request #68 from liuhenry/master
Fixed color support in OS X
2012-01-27 10:51:25 -08:00
Matthew Boston
c014f6db04 update Rakefile to use pre-defined directories 2012-01-27 10:39:22 -05:00
Matthew Boston
2625f10997 not sure why the extra line was thrown in... 2012-01-27 10:34:00 -05:00
Matthew Boston
d1ab51e7cd updating README with directions for generating the koans 2012-01-27 10:26:46 -05:00
Henry Liu
907c1fc0be Fixed color support in OS X 2012-01-22 00:20:40 -08:00
Matthew Boston
212e29b659 Merge pull request #64 from RichLewis007/master
Fix typo in comments in about_sandwich_code.rb
2012-01-03 12:05:21 -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
e76be64f9d Added koans directory to the .git ignore list. 2011-12-04 02:48:20 -05:00
Jim Weirich
2ddd929473 Remove koans directory from source control.
Patches were submitted against the koans directory rather than the
src directory. This lead to potential problems when we regenerate the
koans directory from scratch, leading to the very real possibility
that changes could be lost.

Please make all changes to the src directory and use "rake gen" (or
"rake regen") to generate the koans directory as needed.
2011-12-04 02:47:24 -05:00
Jim Weirich
a83000b4d3 Restrict assert checks to .rb files. 2011-12-04 02:41:54 -05:00
Jim Weirich
a3fcc3904a Updated koans directory from source. 2011-12-04 02:40:08 -05:00
Jim Weirich
d92f3234c7 Added __ to assert with no __ blanks. 2011-12-04 02:39:29 -05:00
Jim Weirich
007eeff1d8 Removed support for Ruby 1.8.6. 2011-12-04 02:35:47 -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
Jim Weirich
51acb84736 Silence complaint about Rake::DSL 2011-12-04 01:58:29 -05:00
Jim Weirich
f9d3bcbb37 removed deprecated require of rake/rdoctask 2011-12-04 01:18:23 -05:00
Jim Weirich
1a17730862 updated koans with latest src 2011-12-04 01:17:59 -05:00
Jim Weirich
271dff2353 Fixed :each VS "each" conflict in method list inclusion. 2011-12-04 00:57:08 -05:00
Matt Darby
6001bec44b Merge pull request #60 from lagartoflojo/master
Fix a small typo in the comment.
2011-10-14 18:10:32 -07:00
Hernán Schmidt
95f7fba8ae fix typo in message 2011-10-14 20:56:47 -03:00
Matt Darby
a53c815da0 Merge pull request #47 from ahmed80dz/master
colors in windows using win32console gem
2011-10-07 16:24:23 -07:00
ahmed80dz
ad3b4f76aa as suggested by sunaku 2011-10-07 23:55:12 +02:00
ahmed80dz
595f2af341 finally it worked well 2011-10-07 23:13:32 +02:00
ahmed80dz
176de995b8 Edited koans/edgecase.rb via GitHub 2011-10-07 22:34:53 +02:00
ahmed80dz
dd36e171b0 testing for win32console 2011-10-07 22:18:59 +02:00
Matt Darby
e2c4cb6c07 Merge pull request #52 from dandorman/hash_fetch_koan
Add koan addressing Hash#fetch.
2011-10-07 12:58:45 -07:00
Matt Darby
2871422507 Merge pull request #53 from dandorman/hash_default_block_koans
Add koans addressing passing a block to Hash#initialize.
2011-10-07 12:56:59 -07:00
Matt Darby
e5197a9417 Merge pull request #54 from bsodmike/master
Others may find these tweaks useful...
2011-10-07 12:56:07 -07:00
Matt Darby
63089bc5fe Merge pull request #55 from deanh/master
Minor 1.8 v. 1.9 fix and typo
2011-10-07 12:53:21 -07:00
this guy
42847962b4 Fixed discrepancy between results for obj.methods in 1.8 v. 1.9
(String v. Symbol) and what looked to be a typo.
2011-09-08 22:04:43 -07:00
Michael de Silva
c160ee8b03 few more enlightening tweaks 2011-09-09 00:16:21 +03:00
Dan Dorman
6acc65ac92 Add koans addressing passing a block to Hash#initialize. 2011-09-08 09:48:41 -06:00