diff --git a/exercises/practice/accumulate/.meta/config.json b/exercises/practice/accumulate/.meta/config.json index 761bcf28..aa5186c5 100644 --- a/exercises/practice/accumulate/.meta/config.json +++ b/exercises/practice/accumulate/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Accumulate.groovy" + ], + "test": [ + "src/test/groovy/AccumulateSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Accumulate.groovy" + ] }, "source": "Conversation with James Edward Gray II", "source_url": "https://twitter.com/jeg2" diff --git a/exercises/practice/acronym/.meta/config.json b/exercises/practice/acronym/.meta/config.json index fd1f09f7..2f4973ff 100644 --- a/exercises/practice/acronym/.meta/config.json +++ b/exercises/practice/acronym/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert a long phrase to its acronym", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Acronym.groovy" + ], + "test": [ + "src/test/groovy/AcronymSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Acronym.groovy" + ] }, "source": "Julien Vanier", "source_url": "https://github.com/monkbroc" diff --git a/exercises/practice/all-your-base/.meta/config.json b/exercises/practice/all-your-base/.meta/config.json index a49d064b..12b2e705 100644 --- a/exercises/practice/all-your-base/.meta/config.json +++ b/exercises/practice/all-your-base/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/AllYourBase.groovy" + ], + "test": [ + "src/test/groovy/AllYourBaseSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/AllYourBase.groovy" + ] } } diff --git a/exercises/practice/allergies/.meta/config.json b/exercises/practice/allergies/.meta/config.json index fbab1dbc..da8df715 100644 --- a/exercises/practice/allergies/.meta/config.json +++ b/exercises/practice/allergies/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Allergies.groovy" + ], + "test": [ + "src/test/groovy/AllergiesSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Allergies.groovy" + ] }, "source": "Jumpstart Lab Warm-up", "source_url": "http://jumpstartlab.com" diff --git a/exercises/practice/anagram/.meta/config.json b/exercises/practice/anagram/.meta/config.json index 1a0d3334..4d9823b0 100644 --- a/exercises/practice/anagram/.meta/config.json +++ b/exercises/practice/anagram/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a word and a list of possible anagrams, select the correct sublist.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Anagram.groovy" + ], + "test": [ + "src/test/groovy/AnagramSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Anagram.groovy" + ] }, "source": "Inspired by the Extreme Startup game", "source_url": "https://github.com/rchatley/extreme_startup" diff --git a/exercises/practice/armstrong-numbers/.meta/config.json b/exercises/practice/armstrong-numbers/.meta/config.json index 89b37fbe..3e71e07f 100644 --- a/exercises/practice/armstrong-numbers/.meta/config.json +++ b/exercises/practice/armstrong-numbers/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a number is an Armstrong number", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/ArmstrongNumbers.groovy" + ], + "test": [ + "src/test/groovy/ArmstrongNumbersSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/ArmstrongNumbers.groovy" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Narcissistic_number" diff --git a/exercises/practice/atbash-cipher/.meta/config.json b/exercises/practice/atbash-cipher/.meta/config.json index 06ddd89e..41d5275a 100644 --- a/exercises/practice/atbash-cipher/.meta/config.json +++ b/exercises/practice/atbash-cipher/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/AtbashCipher.groovy" + ], + "test": [ + "src/test/groovy/AtbashCipherSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/AtbashCipher.groovy" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Atbash" diff --git a/exercises/practice/bank-account/.meta/config.json b/exercises/practice/bank-account/.meta/config.json index 5e7769ee..44843fe4 100644 --- a/exercises/practice/bank-account/.meta/config.json +++ b/exercises/practice/bank-account/.meta/config.json @@ -2,8 +2,14 @@ "blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/BankAccount.groovy" + ], + "test": [ + "src/test/groovy/BankAccountSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/BankAccount.groovy" + ] } } diff --git a/exercises/practice/binary-search/.meta/config.json b/exercises/practice/binary-search/.meta/config.json index 0e4bcddf..877dad89 100644 --- a/exercises/practice/binary-search/.meta/config.json +++ b/exercises/practice/binary-search/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement a binary search algorithm.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/BinarySearch.groovy" + ], + "test": [ + "src/test/groovy/BinarySearchSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/BinarySearch.groovy" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Binary_search_algorithm" diff --git a/exercises/practice/bob/.meta/config.json b/exercises/practice/bob/.meta/config.json index 12a4d82a..a8bfc6b7 100644 --- a/exercises/practice/bob/.meta/config.json +++ b/exercises/practice/bob/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Bob.groovy" + ], + "test": [ + "src/test/groovy/BobSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Bob.groovy" + ] }, "source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.", "source_url": "http://pine.fm/LearnToProgram/?Chapter=06" diff --git a/exercises/practice/collatz-conjecture/.meta/config.json b/exercises/practice/collatz-conjecture/.meta/config.json index ea35f19b..394f3133 100644 --- a/exercises/practice/collatz-conjecture/.meta/config.json +++ b/exercises/practice/collatz-conjecture/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Calculate the number of steps to reach 1 using the Collatz conjecture", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/CollatzConjecture.groovy" + ], + "test": [ + "src/test/groovy/CollatzConjectureSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/CollatzConjecture.groovy" + ] }, "source": "An unsolved problem in mathematics named after mathematician Lothar Collatz", "source_url": "https://en.wikipedia.org/wiki/3x_%2B_1_problem" diff --git a/exercises/practice/darts/.meta/config.json b/exercises/practice/darts/.meta/config.json index 51d8b7d4..9f1bfbc8 100644 --- a/exercises/practice/darts/.meta/config.json +++ b/exercises/practice/darts/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Write a function that returns the earned points in a single toss of a Darts game", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Darts.groovy" + ], + "test": [ + "src/test/groovy/DartsSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Darts.groovy" + ] }, "source": "Inspired by an exercise created by a professor Della Paolera in Argentina" } diff --git a/exercises/practice/difference-of-squares/.meta/config.json b/exercises/practice/difference-of-squares/.meta/config.json index d11f259a..843d9412 100644 --- a/exercises/practice/difference-of-squares/.meta/config.json +++ b/exercises/practice/difference-of-squares/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/DifferenceOfSquares.groovy" + ], + "test": [ + "src/test/groovy/DifferenceOfSquaresSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/DifferenceOfSquares.groovy" + ] }, "source": "Problem 6 at Project Euler", "source_url": "http://projecteuler.net/problem=6" diff --git a/exercises/practice/etl/.meta/config.json b/exercises/practice/etl/.meta/config.json index 6b116b60..d6481f31 100644 --- a/exercises/practice/etl/.meta/config.json +++ b/exercises/practice/etl/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "We are going to do the `Transform` step of an Extract-Transform-Load.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Etl.groovy" + ], + "test": [ + "src/test/groovy/EtlSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Etl.groovy" + ] }, "source": "The Jumpstart Lab team", "source_url": "http://jumpstartlab.com" diff --git a/exercises/practice/flatten-array/.meta/config.json b/exercises/practice/flatten-array/.meta/config.json index 721cebcf..8641dc44 100644 --- a/exercises/practice/flatten-array/.meta/config.json +++ b/exercises/practice/flatten-array/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Take a nested list and return a single list with all values except nil/null", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/FlattenArray.groovy" + ], + "test": [ + "src/test/groovy/FlattenArraySpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/FlattenArray.groovy" + ] }, "source": "Interview Question", "source_url": "https://reference.wolfram.com/language/ref/Flatten.html" diff --git a/exercises/practice/gigasecond/.meta/config.json b/exercises/practice/gigasecond/.meta/config.json index 7f555b2a..6e7ee2b7 100644 --- a/exercises/practice/gigasecond/.meta/config.json +++ b/exercises/practice/gigasecond/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a moment, determine the moment that would be after a gigasecond has passed.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Gigasecond.groovy" + ], + "test": [ + "src/test/groovy/GigasecondSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Gigasecond.groovy" + ] }, "source": "Chapter 9 in Chris Pine's online Learn to Program tutorial.", "source_url": "http://pine.fm/LearnToProgram/?Chapter=09" diff --git a/exercises/practice/grains/.meta/config.json b/exercises/practice/grains/.meta/config.json index 0cbdaf98..bd7ddfd3 100644 --- a/exercises/practice/grains/.meta/config.json +++ b/exercises/practice/grains/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Grains.groovy" + ], + "test": [ + "src/test/groovy/GrainsSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Grains.groovy" + ] }, "source": "JavaRanch Cattle Drive, exercise 6", "source_url": "http://www.javaranch.com/grains.jsp" diff --git a/exercises/practice/hamming/.meta/config.json b/exercises/practice/hamming/.meta/config.json index e5d69818..79d9e9c0 100644 --- a/exercises/practice/hamming/.meta/config.json +++ b/exercises/practice/hamming/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Calculate the Hamming difference between two DNA strands.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Hamming.groovy" + ], + "test": [ + "src/test/groovy/HammingSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Hamming.groovy" + ] }, "source": "The Calculating Point Mutations problem at Rosalind", "source_url": "http://rosalind.info/problems/hamm/" diff --git a/exercises/practice/hello-world/.meta/config.json b/exercises/practice/hello-world/.meta/config.json index 74a832cd..8f46dcda 100644 --- a/exercises/practice/hello-world/.meta/config.json +++ b/exercises/practice/hello-world/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "The classical introductory exercise. Just say \"Hello, World!\"", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/HelloWorld.groovy" + ], + "test": [ + "src/test/groovy/HelloWorldSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/HelloWorld.groovy" + ] }, "source": "This is an exercise to introduce users to using Exercism", "source_url": "http://en.wikipedia.org/wiki/%22Hello,_world!%22_program" diff --git a/exercises/practice/high-scores/.meta/config.json b/exercises/practice/high-scores/.meta/config.json index 82edd17a..f1280c15 100644 --- a/exercises/practice/high-scores/.meta/config.json +++ b/exercises/practice/high-scores/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Manage a player's High Score list", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/HighScores.groovy" + ], + "test": [ + "src/test/groovy/HighScoresSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/HighScores.groovy" + ] }, "source": "Tribute to the eighties' arcade game Frogger" } diff --git a/exercises/practice/isbn-verifier/.meta/config.json b/exercises/practice/isbn-verifier/.meta/config.json index bddee9f5..7502a54d 100644 --- a/exercises/practice/isbn-verifier/.meta/config.json +++ b/exercises/practice/isbn-verifier/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Check if a given string is a valid ISBN-10 number.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/IsbnVerifier.groovy" + ], + "test": [ + "src/test/groovy/IsbnVerifierSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/IsbnVerifier.groovy" + ] }, "source": "Converting a string into a number and some basic processing utilizing a relatable real world example.", "source_url": "https://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digit_calculation" diff --git a/exercises/practice/isogram/.meta/config.json b/exercises/practice/isogram/.meta/config.json index bf61c329..328d0008 100644 --- a/exercises/practice/isogram/.meta/config.json +++ b/exercises/practice/isogram/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a word or phrase is an isogram.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Isogram.groovy" + ], + "test": [ + "src/test/groovy/IsogramSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Isogram.groovy" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Isogram" diff --git a/exercises/practice/leap/.meta/config.json b/exercises/practice/leap/.meta/config.json index 0738045f..7486cf6c 100644 --- a/exercises/practice/leap/.meta/config.json +++ b/exercises/practice/leap/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a year, report if it is a leap year.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Leap.groovy" + ], + "test": [ + "src/test/groovy/LeapSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Leap.groovy" + ] }, "source": "JavaRanch Cattle Drive, exercise 3", "source_url": "http://www.javaranch.com/leap.jsp" diff --git a/exercises/practice/linked-list/.meta/config.json b/exercises/practice/linked-list/.meta/config.json index 001d7ec9..a1ba6a46 100644 --- a/exercises/practice/linked-list/.meta/config.json +++ b/exercises/practice/linked-list/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement a doubly linked list", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/LinkedList.groovy" + ], + "test": [ + "src/test/groovy/LinkedListSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/LinkedList.groovy" + ] }, "source": "Classic computer science topic" } diff --git a/exercises/practice/luhn/.meta/config.json b/exercises/practice/luhn/.meta/config.json index e7901629..a825bcf8 100644 --- a/exercises/practice/luhn/.meta/config.json +++ b/exercises/practice/luhn/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a number determine whether or not it is valid per the Luhn formula.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Luhn.groovy" + ], + "test": [ + "src/test/groovy/LuhnSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Luhn.groovy" + ] }, "source": "The Luhn Algorithm on Wikipedia", "source_url": "http://en.wikipedia.org/wiki/Luhn_algorithm" diff --git a/exercises/practice/matching-brackets/.meta/config.json b/exercises/practice/matching-brackets/.meta/config.json index 08aea557..a39ed22c 100644 --- a/exercises/practice/matching-brackets/.meta/config.json +++ b/exercises/practice/matching-brackets/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Make sure the brackets and braces all match.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/MatchingBrackets.groovy" + ], + "test": [ + "src/test/groovy/MatchingBracketsSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/MatchingBrackets.groovy" + ] }, "source": "Ginna Baker" } diff --git a/exercises/practice/matrix/.meta/config.json b/exercises/practice/matrix/.meta/config.json index 18040766..1fd54645 100644 --- a/exercises/practice/matrix/.meta/config.json +++ b/exercises/practice/matrix/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a string representing a matrix of numbers, return the rows and columns of that matrix.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Matrix.groovy" + ], + "test": [ + "src/test/groovy/MatrixSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Matrix.groovy" + ] }, "source": "Warmup to the `saddle-points` warmup.", "source_url": "http://jumpstartlab.com" diff --git a/exercises/practice/nth-prime/.meta/config.json b/exercises/practice/nth-prime/.meta/config.json index 78c9933a..f24b79ee 100644 --- a/exercises/practice/nth-prime/.meta/config.json +++ b/exercises/practice/nth-prime/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a number n, determine what the nth prime is.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/NthPrime.groovy" + ], + "test": [ + "src/test/groovy/NthPrimeSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/NthPrime.groovy" + ] }, "source": "A variation on Problem 7 at Project Euler", "source_url": "http://projecteuler.net/problem=7" diff --git a/exercises/practice/nucleotide-count/.meta/config.json b/exercises/practice/nucleotide-count/.meta/config.json index 4919a329..b0984e00 100644 --- a/exercises/practice/nucleotide-count/.meta/config.json +++ b/exercises/practice/nucleotide-count/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a DNA string, compute how many times each nucleotide occurs in the string.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/NucleotideCount.groovy" + ], + "test": [ + "src/test/groovy/NucleotideCountSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/NucleotideCount.groovy" + ] }, "source": "The Calculating DNA Nucleotides_problem at Rosalind", "source_url": "http://rosalind.info/problems/dna/" diff --git a/exercises/practice/pangram/.meta/config.json b/exercises/practice/pangram/.meta/config.json index 5b7a8665..bfa54a00 100644 --- a/exercises/practice/pangram/.meta/config.json +++ b/exercises/practice/pangram/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a sentence is a pangram.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Pangram.groovy" + ], + "test": [ + "src/test/groovy/PangramSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Pangram.groovy" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Pangram" diff --git a/exercises/practice/perfect-numbers/.meta/config.json b/exercises/practice/perfect-numbers/.meta/config.json index e266fc4c..d9d15226 100644 --- a/exercises/practice/perfect-numbers/.meta/config.json +++ b/exercises/practice/perfect-numbers/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for positive integers.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/PerfectNumbers.groovy" + ], + "test": [ + "src/test/groovy/PerfectNumbersSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/PerfectNumbers.groovy" + ] }, "source": "Taken from Chapter 2 of Functional Thinking by Neal Ford.", "source_url": "http://shop.oreilly.com/product/0636920029687.do" diff --git a/exercises/practice/phone-number/.meta/config.json b/exercises/practice/phone-number/.meta/config.json index 86769da8..ee7e52a4 100644 --- a/exercises/practice/phone-number/.meta/config.json +++ b/exercises/practice/phone-number/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Clean up user-entered phone numbers so that they can be sent SMS messages.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/PhoneNumber.groovy" + ], + "test": [ + "src/test/groovy/PhoneNumberSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/PhoneNumber.groovy" + ] }, "source": "Event Manager by JumpstartLab", "source_url": "http://tutorials.jumpstartlab.com/projects/eventmanager.html" diff --git a/exercises/practice/prime-factors/.meta/config.json b/exercises/practice/prime-factors/.meta/config.json index 92706db6..3efc32a0 100644 --- a/exercises/practice/prime-factors/.meta/config.json +++ b/exercises/practice/prime-factors/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Compute the prime factors of a given natural number.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/PrimeFactors.groovy" + ], + "test": [ + "src/test/groovy/PrimeFactorsSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/PrimeFactors.groovy" + ] }, "source": "The Prime Factors Kata by Uncle Bob", "source_url": "http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata" diff --git a/exercises/practice/protein-translation/.meta/config.json b/exercises/practice/protein-translation/.meta/config.json index d397cfe9..3b476d68 100644 --- a/exercises/practice/protein-translation/.meta/config.json +++ b/exercises/practice/protein-translation/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Translate RNA sequences into proteins.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/ProteinTranslation.groovy" + ], + "test": [ + "src/test/groovy/ProteinTranslationSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/ProteinTranslation.groovy" + ] }, "source": "Tyler Long" } diff --git a/exercises/practice/proverb/.meta/config.json b/exercises/practice/proverb/.meta/config.json index 8d7aaefa..67b84f7f 100644 --- a/exercises/practice/proverb/.meta/config.json +++ b/exercises/practice/proverb/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "For want of a horseshoe nail, a kingdom was lost, or so the saying goes. Output the full text of this proverbial rhyme.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Proverb.groovy" + ], + "test": [ + "src/test/groovy/ProverbSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Proverb.groovy" + ] }, "source": "Wikipedia", "source_url": "http://en.wikipedia.org/wiki/For_Want_of_a_Nail" diff --git a/exercises/practice/raindrops/.meta/config.json b/exercises/practice/raindrops/.meta/config.json index 467b2f15..0cd4ee90 100644 --- a/exercises/practice/raindrops/.meta/config.json +++ b/exercises/practice/raindrops/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert a number to a string, the content of which depends on the number's factors.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Raindrops.groovy" + ], + "test": [ + "src/test/groovy/RaindropsSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Raindrops.groovy" + ] }, "source": "A variation on FizzBuzz, a famous technical interview question that is intended to weed out potential candidates. That question is itself derived from Fizz Buzz, a popular children's game for teaching division.", "source_url": "https://en.wikipedia.org/wiki/Fizz_buzz" diff --git a/exercises/practice/resistor-color-duo/.meta/config.json b/exercises/practice/resistor-color-duo/.meta/config.json index 12484bc6..a5cd82fe 100644 --- a/exercises/practice/resistor-color-duo/.meta/config.json +++ b/exercises/practice/resistor-color-duo/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert color codes, as used on resistors, to a numeric value.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/ResistorColorDuo.groovy" + ], + "test": [ + "src/test/groovy/ResistorColorDuoSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/ResistorColorDuo.groovy" + ] }, "source": "Maud de Vries, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/1464" diff --git a/exercises/practice/resistor-color-trio/.meta/config.json b/exercises/practice/resistor-color-trio/.meta/config.json index 7dd97345..07502010 100644 --- a/exercises/practice/resistor-color-trio/.meta/config.json +++ b/exercises/practice/resistor-color-trio/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert color codes, as used on resistors, to a human-readable label.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/ResistorColorTrio.groovy" + ], + "test": [ + "src/test/groovy/ResistorColorTrioSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/ResistorColorTrio.groovy" + ] }, "source": "Maud de Vries, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/1549" diff --git a/exercises/practice/resistor-color/.meta/config.json b/exercises/practice/resistor-color/.meta/config.json index 45109561..44b35594 100644 --- a/exercises/practice/resistor-color/.meta/config.json +++ b/exercises/practice/resistor-color/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Convert a resistor band's color to its numeric representation", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/ResistorColor.groovy" + ], + "test": [ + "src/test/groovy/ResistorColorSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/ResistorColor.groovy" + ] }, "source": "Maud de Vries, Erik Schierboom", "source_url": "https://github.com/exercism/problem-specifications/issues/1458" diff --git a/exercises/practice/reverse-string/.meta/config.json b/exercises/practice/reverse-string/.meta/config.json index 59869d94..54caf7d5 100644 --- a/exercises/practice/reverse-string/.meta/config.json +++ b/exercises/practice/reverse-string/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Reverse a string", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/ReverseString.groovy" + ], + "test": [ + "src/test/groovy/ReverseStringSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/ReverseString.groovy" + ] }, "source": "Introductory challenge to reverse an input string", "source_url": "https://medium.freecodecamp.org/how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb" diff --git a/exercises/practice/rna-transcription/.meta/config.json b/exercises/practice/rna-transcription/.meta/config.json index b6f300aa..3f849b72 100644 --- a/exercises/practice/rna-transcription/.meta/config.json +++ b/exercises/practice/rna-transcription/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a DNA strand, return its RNA Complement Transcription.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/RnaTranscription.groovy" + ], + "test": [ + "src/test/groovy/RnaTranscriptionSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/RnaTranscription.groovy" + ] }, "source": "Hyperphysics", "source_url": "http://hyperphysics.phy-astr.gsu.edu/hbase/Organic/transcription.html" diff --git a/exercises/practice/robot-name/.meta/config.json b/exercises/practice/robot-name/.meta/config.json index 0a200f74..03547df7 100644 --- a/exercises/practice/robot-name/.meta/config.json +++ b/exercises/practice/robot-name/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Manage robot factory settings.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/RobotName.groovy" + ], + "test": [ + "src/test/groovy/RobotNameSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/RobotName.groovy" + ] }, "source": "A debugging session with Paul Blackwell at gSchool." } diff --git a/exercises/practice/roman-numerals/.meta/config.json b/exercises/practice/roman-numerals/.meta/config.json index 7ab29654..c9e0e2fc 100644 --- a/exercises/practice/roman-numerals/.meta/config.json +++ b/exercises/practice/roman-numerals/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Write a function to convert from normal numbers to Roman Numerals.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/RomanNumerals.groovy" + ], + "test": [ + "src/test/groovy/RomanNumeralsSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/RomanNumerals.groovy" + ] }, "source": "The Roman Numeral Kata", "source_url": "http://codingdojo.org/cgi-bin/index.pl?KataRomanNumerals" diff --git a/exercises/practice/rotational-cipher/.meta/config.json b/exercises/practice/rotational-cipher/.meta/config.json index 4dac8f58..b1a3fe13 100644 --- a/exercises/practice/rotational-cipher/.meta/config.json +++ b/exercises/practice/rotational-cipher/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Create an implementation of the rotational cipher, also sometimes called the Caesar cipher.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/RotationalCipher.groovy" + ], + "test": [ + "src/test/groovy/RotationalCipherSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/RotationalCipher.groovy" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Caesar_cipher" diff --git a/exercises/practice/run-length-encoding/.meta/config.json b/exercises/practice/run-length-encoding/.meta/config.json index 21389ce2..98071608 100644 --- a/exercises/practice/run-length-encoding/.meta/config.json +++ b/exercises/practice/run-length-encoding/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement run-length encoding and decoding.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/RunLengthEncoding.groovy" + ], + "test": [ + "src/test/groovy/RunLengthEncodingSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/RunLengthEncoding.groovy" + ] }, "source": "Wikipedia", "source_url": "https://en.wikipedia.org/wiki/Run-length_encoding" diff --git a/exercises/practice/saddle-points/.meta/config.json b/exercises/practice/saddle-points/.meta/config.json index 9a54e75e..53d46467 100644 --- a/exercises/practice/saddle-points/.meta/config.json +++ b/exercises/practice/saddle-points/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Detect saddle points in a matrix.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/SaddlePoints.groovy" + ], + "test": [ + "src/test/groovy/SaddlePointsSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/SaddlePoints.groovy" + ] }, "source": "J Dalbey's Programming Practice problems", "source_url": "http://users.csc.calpoly.edu/~jdalbey/103/Projects/ProgrammingPractice.html" diff --git a/exercises/practice/scrabble-score/.meta/config.json b/exercises/practice/scrabble-score/.meta/config.json index 1b2cb240..210317b8 100644 --- a/exercises/practice/scrabble-score/.meta/config.json +++ b/exercises/practice/scrabble-score/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a word, compute the Scrabble score for that word.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/ScrabbleScore.groovy" + ], + "test": [ + "src/test/groovy/ScrabbleScoreSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/ScrabbleScore.groovy" + ] }, "source": "Inspired by the Extreme Startup game", "source_url": "https://github.com/rchatley/extreme_startup" diff --git a/exercises/practice/secret-handshake/.meta/config.json b/exercises/practice/secret-handshake/.meta/config.json index 3b1b983d..066cb57c 100644 --- a/exercises/practice/secret-handshake/.meta/config.json +++ b/exercises/practice/secret-handshake/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a decimal number, convert it to the appropriate sequence of events for a secret handshake.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/SecretHandshake.groovy" + ], + "test": [ + "src/test/groovy/SecretHandshakeSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/SecretHandshake.groovy" + ] }, "source": "Bert, in Mary Poppins", "source_url": "http://www.imdb.com/title/tt0058331/quotes/qt0437047" diff --git a/exercises/practice/series/.meta/config.json b/exercises/practice/series/.meta/config.json index 3dacdb44..60860e1e 100644 --- a/exercises/practice/series/.meta/config.json +++ b/exercises/practice/series/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a string of digits, output all the contiguous substrings of length `n` in that string.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Series.groovy" + ], + "test": [ + "src/test/groovy/SeriesSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Series.groovy" + ] }, "source": "A subset of the Problem 8 at Project Euler", "source_url": "http://projecteuler.net/problem=8" diff --git a/exercises/practice/space-age/.meta/config.json b/exercises/practice/space-age/.meta/config.json index a209b637..722af0a7 100644 --- a/exercises/practice/space-age/.meta/config.json +++ b/exercises/practice/space-age/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given an age in seconds, calculate how old someone is in terms of a given planet's solar years.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/SpaceAge.groovy" + ], + "test": [ + "src/test/groovy/SpaceAgeSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/SpaceAge.groovy" + ] }, "source": "Partially inspired by Chapter 1 in Chris Pine's online Learn to Program tutorial.", "source_url": "http://pine.fm/LearnToProgram/?Chapter=01" diff --git a/exercises/practice/strain/.meta/config.json b/exercises/practice/strain/.meta/config.json index b7e76722..907fb006 100644 --- a/exercises/practice/strain/.meta/config.json +++ b/exercises/practice/strain/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Implement the `keep` and `discard` operation on collections. Given a collection and a predicate on the collection's elements, `keep` returns a new collection containing those elements where the predicate is true, while `discard` returns a new collection containing those elements where the predicate is false.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Strain.groovy" + ], + "test": [ + "src/test/groovy/StrainSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Strain.groovy" + ] }, "source": "Conversation with James Edward Gray II", "source_url": "https://twitter.com/jeg2" diff --git a/exercises/practice/sum-of-multiples/.meta/config.json b/exercises/practice/sum-of-multiples/.meta/config.json index 89e68b4a..c1e7c279 100644 --- a/exercises/practice/sum-of-multiples/.meta/config.json +++ b/exercises/practice/sum-of-multiples/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a number, find the sum of all the multiples of particular numbers up to but not including that number.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/SumOfMultiples.groovy" + ], + "test": [ + "src/test/groovy/SumOfMultiplesSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/SumOfMultiples.groovy" + ] }, "source": "A variation on Problem 1 at Project Euler", "source_url": "http://projecteuler.net/problem=1" diff --git a/exercises/practice/triangle/.meta/config.json b/exercises/practice/triangle/.meta/config.json index f045d738..778dc07e 100644 --- a/exercises/practice/triangle/.meta/config.json +++ b/exercises/practice/triangle/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Determine if a triangle is equilateral, isosceles, or scalene.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/Triangle.groovy" + ], + "test": [ + "src/test/groovy/TriangleSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/Triangle.groovy" + ] }, "source": "The Ruby Koans triangle project, parts 1 & 2", "source_url": "http://rubykoans.com" diff --git a/exercises/practice/two-fer/.meta/config.json b/exercises/practice/two-fer/.meta/config.json index 52924fa7..ea31dec5 100644 --- a/exercises/practice/two-fer/.meta/config.json +++ b/exercises/practice/two-fer/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Create a sentence of the form \"One for X, one for me.\"", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/TwoFer.groovy" + ], + "test": [ + "src/test/groovy/TwoFerSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/TwoFer.groovy" + ] }, "source_url": "https://github.com/exercism/problem-specifications/issues/757" } diff --git a/exercises/practice/word-count/.meta/config.json b/exercises/practice/word-count/.meta/config.json index f3b3ed1e..d70c8822 100644 --- a/exercises/practice/word-count/.meta/config.json +++ b/exercises/practice/word-count/.meta/config.json @@ -2,9 +2,15 @@ "blurb": "Given a phrase, count the occurrences of each word in that phrase.", "authors": [], "files": { - "solution": [], - "test": [], - "example": [] + "solution": [ + "src/main/groovy/WordCount.groovy" + ], + "test": [ + "src/test/groovy/WordCountSpec.groovy" + ], + "example": [ + ".meta/src/reference/groovy/WordCount.groovy" + ] }, "source": "This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour." }