trackler 2.1.0.32 → 2.1.0.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/common/CONTRIBUTING.md +1 -24
  3. data/fixtures/tracks/animal/config.json +6 -2
  4. data/fixtures/tracks/fake/config.json +0 -5
  5. data/fixtures/tracks/fruit/config.json +16 -4
  6. data/fixtures/tracks/jewels/config.json +6 -2
  7. data/fixtures/tracks/shoes/config.json +6 -2
  8. data/fixtures/tracks/snowflake/config.json +21 -5
  9. data/lib/trackler/track.rb +0 -11
  10. data/lib/trackler/version.rb +1 -1
  11. data/tracks/c/config.json +281 -245
  12. data/tracks/c/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  13. data/tracks/ceylon/config.json +0 -5
  14. data/tracks/ceylon/{exercises/TRACK_HINTS.md → docs/EXERCISE_README_INSERT.md} +0 -0
  15. data/tracks/cpp/config.json +9 -13
  16. data/tracks/cpp/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  17. data/tracks/cpp/exercises/grade-school/grade_school_test.cpp +1 -0
  18. data/tracks/cpp/exercises/nucleotide-count/nucleotide_count_test.cpp +1 -0
  19. data/tracks/crystal/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  20. data/tracks/csharp/config.json +4 -9
  21. data/tracks/csharp/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  22. data/tracks/delphi/config.json +31 -36
  23. data/tracks/delphi/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  24. data/tracks/ecmascript/config.json +65 -7
  25. data/tracks/ecmascript/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  26. data/tracks/elixir/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  27. data/tracks/elm/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  28. data/tracks/erlang/_test/bootstrap.sh +3 -5
  29. data/tracks/erlang/config.json +108 -40
  30. data/tracks/erlang/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  31. data/tracks/factor/config.json +6 -14
  32. data/tracks/factor/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  33. data/tracks/fsharp/config.json +1 -1
  34. data/tracks/fsharp/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  35. data/tracks/go/{exercises/TRACK_HINTS.md → docs/EXERCISE_README_INSERT.md} +0 -0
  36. data/tracks/haskell/config.json +0 -4
  37. data/tracks/haskell/{exercises/TRACK_HINTS.md → docs/EXERCISE_README_INSERT.md} +0 -0
  38. data/tracks/idris/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  39. data/tracks/java/{TRACK_HINTS.md → docs/EXERCISE_README_INSERT.md} +0 -0
  40. data/tracks/java/exercises/isogram/HINT.md +10 -0
  41. data/tracks/javascript/config.json +57 -6
  42. data/tracks/javascript/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  43. data/tracks/julia/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  44. data/tracks/kotlin/{TRACK_HINTS.md → docs/EXERCISE_README_INSERT.md} +0 -0
  45. data/tracks/lfe/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  46. data/tracks/lisp/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  47. data/tracks/lua/config.json +684 -611
  48. data/tracks/lua/{exercises/TRACK_HINTS.md → docs/EXERCISE_README_INSERT.md} +0 -0
  49. data/tracks/objective-c/config.json +235 -241
  50. data/tracks/objective-c/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  51. data/tracks/ocaml/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  52. data/tracks/perl6/config.json +70 -32
  53. data/tracks/php/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  54. data/tracks/r/config.json +72 -24
  55. data/tracks/r/{exercises/TRACK_HINTS.md → docs/EXERCISE_README_INSERT.md} +0 -0
  56. data/tracks/racket/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  57. data/tracks/ruby/exercises/bob/.meta/.version +1 -0
  58. data/tracks/ruby/exercises/bob/.meta/generator/bob_case.rb +9 -0
  59. data/tracks/ruby/exercises/bob/.meta/solutions/bob.rb +4 -0
  60. data/tracks/ruby/exercises/bob/bob_test.rb +95 -50
  61. data/tracks/rust/config.json +0 -5
  62. data/tracks/rust/{exercises/TRACK_HINTS.md → docs/EXERCISE_README_INSERT.md} +0 -0
  63. data/tracks/scala/config.json +758 -758
  64. data/tracks/scala/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  65. data/tracks/scheme/docs/EXERCISE_README_INSERT.md +0 -0
  66. data/tracks/swift/config.json +468 -478
  67. data/tracks/swift/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  68. data/tracks/typescript/{SETUP.md → docs/EXERCISE_README_INSERT.md} +0 -0
  69. data/tracks/vbnet/config.json +21 -7
  70. metadata +37 -33
@@ -67,11 +67,6 @@
67
67
  ],
68
68
  "deprecated": [
69
69
 
70
- ],
71
- "ignored": [
72
- "bin",
73
- "docs",
74
- "img"
75
70
  ],
76
71
  "foregone": [
77
72
 
@@ -5,10 +5,6 @@
5
5
  "active": true,
6
6
  "deprecated": [
7
7
 
8
- ],
9
- "ignored": [
10
- "docs",
11
- "img"
12
8
  ],
13
9
  "foregone": [
14
10
  "point-mutations"
@@ -21,15 +17,6 @@
21
17
  "strings"
22
18
  ]
23
19
  },
24
- {
25
- "difficulty": 5,
26
- "slug": "bob",
27
- "topics": [
28
- "strings",
29
- "control-flow (conditionals)",
30
- "parsing"
31
- ]
32
- },
33
20
  {
34
21
  "difficulty": 1,
35
22
  "slug": "leap",
@@ -54,6 +41,15 @@
54
41
  "control-flow (loops)"
55
42
  ]
56
43
  },
44
+ {
45
+ "difficulty": 5,
46
+ "slug": "bob",
47
+ "topics": [
48
+ "strings",
49
+ "control-flow (conditionals)",
50
+ "parsing"
51
+ ]
52
+ },
57
53
  {
58
54
  "difficulty": 5,
59
55
  "slug": "anagram",
@@ -1,5 +1,6 @@
1
1
  #include "grade_school.h"
2
2
  #define BOOST_TEST_MAIN
3
+ #include <map>
3
4
  #include <boost/test/unit_test.hpp>
4
5
 
5
6
  using namespace std;
@@ -1,6 +1,7 @@
1
1
  #include "nucleotide_count.h"
2
2
  #define BOOST_TEST_MAIN
3
3
  #include <boost/test/unit_test.hpp>
4
+ #include <map>
4
5
  #include <stdexcept>
5
6
 
6
7
  BOOST_AUTO_TEST_CASE(has_no_nucleotides)
@@ -468,7 +468,7 @@
468
468
  "Parsing",
469
469
  "Transforming"
470
470
  ]
471
- },
471
+ },
472
472
  {
473
473
  "slug": "atbash-cipher",
474
474
  "difficulty": 5,
@@ -560,7 +560,7 @@
560
560
  "Text formatting",
561
561
  "Refactoring"
562
562
  ]
563
- },
563
+ },
564
564
  {
565
565
  "slug": "custom-set",
566
566
  "difficulty": 5,
@@ -722,7 +722,7 @@
722
722
  "difficulty": 7,
723
723
  "topics": [
724
724
  "Tuples",
725
- "Arrays"
725
+ "Arrays"
726
726
  ]
727
727
  },
728
728
  {
@@ -864,12 +864,7 @@
864
864
  "octal",
865
865
  "hexadecimal"
866
866
  ],
867
- "ignored": [
868
- "docs",
869
- "img",
870
- "generators"
871
- ],
872
- "foregone": [
867
+ "foregone": [
873
868
  "lens-person",
874
869
  "nucleotide-codons",
875
870
  "paasio",
@@ -4,29 +4,29 @@
4
4
  "repository": "https://github.com/exercism/xdelphi",
5
5
  "active": true,
6
6
  "exercises": [
7
- {
8
- "slug": "hello-world",
9
- "difficulty": 1,
10
- "topics": [
11
- "Text formatting"
12
- ]
13
- },
14
- {
15
- "slug": "two-fer",
16
- "difficulty": 1,
17
- "topics": [
18
- "Text formatting",
19
- "Optional values"
20
- ]
21
- },
22
- {
23
- "slug": "bob",
24
- "difficulty": 1,
25
- "topics": [
26
- "Strings",
27
- "Control-flow (if-else statements)"
28
- ]
29
- },
7
+ {
8
+ "slug": "hello-world",
9
+ "difficulty": 1,
10
+ "topics": [
11
+ "Text formatting"
12
+ ]
13
+ },
14
+ {
15
+ "slug": "two-fer",
16
+ "difficulty": 1,
17
+ "topics": [
18
+ "Text formatting",
19
+ "Optional values"
20
+ ]
21
+ },
22
+ {
23
+ "slug": "bob",
24
+ "difficulty": 1,
25
+ "topics": [
26
+ "Strings",
27
+ "Control-flow (if-else statements)"
28
+ ]
29
+ },
30
30
  {
31
31
  "slug": "leap",
32
32
  "difficulty": 1,
@@ -83,11 +83,11 @@
83
83
  ]
84
84
  },
85
85
  {
86
- "slug": "grains",
87
- "difficulty": 2,
88
- "topics": [
89
- "Integers",
90
- "Recursion"
86
+ "slug": "grains",
87
+ "difficulty": 2,
88
+ "topics": [
89
+ "Integers",
90
+ "Recursion"
91
91
  ]
92
92
  },
93
93
  {
@@ -188,9 +188,9 @@
188
188
  ]
189
189
  },
190
190
  {
191
- "slug": "book-store",
192
- "difficulty": 6
193
- },
191
+ "slug": "book-store",
192
+ "difficulty": 6
193
+ },
194
194
  {
195
195
  "slug": "poker",
196
196
  "difficulty": 7,
@@ -200,10 +200,5 @@
200
200
  "Games"
201
201
  ]
202
202
  }
203
- ],
204
- "ignored": [
205
- "bin",
206
- "img",
207
- "docs"
208
203
  ]
209
204
  }
@@ -9,378 +9,441 @@
9
9
  "slug": "hello-world",
10
10
  "difficulty": 1,
11
11
  "topics": [
12
+
12
13
  ]
13
14
  },
14
15
  {
15
16
  "slug": "leap",
16
17
  "difficulty": 1,
17
18
  "topics": [
19
+
18
20
  ]
19
21
  },
20
22
  {
21
23
  "slug": "hamming",
22
24
  "difficulty": 1,
23
25
  "topics": [
26
+
24
27
  ]
25
28
  },
26
29
  {
27
30
  "slug": "rna-transcription",
28
31
  "difficulty": 1,
29
32
  "topics": [
33
+
30
34
  ]
31
35
  },
32
36
  {
33
37
  "slug": "bob",
34
38
  "difficulty": 1,
35
39
  "topics": [
40
+
36
41
  ]
37
42
  },
38
43
  {
39
44
  "slug": "gigasecond",
40
45
  "difficulty": 1,
41
46
  "topics": [
47
+
42
48
  ]
43
49
  },
44
- {
50
+ {
45
51
  "slug": "perfect-numbers",
46
52
  "difficulty": 1,
47
53
  "topics": [
54
+
48
55
  ]
49
56
  },
50
57
  {
51
58
  "slug": "word-count",
52
59
  "difficulty": 1,
53
60
  "topics": [
61
+
54
62
  ]
55
63
  },
56
64
  {
57
65
  "slug": "pangram",
58
66
  "difficulty": 1,
59
67
  "topics": [
68
+
60
69
  ]
61
70
  },
62
71
  {
63
72
  "slug": "beer-song",
64
73
  "difficulty": 1,
65
74
  "topics": [
75
+
66
76
  ]
67
77
  },
68
78
  {
69
79
  "slug": "phone-number",
70
80
  "difficulty": 1,
71
81
  "topics": [
82
+
72
83
  ]
73
84
  },
74
85
  {
75
86
  "slug": "anagram",
76
87
  "difficulty": 1,
77
88
  "topics": [
89
+
78
90
  ]
79
91
  },
80
92
  {
81
93
  "slug": "food-chain",
82
94
  "difficulty": 1,
83
95
  "topics": [
96
+
84
97
  ]
85
98
  },
86
99
  {
87
100
  "slug": "grade-school",
88
101
  "difficulty": 1,
89
102
  "topics": [
103
+
90
104
  ]
91
105
  },
92
106
  {
93
107
  "slug": "robot-name",
94
108
  "difficulty": 1,
95
109
  "topics": [
110
+
96
111
  ]
97
112
  },
98
113
  {
99
114
  "slug": "etl",
100
115
  "difficulty": 1,
101
116
  "topics": [
117
+
102
118
  ]
103
119
  },
104
120
  {
105
121
  "slug": "space-age",
106
122
  "difficulty": 1,
107
123
  "topics": [
124
+
108
125
  ]
109
126
  },
110
127
  {
111
128
  "slug": "grains",
112
129
  "difficulty": 1,
113
130
  "topics": [
131
+
114
132
  ]
115
133
  },
116
134
  {
117
135
  "slug": "triangle",
118
136
  "difficulty": 1,
119
137
  "topics": [
138
+
120
139
  ]
121
140
  },
122
141
  {
123
142
  "slug": "clock",
124
143
  "difficulty": 1,
125
144
  "topics": [
145
+
126
146
  ]
127
147
  },
128
148
  {
129
149
  "slug": "acronym",
130
150
  "difficulty": 1,
131
151
  "topics": [
152
+
132
153
  ]
133
154
  },
134
155
  {
135
156
  "slug": "scrabble-score",
136
157
  "difficulty": 1,
137
158
  "topics": [
159
+
138
160
  ]
139
161
  },
140
162
  {
141
163
  "slug": "roman-numerals",
142
164
  "difficulty": 1,
143
165
  "topics": [
166
+
144
167
  ]
145
168
  },
146
169
  {
147
170
  "slug": "circular-buffer",
148
171
  "difficulty": 1,
149
172
  "topics": [
173
+
150
174
  ]
151
175
  },
152
176
  {
153
177
  "slug": "prime-factors",
154
178
  "difficulty": 1,
155
179
  "topics": [
180
+
156
181
  ]
157
182
  },
158
183
  {
159
184
  "slug": "raindrops",
160
185
  "difficulty": 1,
161
186
  "topics": [
187
+
162
188
  ]
163
189
  },
164
190
  {
165
191
  "slug": "allergies",
166
192
  "difficulty": 1,
167
193
  "topics": [
194
+
168
195
  ]
169
196
  },
170
197
  {
171
198
  "slug": "strain",
172
199
  "difficulty": 1,
173
200
  "topics": [
201
+
174
202
  ]
175
203
  },
176
204
  {
177
205
  "slug": "atbash-cipher",
178
206
  "difficulty": 1,
179
207
  "topics": [
208
+
180
209
  ]
181
210
  },
182
211
  {
183
212
  "slug": "accumulate",
184
213
  "difficulty": 1,
185
214
  "topics": [
215
+
186
216
  ]
187
217
  },
188
218
  {
189
219
  "slug": "crypto-square",
190
220
  "difficulty": 1,
191
221
  "topics": [
222
+
192
223
  ]
193
224
  },
194
225
  {
195
226
  "slug": "sieve",
196
227
  "difficulty": 1,
197
228
  "topics": [
229
+
198
230
  ]
199
231
  },
200
232
  {
201
233
  "slug": "simple-cipher",
202
234
  "difficulty": 1,
203
235
  "topics": [
236
+
204
237
  ]
205
238
  },
206
239
  {
207
240
  "slug": "luhn",
208
241
  "difficulty": 1,
209
242
  "topics": [
243
+
210
244
  ]
211
245
  },
212
246
  {
213
247
  "slug": "pig-latin",
214
248
  "difficulty": 1,
215
249
  "topics": [
250
+
216
251
  ]
217
252
  },
218
253
  {
219
254
  "slug": "pythagorean-triplet",
220
255
  "difficulty": 1,
221
256
  "topics": [
257
+
222
258
  ]
223
259
  },
224
260
  {
225
261
  "slug": "series",
226
262
  "difficulty": 1,
227
263
  "topics": [
264
+
228
265
  ]
229
266
  },
230
267
  {
231
268
  "slug": "difference-of-squares",
232
269
  "difficulty": 1,
233
270
  "topics": [
271
+
234
272
  ]
235
273
  },
236
274
  {
237
275
  "slug": "secret-handshake",
238
276
  "difficulty": 1,
239
277
  "topics": [
278
+
240
279
  ]
241
280
  },
242
281
  {
243
282
  "slug": "linked-list",
244
283
  "difficulty": 1,
245
284
  "topics": [
285
+
246
286
  ]
247
287
  },
248
288
  {
249
289
  "slug": "wordy",
250
290
  "difficulty": 1,
251
291
  "topics": [
292
+
252
293
  ]
253
294
  },
254
295
  {
255
296
  "slug": "largest-series-product",
256
297
  "difficulty": 1,
257
298
  "topics": [
299
+
258
300
  ]
259
301
  },
260
302
  {
261
303
  "slug": "kindergarten-garden",
262
304
  "difficulty": 1,
263
305
  "topics": [
306
+
264
307
  ]
265
308
  },
266
309
  {
267
310
  "slug": "binary-search",
268
311
  "difficulty": 1,
269
312
  "topics": [
313
+
270
314
  ]
271
315
  },
272
316
  {
273
317
  "slug": "binary-search-tree",
274
318
  "difficulty": 1,
275
319
  "topics": [
320
+
276
321
  ]
277
322
  },
278
323
  {
279
324
  "slug": "matrix",
280
325
  "difficulty": 1,
281
326
  "topics": [
327
+
282
328
  ]
283
329
  },
284
330
  {
285
331
  "slug": "robot-simulator",
286
332
  "difficulty": 1,
287
333
  "topics": [
334
+
288
335
  ]
289
336
  },
290
337
  {
291
338
  "slug": "nth-prime",
292
339
  "difficulty": 1,
293
340
  "topics": [
341
+
294
342
  ]
295
343
  },
296
344
  {
297
345
  "slug": "palindrome-products",
298
346
  "difficulty": 1,
299
347
  "topics": [
348
+
300
349
  ]
301
350
  },
302
351
  {
303
352
  "slug": "pascals-triangle",
304
353
  "difficulty": 1,
305
354
  "topics": [
355
+
306
356
  ]
307
357
  },
308
358
  {
309
359
  "slug": "say",
310
360
  "difficulty": 1,
311
361
  "topics": [
362
+
312
363
  ]
313
364
  },
314
365
  {
315
366
  "slug": "custom-set",
316
367
  "difficulty": 1,
317
368
  "topics": [
369
+
318
370
  ]
319
371
  },
320
372
  {
321
373
  "slug": "sum-of-multiples",
322
374
  "difficulty": 1,
323
375
  "topics": [
376
+
324
377
  ]
325
378
  },
326
379
  {
327
380
  "slug": "queen-attack",
328
381
  "difficulty": 1,
329
382
  "topics": [
383
+
330
384
  ]
331
385
  },
332
386
  {
333
387
  "slug": "saddle-points",
334
388
  "difficulty": 1,
335
389
  "topics": [
390
+
336
391
  ]
337
392
  },
338
393
  {
339
394
  "slug": "ocr-numbers",
340
395
  "difficulty": 1,
341
396
  "topics": [
397
+
342
398
  ]
343
399
  },
344
400
  {
345
401
  "slug": "meetup",
346
402
  "difficulty": 1,
347
403
  "topics": [
404
+
348
405
  ]
349
406
  },
350
407
  {
351
408
  "slug": "bracket-push",
352
409
  "difficulty": 1,
353
410
  "topics": [
411
+
354
412
  ]
355
413
  },
356
414
  {
357
415
  "slug": "two-bucket",
358
416
  "difficulty": 1,
359
417
  "topics": [
418
+
360
419
  ]
361
420
  },
362
421
  {
363
422
  "slug": "diamond",
364
423
  "difficulty": 1,
365
424
  "topics": [
425
+
366
426
  ]
367
427
  },
368
428
  {
369
429
  "slug": "isogram",
370
430
  "difficulty": 1,
371
431
  "topics": [
432
+
372
433
  ]
373
434
  },
374
435
  {
375
436
  "slug": "all-your-base",
376
437
  "difficulty": 1,
377
438
  "topics": [
439
+
378
440
  ]
379
441
  },
380
- {
442
+ {
381
443
  "slug": "connect",
382
444
  "difficulty": 7,
383
445
  "topics": [
446
+
384
447
  ]
385
448
  }
386
449
  ],
@@ -392,11 +455,6 @@
392
455
  "hexadecimal",
393
456
  "octal"
394
457
  ],
395
- "ignored": [
396
- "node_modules",
397
- "docs",
398
- "img"
399
- ],
400
458
  "foregone": [
401
459
 
402
460
  ]