trackler 2.1.0.55 → 2.2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/fixtures/deprecation-fixtures/problem-specifications/exercises/foo/description.md +0 -0
- data/fixtures/deprecation-fixtures/problem-specifications/exercises/foo/metadata.yml +0 -0
- data/fixtures/deprecation-fixtures/tracks/hints-both/config.json +7 -0
- data/fixtures/deprecation-fixtures/tracks/hints-both/exercises/foo/.meta/hints.md +1 -0
- data/fixtures/deprecation-fixtures/tracks/hints-both/exercises/foo/HINTS.md +1 -0
- data/fixtures/deprecation-fixtures/tracks/hints-old/config.json +7 -0
- data/fixtures/deprecation-fixtures/tracks/hints-old/exercises/foo/HINTS.md +1 -0
- data/fixtures/deprecation-fixtures/tracks/inserts-both/config/exercise-readme-insert.md +1 -0
- data/fixtures/deprecation-fixtures/tracks/inserts-both/config.json +7 -0
- data/fixtures/deprecation-fixtures/tracks/inserts-both/docs/EXERCISE_README_INSERT.md +1 -0
- data/fixtures/deprecation-fixtures/tracks/inserts-both/exercises/foo/.keep +0 -0
- data/fixtures/deprecation-fixtures/tracks/inserts-old/config.json +7 -0
- data/fixtures/deprecation-fixtures/tracks/inserts-old/docs/EXERCISE_README_INSERT.md +1 -0
- data/fixtures/deprecation-fixtures/tracks/inserts-old/exercises/foo/.keep +0 -0
- data/fixtures/tracks/fake/exercises/two/README.md +1 -0
- data/lib/trackler/implementation.rb +11 -3
- data/lib/trackler/track.rb +2 -0
- data/lib/trackler/version.rb +1 -1
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62baf7af4680765a500baffa2c4a38ef0c95e3bc
|
4
|
+
data.tar.gz: 9dd310ae339c9f442f91e265d432aa9f588ad56c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aa96e32e99c1ee254602da3d2aca1bc7fe25338bed444fcc884c3402ea155257c0f01588d66734f5fa315f2d2cdec46c9aba0a458adc436da88ccd0891b54e3
|
7
|
+
data.tar.gz: f52eb36aa07b34e9f88cdf156d64895ab65d16a4d40682d7659b4a19b783e29261bc794f750893413c5bfbbae17654acde82023fa748f7c3322f879243c63896
|
data/CHANGELOG.md
CHANGED
@@ -15,6 +15,14 @@ The changelog will not be updated for content updates.
|
|
15
15
|
## Next Release
|
16
16
|
* **Your contribution here**
|
17
17
|
|
18
|
+
## v2.2.0.0 (2017-07-16)
|
19
|
+
* Use static exercise README if it is present
|
20
|
+
* Move exercise readme insert and exercise hints, handling deprecated locations
|
21
|
+
* Add generic support for orgmode doc files
|
22
|
+
* Rename problems to specifications
|
23
|
+
* Make implementation adhere to problem interface
|
24
|
+
* Suppress blurb if it starts the description
|
25
|
+
|
18
26
|
## v2.1.0.0 (2017-04-21)
|
19
27
|
|
20
28
|
* Add customizable ignore pattern
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
the hints
|
@@ -0,0 +1 @@
|
|
1
|
+
deprecated hints
|
@@ -0,0 +1 @@
|
|
1
|
+
deprecated hints
|
@@ -0,0 +1 @@
|
|
1
|
+
the insert
|
@@ -0,0 +1 @@
|
|
1
|
+
deprecated insert
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
deprecated insert
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
custom readme for 'two'
|
@@ -48,7 +48,7 @@ module Trackler
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def readme
|
51
|
-
@readme ||= assemble_readme
|
51
|
+
@readme ||= static_readme || assemble_readme
|
52
52
|
end
|
53
53
|
|
54
54
|
def git_url
|
@@ -84,6 +84,11 @@ module Trackler
|
|
84
84
|
File.join('exercises', slug)
|
85
85
|
end
|
86
86
|
|
87
|
+
def static_readme
|
88
|
+
path = File.join(implementation_dir, 'README.md')
|
89
|
+
return File.read(path) if File.exist?(path)
|
90
|
+
end
|
91
|
+
|
87
92
|
def assemble_readme
|
88
93
|
<<-README
|
89
94
|
# #{name}
|
@@ -112,8 +117,11 @@ It's possible to submit an incomplete solution so you can see how others have co
|
|
112
117
|
end
|
113
118
|
|
114
119
|
def implementation_hints
|
115
|
-
|
116
|
-
|
120
|
+
[File.join('.meta', 'hints.md'), 'HINTS.md'].each do |filename|
|
121
|
+
path = File.join(implementation_dir, filename)
|
122
|
+
return File.read(path) if File.exist?(path)
|
123
|
+
end
|
124
|
+
""
|
117
125
|
end
|
118
126
|
end
|
119
127
|
end
|
data/lib/trackler/track.rb
CHANGED
data/lib/trackler/version.rb
CHANGED
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.
|
4
|
+
version: 2.2.0.0
|
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-07-
|
11
|
+
date: 2017-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -106,6 +106,20 @@ files:
|
|
106
106
|
- bin/update
|
107
107
|
- bin/verify-configs
|
108
108
|
- bin/verify-metadata
|
109
|
+
- fixtures/deprecation-fixtures/problem-specifications/exercises/foo/description.md
|
110
|
+
- fixtures/deprecation-fixtures/problem-specifications/exercises/foo/metadata.yml
|
111
|
+
- fixtures/deprecation-fixtures/tracks/hints-both/config.json
|
112
|
+
- fixtures/deprecation-fixtures/tracks/hints-both/exercises/foo/.meta/hints.md
|
113
|
+
- fixtures/deprecation-fixtures/tracks/hints-both/exercises/foo/HINTS.md
|
114
|
+
- fixtures/deprecation-fixtures/tracks/hints-old/config.json
|
115
|
+
- fixtures/deprecation-fixtures/tracks/hints-old/exercises/foo/HINTS.md
|
116
|
+
- fixtures/deprecation-fixtures/tracks/inserts-both/config.json
|
117
|
+
- fixtures/deprecation-fixtures/tracks/inserts-both/config/exercise-readme-insert.md
|
118
|
+
- fixtures/deprecation-fixtures/tracks/inserts-both/docs/EXERCISE_README_INSERT.md
|
119
|
+
- fixtures/deprecation-fixtures/tracks/inserts-both/exercises/foo/.keep
|
120
|
+
- fixtures/deprecation-fixtures/tracks/inserts-old/config.json
|
121
|
+
- fixtures/deprecation-fixtures/tracks/inserts-old/docs/EXERCISE_README_INSERT.md
|
122
|
+
- fixtures/deprecation-fixtures/tracks/inserts-old/exercises/foo/.keep
|
109
123
|
- fixtures/problem-specifications/exercises/apple/canonical-data.json
|
110
124
|
- fixtures/problem-specifications/exercises/apple/description.md
|
111
125
|
- fixtures/problem-specifications/exercises/apple/metadata.yml
|
@@ -165,6 +179,7 @@ files:
|
|
165
179
|
- fixtures/tracks/fake/exercises/one/sub/src/stubfile.ext
|
166
180
|
- fixtures/tracks/fake/exercises/three/example.ext
|
167
181
|
- fixtures/tracks/fake/exercises/three/three_test.ext
|
182
|
+
- fixtures/tracks/fake/exercises/two/README.md
|
168
183
|
- fixtures/tracks/fake/exercises/two/example.ext
|
169
184
|
- fixtures/tracks/fake/exercises/two/two_test.ext
|
170
185
|
- fixtures/tracks/fake/img/icon.png
|