trackler 2.2.1.174 → 2.2.1.175

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/tracks/ecmascript/config.json +1 -0
  4. data/tracks/javascript/README.md +9 -0
  5. data/tracks/reasonml/.travis.yml +19 -2
  6. data/tracks/reasonml/Makefile +35 -0
  7. data/tracks/reasonml/README.md +2 -1
  8. data/tracks/reasonml/bsconfig.json +25 -0
  9. data/tracks/reasonml/config/maintainers.json +12 -1
  10. data/tracks/reasonml/config.json +22 -0
  11. data/tracks/reasonml/exercises/anagram/README.md +18 -0
  12. data/tracks/reasonml/exercises/binary-search/README.md +50 -0
  13. data/tracks/reasonml/exercises/binary-search/__tests__/BinarySearch_test.re +39 -0
  14. data/tracks/reasonml/exercises/binary-search/bsconfig.json +30 -0
  15. data/tracks/reasonml/exercises/binary-search/package.json +20 -0
  16. data/tracks/reasonml/exercises/binary-search/src/Example.re +17 -0
  17. data/tracks/reasonml/exercises/bob/README.md +0 -1
  18. data/tracks/reasonml/exercises/leap/README.md +26 -0
  19. data/tracks/reasonml/exercises/rna-transcription/README.md +31 -0
  20. data/tracks/reasonml/exercises/run-length-encoding/README.md +39 -0
  21. data/tracks/reasonml/exercises/run-length-encoding/__tests__/RunLengthEncoding_test.re +51 -0
  22. data/tracks/reasonml/exercises/run-length-encoding/bsconfig.json +30 -0
  23. data/tracks/reasonml/exercises/run-length-encoding/package.json +20 -0
  24. data/tracks/reasonml/exercises/run-length-encoding/src/Example.re +60 -0
  25. data/tracks/reasonml/exercises/space-age/README.md +30 -0
  26. data/tracks/reasonml/exercises/space-age/__tests__/SpaceAge_test.re +37 -0
  27. data/tracks/reasonml/package-lock.json +5853 -0
  28. data/tracks/reasonml/package.json +20 -0
  29. metadata +20 -4
  30. data/tracks/reasonml/exercises/hello-world/.gitignore +0 -8
  31. data/tracks/reasonml/exercises/space-age/__tests__/Space_age_test.re +0 -29
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "exercism-reasonml",
3
+ "version": "0.1.0",
4
+ "scripts": {
5
+ "build": "bsb -make-world",
6
+ "start": "bsb -make-world -w",
7
+ "clean": "bsb -clean-world",
8
+ "test": "jest --watchAll",
9
+ "test:ci": "jest --ci --bail --no-cache"
10
+ },
11
+ "keywords": [
12
+ "BuckleScript"
13
+ ],
14
+ "author": "",
15
+ "license": "MIT",
16
+ "devDependencies": {
17
+ "@glennsl/bs-jest": "^0.4.2",
18
+ "bs-platform": "^3.1.5"
19
+ }
20
+ }
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.174
4
+ version: 2.2.1.175
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-06-23 00:00:00.000000000 Z
11
+ date: 2018-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -12594,9 +12594,11 @@ files:
12594
12594
  - tracks/reasonml/.gitignore
12595
12595
  - tracks/reasonml/.travis.yml
12596
12596
  - tracks/reasonml/LICENSE
12597
+ - tracks/reasonml/Makefile
12597
12598
  - tracks/reasonml/README.md
12598
12599
  - tracks/reasonml/bin/fetch-configlet
12599
12600
  - tracks/reasonml/bin/new-exercise.sh
12601
+ - tracks/reasonml/bsconfig.json
12600
12602
  - tracks/reasonml/config.json
12601
12603
  - tracks/reasonml/config/exercise-readme-insert.md
12602
12604
  - tracks/reasonml/config/exercise_readme.go.tmpl
@@ -12606,10 +12608,16 @@ files:
12606
12608
  - tracks/reasonml/docs/LEARNING.md
12607
12609
  - tracks/reasonml/docs/RESOURCES.md
12608
12610
  - tracks/reasonml/docs/TESTS.md
12611
+ - tracks/reasonml/exercises/anagram/README.md
12609
12612
  - tracks/reasonml/exercises/anagram/__tests__/Anagram_test.re
12610
12613
  - tracks/reasonml/exercises/anagram/bsconfig.json
12611
12614
  - tracks/reasonml/exercises/anagram/package.json
12612
12615
  - tracks/reasonml/exercises/anagram/src/Example.re
12616
+ - tracks/reasonml/exercises/binary-search/README.md
12617
+ - tracks/reasonml/exercises/binary-search/__tests__/BinarySearch_test.re
12618
+ - tracks/reasonml/exercises/binary-search/bsconfig.json
12619
+ - tracks/reasonml/exercises/binary-search/package.json
12620
+ - tracks/reasonml/exercises/binary-search/src/Example.re
12613
12621
  - tracks/reasonml/exercises/bob/README.md
12614
12622
  - tracks/reasonml/exercises/bob/__tests__/Bob_test.re
12615
12623
  - tracks/reasonml/exercises/bob/bsconfig.json
@@ -12621,7 +12629,6 @@ files:
12621
12629
  - tracks/reasonml/exercises/change/bsconfig.json
12622
12630
  - tracks/reasonml/exercises/change/package.json
12623
12631
  - tracks/reasonml/exercises/change/src/Example.re
12624
- - tracks/reasonml/exercises/hello-world/.gitignore
12625
12632
  - tracks/reasonml/exercises/hello-world/README.md
12626
12633
  - tracks/reasonml/exercises/hello-world/__tests__/HelloWorld_test.re
12627
12634
  - tracks/reasonml/exercises/hello-world/bsconfig.json
@@ -12639,11 +12646,18 @@ files:
12639
12646
  - tracks/reasonml/exercises/raindrops/package-lock.json
12640
12647
  - tracks/reasonml/exercises/raindrops/package.json
12641
12648
  - tracks/reasonml/exercises/raindrops/src/Example.re
12649
+ - tracks/reasonml/exercises/rna-transcription/README.md
12642
12650
  - tracks/reasonml/exercises/rna-transcription/__tests__/RnaTranscription_test.re
12643
12651
  - tracks/reasonml/exercises/rna-transcription/bsconfig.json
12644
12652
  - tracks/reasonml/exercises/rna-transcription/package.json
12645
12653
  - tracks/reasonml/exercises/rna-transcription/src/Example.re
12646
- - tracks/reasonml/exercises/space-age/__tests__/Space_age_test.re
12654
+ - tracks/reasonml/exercises/run-length-encoding/README.md
12655
+ - tracks/reasonml/exercises/run-length-encoding/__tests__/RunLengthEncoding_test.re
12656
+ - tracks/reasonml/exercises/run-length-encoding/bsconfig.json
12657
+ - tracks/reasonml/exercises/run-length-encoding/package.json
12658
+ - tracks/reasonml/exercises/run-length-encoding/src/Example.re
12659
+ - tracks/reasonml/exercises/space-age/README.md
12660
+ - tracks/reasonml/exercises/space-age/__tests__/SpaceAge_test.re
12647
12661
  - tracks/reasonml/exercises/space-age/bsconfig.json
12648
12662
  - tracks/reasonml/exercises/space-age/package.json
12649
12663
  - tracks/reasonml/exercises/space-age/src/Example.re
@@ -12654,6 +12668,8 @@ files:
12654
12668
  - tracks/reasonml/exercises/word-count/package.json
12655
12669
  - tracks/reasonml/exercises/word-count/src/Example.re
12656
12670
  - tracks/reasonml/img/.keep
12671
+ - tracks/reasonml/package-lock.json
12672
+ - tracks/reasonml/package.json
12657
12673
  - tracks/reasonml/template/bsconfig.json
12658
12674
  - tracks/reasonml/template/package.json
12659
12675
  - tracks/reasonml/template/src/Example.re
@@ -1,8 +0,0 @@
1
- .DS_Store
2
- .merlin
3
- .bsb.lock
4
- npm-debug.log
5
- /lib/bs/
6
- /node_modules/
7
- .vscode
8
- *.bs.js
@@ -1,29 +0,0 @@
1
- open Jest;
2
- open Expect;
3
-
4
- describe("Space Age", () => {
5
- test("age on Earth", () =>
6
- expect(Space_age.age_on(Earth, 1000000000.0)) |> toBeSoCloseTo(31.69, ~digits=2)
7
- );
8
- test("age on Mercury", () =>
9
- expect(Space_age.age_on(Mercury, 2134835688.0)) |> toBeSoCloseTo(280.88, ~digits=2)
10
- );
11
- test("age on Venus", () =>
12
- expect(Space_age.age_on(Venus, 189839836.0)) |> toBeSoCloseTo(9.78, ~digits=2)
13
- );
14
- test("age on Mars", () =>
15
- expect(Space_age.age_on(Mars, 2329871239.0)) |> toBeSoCloseTo(39.25, ~digits=2)
16
- );
17
- test("age on Jupiter", () =>
18
- expect(Space_age.age_on(Jupiter, 901876382.0)) |> toBeSoCloseTo(2.41, ~digits=2)
19
- );
20
- test("age on Saturn", () =>
21
- expect(Space_age.age_on(Saturn, 3000000000.0)) |> toBeSoCloseTo(3.23, ~digits=2)
22
- );
23
- test("age on Uranus", () =>
24
- expect(Space_age.age_on(Uranus, 3210123456.0)) |> toBeSoCloseTo(1.21, ~digits=2)
25
- );
26
- test("age on Neptune", () =>
27
- expect(Space_age.age_on(Neptune, 8210123456.0)) |> toBeSoCloseTo(1.58, ~digits=2)
28
- );
29
- })