390 Commits

Author SHA1 Message Date
Tony Schneider
4f2b3dd18e Merge pull request #59 from juanhebert/patch-1
Fix typo in about_pattern_matching.rb
2026-03-21 09:23:20 -04:00
Juan Manuel Hébert
12c463c042 Fix typo in about_pattern_matching.rb
Fix typo in comment on line 172 of `about_pattern_matching.rb`.
2026-03-18 17:56:54 -04:00
Tony Schneider
e072392099 Merge pull request #55 from Hikelio/master
add tip about parentheses in regex in AboutMethods
2026-01-10 08:31:33 -05:00
Tony Schneider
fb05c506f0 Merge pull request #56 from werebus/integer-object-id
Fix assertion about the class of `Object#object_id`
2026-01-10 08:30:36 -05:00
Matt Moretti
411e86e5c3 Fix assertion about the class of #object_id
In Ruby 2.4, `Fixnum` and `Bignum` were unified into `Integer` and the
"bigness" of that integer became an internal implementation detail.
Because the koans support some pretty old rubies, we can't make a
universal assertion about the class of `Object.new.object_id`, but it
always `is_a? Integer`.
2025-12-23 10:26:27 -05:00
Ikelio
f2699f0ae7 add needed tip in AboutMethods 2025-02-23 21:41:04 +01:00
Tony Schneider
8e70162472 Merge pull request #54 from kaya3/patch-1
Enable 'about_pattern_matching' for Ruby 3
2025-02-01 13:23:04 -05:00
Andrew Kay
9082c4378a Enable 'about_pattern_matching' for Ruby 3
This set of koans seems to work perfectly fine in Ruby 3, so AFAICT there's no need to gate them to 2.7.
2024-11-21 17:40:07 +00:00
Tony Schneider
0bcbe408e7 Merge pull request #48 from edgecase/ts/ci
Add initial GHA workflows
2023-08-15 08:52:59 -04:00
Tony Schneider
9687825fe0 Add initial tests that run Jim's "checks" 2023-08-15 08:51:54 -04:00
Tony Schneider
ec0ae9dc99 Merge pull request #51 from bo-tato/bo-tato-observr-patch-1
fix path for observr
2023-08-12 07:40:58 -04:00
bo-tato
8a56b2bd16 Merge branch 'edgecase:master' into bo-tato-observr-patch-1 2023-08-09 12:40:48 -05:00
Tony Schneider
104b7f67b4 initial gha workflow 2023-08-09 07:34:49 -04:00
Tony Schneider
6f919cdb01 Update rubykoans.zip 2023-08-09 00:39:23 -04:00
Tony Schneider
59b29e7b86 Merge pull request #17 from Wolwer1nE/pattern_matching
Added pattern matching koans
2023-08-09 00:34:43 -04:00
Tony Schneider
c2538ad118 Merge pull request #35 from varun-iyer/master
Add a koan for mandatory keyword arguments
2023-08-09 00:33:31 -04:00
Tony Schneider
3334d7df48 Merge pull request #15 from Interdictor/master
Add test_default_value_attribute to about_hashes.rb
2023-08-09 00:32:38 -04:00
bo-tato
6fc6906274 fix path for observr 2023-08-04 22:16:55 -05:00
Mike Doel
3bb8d5da68 Upgrading to heroku-22 2023-04-03 10:18:06 -04:00
Tony Schneider
51f25cf68d Merge pull request #38 from wolfsblu/master
Replace deprecated exists call
2023-01-24 17:31:01 -05:00
wolfsblu
49a18944ed Replace deprecated exists call 2023-01-06 11:25:50 +01:00
Wolwer1ne
71196f474b Fix typo 2022-10-17 11:43:38 +03:00
Varun Iyer
c7a56e50fa Add a koan for mandatory keyword arguments
Previously, `about_keyword_arguments.rb` asked the reader
to reflect on the fact that keyword arguments must have default
values. However, this does not seem to be true anymore in Ruby.

This commit replaces that comment with two koans that guide the
reader through validating and using a method with mandatory
keyword arguments.
2022-08-15 14:12:39 -07:00
Tony Schneider
0659d2a672 Release rubykoans zip 2022-03-03 00:17:21 +00:00
Tony Schneider
18c3504596 Merge pull request #32 from merryfaceTech/reorder_koans
re-order
2022-03-03 00:14:44 +00:00
Tarik Merrlees
aa614489b4 re-order first few tests to better match beginner's ability and progression 2022-02-25 15:39:10 +00:00
Mike Doel
93e33b001c deployment package updated 2022-02-13 22:13:58 -05:00
Tony Schneider
e79e874a18 Update ruby koans download 2022-02-13 15:01:04 +00:00
Tony Schneider
561965bb6a Use alt example in about_open_classes
Integer#even? ended up in a more modern version of ruby (yay progress!). This updates the koan to use a different, more outlandish example, that I don’t think will end up in Ruby — and that I know Jim would appreciate <3
2022-02-13 14:54:14 +00:00
Tony Schneider
250aaa44ab Update README.rdoc
Update issue tracker to GitHub issues
2022-02-13 11:22:56 +00:00
Tony Schneider
cd9bbe3df8 Merge pull request #30 from rnestler/patch-1
Fix name of parallel array assignement test
2022-02-13 11:02:53 +00:00
Tony Schneider
79fadeff4d Merge pull request #18 from tongkiat/doc
Update README.rdoc to show new progress indicator
2022-02-13 11:02:24 +00:00
Tony Schneider
453777ead0 Merge pull request #28 from mattschouten/master
Add support for Ruby 3
2022-02-13 10:58:31 +00:00
Raphael Nestler
353e281470 Fix name of parallel array assignement test
There are two variables and just one value, so I think
`test_parallel_assignments_with_too_few_values` is a better name.
2022-02-10 14:44:52 +01:00
Mike Doel
b77b8d90d8 Remove Neo from README 2021-10-02 17:39:06 -04:00
Matt Schouten
08945a10a1 Add support for Ruby 3 2021-09-09 16:30:31 -05:00
Tong-Kiat Tan
580c1fcf7d Update README.rdoc to show new progress indicator 2020-06-16 14:04:18 +08:00
wolwer1ne
7163953851 Added pattern matching koans 2020-06-10 18:46:03 +03:00
interdictor
e647408062 Add test_default_value_attribute to about_hashes.rb 2020-05-21 22:45:22 +02:00
Mike Doel
7d152b8afc new package with progress indicator 2020-05-21 08:29:52 -04:00
Mike Doel
45c0ff2a20 Merge pull request #14 from japf/user/japf/progress-percentage
Display progress as percentage
2020-05-20 10:54:39 -04:00
Jeremy Alles
dc5bbb58f8 display progress as percentage 2020-05-11 14:17:27 +02:00
Mike Doel
e3b4ac36b0 Regenerate download for ruby 2.7 fix 2020-02-28 09:16:29 -05:00
Mike Doel
33ed452081 Merge pull request #13 from edgecase/fix_27
Fix Ruby 2.7 behavior change
2020-02-28 09:09:58 -05:00
Mike Doel
3efe58ac1e Resolve #12 - behavior change in ruby 2.7 2020-02-24 10:03:00 -05:00
Mike Doel
4d2a32cbd1 remove inadvertent gzip files 2020-02-18 15:33:16 -05:00
Mike Doel
943f4dc543 new package file 2020-02-18 15:26:05 -05:00
Mike Doel
ff3795a815 Eliminate warning about method_missing being redefined 2020-02-18 15:06:35 -05:00
Mike Doel
c486b81dd4 Merge pull request #3 from derekgottlieb/replace-watchr-with-observr
Replace unmaintained watchr gem with observr fork
2020-02-18 14:30:22 -05:00
Derek Gottlieb
f9929c21d6 Replace abandoned watchr gem with maintained observr fork 2016-11-19 15:35:23 -06:00