trackler 2.2.1.137 → 2.2.1.138

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/problem-specifications/exercises/diffie-hellman/canonical-data.json +72 -0
  4. data/problem-specifications/exercises/yacht/description.md +2 -2
  5. data/tracks/csharp/exercises/sgf-parsing/Example.cs +1 -1
  6. data/tracks/csharp/exercises/sgf-parsing/SgfParsingTest.cs +1 -1
  7. data/tracks/csharp/exercises/sublist/SublistTest.cs +37 -78
  8. data/tracks/csharp/generators/Exercises/Sublist.cs +32 -0
  9. data/tracks/elisp/exercises/bob/README.md +2 -0
  10. data/tracks/elisp/exercises/bob/bob-test.el +60 -15
  11. data/tracks/elisp/exercises/bob/example.el +15 -5
  12. data/tracks/elisp/exercises/hamming/hamming-test.el +1 -1
  13. data/tracks/fsharp/build.ps1 +3 -3
  14. data/tracks/fsharp/build.sh +3 -3
  15. data/tracks/fsharp/exercises/bracket-push/BracketPushTest.fs +5 -1
  16. data/tracks/fsharp/exercises/isbn-verifier/IsbnVerifierTest.fs +5 -1
  17. data/tracks/fsharp/exercises/kindergarten-garden/KindergartenGardenTest.fs +1 -1
  18. data/tracks/fsharp/exercises/pov/PovTest.fs +6 -1
  19. data/tracks/fsharp/exercises/react/Example.fs +2 -2
  20. data/tracks/fsharp/exercises/react/React.fsproj +1 -0
  21. data/tracks/fsharp/exercises/react/ReactTest.fs +55 -33
  22. data/tracks/fsharp/exercises/series/Example.fs +2 -12
  23. data/tracks/fsharp/exercises/series/SeriesTest.fs +33 -56
  24. data/tracks/fsharp/generators/Generators.fs +81 -46
  25. data/tracks/idris/exercises/rna-transcription/src/{example.idr → Example.idr} +0 -0
  26. data/tracks/java/config.json +14 -0
  27. data/tracks/java/exercises/acronym/src/test/java/AcronymTest.java +10 -10
  28. data/tracks/java/exercises/all-your-base/src/test/java/BaseConverterTest.java +39 -39
  29. data/tracks/java/exercises/grep/.meta/hints.md +58 -0
  30. data/tracks/java/exercises/grep/.meta/src/reference/java/GrepTool.java +65 -0
  31. data/tracks/java/exercises/grep/.meta/version +1 -0
  32. data/tracks/java/exercises/grep/README.md +145 -0
  33. data/tracks/java/exercises/grep/build.gradle +18 -0
  34. data/tracks/java/exercises/grep/src/main/java/.keep +0 -0
  35. data/tracks/java/exercises/grep/src/test/java/GrepToolTest.java +395 -0
  36. data/tracks/java/exercises/largest-series-product/src/test/java/LargestSeriesProductCalculatorTest.java +36 -36
  37. data/tracks/java/exercises/minesweeper/src/test/java/MinesweeperBoardTest.java +36 -36
  38. data/tracks/java/exercises/phone-number/src/test/java/PhoneNumberTest.java +14 -14
  39. data/tracks/java/exercises/poker/src/test/java/PokerTest.java +40 -40
  40. data/tracks/java/exercises/pythagorean-triplet/src/test/java/PythagoreanTripletTest.java +10 -10
  41. data/tracks/java/exercises/settings.gradle +1 -0
  42. data/tracks/ocaml/exercises/anagram/example.ml +1 -1
  43. data/tracks/ocaml/exercises/change/example.ml +1 -1
  44. data/tracks/ocaml/exercises/custom-set/example.ml +4 -3
  45. data/tracks/ocaml/exercises/custom-set/test.ml +0 -1
  46. data/tracks/ocaml/exercises/dominoes/test.ml +1 -1
  47. data/tracks/ocaml/exercises/etl/example.ml +1 -1
  48. data/tracks/ocaml/exercises/grade-school/example.ml +1 -1
  49. data/tracks/ocaml/exercises/palindrome-products/example.ml +2 -2
  50. data/tracks/ocaml/exercises/prime-factors/example.ml +1 -1
  51. data/tracks/ocaml/exercises/robot-name/test.ml +1 -1
  52. data/tracks/ocaml/exercises/triangle/example.ml +1 -1
  53. data/tracks/ocaml/make-exercise.sh +1 -0
  54. data/tracks/ocaml/tools/test-generator/src/controller.ml +1 -1
  55. data/tracks/perl5/exercises/raindrops/.meta/solutions/Raindrops.pm +13 -12
  56. data/tracks/perl5/exercises/raindrops/raindrops.t +166 -111
  57. data/tracks/perl6/docs/INSTALLATION.md +1 -3
  58. data/tracks/perl6/exercises/raindrops/.meta/exercise-data.yaml +5 -5
  59. data/tracks/perl6/exercises/raindrops/.meta/solutions/Raindrops.pm6 +2 -2
  60. data/tracks/perl6/exercises/raindrops/Raindrops.pm6 +2 -2
  61. data/tracks/perl6/exercises/raindrops/raindrops.t +3 -3
  62. data/tracks/python/exercises/food-chain/example.py +11 -2
  63. data/tracks/python/exercises/food-chain/food_chain_test.py +48 -45
  64. data/tracks/python/exercises/pov/pov_test.py +12 -1
  65. data/tracks/python/exercises/series/README.md +6 -6
  66. data/tracks/python/exercises/series/example.py +2 -3
  67. data/tracks/python/exercises/series/series_test.py +27 -28
  68. data/tracks/python/exercises/sgf-parsing/example.py +1 -1
  69. data/tracks/python/exercises/sgf-parsing/sgf_parsing_test.py +1 -1
  70. data/tracks/python/exercises/yacht/README.md +2 -2
  71. data/tracks/ruby/Gemfile +0 -1
  72. data/tracks/ruby/README.md +23 -0
  73. data/tracks/ruby/bin/generate +1 -0
  74. data/tracks/ruby/exercises/complex-numbers/complex_numbers_test.rb +1 -1
  75. data/tracks/ruby/lib/generator.rb +1 -2
  76. data/tracks/ruby/lib/generator/command_line.rb +3 -0
  77. data/tracks/ruby/lib/generator/command_line/generator_optparser.rb +1 -0
  78. data/tracks/ruby/lib/generator/exercise.rb +2 -0
  79. data/tracks/ruby/lib/generator/exercise_case.rb +3 -0
  80. data/tracks/ruby/lib/generator/files.rb +1 -0
  81. data/tracks/ruby/lib/generator/files/metadata_files.rb +2 -0
  82. data/tracks/ruby/lib/generator/files/track_files.rb +1 -0
  83. data/tracks/ruby/lib/generator/implementation.rb +1 -0
  84. data/tracks/ruby/lib/generator/repository.rb +3 -0
  85. data/tracks/ruby/lib/generator/template_values.rb +1 -0
  86. data/tracks/ruby/test/generator/case_values_test.rb +2 -0
  87. data/tracks/ruby/test/generator/command_line_test.rb +1 -0
  88. data/tracks/ruby/test/generator/files/metadata_files_test.rb +2 -0
  89. data/tracks/ruby/test/generator/files/track_files_test.rb +1 -0
  90. data/tracks/ruby/test/generator/implementation_test.rb +1 -0
  91. data/tracks/ruby/test/tasks/exercise_test.rb +1 -0
  92. data/tracks/ruby/test/tasks/exercise_test_tasks_test.rb +2 -0
  93. data/tracks/ruby/test/test_helper.rb +1 -3
  94. data/tracks/rust/config.json +12 -0
  95. data/tracks/rust/exercises/atbash-cipher/src/lib.rs +9 -0
  96. data/tracks/rust/exercises/hamming/src/lib.rs +6 -0
  97. data/tracks/rust/exercises/isogram/src/lib.rs +3 -0
  98. data/tracks/rust/exercises/luhn/src/lib.rs +4 -0
  99. data/tracks/rust/exercises/palindrome-products/.meta/test-in-release-mode +1 -0
  100. data/tracks/rust/exercises/palindrome-products/Cargo.toml +6 -0
  101. data/tracks/rust/exercises/palindrome-products/README.md +72 -0
  102. data/tracks/rust/exercises/palindrome-products/example.rs +25 -0
  103. data/tracks/rust/exercises/palindrome-products/src/lib.rs +22 -0
  104. data/tracks/rust/exercises/palindrome-products/tests/palindrome-products.rs +57 -0
  105. data/tracks/rust/exercises/pangram/src/lib.rs +4 -0
  106. data/tracks/rust/exercises/run-length-encoding/src/lib.rs +7 -0
  107. data/tracks/rust/exercises/say/src/lib.rs +3 -4
  108. data/tracks/rust/exercises/scrabble-score/src/lib.rs +4 -0
  109. data/tracks/rust/exercises/word-count/src/lib.rs +6 -0
  110. data/tracks/scheme/exercises/hello-world/example.scm +1 -4
  111. data/tracks/scheme/exercises/hello-world/hello-world-test.scm +1 -5
  112. data/tracks/scheme/exercises/scrabble-score/scrabble-score-test.scm +2 -2
  113. data/tracks/typescript/config.json +30 -0
  114. data/tracks/typescript/exercises/queen-attack/README.md +59 -0
  115. data/tracks/typescript/exercises/queen-attack/package.json +36 -0
  116. data/tracks/typescript/exercises/queen-attack/queen-attack.example.ts +56 -0
  117. data/tracks/typescript/exercises/queen-attack/queen-attack.test.ts +71 -0
  118. data/tracks/typescript/exercises/queen-attack/queen-attack.ts +0 -0
  119. data/tracks/typescript/exercises/queen-attack/tsconfig.json +22 -0
  120. data/tracks/typescript/exercises/queen-attack/tslint.json +127 -0
  121. data/tracks/typescript/exercises/queen-attack/yarn.lock +2624 -0
  122. data/tracks/typescript/exercises/spiral-matrix/README.md +56 -0
  123. data/tracks/typescript/exercises/spiral-matrix/package.json +36 -0
  124. data/tracks/typescript/exercises/spiral-matrix/spiral-matrix.example.ts +33 -0
  125. data/tracks/typescript/exercises/spiral-matrix/spiral-matrix.test.ts +49 -0
  126. data/tracks/typescript/exercises/spiral-matrix/spiral-matrix.ts +0 -0
  127. data/tracks/typescript/exercises/spiral-matrix/tsconfig.json +22 -0
  128. data/tracks/typescript/exercises/spiral-matrix/tslint.json +127 -0
  129. data/tracks/typescript/exercises/spiral-matrix/yarn.lock +2624 -0
  130. metadata +35 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1.137
4
+ version: 2.2.1.138
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-22 00:00:00.000000000 Z
11
+ date: 2018-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -322,6 +322,7 @@ files:
322
322
  - problem-specifications/exercises/difference-of-squares/canonical-data.json
323
323
  - problem-specifications/exercises/difference-of-squares/description.md
324
324
  - problem-specifications/exercises/difference-of-squares/metadata.yml
325
+ - problem-specifications/exercises/diffie-hellman/canonical-data.json
325
326
  - problem-specifications/exercises/diffie-hellman/description.md
326
327
  - problem-specifications/exercises/diffie-hellman/metadata.yml
327
328
  - problem-specifications/exercises/dominoes/canonical-data.json
@@ -3223,6 +3224,7 @@ files:
3223
3224
  - tracks/csharp/generators/Exercises/SecretHandshake.cs
3224
3225
  - tracks/csharp/generators/Exercises/Sieve.cs
3225
3226
  - tracks/csharp/generators/Exercises/SpaceAge.cs
3227
+ - tracks/csharp/generators/Exercises/Sublist.cs
3226
3228
  - tracks/csharp/generators/Exercises/SumOfMultiples.cs
3227
3229
  - tracks/csharp/generators/Exercises/Tournament.cs
3228
3230
  - tracks/csharp/generators/Exercises/Transpose.cs
@@ -7487,9 +7489,9 @@ files:
7487
7489
  - tracks/idris/exercises/rna-transcription/Makefile
7488
7490
  - tracks/idris/exercises/rna-transcription/README.md
7489
7491
  - tracks/idris/exercises/rna-transcription/RnaTranscription.ipkg
7492
+ - tracks/idris/exercises/rna-transcription/src/Example.idr
7490
7493
  - tracks/idris/exercises/rna-transcription/src/RnaTranscription.idr
7491
7494
  - tracks/idris/exercises/rna-transcription/src/Test/RnaTranscription.idr
7492
- - tracks/idris/exercises/rna-transcription/src/example.idr
7493
7495
  - tracks/idris/img/.keep
7494
7496
  - tracks/idris/img/icon.png
7495
7497
  - tracks/java/.git
@@ -7758,6 +7760,13 @@ files:
7758
7760
  - tracks/java/exercises/grade-school/build.gradle
7759
7761
  - tracks/java/exercises/grade-school/src/main/java/.keep
7760
7762
  - tracks/java/exercises/grade-school/src/test/java/SchoolTest.java
7763
+ - tracks/java/exercises/grep/.meta/hints.md
7764
+ - tracks/java/exercises/grep/.meta/src/reference/java/GrepTool.java
7765
+ - tracks/java/exercises/grep/.meta/version
7766
+ - tracks/java/exercises/grep/README.md
7767
+ - tracks/java/exercises/grep/build.gradle
7768
+ - tracks/java/exercises/grep/src/main/java/.keep
7769
+ - tracks/java/exercises/grep/src/test/java/GrepToolTest.java
7761
7770
  - tracks/java/exercises/hamming/.meta/hints.md
7762
7771
  - tracks/java/exercises/hamming/.meta/src/reference/java/Hamming.java
7763
7772
  - tracks/java/exercises/hamming/.meta/version
@@ -10400,6 +10409,7 @@ files:
10400
10409
  - tracks/ocaml/exercises/zipper/tree.mli
10401
10410
  - tracks/ocaml/exercises/zipper/zipper.mli
10402
10411
  - tracks/ocaml/img/icon.png
10412
+ - tracks/ocaml/make-exercise.sh
10403
10413
  - tracks/ocaml/tools/test-generator/.merlin
10404
10414
  - tracks/ocaml/tools/test-generator/Makefile
10405
10415
  - tracks/ocaml/tools/test-generator/README.md
@@ -13114,6 +13124,12 @@ files:
13114
13124
  - tracks/rust/exercises/ocr-numbers/example.rs
13115
13125
  - tracks/rust/exercises/ocr-numbers/src/lib.rs
13116
13126
  - tracks/rust/exercises/ocr-numbers/tests/ocr-numbers.rs
13127
+ - tracks/rust/exercises/palindrome-products/.meta/test-in-release-mode
13128
+ - tracks/rust/exercises/palindrome-products/Cargo.toml
13129
+ - tracks/rust/exercises/palindrome-products/README.md
13130
+ - tracks/rust/exercises/palindrome-products/example.rs
13131
+ - tracks/rust/exercises/palindrome-products/src/lib.rs
13132
+ - tracks/rust/exercises/palindrome-products/tests/palindrome-products.rs
13117
13133
  - tracks/rust/exercises/pangram/.gitignore
13118
13134
  - tracks/rust/exercises/pangram/Cargo.toml
13119
13135
  - tracks/rust/exercises/pangram/README.md
@@ -15240,6 +15256,14 @@ files:
15240
15256
  - tracks/typescript/exercises/pythagorean-triplet/tsconfig.json
15241
15257
  - tracks/typescript/exercises/pythagorean-triplet/tslint.json
15242
15258
  - tracks/typescript/exercises/pythagorean-triplet/yarn.lock
15259
+ - tracks/typescript/exercises/queen-attack/README.md
15260
+ - tracks/typescript/exercises/queen-attack/package.json
15261
+ - tracks/typescript/exercises/queen-attack/queen-attack.example.ts
15262
+ - tracks/typescript/exercises/queen-attack/queen-attack.test.ts
15263
+ - tracks/typescript/exercises/queen-attack/queen-attack.ts
15264
+ - tracks/typescript/exercises/queen-attack/tsconfig.json
15265
+ - tracks/typescript/exercises/queen-attack/tslint.json
15266
+ - tracks/typescript/exercises/queen-attack/yarn.lock
15243
15267
  - tracks/typescript/exercises/raindrops/README.md
15244
15268
  - tracks/typescript/exercises/raindrops/package.json
15245
15269
  - tracks/typescript/exercises/raindrops/raindrops.example.ts
@@ -15384,6 +15408,14 @@ files:
15384
15408
  - tracks/typescript/exercises/space-age/tsconfig.json
15385
15409
  - tracks/typescript/exercises/space-age/tslint.json
15386
15410
  - tracks/typescript/exercises/space-age/yarn.lock
15411
+ - tracks/typescript/exercises/spiral-matrix/README.md
15412
+ - tracks/typescript/exercises/spiral-matrix/package.json
15413
+ - tracks/typescript/exercises/spiral-matrix/spiral-matrix.example.ts
15414
+ - tracks/typescript/exercises/spiral-matrix/spiral-matrix.test.ts
15415
+ - tracks/typescript/exercises/spiral-matrix/spiral-matrix.ts
15416
+ - tracks/typescript/exercises/spiral-matrix/tsconfig.json
15417
+ - tracks/typescript/exercises/spiral-matrix/tslint.json
15418
+ - tracks/typescript/exercises/spiral-matrix/yarn.lock
15387
15419
  - tracks/typescript/exercises/strain/README.md
15388
15420
  - tracks/typescript/exercises/strain/package.json
15389
15421
  - tracks/typescript/exercises/strain/strain.example.ts