Skip to content

Commit

Permalink
Configlet fmt for config.jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
BNAndras committed Jan 25, 2024
1 parent 3f59aef commit 325602a
Show file tree
Hide file tree
Showing 112 changed files with 320 additions and 200 deletions.
10 changes: 5 additions & 5 deletions exercises/concept/basics/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"blurb": "TODO: add blurb for basics exercise",
"authors": [
"stillleben"
],
"forked_from": [
"csharp/lucians-luscious-lasagna"
],
"files": {
"solution": [
"src/main/scala/Lasagna.scala"
Expand All @@ -16,5 +12,9 @@
"exemplar": [
".meta/Exemplar.scala"
]
}
},
"forked_from": [
"csharp/lucians-luscious-lasagna"
],
"blurb": "TODO: add blurb for basics exercise"
}
2 changes: 1 addition & 1 deletion exercises/practice/accumulate/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"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": [
"ricemery"
],
Expand All @@ -23,6 +22,7 @@
"build.sbt"
]
},
"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.",
"source": "Conversation with James Edward Gray II",
"source_url": "https://twitter.com/jeg2"
}
13 changes: 9 additions & 4 deletions exercises/practice/acronym/.approaches/config.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
{
"introduction": {
"authors": ["bobahop"],
"contributors": []
"authors": [
"bobahop"
]
},
"approaches": [
{
"uuid": "83f3d79b-fc07-4160-87e5-e11e21d31ac2",
"slug": "split",
"title": "split",
"blurb": "Use split to get the words.",
"authors": ["bobahop"]
"authors": [
"bobahop"
]
},
{
"uuid": "986e4b72-1a7a-4684-9dd1-280537d285c8",
"slug": "findallin",
"title": "findAllIn",
"blurb": "Use findAllIn to get the words.",
"authors": ["bobahop"]
"authors": [
"bobahop"
]
}
]
}
2 changes: 1 addition & 1 deletion exercises/practice/acronym/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Convert a long phrase to its acronym",
"authors": [
"ricemery"
],
Expand All @@ -23,6 +22,7 @@
"build.sbt"
]
},
"blurb": "Convert a long phrase to its acronym",
"source": "Julien Vanier",
"source_url": "https://github.com/monkbroc"
}
4 changes: 2 additions & 2 deletions exercises/practice/all-your-base/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base.",
"authors": [
"ricemery"
],
Expand All @@ -22,5 +21,6 @@
"invalidator": [
"build.sbt"
]
}
},
"blurb": "Convert a number, represented as a sequence of digits in one base, to any other base."
}
2 changes: 1 addition & 1 deletion exercises/practice/allergies/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"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": [
"ricemery"
],
Expand All @@ -22,6 +21,7 @@
"build.sbt"
]
},
"blurb": "Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.",
"source": "Jumpstart Lab Warm-up",
"source_url": "http://jumpstartlab.com"
}
4 changes: 2 additions & 2 deletions exercises/practice/alphametics/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Write a function to solve alphametics puzzles.",
"authors": [
"abo64"
],
Expand All @@ -22,5 +21,6 @@
"invalidator": [
"build.sbt"
]
}
},
"blurb": "Write a function to solve alphametics puzzles."
}
2 changes: 1 addition & 1 deletion exercises/practice/anagram/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
"authors": [
"sgrif"
],
Expand All @@ -24,6 +23,7 @@
"build.sbt"
]
},
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
"source": "Inspired by the Extreme Startup game",
"source_url": "https://github.com/rchatley/extreme_startup"
}
17 changes: 12 additions & 5 deletions exercises/practice/armstrong-numbers/.approaches/config.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
{
"introduction": {
"authors": ["bobahop"],
"contributors": []
"authors": [
"bobahop"
]
},
"approaches": [
{
"uuid": "b4174fe4-eef3-4f21-a4c2-69829c611bef",
"slug": "tostring-map-sum",
"title": "toString with map and sum",
"blurb": "Use toString with map and sum to return the answer.",
"authors": ["bobahop"]
"authors": [
"bobahop"
]
},
{
"uuid": "6efcd9c6-cf20-4b01-af87-938b5afbe81b",
"slug": "iterate-takewhile-last",
"title": "iterate with takeWhile and last",
"blurb": "Use iterate with takeWhile and last to return the answer.",
"authors": ["bobahop"]
"authors": [
"bobahop"
]
},
{
"uuid": "70ebcc42-e087-4724-a28e-26fa26a6e3ac",
"slug": "recursion",
"title": "Recursion",
"blurb": "Use recursion to return the answer.",
"authors": ["bobahop"]
"authors": [
"bobahop"
]
}
]
}
2 changes: 1 addition & 1 deletion exercises/practice/armstrong-numbers/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Determine if a number is an Armstrong number",
"authors": [
"ricemery"
],
Expand All @@ -22,6 +21,7 @@
"build.sbt"
]
},
"blurb": "Determine if a number is an Armstrong number",
"source": "Wikipedia",
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"
}
2 changes: 1 addition & 1 deletion exercises/practice/atbash-cipher/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
"authors": [
"ricemery"
],
Expand All @@ -22,6 +21,7 @@
"build.sbt"
]
},
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
"source": "Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/Atbash"
}
4 changes: 2 additions & 2 deletions exercises/practice/bank-account/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!",
"authors": [
"ricemery"
],
Expand All @@ -24,5 +23,6 @@
"invalidator": [
"build.sbt"
]
}
},
"blurb": "Simulate a bank account supporting opening/closing, withdraws, and deposits of money. Watch out for concurrent transactions!"
}
2 changes: 1 addition & 1 deletion exercises/practice/beer-song/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.",
"authors": [
"matteobaglini"
],
Expand All @@ -23,6 +22,7 @@
"build.sbt"
]
},
"blurb": "Produce the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall.",
"source": "Learn to Program by Chris Pine",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
}
2 changes: 1 addition & 1 deletion exercises/practice/binary-search-tree/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Insert and search for numbers in a binary tree.",
"authors": [
"ricemery"
],
Expand All @@ -22,6 +21,7 @@
"build.sbt"
]
},
"blurb": "Insert and search for numbers in a binary tree.",
"source": "Josh Cheek",
"source_url": "https://twitter.com/josh_cheek"
}
2 changes: 1 addition & 1 deletion exercises/practice/binary-search/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Implement a binary search algorithm.",
"authors": [
"ricemery"
],
Expand All @@ -22,6 +21,7 @@
"build.sbt"
]
},
"blurb": "Implement a binary search algorithm.",
"source": "Wikipedia",
"source_url": "http://en.wikipedia.org/wiki/Binary_search_algorithm"
}
17 changes: 12 additions & 5 deletions exercises/practice/bob/.approaches/config.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,36 @@
{
"introduction": {
"authors": ["bobahop"],
"contributors": []
"authors": [
"bobahop"
]
},
"approaches": [
{
"uuid": "72616eff-ad51-469e-adbb-be0ea295ab16",
"slug": "if-expressions",
"title": "if expressions",
"blurb": "Use if expressions to return the answer.",
"authors": ["bobahop"]
"authors": [
"bobahop"
]
},
{
"uuid": "80ad0f5d-9cb7-40aa-b453-d7b36cc6c06e",
"slug": "match-expression",
"title": "match expression",
"blurb": "Use a match expression to return the answer.",
"authors": ["bobahop"]
"authors": [
"bobahop"
]
},
{
"uuid": "6334f482-f75b-4cca-bade-a182fd585c72",
"slug": "answers-vector",
"title": "Answers Vector",
"blurb": "Index into a Vector to return the answer.",
"authors": ["bobahop"]
"authors": [
"bobahop"
]
}
]
}
2 changes: 1 addition & 1 deletion exercises/practice/bob/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
"authors": [
"sgrif"
],
Expand Down Expand Up @@ -27,6 +26,7 @@
"build.sbt"
]
},
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
"source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.",
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
}
2 changes: 1 addition & 1 deletion exercises/practice/book-store/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "To try and encourage more sales of different books from a popular 5 book series, a bookshop has decided to offer discounts of multiple-book purchases.",
"authors": [
"ricemery"
],
Expand All @@ -22,6 +21,7 @@
"build.sbt"
]
},
"blurb": "To try and encourage more sales of different books from a popular 5 book series, a bookshop has decided to offer discounts of multiple-book purchases.",
"source": "Inspired by the harry potter kata from Cyber-Dojo.",
"source_url": "http://cyber-dojo.org"
}
2 changes: 1 addition & 1 deletion exercises/practice/bowling/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Score a bowling game",
"authors": [
"ricemery"
],
Expand All @@ -21,6 +20,7 @@
"build.sbt"
]
},
"blurb": "Score a bowling game",
"source": "The Bowling Game Kata at but UncleBob",
"source_url": "http://butunclebob.com/ArticleS.UncleBob.TheBowlingGameKata"
}
2 changes: 1 addition & 1 deletion exercises/practice/change/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Correctly determine change to be given using the least number of coins",
"authors": [
"abo64"
],
Expand All @@ -23,6 +22,7 @@
"build.sbt"
]
},
"blurb": "Correctly determine change to be given using the least number of coins",
"source": "Software Craftsmanship - Coin Change Kata",
"source_url": "https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata"
}
2 changes: 1 addition & 1 deletion exercises/practice/clock/.meta/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"blurb": "Implement a clock that handles times without dates.",
"authors": [
"ricemery"
],
Expand All @@ -22,6 +21,7 @@
"build.sbt"
]
},
"blurb": "Implement a clock that handles times without dates.",
"source": "Pairing session with Erin Drummond",
"source_url": "https://twitter.com/ebdrummond"
}
Loading

0 comments on commit 325602a

Please sign in to comment.