trackler 2.1.0.34 → 2.1.0.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/coq/config.json +3 -5
- data/tracks/csharp/.gitignore +5 -1
- data/tracks/csharp/exercises/acronym/AcronymTest.cs +3 -7
- data/tracks/csharp/exercises/atbash-cipher/AtbashCipherTest.cs +2 -0
- data/tracks/csharp/exercises/beer-song/BeerSongTest.cs +9 -7
- data/tracks/csharp/exercises/bob/Bob.cs +1 -1
- data/tracks/csharp/exercises/bob/BobTest.cs +79 -37
- data/tracks/csharp/exercises/bob/Example.cs +1 -1
- data/tracks/csharp/exercises/food-chain/FoodChainTest.cs +2 -0
- data/tracks/csharp/exercises/hello-world/HelloWorldTest.cs +5 -3
- data/tracks/csharp/exercises/isogram/IsogramTest.cs +8 -0
- data/tracks/csharp/exercises/leap/LeapTest.cs +2 -0
- data/tracks/csharp/exercises/luhn/LuhnTest.cs +2 -0
- data/tracks/csharp/exercises/nth-prime/NthPrimeTest.cs +2 -0
- data/tracks/csharp/exercises/perfect-numbers/PerfectNumbersTest.cs +2 -0
- data/tracks/csharp/exercises/pig-latin/PigLatinTest.cs +2 -0
- data/tracks/csharp/exercises/raindrops/RaindropsTest.cs +2 -0
- data/tracks/csharp/exercises/roman-numerals/RomanNumeralsTest.cs +2 -0
- data/tracks/csharp/exercises/rotational-cipher/RotationalCipherTest.cs +2 -0
- data/tracks/csharp/exercises/wordy/WordyTest.cs +2 -0
- data/tracks/csharp/generators/Classes/TestClass.cs +1 -0
- data/tracks/csharp/generators/Classes/TestClassRenderer.cs +4 -1
- data/tracks/csharp/generators/Exercises/Bob.cs +20 -0
- data/tracks/csharp/generators/Exercises/Exercise.cs +2 -1
- data/tracks/csharp/generators/Methods/TestMethodGenerator.cs +4 -0
- data/tracks/delphi/exercises/hello-world/uTestHelloWorld.pas +12 -1
- data/tracks/elixir/config.json +58 -7
- data/tracks/go/config.json +5 -6
- data/tracks/go/exercises/anagram/anagram_test.go +2 -2
- data/tracks/go/exercises/anagram/example.go +2 -3
- data/tracks/java/.travis.yml +9 -9
- data/tracks/java/bin/fetch-configlet +1 -1
- data/tracks/java/bin/journey-test.sh +23 -17
- data/tracks/java/bin/unit-tests.sh +2 -2
- data/tracks/julia/exercises/rotational-cipher/runtests.jl +13 -13
- data/tracks/julia/runtests.jl +13 -0
- data/tracks/lisp/config.json +174 -120
- data/tracks/lua/README.md +9 -8
- data/tracks/ocaml/config.json +0 -5
- data/tracks/php/config.json +424 -402
- data/tracks/ruby/README.md +6 -0
- data/tracks/scala/config.json +0 -7
- data/tracks/typescript/config.json +27 -13
- metadata +3 -2
data/tracks/lisp/config.json
CHANGED
@@ -7,243 +7,297 @@
|
|
7
7
|
{
|
8
8
|
"slug": "hamming",
|
9
9
|
"difficulty": 1,
|
10
|
-
"topics": [
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
"topics": [
|
11
|
+
"Control-flow (conditionals)",
|
12
|
+
"Control-flow (loops)",
|
13
|
+
"Equality",
|
14
|
+
"Strings",
|
15
|
+
"Filtering"
|
16
|
+
]
|
15
17
|
},
|
16
18
|
{
|
17
19
|
"slug": "leap",
|
18
20
|
"difficulty": 1,
|
19
|
-
"topics": [
|
20
|
-
|
21
|
-
|
22
|
-
|
21
|
+
"topics": [
|
22
|
+
"Control-flow (conditionals)",
|
23
|
+
"Equality",
|
24
|
+
"Integers",
|
25
|
+
"Logic"
|
26
|
+
]
|
23
27
|
},
|
24
28
|
{
|
25
29
|
"slug": "grains",
|
26
30
|
"difficulty": 1,
|
27
|
-
"topics": [
|
28
|
-
|
29
|
-
|
31
|
+
"topics": [
|
32
|
+
"Variables",
|
33
|
+
"Integers",
|
34
|
+
"Mathematics"
|
35
|
+
]
|
30
36
|
},
|
31
37
|
{
|
32
38
|
"slug": "gigasecond",
|
33
39
|
"difficulty": 1,
|
34
|
-
"topics": [
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
40
|
+
"topics": [
|
41
|
+
"Variables",
|
42
|
+
"Integers",
|
43
|
+
"Date",
|
44
|
+
"Time",
|
45
|
+
"Transforming"
|
46
|
+
]
|
39
47
|
},
|
40
48
|
{
|
41
49
|
"slug": "bob",
|
42
50
|
"difficulty": 1,
|
43
|
-
"topics": [
|
44
|
-
|
45
|
-
|
51
|
+
"topics": [
|
52
|
+
"Control-flow (conditionals)",
|
53
|
+
"Strings",
|
54
|
+
"Parsing"
|
55
|
+
]
|
46
56
|
},
|
47
57
|
{
|
48
58
|
"slug": "rna-transcription",
|
49
59
|
"difficulty": 1,
|
50
|
-
"topics": [
|
51
|
-
|
52
|
-
|
60
|
+
"topics": [
|
61
|
+
"Control-flow (conditionals)",
|
62
|
+
"Strings",
|
63
|
+
"Transforming"
|
64
|
+
]
|
53
65
|
},
|
54
66
|
{
|
55
67
|
"slug": "robot-name",
|
56
68
|
"difficulty": 1,
|
57
|
-
"topics": [
|
58
|
-
|
59
|
-
|
69
|
+
"topics": [
|
70
|
+
"Variables",
|
71
|
+
"Strings",
|
72
|
+
"Randomness"
|
73
|
+
]
|
60
74
|
},
|
61
75
|
{
|
62
76
|
"slug": "word-count",
|
63
77
|
"difficulty": 1,
|
64
|
-
"topics": [
|
65
|
-
|
66
|
-
|
67
|
-
|
78
|
+
"topics": [
|
79
|
+
"Control-flow (conditionals)",
|
80
|
+
"Control-flow (loops)",
|
81
|
+
"Strings",
|
82
|
+
"Filtering"
|
83
|
+
]
|
68
84
|
},
|
69
85
|
{
|
70
86
|
"slug": "raindrops",
|
71
87
|
"difficulty": 1,
|
72
|
-
"topics": [
|
73
|
-
|
74
|
-
|
88
|
+
"topics": [
|
89
|
+
"Control-flow (conditionals)",
|
90
|
+
"Integers",
|
91
|
+
"Filtering"
|
92
|
+
]
|
75
93
|
},
|
76
94
|
{
|
77
95
|
"slug": "grade-school",
|
78
96
|
"difficulty": 1,
|
79
|
-
"topics": [
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
97
|
+
"topics": [
|
98
|
+
"Interfaces",
|
99
|
+
"Variables",
|
100
|
+
"Lists",
|
101
|
+
"Maps",
|
102
|
+
"Sorting"
|
103
|
+
]
|
84
104
|
},
|
85
105
|
{
|
86
106
|
"slug": "phone-number",
|
87
107
|
"difficulty": 1,
|
88
|
-
"topics": [
|
89
|
-
|
90
|
-
|
108
|
+
"topics": [
|
109
|
+
"Interfaces",
|
110
|
+
"Strings",
|
111
|
+
"Parsing"
|
112
|
+
]
|
91
113
|
},
|
92
114
|
{
|
93
115
|
"slug": "etl",
|
94
116
|
"difficulty": 1,
|
95
|
-
"topics": [
|
96
|
-
|
97
|
-
|
117
|
+
"topics": [
|
118
|
+
"Control-flow (loops)",
|
119
|
+
"Maps",
|
120
|
+
"Transforming"
|
121
|
+
]
|
98
122
|
},
|
99
123
|
{
|
100
124
|
"slug": "beer-song",
|
101
125
|
"difficulty": 1,
|
102
|
-
"topics": [
|
103
|
-
|
104
|
-
|
105
|
-
|
126
|
+
"topics": [
|
127
|
+
"Control-flow (conditionals)",
|
128
|
+
"Control-flow (loops)",
|
129
|
+
"Integers",
|
130
|
+
"Text formatting"
|
131
|
+
]
|
106
132
|
},
|
107
133
|
{
|
108
134
|
"slug": "space-age",
|
109
135
|
"difficulty": 1,
|
110
|
-
"topics": [
|
111
|
-
|
112
|
-
|
136
|
+
"topics": [
|
137
|
+
"Interfaces",
|
138
|
+
"Floating-point numbers",
|
139
|
+
"Transforming"
|
140
|
+
]
|
113
141
|
},
|
114
142
|
{
|
115
143
|
"slug": "anagram",
|
116
144
|
"difficulty": 1,
|
117
|
-
"topics": [
|
118
|
-
|
119
|
-
|
145
|
+
"topics": [
|
146
|
+
"Equality",
|
147
|
+
"Strings",
|
148
|
+
"Filtering"
|
149
|
+
]
|
120
150
|
},
|
121
151
|
{
|
122
152
|
"slug": "nucleotide-count",
|
123
153
|
"difficulty": 1,
|
124
|
-
"topics": [
|
125
|
-
|
126
|
-
|
127
|
-
|
154
|
+
"topics": [
|
155
|
+
"Control-flow (loops)",
|
156
|
+
"Strings",
|
157
|
+
"Maps",
|
158
|
+
"Sorting"
|
159
|
+
]
|
128
160
|
},
|
129
161
|
{
|
130
162
|
"slug": "meetup",
|
131
163
|
"difficulty": 1,
|
132
|
-
"topics": [
|
133
|
-
|
134
|
-
|
164
|
+
"topics": [
|
165
|
+
"Control-flow (conditionals)",
|
166
|
+
"Dates",
|
167
|
+
"Filtering"
|
168
|
+
]
|
135
169
|
},
|
136
170
|
{
|
137
171
|
"slug": "triangle",
|
138
172
|
"difficulty": 1,
|
139
|
-
"topics": [
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
173
|
+
"topics": [
|
174
|
+
"Control-flow (conditionals)",
|
175
|
+
"Integers",
|
176
|
+
"Floating-point numbers",
|
177
|
+
"Mathematics",
|
178
|
+
"Filtering"
|
179
|
+
]
|
144
180
|
},
|
145
181
|
{
|
146
182
|
"slug": "difference-of-squares",
|
147
183
|
"difficulty": 1,
|
148
|
-
"topics": [
|
149
|
-
|
150
|
-
|
151
|
-
|
184
|
+
"topics": [
|
185
|
+
"Control-flow (loops)",
|
186
|
+
"Integers",
|
187
|
+
"Floating-point numbers",
|
188
|
+
"Mathematics"
|
189
|
+
]
|
152
190
|
},
|
153
191
|
{
|
154
192
|
"slug": "roman-numerals",
|
155
193
|
"difficulty": 1,
|
156
|
-
"topics": [
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
194
|
+
"topics": [
|
195
|
+
"Control-flow (conditionals)",
|
196
|
+
"Control-flow (loops)",
|
197
|
+
"Integers",
|
198
|
+
"Strings",
|
199
|
+
"Text formatting"
|
200
|
+
]
|
161
201
|
},
|
162
202
|
{
|
163
203
|
"slug": "scrabble-score",
|
164
204
|
"difficulty": 1,
|
165
|
-
"topics": [
|
166
|
-
|
167
|
-
|
168
|
-
|
205
|
+
"topics": [
|
206
|
+
"Control-flow (loops)",
|
207
|
+
"Maps",
|
208
|
+
"Strings",
|
209
|
+
"Games"
|
210
|
+
]
|
169
211
|
},
|
170
212
|
{
|
171
213
|
"slug": "binary",
|
172
214
|
"difficulty": 1,
|
173
|
-
"topics": [
|
174
|
-
|
175
|
-
|
215
|
+
"topics": [
|
216
|
+
"Control-flow (conditionals)",
|
217
|
+
"Integers",
|
218
|
+
"Bitwise operations"
|
219
|
+
]
|
176
220
|
},
|
177
221
|
{
|
178
222
|
"slug": "allergies",
|
179
223
|
"difficulty": 1,
|
180
|
-
"topics": [
|
181
|
-
|
182
|
-
|
183
|
-
|
224
|
+
"topics": [
|
225
|
+
"Control-flow (conditionals)",
|
226
|
+
"Integers",
|
227
|
+
"Bitwise operations",
|
228
|
+
"Text formatting"
|
229
|
+
]
|
184
230
|
},
|
185
231
|
{
|
186
232
|
"slug": "sieve",
|
187
233
|
"difficulty": 1,
|
188
|
-
"topics": [
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
234
|
+
"topics": [
|
235
|
+
"Control-flow (conditionals)",
|
236
|
+
"Control-flow (loops)",
|
237
|
+
"Integers",
|
238
|
+
"Maps",
|
239
|
+
"Mathematics",
|
240
|
+
"Filtering"
|
241
|
+
]
|
194
242
|
},
|
195
243
|
{
|
196
244
|
"slug": "strain",
|
197
245
|
"difficulty": 1,
|
198
|
-
"topics": [
|
199
|
-
|
200
|
-
|
201
|
-
|
246
|
+
"topics": [
|
247
|
+
"Control-flow (conditionals)",
|
248
|
+
"Control-flow (loops)",
|
249
|
+
"Sequences",
|
250
|
+
"Filtering"
|
251
|
+
]
|
202
252
|
},
|
203
253
|
{
|
204
254
|
"slug": "atbash-cipher",
|
205
255
|
"difficulty": 1,
|
206
|
-
"topics": [
|
207
|
-
|
208
|
-
|
209
|
-
|
256
|
+
"topics": [
|
257
|
+
"Control-flow (conditionals)",
|
258
|
+
"Control-flow (loops)",
|
259
|
+
"Sequences",
|
260
|
+
"Transforming"
|
261
|
+
]
|
210
262
|
},
|
211
263
|
{
|
212
264
|
"slug": "prime-factors",
|
213
265
|
"difficulty": 1,
|
214
|
-
"topics": [
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
266
|
+
"topics": [
|
267
|
+
"Control-flow (conditionals)",
|
268
|
+
"Control-flow (loops)",
|
269
|
+
"Integers",
|
270
|
+
"Maps",
|
271
|
+
"Mathematics",
|
272
|
+
"Filtering"
|
273
|
+
]
|
220
274
|
},
|
221
275
|
{
|
222
276
|
"slug": "crypto-square",
|
223
277
|
"difficulty": 1,
|
224
|
-
"topics": [
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
278
|
+
"topics": [
|
279
|
+
"Control-flow (conditionals)",
|
280
|
+
"Control-flow (loops)",
|
281
|
+
"Strings",
|
282
|
+
"Arrays",
|
283
|
+
"Transforming"
|
284
|
+
]
|
229
285
|
},
|
230
286
|
{
|
231
287
|
"slug": "trinary",
|
232
288
|
"difficulty": 1,
|
233
|
-
"topics": [
|
234
|
-
|
235
|
-
|
289
|
+
"topics": [
|
290
|
+
"Control-flow (conditionals)",
|
291
|
+
"Integers",
|
292
|
+
"Mathematics"
|
293
|
+
]
|
236
294
|
}
|
237
295
|
],
|
238
296
|
"deprecated": [
|
239
297
|
|
240
|
-
],
|
241
|
-
"ignored": [
|
242
|
-
"docs",
|
243
|
-
"img"
|
244
298
|
],
|
245
299
|
"foregone": [
|
246
|
-
|
247
|
-
|
300
|
+
"accumulate",
|
301
|
+
"bank-account"
|
248
302
|
]
|
249
303
|
}
|
data/tracks/lua/README.md
CHANGED
@@ -44,23 +44,24 @@ Rename *bob.lua* to *example.lua*, and add the exercise to the [xlua/config.json
|
|
44
44
|
|
45
45
|
## Contributing Guide
|
46
46
|
|
47
|
-
Please be familiar with the [contributing guide][6] in the
|
48
|
-
This describes
|
49
|
-
|
50
|
-
existing problems and adding new problems.
|
47
|
+
Please be familiar with the [contributing guide][6] in the docs repository.
|
48
|
+
This describes some great ways to get involved. In particular, please read the
|
49
|
+
[Pull Request Guidelines][7] before opening a pull request.
|
51
50
|
|
52
51
|
## Other Resources
|
53
52
|
|
54
|
-
Pleases see the [Useful Lua Resources][
|
53
|
+
Pleases see the [Useful Lua Resources][8] page.
|
55
54
|
|
56
55
|
|
57
56
|
## Lua icon
|
58
|
-
The Lua icon is inspired by the [Lua logo]
|
57
|
+
The Lua icon is inspired by the [Lua logo][9], which was designed by Alexandre Nakonechnyj.
|
59
58
|
|
60
59
|
[1]: http://exercism.io/languages/lua/installing
|
61
60
|
[2]: https://help.github.com/articles/fork-a-repo/
|
62
61
|
[3]: https://help.github.com/articles/creating-a-pull-request/
|
63
62
|
[4]: https://github.com/exercism/xlua/tree/master/exercises/bob
|
64
63
|
[5]: https://github.com/exercism/xlua/blob/master/config.json
|
65
|
-
[6]: https://github.com/exercism/
|
66
|
-
[7]:
|
64
|
+
[6]: https://github.com/exercism/docs/tree/master/contributing-to-language-tracks
|
65
|
+
[7]: https://github.com/exercism/docs/blob/master/contributing-to-language-tracks/pull-request-guidelines.md
|
66
|
+
[8]: http://exercism.io/languages/lua/resources
|
67
|
+
[9]: http://www.lua.org/images/
|