trackler 2.1.0.23 → 2.1.0.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/tracks/ceylon/LICENSE +2 -2
  4. data/tracks/ceylon/README.md +0 -5
  5. data/tracks/ecmascript/.editorconfig +7 -0
  6. data/tracks/ecmascript/Makefile +8 -0
  7. data/tracks/ecmascript/bin/md5-hash +21 -0
  8. data/tracks/ecmascript/exercises/connect/package.json +3 -3
  9. data/tracks/elixir/exercises/atbash-cipher/{atbash.exs → atbash_cipher.exs} +4 -0
  10. data/tracks/elixir/exercises/atbash-cipher/atbash_cipher_test.exs +29 -1
  11. data/tracks/elixir/exercises/atbash-cipher/example.exs +12 -6
  12. data/tracks/elixir/exercises/phone-number/example.exs +71 -29
  13. data/tracks/elixir/exercises/phone-number/phone_number.exs +22 -10
  14. data/tracks/elixir/exercises/phone-number/phone_number_test.exs +37 -12
  15. data/tracks/elm/.github/stale.yml +0 -0
  16. data/tracks/elm/.gitignore +1 -0
  17. data/tracks/elm/.travis.yml +20 -1
  18. data/tracks/elm/README.md +9 -20
  19. data/tracks/elm/bin/build.sh +15 -18
  20. data/tracks/elm/bin/install-elm-format +1 -1
  21. data/tracks/elm/config.json +172 -167
  22. data/tracks/elm/exercises/accumulate/elm-package.json +1 -3
  23. data/tracks/elm/exercises/accumulate/package.json +3 -3
  24. data/tracks/elm/exercises/accumulate/{Tests.elm → tests/Tests.elm} +1 -11
  25. data/tracks/elm/exercises/accumulate/tests/elm-package.json +16 -0
  26. data/tracks/elm/exercises/allergies/elm-package.json +2 -3
  27. data/tracks/elm/exercises/allergies/package.json +3 -3
  28. data/tracks/elm/exercises/allergies/{Tests.elm → tests/Tests.elm} +2 -12
  29. data/tracks/elm/exercises/allergies/tests/elm-package.json +16 -0
  30. data/tracks/elm/exercises/anagram/elm-package.json +2 -3
  31. data/tracks/elm/exercises/anagram/package.json +3 -3
  32. data/tracks/elm/exercises/anagram/{Tests.elm → tests/Tests.elm} +4 -14
  33. data/tracks/elm/exercises/anagram/tests/elm-package.json +16 -0
  34. data/tracks/elm/exercises/atbash-cipher/elm-package.json +2 -3
  35. data/tracks/elm/exercises/atbash-cipher/package.json +3 -3
  36. data/tracks/elm/exercises/atbash-cipher/{Tests.elm → tests/Tests.elm} +1 -11
  37. data/tracks/elm/exercises/atbash-cipher/tests/elm-package.json +16 -0
  38. data/tracks/elm/exercises/bob/elm-package.json +2 -3
  39. data/tracks/elm/exercises/bob/package.json +3 -3
  40. data/tracks/elm/exercises/bob/{Tests.elm → tests/Tests.elm} +1 -11
  41. data/tracks/elm/exercises/bob/tests/elm-package.json +16 -0
  42. data/tracks/elm/exercises/difference-of-squares/elm-package.json +2 -3
  43. data/tracks/elm/exercises/difference-of-squares/package.json +3 -3
  44. data/tracks/elm/exercises/difference-of-squares/{Tests.elm → tests/Tests.elm} +1 -11
  45. data/tracks/elm/exercises/difference-of-squares/tests/elm-package.json +16 -0
  46. data/tracks/elm/exercises/gigasecond/elm-package.json +2 -3
  47. data/tracks/elm/exercises/gigasecond/package.json +3 -3
  48. data/tracks/elm/exercises/gigasecond/{Tests.elm → tests/Tests.elm} +1 -11
  49. data/tracks/elm/exercises/gigasecond/tests/elm-package.json +16 -0
  50. data/tracks/elm/exercises/grade-school/elm-package.json +2 -3
  51. data/tracks/elm/exercises/grade-school/package.json +3 -3
  52. data/tracks/elm/exercises/grade-school/{Tests.elm → tests/Tests.elm} +1 -11
  53. data/tracks/elm/exercises/grade-school/tests/elm-package.json +16 -0
  54. data/tracks/elm/exercises/grains/Grains.elm +2 -0
  55. data/tracks/elm/exercises/grains/Grains.example.elm +9 -0
  56. data/tracks/elm/exercises/grains/elm-package.json +14 -0
  57. data/tracks/elm/exercises/grains/package.json +13 -0
  58. data/tracks/elm/exercises/grains/tests/Tests.elm +38 -0
  59. data/tracks/elm/exercises/grains/tests/elm-package.json +16 -0
  60. data/tracks/elm/exercises/hamming/elm-package.json +2 -3
  61. data/tracks/elm/exercises/hamming/package.json +3 -3
  62. data/tracks/elm/exercises/hamming/{Tests.elm → tests/Tests.elm} +1 -11
  63. data/tracks/elm/exercises/hamming/tests/elm-package.json +16 -0
  64. data/tracks/elm/exercises/hello-world/elm-package.json +2 -3
  65. data/tracks/elm/exercises/hello-world/package.json +3 -3
  66. data/tracks/elm/exercises/hello-world/{Tests.elm → tests/Tests.elm} +1 -11
  67. data/tracks/elm/exercises/hello-world/tests/elm-package.json +16 -0
  68. data/tracks/elm/exercises/largest-series-product/elm-package.json +2 -3
  69. data/tracks/elm/exercises/largest-series-product/package.json +3 -3
  70. data/tracks/elm/exercises/largest-series-product/{Tests.elm → tests/Tests.elm} +1 -11
  71. data/tracks/elm/exercises/largest-series-product/tests/elm-package.json +16 -0
  72. data/tracks/elm/exercises/leap/elm-package.json +2 -3
  73. data/tracks/elm/exercises/leap/package.json +3 -3
  74. data/tracks/elm/exercises/leap/{Tests.elm → tests/Tests.elm} +1 -11
  75. data/tracks/elm/exercises/leap/tests/elm-package.json +16 -0
  76. data/tracks/elm/exercises/list-ops/elm-package.json +2 -3
  77. data/tracks/elm/exercises/list-ops/package.json +3 -3
  78. data/tracks/elm/exercises/list-ops/{Tests.elm → tests/Tests.elm} +1 -11
  79. data/tracks/elm/exercises/list-ops/tests/elm-package.json +16 -0
  80. data/tracks/elm/exercises/nucleotide-count/elm-package.json +2 -3
  81. data/tracks/elm/exercises/nucleotide-count/package.json +3 -3
  82. data/tracks/elm/exercises/nucleotide-count/{Tests.elm → tests/Tests.elm} +1 -11
  83. data/tracks/elm/exercises/nucleotide-count/tests/elm-package.json +16 -0
  84. data/tracks/elm/exercises/pangram/elm-package.json +2 -3
  85. data/tracks/elm/exercises/pangram/package.json +3 -3
  86. data/tracks/elm/exercises/pangram/{Tests.elm → tests/Tests.elm} +1 -11
  87. data/tracks/elm/exercises/pangram/tests/elm-package.json +16 -0
  88. data/tracks/elm/exercises/phone-number/elm-package.json +2 -3
  89. data/tracks/elm/exercises/phone-number/package.json +3 -3
  90. data/tracks/elm/exercises/phone-number/{Tests.elm → tests/Tests.elm} +1 -11
  91. data/tracks/elm/exercises/phone-number/tests/elm-package.json +16 -0
  92. data/tracks/elm/exercises/raindrops/elm-package.json +2 -3
  93. data/tracks/elm/exercises/raindrops/package.json +3 -3
  94. data/tracks/elm/exercises/raindrops/{Tests.elm → tests/Tests.elm} +1 -11
  95. data/tracks/elm/exercises/raindrops/tests/elm-package.json +16 -0
  96. data/tracks/elm/exercises/rna-transcription/elm-package.json +2 -3
  97. data/tracks/elm/exercises/rna-transcription/package.json +3 -3
  98. data/tracks/elm/exercises/rna-transcription/{Tests.elm → tests/Tests.elm} +1 -11
  99. data/tracks/elm/exercises/rna-transcription/tests/elm-package.json +16 -0
  100. data/tracks/elm/exercises/robot-simulator/elm-package.json +2 -3
  101. data/tracks/elm/exercises/robot-simulator/package.json +3 -3
  102. data/tracks/elm/exercises/robot-simulator/{Tests.elm → tests/Tests.elm} +1 -11
  103. data/tracks/elm/exercises/robot-simulator/tests/elm-package.json +16 -0
  104. data/tracks/elm/exercises/roman-numerals/elm-package.json +2 -3
  105. data/tracks/elm/exercises/roman-numerals/package.json +3 -3
  106. data/tracks/elm/exercises/roman-numerals/{Tests.elm → tests/Tests.elm} +1 -11
  107. data/tracks/elm/exercises/roman-numerals/tests/elm-package.json +16 -0
  108. data/tracks/elm/exercises/run-length-encoding/elm-package.json +2 -3
  109. data/tracks/elm/exercises/run-length-encoding/package.json +3 -3
  110. data/tracks/elm/exercises/run-length-encoding/{Tests.elm → tests/Tests.elm} +1 -11
  111. data/tracks/elm/exercises/run-length-encoding/tests/elm-package.json +16 -0
  112. data/tracks/elm/exercises/say/elm-package.json +2 -3
  113. data/tracks/elm/exercises/say/package.json +3 -3
  114. data/tracks/elm/exercises/say/{Tests.elm → tests/Tests.elm} +1 -11
  115. data/tracks/elm/exercises/say/tests/elm-package.json +16 -0
  116. data/tracks/elm/exercises/scrabble-score/elm-package.json +2 -3
  117. data/tracks/elm/exercises/scrabble-score/package.json +3 -3
  118. data/tracks/elm/exercises/scrabble-score/{Tests.elm → tests/Tests.elm} +1 -11
  119. data/tracks/elm/exercises/scrabble-score/tests/elm-package.json +16 -0
  120. data/tracks/elm/exercises/series/elm-package.json +2 -3
  121. data/tracks/elm/exercises/series/package.json +3 -3
  122. data/tracks/elm/exercises/series/{Tests.elm → tests/Tests.elm} +1 -11
  123. data/tracks/elm/exercises/series/tests/elm-package.json +16 -0
  124. data/tracks/elm/exercises/space-age/elm-package.json +2 -3
  125. data/tracks/elm/exercises/space-age/package.json +3 -3
  126. data/tracks/elm/exercises/space-age/{Tests.elm → tests/Tests.elm} +1 -11
  127. data/tracks/elm/exercises/space-age/tests/elm-package.json +16 -0
  128. data/tracks/elm/exercises/strain/elm-package.json +2 -3
  129. data/tracks/elm/exercises/strain/package.json +3 -3
  130. data/tracks/elm/exercises/strain/{Tests.elm → tests/Tests.elm} +1 -11
  131. data/tracks/elm/exercises/strain/tests/elm-package.json +16 -0
  132. data/tracks/elm/exercises/sublist/elm-package.json +2 -3
  133. data/tracks/elm/exercises/sublist/package.json +3 -3
  134. data/tracks/elm/exercises/sublist/{Tests.elm → tests/Tests.elm} +1 -11
  135. data/tracks/elm/exercises/sublist/tests/elm-package.json +16 -0
  136. data/tracks/elm/exercises/sum-of-multiples/elm-package.json +2 -3
  137. data/tracks/elm/exercises/sum-of-multiples/package.json +3 -3
  138. data/tracks/elm/exercises/sum-of-multiples/{Tests.elm → tests/Tests.elm} +1 -11
  139. data/tracks/elm/exercises/sum-of-multiples/tests/elm-package.json +16 -0
  140. data/tracks/elm/exercises/triangle/elm-package.json +2 -3
  141. data/tracks/elm/exercises/triangle/package.json +3 -3
  142. data/tracks/elm/exercises/triangle/{Tests.elm → tests/Tests.elm} +1 -11
  143. data/tracks/elm/exercises/triangle/tests/elm-package.json +16 -0
  144. data/tracks/elm/exercises/word-count/elm-package.json +2 -3
  145. data/tracks/elm/exercises/word-count/package.json +3 -3
  146. data/tracks/elm/exercises/word-count/{Tests.elm → tests/Tests.elm} +1 -11
  147. data/tracks/elm/exercises/word-count/tests/elm-package.json +16 -0
  148. data/tracks/elm/package.json +2 -2
  149. data/tracks/java/exercises/clock/HINT.md +3 -0
  150. data/tracks/java/exercises/clock/src/test/java/ClockAddTest.java +3 -0
  151. data/tracks/java/exercises/clock/src/test/java/ClockCreationTest.java +3 -0
  152. data/tracks/java/exercises/clock/src/test/java/ClockEqualTest.java +21 -17
  153. data/tracks/java/exercises/simple-linked-list/src/example/java/SimpleLinkedList.java +13 -13
  154. data/tracks/java/exercises/sublist/src/example/java/RelationshipComputer.java +1 -1
  155. data/tracks/java/exercises/sublist/src/main/java/RelationshipComputer.java +1 -1
  156. data/tracks/perl5/docs/TESTS.md +2 -2
  157. data/tracks/ruby/LICENSE +2 -2
  158. data/tracks/ruby/README.md +0 -5
  159. data/tracks/typescript/LICENSE +2 -2
  160. data/tracks/typescript/README.md +0 -5
  161. data/tracks/vimscript/README.md +1 -0
  162. data/tracks/vimscript/TRACK_HINTS.md +26 -1
  163. data/tracks/vimscript/config.json +15 -0
  164. data/tracks/vimscript/docs/ABOUT.md +1 -1
  165. data/tracks/vimscript/exercises/nucleotide-count/example.vim +18 -0
  166. data/tracks/vimscript/exercises/nucleotide-count/nucleotide_count.vader +38 -0
  167. data/tracks/vimscript/exercises/nucleotide-count/nucleotide_count.vim +16 -0
  168. data/tracks/vimscript/exercises/phone-number/example.vim +4 -0
  169. data/tracks/vimscript/exercises/phone-number/phone_number.vader +36 -0
  170. data/tracks/vimscript/exercises/phone-number/phone_number.vim +11 -0
  171. data/tracks/vimscript/exercises/roman-numerals/example.vim +29 -0
  172. data/tracks/vimscript/exercises/roman-numerals/roman_numerals.vader +53 -0
  173. data/tracks/vimscript/exercises/roman-numerals/roman_numerals.vim +14 -0
  174. metadata +81 -35
  175. data/tracks/elm/elm-package.json +0 -46
  176. data/tracks/elm/exercises/hello-world/yarn.lock +0 -1136
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "3.0.0",
3
+ "summary": "Exercism problems in Elm.",
4
+ "repository": "https://github.com/exercism/xelm.git",
5
+ "license": "BSD3",
6
+ "source-directories": [
7
+ ".",
8
+ ".."
9
+ ],
10
+ "exposed-modules": [],
11
+ "dependencies": {
12
+ "elm-lang/core": "5.0.0 <= v < 6.0.0",
13
+ "elm-community/elm-test": "4.0.0 <= v < 5.0.0"
14
+ },
15
+ "elm-version": "0.18.0 <= v < 0.19.0"
16
+ }
@@ -8,9 +8,8 @@
8
8
  ],
9
9
  "exposed-modules": [],
10
10
  "dependencies": {
11
- "elm-lang/core": "5.0.0 <= v < 6.0.0",
12
- "elm-community/elm-test": "3.0.0 <= v < 4.0.0",
13
- "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0"
11
+ "elm-lang/core": "5.0.0 <= v < 6.0.0"
14
12
  },
15
13
  "elm-version": "0.18.0 <= v < 0.19.0"
16
14
  }
15
+
@@ -4,10 +4,10 @@
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "postinstall": "elm-package install -y",
7
- "test": "elm-test Tests.elm"
7
+ "test": "elm-test"
8
8
  },
9
9
  "dependencies": {
10
- "elm": "^0.18.0",
11
- "elm-test": "^0.18.0"
10
+ "elm": "0.18.0",
11
+ "elm-test": "0.18.3"
12
12
  }
13
13
  }
@@ -1,7 +1,5 @@
1
- port module Main exposing (..)
1
+ module Tests exposing (..)
2
2
 
3
- import Test.Runner.Node exposing (run, TestProgram)
4
- import Json.Encode exposing (Value)
5
3
  import Test exposing (..)
6
4
  import Expect
7
5
  import ListOps exposing (..)
@@ -67,11 +65,3 @@ tests =
67
65
  \() -> Expect.equal (List.range 1 10) (ListOps.concat [ List.range 1 3, [], List.range 4 7, List.range 8 10 ])
68
66
  ]
69
67
  ]
70
-
71
-
72
- main : TestProgram
73
- main =
74
- run emit tests
75
-
76
-
77
- port emit : ( String, Value ) -> Cmd msg
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "3.0.0",
3
+ "summary": "Exercism problems in Elm.",
4
+ "repository": "https://github.com/exercism/xelm.git",
5
+ "license": "BSD3",
6
+ "source-directories": [
7
+ ".",
8
+ ".."
9
+ ],
10
+ "exposed-modules": [],
11
+ "dependencies": {
12
+ "elm-lang/core": "5.0.0 <= v < 6.0.0",
13
+ "elm-community/elm-test": "4.0.0 <= v < 5.0.0"
14
+ },
15
+ "elm-version": "0.18.0 <= v < 0.19.0"
16
+ }
@@ -8,9 +8,8 @@
8
8
  ],
9
9
  "exposed-modules": [],
10
10
  "dependencies": {
11
- "elm-lang/core": "5.0.0 <= v < 6.0.0",
12
- "elm-community/elm-test": "3.0.0 <= v < 4.0.0",
13
- "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0"
11
+ "elm-lang/core": "5.0.0 <= v < 6.0.0"
14
12
  },
15
13
  "elm-version": "0.18.0 <= v < 0.19.0"
16
14
  }
15
+
@@ -4,10 +4,10 @@
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "postinstall": "elm-package install -y",
7
- "test": "elm-test Tests.elm"
7
+ "test": "elm-test"
8
8
  },
9
9
  "dependencies": {
10
- "elm": "^0.18.0",
11
- "elm-test": "^0.18.0"
10
+ "elm": "0.18.0",
11
+ "elm-test": "0.18.3"
12
12
  }
13
13
  }
@@ -1,7 +1,5 @@
1
- port module Main exposing (..)
1
+ module Tests exposing (..)
2
2
 
3
- import Test.Runner.Node exposing (run, TestProgram)
4
- import Json.Encode exposing (Value)
5
3
  import Test exposing (..)
6
4
  import Expect
7
5
  import NucleotideCount exposing (nucleotideCounts, version)
@@ -25,11 +23,3 @@ tests =
25
23
  Expect.equal { a = 20, t = 21, c = 12, g = 17 }
26
24
  (nucleotideCounts "AGCTTTTCATTCTGACTGCAACGGGCAATATGTCTCTGTGTGGATTAAAAAAAGAGTGTCTGATAGCAGC")
27
25
  ]
28
-
29
-
30
- main : TestProgram
31
- main =
32
- run emit tests
33
-
34
-
35
- port emit : ( String, Value ) -> Cmd msg
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "3.0.0",
3
+ "summary": "Exercism problems in Elm.",
4
+ "repository": "https://github.com/exercism/xelm.git",
5
+ "license": "BSD3",
6
+ "source-directories": [
7
+ ".",
8
+ ".."
9
+ ],
10
+ "exposed-modules": [],
11
+ "dependencies": {
12
+ "elm-lang/core": "5.0.0 <= v < 6.0.0",
13
+ "elm-community/elm-test": "4.0.0 <= v < 5.0.0"
14
+ },
15
+ "elm-version": "0.18.0 <= v < 0.19.0"
16
+ }
@@ -8,9 +8,8 @@
8
8
  ],
9
9
  "exposed-modules": [],
10
10
  "dependencies": {
11
- "elm-lang/core": "5.0.0 <= v < 6.0.0",
12
- "elm-community/elm-test": "3.0.0 <= v < 4.0.0",
13
- "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0"
11
+ "elm-lang/core": "5.0.0 <= v < 6.0.0"
14
12
  },
15
13
  "elm-version": "0.18.0 <= v < 0.19.0"
16
14
  }
15
+
@@ -4,10 +4,10 @@
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "postinstall": "elm-package install -y",
7
- "test": "elm-test Tests.elm"
7
+ "test": "elm-test"
8
8
  },
9
9
  "dependencies": {
10
- "elm": "^0.18.0",
11
- "elm-test": "^0.18.0"
10
+ "elm": "0.18.0",
11
+ "elm-test": "0.18.3"
12
12
  }
13
13
  }
@@ -1,7 +1,5 @@
1
- port module Main exposing (..)
1
+ module Tests exposing (..)
2
2
 
3
- import Test.Runner.Node exposing (run, TestProgram)
4
- import Json.Encode exposing (Value)
5
3
  import Test exposing (..)
6
4
  import Expect
7
5
  import Pangram exposing (isPangram)
@@ -51,11 +49,3 @@ tests =
51
49
  Expect.equal True
52
50
  (isPangram "Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich.")
53
51
  ]
54
-
55
-
56
- main : TestProgram
57
- main =
58
- run emit tests
59
-
60
-
61
- port emit : ( String, Value ) -> Cmd msg
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "3.0.0",
3
+ "summary": "Exercism problems in Elm.",
4
+ "repository": "https://github.com/exercism/xelm.git",
5
+ "license": "BSD3",
6
+ "source-directories": [
7
+ ".",
8
+ ".."
9
+ ],
10
+ "exposed-modules": [],
11
+ "dependencies": {
12
+ "elm-lang/core": "5.0.0 <= v < 6.0.0",
13
+ "elm-community/elm-test": "4.0.0 <= v < 5.0.0"
14
+ },
15
+ "elm-version": "0.18.0 <= v < 0.19.0"
16
+ }
@@ -8,9 +8,8 @@
8
8
  ],
9
9
  "exposed-modules": [],
10
10
  "dependencies": {
11
- "elm-lang/core": "5.0.0 <= v < 6.0.0",
12
- "elm-community/elm-test": "3.0.0 <= v < 4.0.0",
13
- "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0"
11
+ "elm-lang/core": "5.0.0 <= v < 6.0.0"
14
12
  },
15
13
  "elm-version": "0.18.0 <= v < 0.19.0"
16
14
  }
15
+
@@ -4,10 +4,10 @@
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "postinstall": "elm-package install -y",
7
- "test": "elm-test Tests.elm"
7
+ "test": "elm-test"
8
8
  },
9
9
  "dependencies": {
10
- "elm": "^0.18.0",
11
- "elm-test": "^0.18.0"
10
+ "elm": "0.18.0",
11
+ "elm-test": "0.18.3"
12
12
  }
13
13
  }
@@ -1,7 +1,5 @@
1
- port module Main exposing (..)
1
+ module Tests exposing (..)
2
2
 
3
- import Test.Runner.Node exposing (run, TestProgram)
4
- import Json.Encode exposing (Value)
5
3
  import Test exposing (..)
6
4
  import Expect
7
5
  import PhoneNumber exposing (getNumber, prettyPrint)
@@ -35,11 +33,3 @@ tests =
35
33
  , test "pretty print with full us phone number" <|
36
34
  \() -> Expect.equal (Just "(123) 456-7890") (prettyPrint "11234567890")
37
35
  ]
38
-
39
-
40
- main : TestProgram
41
- main =
42
- run emit tests
43
-
44
-
45
- port emit : ( String, Value ) -> Cmd msg
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "3.0.0",
3
+ "summary": "Exercism problems in Elm.",
4
+ "repository": "https://github.com/exercism/xelm.git",
5
+ "license": "BSD3",
6
+ "source-directories": [
7
+ ".",
8
+ ".."
9
+ ],
10
+ "exposed-modules": [],
11
+ "dependencies": {
12
+ "elm-lang/core": "5.0.0 <= v < 6.0.0",
13
+ "elm-community/elm-test": "4.0.0 <= v < 5.0.0"
14
+ },
15
+ "elm-version": "0.18.0 <= v < 0.19.0"
16
+ }
@@ -8,9 +8,8 @@
8
8
  ],
9
9
  "exposed-modules": [],
10
10
  "dependencies": {
11
- "elm-lang/core": "5.0.0 <= v < 6.0.0",
12
- "elm-community/elm-test": "3.0.0 <= v < 4.0.0",
13
- "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0"
11
+ "elm-lang/core": "5.0.0 <= v < 6.0.0"
14
12
  },
15
13
  "elm-version": "0.18.0 <= v < 0.19.0"
16
14
  }
15
+
@@ -4,10 +4,10 @@
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "postinstall": "elm-package install -y",
7
- "test": "elm-test Tests.elm"
7
+ "test": "elm-test"
8
8
  },
9
9
  "dependencies": {
10
- "elm": "^0.18.0",
11
- "elm-test": "^0.18.0"
10
+ "elm": "0.18.0",
11
+ "elm-test": "0.18.3"
12
12
  }
13
13
  }
@@ -1,7 +1,5 @@
1
- port module Main exposing (..)
1
+ module Tests exposing (..)
2
2
 
3
- import Test.Runner.Node exposing (run, TestProgram)
4
- import Json.Encode exposing (Value)
5
3
  import Test exposing (..)
6
4
  import Expect
7
5
  import Raindrops exposing (raindrops)
@@ -41,11 +39,3 @@ tests =
41
39
  , test "105" <|
42
40
  \() -> Expect.equal "PlingPlangPlong" (raindrops 105)
43
41
  ]
44
-
45
-
46
- main : TestProgram
47
- main =
48
- run emit tests
49
-
50
-
51
- port emit : ( String, Value ) -> Cmd msg
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "3.0.0",
3
+ "summary": "Exercism problems in Elm.",
4
+ "repository": "https://github.com/exercism/xelm.git",
5
+ "license": "BSD3",
6
+ "source-directories": [
7
+ ".",
8
+ ".."
9
+ ],
10
+ "exposed-modules": [],
11
+ "dependencies": {
12
+ "elm-lang/core": "5.0.0 <= v < 6.0.0",
13
+ "elm-community/elm-test": "4.0.0 <= v < 5.0.0"
14
+ },
15
+ "elm-version": "0.18.0 <= v < 0.19.0"
16
+ }
@@ -8,9 +8,8 @@
8
8
  ],
9
9
  "exposed-modules": [],
10
10
  "dependencies": {
11
- "elm-lang/core": "5.0.0 <= v < 6.0.0",
12
- "elm-community/elm-test": "3.0.0 <= v < 4.0.0",
13
- "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0"
11
+ "elm-lang/core": "5.0.0 <= v < 6.0.0"
14
12
  },
15
13
  "elm-version": "0.18.0 <= v < 0.19.0"
16
14
  }
15
+
@@ -4,10 +4,10 @@
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "postinstall": "elm-package install -y",
7
- "test": "elm-test Tests.elm"
7
+ "test": "elm-test"
8
8
  },
9
9
  "dependencies": {
10
- "elm": "^0.18.0",
11
- "elm-test": "^0.18.0"
10
+ "elm": "0.18.0",
11
+ "elm-test": "0.18.3"
12
12
  }
13
13
  }
@@ -1,7 +1,5 @@
1
- port module Main exposing (..)
1
+ module Tests exposing (..)
2
2
 
3
- import Test.Runner.Node exposing (run, TestProgram)
4
- import Json.Encode exposing (Value)
5
3
  import Test exposing (..)
6
4
  import Expect
7
5
  import RNATranscription exposing (toRNA)
@@ -25,11 +23,3 @@ tests =
25
23
  , test "correctly handles partially invalid input" <|
26
24
  \() -> Expect.equal (Err 'U') (toRNA "UGAAXXXGACAUG")
27
25
  ]
28
-
29
-
30
- main : TestProgram
31
- main =
32
- run emit tests
33
-
34
-
35
- port emit : ( String, Value ) -> Cmd msg
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "3.0.0",
3
+ "summary": "Exercism problems in Elm.",
4
+ "repository": "https://github.com/exercism/xelm.git",
5
+ "license": "BSD3",
6
+ "source-directories": [
7
+ ".",
8
+ ".."
9
+ ],
10
+ "exposed-modules": [],
11
+ "dependencies": {
12
+ "elm-lang/core": "5.0.0 <= v < 6.0.0",
13
+ "elm-community/elm-test": "4.0.0 <= v < 5.0.0"
14
+ },
15
+ "elm-version": "0.18.0 <= v < 0.19.0"
16
+ }
@@ -8,9 +8,8 @@
8
8
  ],
9
9
  "exposed-modules": [],
10
10
  "dependencies": {
11
- "elm-lang/core": "5.0.0 <= v < 6.0.0",
12
- "elm-community/elm-test": "3.0.0 <= v < 4.0.0",
13
- "rtfeldman/node-test-runner": "3.0.0 <= v < 4.0.0"
11
+ "elm-lang/core": "5.0.0 <= v < 6.0.0"
14
12
  },
15
13
  "elm-version": "0.18.0 <= v < 0.19.0"
16
14
  }
15
+
@@ -4,10 +4,10 @@
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "postinstall": "elm-package install -y",
7
- "test": "elm-test Tests.elm"
7
+ "test": "elm-test"
8
8
  },
9
9
  "dependencies": {
10
- "elm": "^0.18.0",
11
- "elm-test": "^0.18.0"
10
+ "elm": "0.18.0",
11
+ "elm-test": "0.18.3"
12
12
  }
13
13
  }
@@ -1,7 +1,5 @@
1
- port module Main exposing (..)
1
+ module Tests exposing (..)
2
2
 
3
- import Test.Runner.Node exposing (run, TestProgram)
4
- import Json.Encode exposing (Value)
5
3
  import Test exposing (..)
6
4
  import Expect
7
5
  import RobotSimulator exposing (defaultRobot, Robot, Bearing(North, East, West, South), turnRight, turnLeft, advance, simulate)
@@ -140,11 +138,3 @@ generate a list of Assert Equal assertions.
140
138
  assertionList : List a -> List a -> List Expect.Expectation
141
139
  assertionList xs ys =
142
140
  List.map2 Expect.equal xs ys
143
-
144
-
145
- main : TestProgram
146
- main =
147
- run emit tests
148
-
149
-
150
- port emit : ( String, Value ) -> Cmd msg