trackler 2.0.6.22 → 2.0.6.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/common/exercises/book-store/canonical-data.json +61 -80
  3. data/common/exercises/etl/canonical-data.json +69 -0
  4. data/lib/trackler/version.rb +1 -1
  5. data/tracks/go/config.json +10 -4
  6. data/tracks/java/config.json +13 -1
  7. data/tracks/java/exercises/diamond/build.gradle +17 -0
  8. data/tracks/java/exercises/diamond/src/example/java/DiamondPrinter.java +41 -0
  9. data/tracks/java/exercises/diamond/src/main/java/DiamondPrinter.java +5 -0
  10. data/tracks/java/exercises/diamond/src/test/java/DiamondPrinterTest.java +111 -0
  11. data/tracks/java/exercises/grade-school/src/example/java/School.java +20 -19
  12. data/tracks/java/exercises/grade-school/src/test/java/SchoolTest.java +53 -20
  13. data/tracks/java/exercises/secret-handshake/build.gradle +17 -0
  14. data/tracks/java/exercises/secret-handshake/src/example/java/HandshakeCalculator.java +29 -0
  15. data/tracks/java/exercises/secret-handshake/src/example/java/Signal.java +1 -0
  16. data/tracks/java/exercises/secret-handshake/src/main/java/HandshakeCalculator.java +5 -0
  17. data/tracks/java/exercises/secret-handshake/src/main/java/Signal.java +5 -0
  18. data/tracks/java/exercises/secret-handshake/src/test/java/HandshakeCalculatorTest.java +106 -0
  19. data/tracks/java/exercises/settings.gradle +2 -0
  20. data/tracks/julia/config.json +42 -0
  21. data/tracks/julia/exercises/bob/bob.jl +3 -0
  22. data/tracks/julia/exercises/bob/example.jl +30 -0
  23. data/tracks/julia/exercises/bob/runtests.jl +70 -0
  24. data/tracks/julia/exercises/difference-of-squares/difference-of-squares.jl +14 -0
  25. data/tracks/julia/exercises/difference-of-squares/example.jl +9 -0
  26. data/tracks/julia/exercises/difference-of-squares/runtests.jl +22 -0
  27. data/tracks/julia/exercises/hamming/example.jl +5 -0
  28. data/tracks/julia/exercises/hamming/hamming.jl +3 -0
  29. data/tracks/julia/exercises/hamming/runtests.jl +42 -0
  30. data/tracks/julia/exercises/hello-world/example.jl +3 -0
  31. data/tracks/julia/exercises/hello-world/hello-world.jl +3 -0
  32. data/tracks/julia/exercises/hello-world/runtests.jl +12 -0
  33. data/tracks/julia/exercises/word-count/example.jl +9 -0
  34. data/tracks/julia/exercises/word-count/runtests.jl +47 -0
  35. data/tracks/julia/exercises/word-count/word-count.jl +3 -0
  36. data/tracks/objective-c/config.json +10 -0
  37. data/tracks/objective-c/exercises/flatten-array/FlattenArrayExample.h +6 -0
  38. data/tracks/objective-c/exercises/flatten-array/FlattenArrayExample.m +48 -0
  39. data/tracks/objective-c/exercises/flatten-array/FlattenArrayTest.m +110 -0
  40. data/tracks/objective-c/xcodeProject/ObjectiveC.xcodeproj/project.pbxproj +33 -0
  41. data/tracks/ocaml/config.json +5 -0
  42. data/tracks/ocaml/exercises/pangram/.merlin +3 -0
  43. data/tracks/ocaml/exercises/pangram/Makefile +11 -0
  44. data/tracks/ocaml/exercises/pangram/example.ml +9 -0
  45. data/tracks/ocaml/exercises/pangram/pangram.mli +1 -0
  46. data/tracks/ocaml/exercises/pangram/test.ml +29 -0
  47. data/tracks/ocaml/tools/test-generator/templates/pangram/template.ml +15 -0
  48. data/tracks/pascal/config.json +8 -0
  49. data/tracks/pascal/docs/INSTALLATION.md +3 -3
  50. data/tracks/pascal/docs/img/07delphiclicklibrarypathbuttonLogo.png +0 -0
  51. data/tracks/pascal/exercises/grains/GrainsTests.dpr +60 -0
  52. data/tracks/pascal/exercises/grains/uGrainsExample.pas +33 -0
  53. data/tracks/pascal/exercises/grains/uGrainsTests.pas +149 -0
  54. data/tracks/perl6/SETUP.md +8 -2
  55. metadata +41 -2
@@ -1,7 +1,13 @@
1
1
  ## Resources
2
2
 
3
- Remember to check out the Perl 6 [documentation](https://docs.perl6.org/) and [resources](https://perl6.org/resources/) pages for information, tips, and examples if you get stuck.
3
+ Remember to check out the Perl 6 [documentation](https://docs.perl6.org/) and
4
+ [resources](https://perl6.org/resources/) pages for information, tips, and
5
+ examples if you get stuck.
4
6
 
5
7
  ## Running the tests
6
8
 
7
- There is a test script included with the exercise; a file with the extension `.t`. Run the test script for the exercise by running `perl6` with the test file as an argument. e.g. `perl6 example.t`.
9
+ There is a test script included with the exercise; a file with the extension
10
+ `.t`. You can run the test script for the exercise with the following commands:
11
+
12
+ - `prove -ve perl6 .`
13
+ - `perl6 example.t` (replacing `example.t` with the included `.t` file.)
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.0.6.22
4
+ version: 2.0.6.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katrina Owen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-27 00:00:00.000000000 Z
11
+ date: 2017-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -192,6 +192,7 @@ files:
192
192
  - common/exercises/dot-dsl/metadata.yml
193
193
  - common/exercises/error-handling/description.md
194
194
  - common/exercises/error-handling/metadata.yml
195
+ - common/exercises/etl/canonical-data.json
195
196
  - common/exercises/etl/description.md
196
197
  - common/exercises/etl/metadata.yml
197
198
  - common/exercises/flatten-array/canonical-data.json
@@ -3646,6 +3647,10 @@ files:
3646
3647
  - tracks/java/exercises/custom-set/src/example/java/CustomSet.java
3647
3648
  - tracks/java/exercises/custom-set/src/main/java/.keep
3648
3649
  - tracks/java/exercises/custom-set/src/test/java/CustomSetTest.java
3650
+ - tracks/java/exercises/diamond/build.gradle
3651
+ - tracks/java/exercises/diamond/src/example/java/DiamondPrinter.java
3652
+ - tracks/java/exercises/diamond/src/main/java/DiamondPrinter.java
3653
+ - tracks/java/exercises/diamond/src/test/java/DiamondPrinterTest.java
3649
3654
  - tracks/java/exercises/difference-of-squares/build.gradle
3650
3655
  - tracks/java/exercises/difference-of-squares/src/example/java/Difference.java
3651
3656
  - tracks/java/exercises/difference-of-squares/src/main/java/Difference.java
@@ -3779,6 +3784,12 @@ files:
3779
3784
  - tracks/java/exercises/scrabble-score/src/example/java/Scrabble.java
3780
3785
  - tracks/java/exercises/scrabble-score/src/main/java/.keep
3781
3786
  - tracks/java/exercises/scrabble-score/src/test/java/ScrabbleScoreTest.java
3787
+ - tracks/java/exercises/secret-handshake/build.gradle
3788
+ - tracks/java/exercises/secret-handshake/src/example/java/HandshakeCalculator.java
3789
+ - tracks/java/exercises/secret-handshake/src/example/java/Signal.java
3790
+ - tracks/java/exercises/secret-handshake/src/main/java/HandshakeCalculator.java
3791
+ - tracks/java/exercises/secret-handshake/src/main/java/Signal.java
3792
+ - tracks/java/exercises/secret-handshake/src/test/java/HandshakeCalculatorTest.java
3782
3793
  - tracks/java/exercises/series/build.gradle
3783
3794
  - tracks/java/exercises/series/src/example/java/Series.java
3784
3795
  - tracks/java/exercises/series/src/main/java/Series.java
@@ -4028,12 +4039,27 @@ files:
4028
4039
  - tracks/julia/exercises/anagram/anagram.jl
4029
4040
  - tracks/julia/exercises/anagram/example.jl
4030
4041
  - tracks/julia/exercises/anagram/runtests.jl
4042
+ - tracks/julia/exercises/bob/bob.jl
4043
+ - tracks/julia/exercises/bob/example.jl
4044
+ - tracks/julia/exercises/bob/runtests.jl
4045
+ - tracks/julia/exercises/difference-of-squares/difference-of-squares.jl
4046
+ - tracks/julia/exercises/difference-of-squares/example.jl
4047
+ - tracks/julia/exercises/difference-of-squares/runtests.jl
4048
+ - tracks/julia/exercises/hamming/example.jl
4049
+ - tracks/julia/exercises/hamming/hamming.jl
4050
+ - tracks/julia/exercises/hamming/runtests.jl
4051
+ - tracks/julia/exercises/hello-world/example.jl
4052
+ - tracks/julia/exercises/hello-world/hello-world.jl
4053
+ - tracks/julia/exercises/hello-world/runtests.jl
4031
4054
  - tracks/julia/exercises/leap/example.jl
4032
4055
  - tracks/julia/exercises/leap/leap.jl
4033
4056
  - tracks/julia/exercises/leap/runtests.jl
4034
4057
  - tracks/julia/exercises/rna-transcription/example.jl
4035
4058
  - tracks/julia/exercises/rna-transcription/rna-transcription.jl
4036
4059
  - tracks/julia/exercises/rna-transcription/runtests.jl
4060
+ - tracks/julia/exercises/word-count/example.jl
4061
+ - tracks/julia/exercises/word-count/runtests.jl
4062
+ - tracks/julia/exercises/word-count/word-count.jl
4037
4063
  - tracks/julia/img/.keep
4038
4064
  - tracks/julia/runtests.jl
4039
4065
  - tracks/kotlin/.git
@@ -4868,6 +4894,9 @@ files:
4868
4894
  - tracks/objective-c/exercises/etl/EtlExample.h
4869
4895
  - tracks/objective-c/exercises/etl/EtlExample.m
4870
4896
  - tracks/objective-c/exercises/etl/EtlTest.m
4897
+ - tracks/objective-c/exercises/flatten-array/FlattenArrayExample.h
4898
+ - tracks/objective-c/exercises/flatten-array/FlattenArrayExample.m
4899
+ - tracks/objective-c/exercises/flatten-array/FlattenArrayTest.m
4871
4900
  - tracks/objective-c/exercises/gigasecond/GigasecondExample.h
4872
4901
  - tracks/objective-c/exercises/gigasecond/GigasecondExample.m
4873
4902
  - tracks/objective-c/exercises/gigasecond/GigasecondTest.m
@@ -5073,6 +5102,11 @@ files:
5073
5102
  - tracks/ocaml/exercises/nucleotide-count/example.ml
5074
5103
  - tracks/ocaml/exercises/nucleotide-count/nucleotide_count.mli
5075
5104
  - tracks/ocaml/exercises/nucleotide-count/test.ml
5105
+ - tracks/ocaml/exercises/pangram/.merlin
5106
+ - tracks/ocaml/exercises/pangram/Makefile
5107
+ - tracks/ocaml/exercises/pangram/example.ml
5108
+ - tracks/ocaml/exercises/pangram/pangram.mli
5109
+ - tracks/ocaml/exercises/pangram/test.ml
5076
5110
  - tracks/ocaml/exercises/phone-number/.merlin
5077
5111
  - tracks/ocaml/exercises/phone-number/Makefile
5078
5112
  - tracks/ocaml/exercises/phone-number/example.ml
@@ -5163,6 +5197,7 @@ files:
5163
5197
  - tracks/ocaml/tools/test-generator/templates/leap/template.ml
5164
5198
  - tracks/ocaml/tools/test-generator/templates/luhn/template.ml
5165
5199
  - tracks/ocaml/tools/test-generator/templates/minesweeper/template.ml
5200
+ - tracks/ocaml/tools/test-generator/templates/pangram/template.ml
5166
5201
  - tracks/ocaml/tools/test-generator/templates/raindrops/template.ml
5167
5202
  - tracks/ocaml/tools/test-generator/templates/say/template.ml
5168
5203
  - tracks/ocaml/tools/test-generator/templates/word-count/template.ml
@@ -5204,6 +5239,7 @@ files:
5204
5239
  - tracks/pascal/docs/img/06delphioptionslibrary.png
5205
5240
  - tracks/pascal/docs/img/06delphioptionslibraryLogo.png
5206
5241
  - tracks/pascal/docs/img/07delphiclicklibrarypathbutton.png
5242
+ - tracks/pascal/docs/img/07delphiclicklibrarypathbuttonLogo.png
5207
5243
  - tracks/pascal/docs/img/08delphidirectoriesinputvarnameclickadd.png
5208
5244
  - tracks/pascal/docs/img/09delphidirectoriesclickok.png
5209
5245
  - tracks/pascal/exercises/.keep
@@ -5237,6 +5273,9 @@ files:
5237
5273
  - tracks/pascal/exercises/etl/ETLtests.dpr
5238
5274
  - tracks/pascal/exercises/etl/uETLexample.pas
5239
5275
  - tracks/pascal/exercises/etl/uETLtests.pas
5276
+ - tracks/pascal/exercises/grains/GrainsTests.dpr
5277
+ - tracks/pascal/exercises/grains/uGrainsExample.pas
5278
+ - tracks/pascal/exercises/grains/uGrainsTests.pas
5240
5279
  - tracks/pascal/exercises/hamming/Hamming.dpr
5241
5280
  - tracks/pascal/exercises/hamming/uHammingExample.pas
5242
5281
  - tracks/pascal/exercises/hamming/uHammingTests.pas