trackler 2.1.0.39 → 2.1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/trackler/track.rb +1 -5
- data/lib/trackler/version.rb +1 -1
- data/tracks/clojure/exercises/flatten-array/src/example.clj +6 -13
- data/tracks/factor/config.json +9 -0
- data/tracks/factor/exercises/isogram/isogram-example.factor +5 -0
- data/tracks/factor/exercises/isogram/isogram-tests.factor +31 -0
- data/tracks/perl5/README.md +1 -0
- data/tracks/perl5/cpanfile +5 -4
- data/tracks/typescript/README.md +1 -1
- metadata +4 -6
- data/fixtures/tracks/animal/SETUP.md +0 -1
- data/fixtures/tracks/animal/exercises/TRACK_HINTS.md +0 -1
- data/fixtures/tracks/fruit/SETUP.md +0 -1
- data/fixtures/tracks/jewels/exercises/TRACK_HINTS.md +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb7b55ba97eeed894dce4891877a33184b8ff108
|
|
4
|
+
data.tar.gz: 7e5d39a933d5f377fca1d19b0211815877a46df8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fab2f459cf90bc7993f1f86a95b33093b2affb33bf0751d58a9004bf34e2fa6f9bfffbd572cb6a5c422178ab35456fef648affeed00a03524f926f7b66547826
|
|
7
|
+
data.tar.gz: 2745237c7192a89c5e98515770eadf7387bba1c3d302f11d35b3e1f6db8e3574fac00f871b4f032d72f1b6d9a7a32b12477b2df432374f5c456d61e2a0390f00
|
data/lib/trackler/track.rb
CHANGED
|
@@ -129,11 +129,7 @@ module Trackler
|
|
|
129
129
|
private
|
|
130
130
|
|
|
131
131
|
def track_hints_filename
|
|
132
|
-
|
|
133
|
-
deprecated = [File.join('exercises', 'TRACK_HINTS.md'), 'SETUP.md']
|
|
134
|
-
|
|
135
|
-
filepaths = (current + deprecated).map { |name| dir.join(name) }
|
|
136
|
-
filepaths.find(-> { '' }) { |filepath| File.exist? filepath }
|
|
132
|
+
File.join(dir, 'docs', 'EXERCISE_README_INSERT.md')
|
|
137
133
|
end
|
|
138
134
|
|
|
139
135
|
def active_slugs
|
data/lib/trackler/version.rb
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
(ns flatten-array
|
|
2
2
|
(:refer-clojure :exclude [flatten]))
|
|
3
3
|
|
|
4
|
-
(defn flatten
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
(if (or elem remaining)
|
|
11
|
-
(if (coll? elem)
|
|
12
|
-
(if (empty? elem)
|
|
13
|
-
(recur results remaining)
|
|
14
|
-
(recur results (conj remaining (rest elem) (first elem))))
|
|
15
|
-
(recur (conj results elem) remaining))
|
|
16
|
-
(reverse (remove nil? results)))))
|
|
4
|
+
(defn flatten [s]
|
|
5
|
+
(->> s
|
|
6
|
+
(tree-seq sequential? seq)
|
|
7
|
+
rest
|
|
8
|
+
(remove sequential?)
|
|
9
|
+
(remove nil?)))
|
data/tracks/factor/config.json
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
USING: io isogram tools.test ;
|
|
2
|
+
IN: isogram.tests
|
|
3
|
+
|
|
4
|
+
"Isogram:" print
|
|
5
|
+
|
|
6
|
+
"empty string" print
|
|
7
|
+
{ t } [ "" isogram? ] unit-test
|
|
8
|
+
|
|
9
|
+
"isogram with only lower case characters" print
|
|
10
|
+
{ t } [ "isogram" isogram? ] unit-test
|
|
11
|
+
|
|
12
|
+
"word with one duplicated character" print
|
|
13
|
+
{ f } [ "eleven" isogram? ] unit-test
|
|
14
|
+
|
|
15
|
+
"longest reported english isogram" print
|
|
16
|
+
{ t } [ "subdermatoglyphic" isogram? ] unit-test
|
|
17
|
+
|
|
18
|
+
"word with duplicated character in mixed case" print
|
|
19
|
+
{ f } [ "Alphabet" isogram? ] unit-test
|
|
20
|
+
|
|
21
|
+
"hypothetical isogrammic word with hyphen" print
|
|
22
|
+
{ t } [ "thumbscrew-japingly" isogram? ] unit-test
|
|
23
|
+
|
|
24
|
+
"isogram with duplicated non letter character" print
|
|
25
|
+
{ t } [ "Hjelmqvist-Gryb-Zock-Pfund-Wax" isogram? ] unit-test
|
|
26
|
+
|
|
27
|
+
"made-up name that is an isogram" print
|
|
28
|
+
{ t } [ "Emily Jung Schwartzkopf" isogram? ] unit-test
|
|
29
|
+
|
|
30
|
+
"duplicated character in the middle" print
|
|
31
|
+
{ f } [ "accentor" isogram? ] unit-test
|
data/tracks/perl5/README.md
CHANGED
data/tracks/perl5/cpanfile
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
requires 'JSON'
|
|
2
|
-
requires 'DateTime'
|
|
3
|
-
requires 'Test::Exception'
|
|
4
|
-
requires 'List::MoreUtils'
|
|
1
|
+
requires 'JSON';
|
|
2
|
+
requires 'DateTime';
|
|
3
|
+
requires 'Test::Exception';
|
|
4
|
+
requires 'List::MoreUtils';
|
|
5
|
+
requires 'Path::Tiny';
|
data/tracks/typescript/README.md
CHANGED
|
@@ -34,6 +34,6 @@ There are some utility methods in the `Makefile` to help with development. The b
|
|
|
34
34
|
|
|
35
35
|
## Contributing Guide
|
|
36
36
|
|
|
37
|
-
Please see the [contributing guide](https://github.com/exercism/x-
|
|
37
|
+
Please see the [contributing guide](https://github.com/exercism/x-common/blob/master/CONTRIBUTING.md)
|
|
38
38
|
|
|
39
39
|
|
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.1.0.
|
|
4
|
+
version: 2.1.0.40
|
|
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-06-
|
|
11
|
+
date: 2017-06-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubyzip
|
|
@@ -465,9 +465,7 @@ files:
|
|
|
465
465
|
- fixtures/common/exercises/two/description.md
|
|
466
466
|
- fixtures/common/exercises/two/metadata.yml
|
|
467
467
|
- fixtures/tracks/animal/.meta/include-in-fish.txt
|
|
468
|
-
- fixtures/tracks/animal/SETUP.md
|
|
469
468
|
- fixtures/tracks/animal/config.json
|
|
470
|
-
- fixtures/tracks/animal/exercises/TRACK_HINTS.md
|
|
471
469
|
- fixtures/tracks/animal/exercises/dog/a_dog.animal
|
|
472
470
|
- fixtures/tracks/animal/exercises/dog/a_dog_2.animal
|
|
473
471
|
- fixtures/tracks/animal/exercises/dog/a_test_example_for.animal
|
|
@@ -500,7 +498,6 @@ files:
|
|
|
500
498
|
- fixtures/tracks/fake/exercises/two/example.ext
|
|
501
499
|
- fixtures/tracks/fake/exercises/two/two_test.ext
|
|
502
500
|
- fixtures/tracks/fake/img/icon.png
|
|
503
|
-
- fixtures/tracks/fruit/SETUP.md
|
|
504
501
|
- fixtures/tracks/fruit/config.json
|
|
505
502
|
- fixtures/tracks/fruit/docs/ABOUT.md
|
|
506
503
|
- fixtures/tracks/fruit/exercises/apple/apple.ext
|
|
@@ -519,7 +516,6 @@ files:
|
|
|
519
516
|
- fixtures/tracks/fruit/exercises/imbe/imbe.txt
|
|
520
517
|
- fixtures/tracks/fruit/img/icon.svg
|
|
521
518
|
- fixtures/tracks/jewels/config.json
|
|
522
|
-
- fixtures/tracks/jewels/exercises/TRACK_HINTS.md
|
|
523
519
|
- fixtures/tracks/jewels/exercises/hello-world/example.ext
|
|
524
520
|
- fixtures/tracks/jewels/exercises/hello-world/hello_world_test.ext
|
|
525
521
|
- fixtures/tracks/shoes/config.json
|
|
@@ -3171,6 +3167,8 @@ files:
|
|
|
3171
3167
|
- tracks/factor/exercises/hello-world/hello-world-example.factor
|
|
3172
3168
|
- tracks/factor/exercises/hello-world/hello-world-tests.factor
|
|
3173
3169
|
- tracks/factor/exercises/hello-world/hello-world.factor
|
|
3170
|
+
- tracks/factor/exercises/isogram/isogram-example.factor
|
|
3171
|
+
- tracks/factor/exercises/isogram/isogram-tests.factor
|
|
3174
3172
|
- tracks/factor/exercises/leap/leap-example.factor
|
|
3175
3173
|
- tracks/factor/exercises/leap/leap-tests.factor
|
|
3176
3174
|
- tracks/factor/exercises/two-fer/two-fer-example.factor
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
This is the content of the setup.md file, which will be overwritten when track_hints.md exists.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
This is the content of the track hints file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
The SETUP.md file is deprecated, and docs/EXERCISE_README_INSERT.md should be used.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
This is the content of the track hints file
|