trackler 2.2.1.41 → 2.2.1.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +0 -3
- data/lib/trackler/version.rb +1 -1
- data/problem-specifications/exercises/change/metadata.yml +0 -3
- data/tracks/c/exercises/allergies/src/allergies.h +12 -12
- data/tracks/c/exercises/allergies/src/example.c +4 -4
- data/tracks/c/exercises/allergies/src/example.h +14 -14
- data/tracks/c/exercises/allergies/test/test_allergies.c +45 -45
- data/tracks/cfml/config.json +139 -193
- data/tracks/cfml/config/maintainers.json +11 -11
- data/tracks/csharp/exercises/etl/Etl.cs +1 -1
- data/tracks/csharp/exercises/etl/EtlTest.cs +102 -0
- data/tracks/csharp/exercises/etl/Example.cs +1 -1
- data/tracks/csharp/exercises/pascals-triangle/Example.cs +10 -1
- data/tracks/csharp/exercises/pascals-triangle/PascalsTriangle.cs +1 -0
- data/tracks/csharp/exercises/pascals-triangle/PascalsTriangleTest.cs +17 -50
- data/tracks/csharp/exercises/saddle-points/SaddlePointsTest.cs +75 -0
- data/tracks/csharp/generators/Exercises/Etl.cs +61 -0
- data/tracks/csharp/generators/Exercises/PascalsTriangle.cs +28 -0
- data/tracks/csharp/generators/Exercises/SaddlePoints.cs +50 -0
- data/tracks/csharp/generators/Output/ValueFormatter.cs +29 -0
- data/tracks/java/config.json +40 -5
- data/tracks/java/exercises/triangle/.meta/src/reference/java/Triangle.java +11 -10
- data/tracks/java/exercises/triangle/src/main/java/Triangle.java +9 -1
- data/tracks/java/exercises/triangle/src/test/java/TriangleTest.java +12 -12
- data/tracks/python/exercises/phone-number/phone_number.py +1 -1
- data/tracks/python/exercises/rna-transcription/rna_transcription.py +1 -1
- data/tracks/python/exercises/run-length-encoding/run_length_encoding.py +2 -2
- data/tracks/python/exercises/saddle-points/saddle_points.py +1 -1
- data/tracks/rust/exercises/etl/README.md +1 -1
- data/tracks/rust/exercises/ocr-numbers/README.md +1 -1
- data/tracks/rust/exercises/pascals-triangle/README.md +1 -1
- data/tracks/rust/exercises/rna-transcription/README.md +1 -1
- data/tracks/scala/exercises/meetup/src/test/scala/MeetupTest.scala +118 -93
- data/tracks/scala/testgen/src/main/scala/MeetupTestGenerator.scala +48 -0
- data/tracks/scala/testgen/src/main/scala/testgen/CanonicalDataParser.scala +1 -1
- data/tracks/typescript/config.json +13 -0
- data/tracks/typescript/exercises/bob/bob.ts +7 -0
- data/tracks/typescript/exercises/hello-world/hello-world.ts +7 -0
- data/tracks/typescript/exercises/leap/leap.ts +5 -0
- data/tracks/typescript/exercises/pangram/pangram.ts +11 -0
- data/tracks/typescript/exercises/prime-factors/README.md +73 -0
- data/tracks/typescript/exercises/prime-factors/package.json +36 -0
- data/tracks/typescript/exercises/prime-factors/prime-factors.example.ts +14 -0
- data/tracks/typescript/exercises/prime-factors/prime-factors.test.ts +25 -0
- data/tracks/{coldfusion/exercises/acronym/.meta/HINTS.md → typescript/exercises/prime-factors/prime-factors.ts} +0 -0
- data/tracks/typescript/exercises/prime-factors/tsconfig.json +22 -0
- data/tracks/typescript/exercises/prime-factors/tslint.json +127 -0
- data/tracks/typescript/exercises/prime-factors/yarn.lock +2305 -0
- data/tracks/typescript/exercises/rna-transcription/rna-transcription.ts +7 -0
- metadata +16 -242
- data/tracks/coldfusion/.gitignore +0 -5
- data/tracks/coldfusion/.travis.yml +0 -18
- data/tracks/coldfusion/CONTRIBUTING.md +0 -10
- data/tracks/coldfusion/LICENSE +0 -21
- data/tracks/coldfusion/README.md +0 -92
- data/tracks/coldfusion/bin/fetch-configlet +0 -32
- data/tracks/coldfusion/config.json +0 -223
- data/tracks/coldfusion/config/exercise_readme.go.tmpl +0 -16
- data/tracks/coldfusion/config/maintainers.json +0 -13
- data/tracks/coldfusion/docs/ABOUT.md +0 -10
- data/tracks/coldfusion/docs/EXERCISE_README_INSERT.md +0 -15
- data/tracks/coldfusion/docs/INSTALLATION.md +0 -35
- data/tracks/coldfusion/docs/LEARNING.md +0 -37
- data/tracks/coldfusion/docs/RESOURCES.md +0 -29
- data/tracks/coldfusion/docs/SNIPPET.txt +0 -8
- data/tracks/coldfusion/docs/TESTS.md +0 -13
- data/tracks/coldfusion/exercises/acronym/Acronym.cfc +0 -13
- data/tracks/coldfusion/exercises/acronym/AcronymTest.cfc +0 -43
- data/tracks/coldfusion/exercises/acronym/Solution.cfc +0 -22
- data/tracks/coldfusion/exercises/acronym/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/acronym/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/acronym/box.json +0 -8
- data/tracks/coldfusion/exercises/acronym/index.cfm +0 -37
- data/tracks/coldfusion/exercises/atbash-cipher/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/atbash-cipher/AtbashCipher.cfc +0 -14
- data/tracks/coldfusion/exercises/atbash-cipher/AtbashCipherTest.cfc +0 -71
- data/tracks/coldfusion/exercises/atbash-cipher/Solution.cfc +0 -56
- data/tracks/coldfusion/exercises/atbash-cipher/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/atbash-cipher/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/atbash-cipher/box.json +0 -8
- data/tracks/coldfusion/exercises/atbash-cipher/index.cfm +0 -37
- data/tracks/coldfusion/exercises/bob/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/bob/Bob.cfc +0 -13
- data/tracks/coldfusion/exercises/bob/BobTest.cfc +0 -115
- data/tracks/coldfusion/exercises/bob/Solution.cfc +0 -27
- data/tracks/coldfusion/exercises/bob/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/bob/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/bob/box.json +0 -8
- data/tracks/coldfusion/exercises/bob/index.cfm +0 -37
- data/tracks/coldfusion/exercises/diamond/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/diamond/Diamond.cfc +0 -13
- data/tracks/coldfusion/exercises/diamond/DiamondTest.cfc +0 -35
- data/tracks/coldfusion/exercises/diamond/Solution.cfc +0 -35
- data/tracks/coldfusion/exercises/diamond/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/diamond/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/diamond/box.json +0 -8
- data/tracks/coldfusion/exercises/diamond/index.cfm +0 -37
- data/tracks/coldfusion/exercises/difference-of-squares/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/difference-of-squares/DifferenceOfSquares.cfc +0 -18
- data/tracks/coldfusion/exercises/difference-of-squares/DifferenceOfSquaresTest.cfc +0 -63
- data/tracks/coldfusion/exercises/difference-of-squares/Solution.cfc +0 -28
- data/tracks/coldfusion/exercises/difference-of-squares/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/difference-of-squares/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/difference-of-squares/box.json +0 -8
- data/tracks/coldfusion/exercises/difference-of-squares/index.cfm +0 -37
- data/tracks/coldfusion/exercises/flatten-array/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/flatten-array/FlattenArray.cfc +0 -13
- data/tracks/coldfusion/exercises/flatten-array/FlattenArrayTest.cfc +0 -42
- data/tracks/coldfusion/exercises/flatten-array/Solution.cfc +0 -26
- data/tracks/coldfusion/exercises/flatten-array/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/flatten-array/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/flatten-array/box.json +0 -8
- data/tracks/coldfusion/exercises/flatten-array/index.cfm +0 -37
- data/tracks/coldfusion/exercises/gigasecond/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/gigasecond/Gigasecond.cfc +0 -13
- data/tracks/coldfusion/exercises/gigasecond/GigasecondTest.cfc +0 -39
- data/tracks/coldfusion/exercises/gigasecond/Solution.cfc +0 -16
- data/tracks/coldfusion/exercises/gigasecond/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/gigasecond/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/gigasecond/box.json +0 -8
- data/tracks/coldfusion/exercises/gigasecond/index.cfm +0 -37
- data/tracks/coldfusion/exercises/grains/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/grains/Grains.cfc +0 -14
- data/tracks/coldfusion/exercises/grains/GrainsTest.cfc +0 -63
- data/tracks/coldfusion/exercises/grains/Solution.cfc +0 -22
- data/tracks/coldfusion/exercises/grains/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/grains/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/grains/box.json +0 -8
- data/tracks/coldfusion/exercises/grains/index.cfm +0 -37
- data/tracks/coldfusion/exercises/hamming/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/hamming/Hamming.cfc +0 -13
- data/tracks/coldfusion/exercises/hamming/HammingTest.cfc +0 -75
- data/tracks/coldfusion/exercises/hamming/Solution.cfc +0 -25
- data/tracks/coldfusion/exercises/hamming/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/hamming/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/hamming/box.json +0 -8
- data/tracks/coldfusion/exercises/hamming/index.cfm +0 -37
- data/tracks/coldfusion/exercises/hello-world/HelloWorld.cfc +0 -13
- data/tracks/coldfusion/exercises/hello-world/HelloWorldTest.cfc +0 -18
- data/tracks/coldfusion/exercises/hello-world/Solution.cfc +0 -13
- data/tracks/coldfusion/exercises/hello-world/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/hello-world/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/hello-world/box.json +0 -8
- data/tracks/coldfusion/exercises/hello-world/index.cfm +0 -37
- data/tracks/coldfusion/exercises/isogram/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/isogram/Isogram.cfc +0 -13
- data/tracks/coldfusion/exercises/isogram/IsogramTest.cfc +0 -55
- data/tracks/coldfusion/exercises/isogram/Solution.cfc +0 -23
- data/tracks/coldfusion/exercises/isogram/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/isogram/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/isogram/box.json +0 -8
- data/tracks/coldfusion/exercises/isogram/index.cfm +0 -37
- data/tracks/coldfusion/exercises/largest-series-product/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/largest-series-product/LargestSeriesProduct.cfc +0 -13
- data/tracks/coldfusion/exercises/largest-series-product/LargestSeriesProductTest.cfc +0 -75
- data/tracks/coldfusion/exercises/largest-series-product/Solution.cfc +0 -41
- data/tracks/coldfusion/exercises/largest-series-product/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/largest-series-product/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/largest-series-product/box.json +0 -8
- data/tracks/coldfusion/exercises/largest-series-product/index.cfm +0 -37
- data/tracks/coldfusion/exercises/leap/Leap.cfc +0 -15
- data/tracks/coldfusion/exercises/leap/LeapTest.cfc +0 -39
- data/tracks/coldfusion/exercises/leap/README.md +0 -33
- data/tracks/coldfusion/exercises/leap/Solution.cfc +0 -19
- data/tracks/coldfusion/exercises/leap/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/leap/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/leap/box.json +0 -8
- data/tracks/coldfusion/exercises/leap/index.cfm +0 -37
- data/tracks/coldfusion/exercises/luhn/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/luhn/Luhn.cfc +0 -13
- data/tracks/coldfusion/exercises/luhn/LuhnTest.cfc +0 -67
- data/tracks/coldfusion/exercises/luhn/Solution.cfc +0 -38
- data/tracks/coldfusion/exercises/luhn/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/luhn/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/luhn/box.json +0 -8
- data/tracks/coldfusion/exercises/luhn/index.cfm +0 -37
- data/tracks/coldfusion/exercises/nth-prime/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/nth-prime/NthPrime.cfc +0 -13
- data/tracks/coldfusion/exercises/nth-prime/NthPrimeTest.cfc +0 -35
- data/tracks/coldfusion/exercises/nth-prime/Solution.cfc +0 -33
- data/tracks/coldfusion/exercises/nth-prime/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/nth-prime/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/nth-prime/box.json +0 -8
- data/tracks/coldfusion/exercises/nth-prime/index.cfm +0 -37
- data/tracks/coldfusion/exercises/pangram/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/pangram/Pangram.cfc +0 -13
- data/tracks/coldfusion/exercises/pangram/PangramTest.cfc +0 -55
- data/tracks/coldfusion/exercises/pangram/Solution.cfc +0 -21
- data/tracks/coldfusion/exercises/pangram/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/pangram/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/pangram/box.json +0 -8
- data/tracks/coldfusion/exercises/pangram/index.cfm +0 -37
- data/tracks/coldfusion/exercises/pig-latin/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/pig-latin/PigLatin.cfc +0 -13
- data/tracks/coldfusion/exercises/pig-latin/PigLatinTest.cfc +0 -115
- data/tracks/coldfusion/exercises/pig-latin/Solution.cfc +0 -30
- data/tracks/coldfusion/exercises/pig-latin/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/pig-latin/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/pig-latin/box.json +0 -8
- data/tracks/coldfusion/exercises/pig-latin/index.cfm +0 -37
- data/tracks/coldfusion/exercises/raindrops/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/raindrops/Raindrops.cfc +0 -13
- data/tracks/coldfusion/exercises/raindrops/RaindropsTest.cfc +0 -87
- data/tracks/coldfusion/exercises/raindrops/Solution.cfc +0 -33
- data/tracks/coldfusion/exercises/raindrops/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/raindrops/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/raindrops/box.json +0 -8
- data/tracks/coldfusion/exercises/raindrops/index.cfm +0 -37
- data/tracks/coldfusion/exercises/rna-transcription/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/rna-transcription/RnaTranscription.cfc +0 -13
- data/tracks/coldfusion/exercises/rna-transcription/RnaTranscriptionTest.cfc +0 -47
- data/tracks/coldfusion/exercises/rna-transcription/Solution.cfc +0 -35
- data/tracks/coldfusion/exercises/rna-transcription/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/rna-transcription/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/rna-transcription/box.json +0 -8
- data/tracks/coldfusion/exercises/rna-transcription/index.cfm +0 -37
- data/tracks/coldfusion/exercises/saddle-points/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/saddle-points/SaddlePoints.cfc +0 -13
- data/tracks/coldfusion/exercises/saddle-points/SaddlePointsTest.cfc +0 -35
- data/tracks/coldfusion/exercises/saddle-points/Solution.cfc +0 -59
- data/tracks/coldfusion/exercises/saddle-points/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/saddle-points/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/saddle-points/box.json +0 -8
- data/tracks/coldfusion/exercises/saddle-points/index.cfm +0 -37
- data/tracks/coldfusion/exercises/scrabble-score/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/scrabble-score/ScrabbleScore.cfc +0 -13
- data/tracks/coldfusion/exercises/scrabble-score/ScrabbleScoreTest.cfc +0 -59
- data/tracks/coldfusion/exercises/scrabble-score/Solution.cfc +0 -50
- data/tracks/coldfusion/exercises/scrabble-score/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/scrabble-score/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/scrabble-score/box.json +0 -8
- data/tracks/coldfusion/exercises/scrabble-score/index.cfm +0 -37
- data/tracks/coldfusion/exercises/secret-handshake/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/secret-handshake/SecretHandshake.cfc +0 -13
- data/tracks/coldfusion/exercises/secret-handshake/SecretHandshakeTest.cfc +0 -63
- data/tracks/coldfusion/exercises/secret-handshake/Solution.cfc +0 -31
- data/tracks/coldfusion/exercises/secret-handshake/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/secret-handshake/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/secret-handshake/box.json +0 -8
- data/tracks/coldfusion/exercises/secret-handshake/index.cfm +0 -37
- data/tracks/coldfusion/exercises/space-age/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/space-age/Solution.cfc +0 -28
- data/tracks/coldfusion/exercises/space-age/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/space-age/SpaceAge.cfc +0 -13
- data/tracks/coldfusion/exercises/space-age/SpaceAgeTest.cfc +0 -47
- data/tracks/coldfusion/exercises/space-age/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/space-age/box.json +0 -8
- data/tracks/coldfusion/exercises/space-age/index.cfm +0 -37
- data/tracks/coldfusion/exercises/sum-of-multiples/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/sum-of-multiples/Solution.cfc +0 -27
- data/tracks/coldfusion/exercises/sum-of-multiples/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/sum-of-multiples/SumOfMultiples.cfc +0 -13
- data/tracks/coldfusion/exercises/sum-of-multiples/SumOfMultiplesTest.cfc +0 -63
- data/tracks/coldfusion/exercises/sum-of-multiples/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/sum-of-multiples/box.json +0 -8
- data/tracks/coldfusion/exercises/sum-of-multiples/index.cfm +0 -37
- data/tracks/coldfusion/exercises/triangle/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/triangle/Solution.cfc +0 -53
- data/tracks/coldfusion/exercises/triangle/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/triangle/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/triangle/Triangle.cfc +0 -18
- data/tracks/coldfusion/exercises/triangle/TriangleTest.cfc +0 -95
- data/tracks/coldfusion/exercises/triangle/box.json +0 -8
- data/tracks/coldfusion/exercises/triangle/index.cfm +0 -37
- data/tracks/coldfusion/exercises/word-count/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/exercises/word-count/Solution.cfc +0 -22
- data/tracks/coldfusion/exercises/word-count/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/exercises/word-count/TestRunner.cfc +0 -103
- data/tracks/coldfusion/exercises/word-count/WordCount.cfc +0 -13
- data/tracks/coldfusion/exercises/word-count/WordCountTest.cfc +0 -55
- data/tracks/coldfusion/exercises/word-count/box.json +0 -8
- data/tracks/coldfusion/exercises/word-count/index.cfm +0 -37
- data/tracks/coldfusion/img/icon.png +0 -0
- data/tracks/coldfusion/tasks/GenerateTests.cfc +0 -179
- data/tracks/coldfusion/tasks/ScaffoldExercise.cfc +0 -85
- data/tracks/coldfusion/tasks/TestAllSolutions.cfc +0 -24
- data/tracks/coldfusion/tasks/exercise_template/.meta/HINTS.md +0 -0
- data/tracks/coldfusion/tasks/exercise_template/@@name@@.cfc +0 -13
- data/tracks/coldfusion/tasks/exercise_template/@@name@@Test.cfc +0 -15
- data/tracks/coldfusion/tasks/exercise_template/Solution.cfc +0 -6
- data/tracks/coldfusion/tasks/exercise_template/SolutionTest.cfc +0 -7
- data/tracks/coldfusion/tasks/exercise_template/TestRunner.cfc +0 -103
- data/tracks/coldfusion/tasks/exercise_template/box.json +0 -8
- data/tracks/coldfusion/tasks/exercise_template/index.cfm +0 -37
- data/tracks/csharp/exercises/etl/ETLTest.cs +0 -51
- data/tracks/csharp/exercises/saddle-points/SaddlePointTest.cs +0 -68
- data/tracks/java/exercises/triangle/.meta/src/reference/java/TriangleKind.java +0 -5
- data/tracks/java/exercises/triangle/src/main/java/TriangleKind.java +0 -5
@@ -1,32 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
LATEST=https://github.com/exercism/configlet/releases/latest
|
4
|
-
|
5
|
-
OS=$(
|
6
|
-
case $(uname) in
|
7
|
-
(Darwin*)
|
8
|
-
echo "mac";;
|
9
|
-
(Linux*)
|
10
|
-
echo "linux";;
|
11
|
-
(Windows*)
|
12
|
-
echo "windows";;
|
13
|
-
(*)
|
14
|
-
echo "linux";;
|
15
|
-
esac)
|
16
|
-
|
17
|
-
ARCH=$(
|
18
|
-
case $(uname -m) in
|
19
|
-
(*64*)
|
20
|
-
echo 64bit;;
|
21
|
-
(*686*)
|
22
|
-
echo 32bit;;
|
23
|
-
(*386*)
|
24
|
-
echo 32bit;;
|
25
|
-
(*)
|
26
|
-
echo 64bit;;
|
27
|
-
esac)
|
28
|
-
|
29
|
-
VERSION="$(curl --head --silent $LATEST | awk -v FS=/ '/Location:/{print $NF}' | tr -d '\r')"
|
30
|
-
URL=https://github.com/exercism/configlet/releases/download/$VERSION/configlet-$OS-${ARCH}.tgz
|
31
|
-
|
32
|
-
curl -s --location $URL | tar xz -C bin/
|
@@ -1,223 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"language":"ColdFusion",
|
3
|
-
"blurb":"ColdFusion (CFML) is an open source and commercial (JIT) compiled dynamic and loosely typed JVM scripting language that embodies classic OO, and functional programming, making it easy to learn, fun to use. CFML brings the power and scalability of the J2EE ecosystem but without the boilerplate of Java.",
|
4
|
-
"active":true,
|
5
|
-
"test_pattern":"Test.cfc",
|
6
|
-
"solution_pattern":"Solution.cfc",
|
7
|
-
"ignore_pattern":"Solution",
|
8
|
-
"foregone":[
|
9
|
-
|
10
|
-
],
|
11
|
-
"exercises":[
|
12
|
-
{
|
13
|
-
"uuid":"ab04a390-0969-4a17-8081-c852b23ed88c",
|
14
|
-
"difficulty":1,
|
15
|
-
"slug":"hello-world",
|
16
|
-
"topics":[
|
17
|
-
|
18
|
-
]
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"uuid":"03a98e5b-03b7-45e5-a580-611ef5dab4e5",
|
22
|
-
"slug":"leap",
|
23
|
-
"core":false,
|
24
|
-
"unlocked_by":null,
|
25
|
-
"difficulty":1,
|
26
|
-
"topics":[
|
27
|
-
|
28
|
-
]
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"difficulty":1,
|
32
|
-
"slug":"raindrops",
|
33
|
-
"uuid":"9273C0A7-CB7E-4F3F-8993-F1621CE1F700",
|
34
|
-
"topics":[
|
35
|
-
|
36
|
-
]
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"difficulty":1,
|
40
|
-
"slug":"scrabble-score",
|
41
|
-
"uuid":"1065F8DF-E6C6-4473-A633-4FA4B49A5314",
|
42
|
-
"topics":[
|
43
|
-
|
44
|
-
]
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"difficulty":1,
|
48
|
-
"slug":"difference-of-squares",
|
49
|
-
"uuid":"4E91AD44-8F3D-40DC-899E-253C91B134F6",
|
50
|
-
"topics":[
|
51
|
-
|
52
|
-
]
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"difficulty":1,
|
56
|
-
"slug":"secret-handshake",
|
57
|
-
"uuid":"0AC79782-B370-4954-8455-6300A734E1B8",
|
58
|
-
"topics":[
|
59
|
-
|
60
|
-
]
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"difficulty":1,
|
64
|
-
"slug":"space-age",
|
65
|
-
"uuid":"0B14F23A-DAD4-4965-8ABD-8A107DFD6C00",
|
66
|
-
"topics":[
|
67
|
-
|
68
|
-
]
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"difficulty":1,
|
72
|
-
"slug":"acronym",
|
73
|
-
"uuid":"9894F2F7-2DBE-4001-885B-FD2C029C6731",
|
74
|
-
"topics":[
|
75
|
-
|
76
|
-
]
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"difficulty":1,
|
80
|
-
"slug":"rna-transcription",
|
81
|
-
"uuid":"11C48AFF-4A54-4B3C-AF5E-53048D4BA98B",
|
82
|
-
"topics":[
|
83
|
-
|
84
|
-
]
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"difficulty":1,
|
88
|
-
"slug":"pangram",
|
89
|
-
"uuid":"113A2FF7-E72E-49DD-A2CF-0EB25894707D",
|
90
|
-
"topics":[
|
91
|
-
|
92
|
-
]
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"difficulty":1,
|
96
|
-
"slug":"hamming",
|
97
|
-
"uuid":"4063A554-424C-4173-81EE-FEAC7CC51E8A",
|
98
|
-
"topics":[
|
99
|
-
|
100
|
-
]
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"difficulty":1,
|
104
|
-
"slug":"gigasecond",
|
105
|
-
"uuid":"00B82E7F-804C-4401-BB7F-0565DEA02567",
|
106
|
-
"topics":[
|
107
|
-
|
108
|
-
]
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"difficulty":1,
|
112
|
-
"slug":"sum-of-multiples",
|
113
|
-
"uuid":"C6F38ACB-A6BD-41EE-A2F8-A9680B3F61D2",
|
114
|
-
"topics":[
|
115
|
-
|
116
|
-
]
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"difficulty":1,
|
120
|
-
"slug":"luhn",
|
121
|
-
"uuid":"685ADB7B-1DC9-4409-993D-51034DF6F744",
|
122
|
-
"topics":[
|
123
|
-
|
124
|
-
]
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"difficulty":1,
|
128
|
-
"slug":"triangle",
|
129
|
-
"uuid":"8D0FA71A-3314-432E-BF1F-E6A5F823FC36",
|
130
|
-
"topics":[
|
131
|
-
|
132
|
-
]
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"difficulty":1,
|
136
|
-
"slug":"largest-series-product",
|
137
|
-
"uuid":"A35C9BE1-F26A-40C8-8C05-99C33C552E6F",
|
138
|
-
"topics":[
|
139
|
-
|
140
|
-
]
|
141
|
-
},
|
142
|
-
{
|
143
|
-
"difficulty":1,
|
144
|
-
"slug":"grains",
|
145
|
-
"uuid":"E25686EE-B888-4533-86C2-5A5D96F5270E",
|
146
|
-
"topics":[
|
147
|
-
|
148
|
-
]
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"difficulty":1,
|
152
|
-
"slug":"atbash-cipher",
|
153
|
-
"uuid":"C35391BD-900F-4756-8DFE-A96EA04250F8",
|
154
|
-
"topics":[
|
155
|
-
|
156
|
-
]
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"difficulty":1,
|
160
|
-
"slug":"nth-prime",
|
161
|
-
"uuid":"15151E41-195C-40DD-B296-C2C19B38CAEA",
|
162
|
-
"topics":[
|
163
|
-
|
164
|
-
]
|
165
|
-
},
|
166
|
-
{
|
167
|
-
"difficulty":1,
|
168
|
-
"slug":"pig-latin",
|
169
|
-
"uuid":"3FDDA0E3-AE90-4834-B6DC-A5E367A5A029",
|
170
|
-
"topics":[
|
171
|
-
|
172
|
-
]
|
173
|
-
},
|
174
|
-
{
|
175
|
-
"difficulty":1,
|
176
|
-
"slug":"flatten-array",
|
177
|
-
"uuid":"B0E72A09-49E2-4973-BFF4-88C678F4BE55",
|
178
|
-
"topics":[
|
179
|
-
|
180
|
-
]
|
181
|
-
},
|
182
|
-
{
|
183
|
-
"difficulty":1,
|
184
|
-
"slug":"saddle-points",
|
185
|
-
"uuid":"063C4BB9-3280-4C69-B164-237732AE00EF",
|
186
|
-
"topics":[
|
187
|
-
|
188
|
-
]
|
189
|
-
},
|
190
|
-
{
|
191
|
-
"difficulty":1,
|
192
|
-
"slug":"diamond",
|
193
|
-
"uuid":"DECA4C79-DA5D-43A8-90B8-3A5BE73EAFF5",
|
194
|
-
"topics":[
|
195
|
-
|
196
|
-
]
|
197
|
-
},
|
198
|
-
{
|
199
|
-
"difficulty":1,
|
200
|
-
"slug":"isogram",
|
201
|
-
"uuid":"FC8922A3-E29D-451D-9947-A2781C0FF787",
|
202
|
-
"topics":[
|
203
|
-
|
204
|
-
]
|
205
|
-
},
|
206
|
-
{
|
207
|
-
"difficulty":1,
|
208
|
-
"slug":"bob",
|
209
|
-
"uuid":"12BBECF4-93EB-40F2-AC13-8CF28B550F0A",
|
210
|
-
"topics":[
|
211
|
-
|
212
|
-
]
|
213
|
-
},
|
214
|
-
{
|
215
|
-
"difficulty":1,
|
216
|
-
"slug":"word-count",
|
217
|
-
"uuid":"C61E97BE-6C66-4F1F-87ED-D21C4ED2A8E2",
|
218
|
-
"topics":[
|
219
|
-
|
220
|
-
]
|
221
|
-
}
|
222
|
-
]
|
223
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
# {{ .Spec.Name }}
|
2
|
-
|
3
|
-
{{ .Spec.Description -}}
|
4
|
-
{{- with .Hints }}
|
5
|
-
{{ . }}
|
6
|
-
{{ end }}
|
7
|
-
{{- with .TrackInsert }}
|
8
|
-
{{ . }}
|
9
|
-
{{ end }}
|
10
|
-
{{- with .Spec.Credits -}}
|
11
|
-
## Source
|
12
|
-
|
13
|
-
{{ . }}
|
14
|
-
{{ end }}
|
15
|
-
## Submitting Incomplete Solutions
|
16
|
-
It's possible to submit an incomplete solution so you can see how others have completed the exercise.
|
@@ -1,13 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"maintainers": [
|
3
|
-
{
|
4
|
-
"github_username": "bdw429s",
|
5
|
-
"show_on_website": true,
|
6
|
-
"name": "Brad Wood",
|
7
|
-
"bio": "ColdBox/CommandBox Developer Advocate. Lucee Member. System Architect. CFML dev. DBA. Dad. Handyman. Ready for a revolution.",
|
8
|
-
"link_text": "Tech Blog",
|
9
|
-
"link_url": "http://www.codersrevolution.com/"
|
10
|
-
}
|
11
|
-
],
|
12
|
-
"docs_url": "https://github.com/exercism/docs/blob/master/maintaining-a-track/maintainer-configuration.md"
|
13
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
ColdFusion (CFML) is a JVM scripting language whose syntax is similar to C or JavaScript.
|
2
|
-
It JIT compiles to byte code that runs on the JVM but is dynamic and loosely typed, making it fast and easy to develop in.
|
3
|
-
CF is a multi-paradigmed language, supporting classical OO and functional programming.
|
4
|
-
|
5
|
-
CFML also has a built-in tag-based templating language that makes it ideal for web apps.
|
6
|
-
It runs in a J2EE container with many bundled libraries that make it very productive without the need to install many packages.
|
7
|
-
CFML has native support for zip files, PDF and Excel generation, E-mails, FTP, HTTP, S3 file systems, ESAPI security libraries, JDBC drivers, JSON and REST APIs.
|
8
|
-
|
9
|
-
CFML can also leverage any Java project by dropping the jars in project and directly instantiating Java objects in your code.
|
10
|
-
You can learn more about basic syntax and first class data types in this guide: [Modern ColdFusion (CFML) in 100 Minutes](https://www.gitbook.com/book/ortus/modern-coldfusion-cfml-in-100-minutes/details)
|
@@ -1,15 +0,0 @@
|
|
1
|
-
* * * *
|
2
|
-
|
3
|
-
To run the code in this exercise, you will only need to have [CommandBox CLI installed](https://ortus.gitbooks.io/commandbox-documentation/content/setup/installation.html). This binary runs CFML code from the command line.
|
4
|
-
|
5
|
-
To run the tests, `cd` into the exercise folder and run the following:
|
6
|
-
|
7
|
-
```bash
|
8
|
-
box task run TestRunner
|
9
|
-
# Or start up a test watcher that will rerun when files change
|
10
|
-
box task run TestRunner --:watcher
|
11
|
-
```
|
12
|
-
|
13
|
-
The tests leverage a library called TestBox which supports xUnit and BDD style of testing. All test suites will be written in the [BDD style](https://testbox.ortusbooks.com/content/primers/bdd/specs.html) which uses closures to define test specs. You won't need to worry about installing TestBox. The CLI test runner will take care of that for you. You just need to be connected to the internet the first time you run it. You can read more about it here:
|
14
|
-
|
15
|
-
[https://testbox.ortusbooks.com/content/](https://testbox.ortusbooks.com/content/)
|
@@ -1,35 +0,0 @@
|
|
1
|
-
## Installation
|
2
|
-
|
3
|
-
The only thing you will need to run these exercises is [CommandBox CLI](https://ortus.gitbooks.io/commandbox-documentation/content/getting_started_guide.html) and [Java 7+](https://java.com/en/download/) installed. CommandBox CLI is supported on Mac, Linux, and Windows, and the installation guide can be found here:
|
4
|
-
|
5
|
-
[https://ortus.gitbooks.io/commandbox-documentation/content/setup/installation.html](https://ortus.gitbooks.io/commandbox-documentation/content/setup/installation.html)
|
6
|
-
|
7
|
-
An example of getting CommandBox CLI setup if you're a Homebrew user on Mac would be:
|
8
|
-
|
9
|
-
```bash
|
10
|
-
brew install commandbox
|
11
|
-
```
|
12
|
-
|
13
|
-
Once you have the CLI installed, you can play withe REPL:
|
14
|
-
|
15
|
-
```bash
|
16
|
-
box repl
|
17
|
-
```
|
18
|
-
|
19
|
-
You can directly execute .cfm pages:
|
20
|
-
|
21
|
-
```bash
|
22
|
-
box exec myTest.cfm
|
23
|
-
```
|
24
|
-
|
25
|
-
And you can even start up a web server in any directory of your hard drive:
|
26
|
-
|
27
|
-
```bash
|
28
|
-
box server start
|
29
|
-
```
|
30
|
-
|
31
|
-
CommandBox has an interactive shell you can use that has enhanced tab completion and runs faster. Enter it by just running the `box` binary with no arguments.
|
32
|
-
|
33
|
-
```bash
|
34
|
-
box
|
35
|
-
```
|
@@ -1,37 +0,0 @@
|
|
1
|
-
## Recommended Learning Resources
|
2
|
-
|
3
|
-
Welcome to learning ColdFusion (CFML)! CFML is a dynamic and loosely typed JVM scripting language. It has two different file types. `.cfm` files (ColdFusion markup)_ are purely procedural and use the tag-based syntax for templating out HTML. You would use these for views if building a web site:
|
4
|
-
|
5
|
-
**index.cfm**
|
6
|
-
|
7
|
-
```xml
|
8
|
-
<cfoutput>
|
9
|
-
<html>
|
10
|
-
<h1>Welcome to my site, #FirstName# #LastName#!
|
11
|
-
</html>
|
12
|
-
</cfoutput>
|
13
|
-
```
|
14
|
-
|
15
|
-
The other type of file is the `.cfc` (ColdFusion Component) and it is how you declare a class. Components are used for business logic, models, and controllers. These usually use the script syntax, which reads similar to JavaScript.
|
16
|
-
|
17
|
-
**Car.cfc**
|
18
|
-
|
19
|
-
```js
|
20
|
-
component accessors=true {
|
21
|
-
property name='make' type='string';
|
22
|
-
property name='model' type='string';
|
23
|
-
property name='year' type='number';
|
24
|
-
|
25
|
-
function init() {
|
26
|
-
return this;
|
27
|
-
}
|
28
|
-
|
29
|
-
}
|
30
|
-
```
|
31
|
-
|
32
|
-
Here are some guides for learning more about CFML
|
33
|
-
|
34
|
-
* [Modern ColdFusion (CFML) in 100 Minutes](https://www.gitbook.com/book/ortus/modern-coldfusion-cfml-in-100-minutes/details)
|
35
|
-
* [CF SCript Cheatsheet](http://www.petefreitag.com/cheatsheets/coldfusion/cfscript/)
|
36
|
-
* [Learn CF In A Week](http://www.learncfinaweek.com/)
|
37
|
-
* [CommandBox CLI Getting Started Guide](https://ortus.gitbooks.io/commandbox-documentation/content/getting_started_guide.html)
|
@@ -1,29 +0,0 @@
|
|
1
|
-
## Recommended Resources
|
2
|
-
|
3
|
-
### Learning
|
4
|
-
* [Modern ColdFusion (CFML) in 100 Minutes](https://www.gitbook.com/book/ortus/modern-coldfusion-cfml-in-100-minutes/details)
|
5
|
-
* [CF SCript Cheatsheet](http://www.petefreitag.com/cheatsheets/coldfusion/cfscript/)
|
6
|
-
* [Learn CF In A Week](http://www.learncfinaweek.com/)
|
7
|
-
|
8
|
-
### CF Engines
|
9
|
-
|
10
|
-
* [Lucee Server](http://lucee.org/) - A free open source CFML engine
|
11
|
-
* [Adobe ColdFusion](http://www.adobe.com/products/coldfusion-family.html) - A commercially supported Enterprise CF engine
|
12
|
-
|
13
|
-
### Online Communities
|
14
|
-
|
15
|
-
* [CFML Slack](https://cfml-slack.herokuapp.com/)
|
16
|
-
* [Stack Overflow](https://stackoverflow.com/questions/tagged/coldfusion)
|
17
|
-
* [Community Resource Page](http://carehart.org/cf411/)
|
18
|
-
* [Lucee Server Discourse Forum](https://dev.lucee.org/)
|
19
|
-
* [Twitter](https://twitter.com/search?q=coldfusion&src=typd)
|
20
|
-
|
21
|
-
### Tools
|
22
|
-
|
23
|
-
* [CF Docs](https://cfdocs.org/)
|
24
|
-
* [Try CF](https://www.trycf.com/)
|
25
|
-
* [ColdBox MVC](https://coldbox.ortusbooks.com/content/full/getting_started_guide/)
|
26
|
-
* [CFWheels MVC](https://cfwheels.org/)
|
27
|
-
* [FW/1 MVC](http://framework-one.github.io/documentation/)
|
28
|
-
* [CommandBox CLI](https://ortus.gitbooks.io/commandbox-documentation/content/getting_started_guide.html)
|
29
|
-
* [ForgeBox Package repo](https://www.forgebox.io/)
|
@@ -1,13 +0,0 @@
|
|
1
|
-
## Running Tests
|
2
|
-
|
3
|
-
To run the test for a given exercise, `cd` into the folder and run the following:
|
4
|
-
|
5
|
-
```bash
|
6
|
-
box task run TestRunner
|
7
|
-
# Or start up a test watcher that will rerun when files change
|
8
|
-
box task run TestRunner --:watcher
|
9
|
-
```
|
10
|
-
|
11
|
-
The tests leverage a library called TestBox which supports xUnit and BDD style of testing. All test suites will be written in the [BDD style](https://testbox.ortusbooks.com/content/primers/bdd/specs.html) which uses closures to define test specs. You won't need to worry about installing TestBox. The CLI test runner will take care of that for you. You just need to be connected to the internet the first time you run it. You can read more about it here:
|
12
|
-
|
13
|
-
[https://testbox.ortusbooks.com/content/](https://testbox.ortusbooks.com/content/)
|