trackler 2.0.1.1 → 2.0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/bin/update +4 -0
  3. data/common/exercises/minesweeper/canonical-data.json +3 -3
  4. data/fixtures/common/exercises/imbe/description.md +2 -0
  5. data/fixtures/common/exercises/imbe/metadata.yml +3 -0
  6. data/fixtures/common/exercises/no-metadata/description.md +1 -0
  7. data/fixtures/tracks/fruit/exercises/imbe/.meta/everything_in_meta_is_ignored.txt +0 -0
  8. data/fixtures/tracks/fruit/exercises/imbe/CaSe_iNSeNSiTiVe_eXaMPLe.TXT +0 -0
  9. data/fixtures/tracks/fruit/exercises/imbe/HINTS.md +1 -0
  10. data/fixtures/tracks/fruit/exercises/imbe/also_an_example.txt +1 -0
  11. data/fixtures/tracks/fruit/exercises/imbe/example.ext +1 -0
  12. data/fixtures/tracks/fruit/exercises/imbe/imbe.txt +1 -0
  13. data/lib/trackler/file_bundle.rb +27 -9
  14. data/lib/trackler/implementation.rb +7 -6
  15. data/lib/trackler/problem.rb +62 -37
  16. data/lib/trackler/version.rb +1 -1
  17. data/tracks/c/config.json +9 -0
  18. data/tracks/c/exercises/series/makefile +16 -0
  19. data/tracks/c/exercises/series/src/example.c +24 -0
  20. data/tracks/c/exercises/series/src/series.h +28 -0
  21. data/tracks/c/exercises/series/test/test_series.c +63 -0
  22. data/tracks/c/exercises/series/test/vendor/unity.c +1300 -0
  23. data/tracks/c/exercises/series/test/vendor/unity.h +274 -0
  24. data/tracks/c/exercises/series/test/vendor/unity_internals.h +701 -0
  25. data/tracks/crystal/src/generator/exercises/binary.cr +3 -3
  26. data/tracks/crystal/src/generator/exercises/forth.cr +3 -3
  27. data/tracks/crystal/src/generator/exercises/hello_world.cr +1 -1
  28. data/tracks/haskell/exercises/bob/test/Tests.hs +2 -10
  29. data/tracks/haskell/exercises/sublist/test/Tests.hs +6 -1
  30. data/tracks/java/config.json +13 -1
  31. data/tracks/java/exercises/bracket-push/build.gradle +17 -0
  32. data/tracks/java/exercises/bracket-push/src/example/java/BracketChecker.java +45 -0
  33. data/tracks/java/exercises/bracket-push/src/main/java/BracketChecker.java +5 -0
  34. data/tracks/java/exercises/bracket-push/src/test/java/BracketCheckerTest.java +102 -0
  35. data/tracks/java/exercises/robot-simulator/build.gradle +17 -0
  36. data/tracks/java/exercises/robot-simulator/src/example/java/GridPosition.java +1 -0
  37. data/tracks/java/exercises/robot-simulator/src/example/java/Orientation.java +1 -0
  38. data/tracks/java/exercises/robot-simulator/src/example/java/Robot.java +71 -0
  39. data/tracks/java/exercises/robot-simulator/src/main/java/GridPosition.java +29 -0
  40. data/tracks/java/exercises/robot-simulator/src/main/java/Orientation.java +5 -0
  41. data/tracks/java/exercises/robot-simulator/src/main/java/Robot.java +5 -0
  42. data/tracks/java/exercises/robot-simulator/src/test/java/RobotTest.java +244 -0
  43. data/tracks/java/exercises/settings.gradle +2 -0
  44. data/tracks/ocaml/exercises/say/test.ml +52 -56
  45. data/tracks/ocaml/tools/test-generator/src/codegen.ml +2 -1
  46. data/tracks/ocaml/tools/test-generator/src/special_cases.ml +10 -4
  47. data/tracks/ocaml/tools/test-generator/src/test_generator.ml +5 -0
  48. data/tracks/ocaml/tools/test-generator/templates/say/template.ml +21 -0
  49. data/tracks/ocaml/tools/test-generator/test/special_cases_test.ml +2 -2
  50. metadata +30 -1
@@ -35,8 +35,8 @@ let special_cases_tests = [
35
35
  assert_equal [("key", "value")] @@ default_value ~key:"key" ~value:"value" []
36
36
  );
37
37
 
38
- "optional_string replace value with Some(value)" >:: (fun _ctx ->
38
+ "optional_strings replace value with Some(value)" >:: (fun _ctx ->
39
39
  assert_equal ~printer:tuples_printer [("key", "(Some \"value\")"); ("key2", "value2")]
40
- @@ optional_string ~f:(fun x -> x = "key") [("key", "value"); ("key2", "value2")]
40
+ @@ optional_strings ~f:(fun x -> x = "key") [("key", "value"); ("key2", "value2")]
41
41
  );
42
42
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1.1
4
+ version: 2.0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen
@@ -413,9 +413,12 @@ files:
413
413
  - fixtures/common/exercises/fish/metadata.yml
414
414
  - fixtures/common/exercises/hello-world/description.md
415
415
  - fixtures/common/exercises/hello-world/metadata.yml
416
+ - fixtures/common/exercises/imbe/description.md
417
+ - fixtures/common/exercises/imbe/metadata.yml
416
418
  - fixtures/common/exercises/mango/canonical-data.json
417
419
  - fixtures/common/exercises/mango/description.md
418
420
  - fixtures/common/exercises/mango/metadata.yml
421
+ - fixtures/common/exercises/no-metadata/description.md
419
422
  - fixtures/common/exercises/one/description.md
420
423
  - fixtures/common/exercises/one/metadata.yml
421
424
  - fixtures/common/exercises/three/description.md
@@ -462,6 +465,12 @@ files:
462
465
  - fixtures/tracks/fruit/exercises/banana/example.ext
463
466
  - fixtures/tracks/fruit/exercises/cherry/cherry.tst
464
467
  - fixtures/tracks/fruit/exercises/cherry/example.ext
468
+ - fixtures/tracks/fruit/exercises/imbe/.meta/everything_in_meta_is_ignored.txt
469
+ - fixtures/tracks/fruit/exercises/imbe/CaSe_iNSeNSiTiVe_eXaMPLe.TXT
470
+ - fixtures/tracks/fruit/exercises/imbe/HINTS.md
471
+ - fixtures/tracks/fruit/exercises/imbe/also_an_example.txt
472
+ - fixtures/tracks/fruit/exercises/imbe/example.ext
473
+ - fixtures/tracks/fruit/exercises/imbe/imbe.txt
465
474
  - fixtures/tracks/fruit/img/icon.svg
466
475
  - fixtures/tracks/jewels/config.json
467
476
  - fixtures/tracks/jewels/hello-world/example.ext
@@ -661,6 +670,13 @@ files:
661
670
  - tracks/c/exercises/roman-numerals/test/vendor/unity.c
662
671
  - tracks/c/exercises/roman-numerals/test/vendor/unity.h
663
672
  - tracks/c/exercises/roman-numerals/test/vendor/unity_internals.h
673
+ - tracks/c/exercises/series/makefile
674
+ - tracks/c/exercises/series/src/example.c
675
+ - tracks/c/exercises/series/src/series.h
676
+ - tracks/c/exercises/series/test/test_series.c
677
+ - tracks/c/exercises/series/test/vendor/unity.c
678
+ - tracks/c/exercises/series/test/vendor/unity.h
679
+ - tracks/c/exercises/series/test/vendor/unity_internals.h
664
680
  - tracks/c/exercises/sum-of-multiples/makefile
665
681
  - tracks/c/exercises/sum-of-multiples/src/example.c
666
682
  - tracks/c/exercises/sum-of-multiples/src/example.h
@@ -3439,6 +3455,10 @@ files:
3439
3455
  - tracks/java/exercises/bob/src/example/java/Bob.java
3440
3456
  - tracks/java/exercises/bob/src/main/java/.keep
3441
3457
  - tracks/java/exercises/bob/src/test/java/BobTest.java
3458
+ - tracks/java/exercises/bracket-push/build.gradle
3459
+ - tracks/java/exercises/bracket-push/src/example/java/BracketChecker.java
3460
+ - tracks/java/exercises/bracket-push/src/main/java/BracketChecker.java
3461
+ - tracks/java/exercises/bracket-push/src/test/java/BracketCheckerTest.java
3442
3462
  - tracks/java/exercises/build.gradle
3443
3463
  - tracks/java/exercises/crypto-square/build.gradle
3444
3464
  - tracks/java/exercises/crypto-square/src/example/java/Crypto.java
@@ -3545,6 +3565,14 @@ files:
3545
3565
  - tracks/java/exercises/robot-name/src/example/java/Robot.java
3546
3566
  - tracks/java/exercises/robot-name/src/main/java/.keep
3547
3567
  - tracks/java/exercises/robot-name/src/test/java/RobotTest.java
3568
+ - tracks/java/exercises/robot-simulator/build.gradle
3569
+ - tracks/java/exercises/robot-simulator/src/example/java/GridPosition.java
3570
+ - tracks/java/exercises/robot-simulator/src/example/java/Orientation.java
3571
+ - tracks/java/exercises/robot-simulator/src/example/java/Robot.java
3572
+ - tracks/java/exercises/robot-simulator/src/main/java/GridPosition.java
3573
+ - tracks/java/exercises/robot-simulator/src/main/java/Orientation.java
3574
+ - tracks/java/exercises/robot-simulator/src/main/java/Robot.java
3575
+ - tracks/java/exercises/robot-simulator/src/test/java/RobotTest.java
3548
3576
  - tracks/java/exercises/roman-numerals/build.gradle
3549
3577
  - tracks/java/exercises/roman-numerals/src/example/java/RomanNumeral.java
3550
3578
  - tracks/java/exercises/roman-numerals/src/main/java/.keep
@@ -4852,6 +4880,7 @@ files:
4852
4880
  - tracks/ocaml/tools/test-generator/templates/hello-world/template.ml
4853
4881
  - tracks/ocaml/tools/test-generator/templates/leap/template.ml
4854
4882
  - tracks/ocaml/tools/test-generator/templates/raindrops/template.ml
4883
+ - tracks/ocaml/tools/test-generator/templates/say/template.ml
4855
4884
  - tracks/ocaml/tools/test-generator/templates/word-count/template.ml
4856
4885
  - tracks/ocaml/tools/test-generator/test/all_tests.ml
4857
4886
  - tracks/ocaml/tools/test-generator/test/codegen_test.ml