trackler 2.2.1.25 → 2.2.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/csharp/docs/GENERATORS.md +6 -2
- data/tracks/csharp/docs/TESTS.md +2 -20
- data/tracks/csharp/exercises/Exercises.sln +557 -554
- data/tracks/csharp/exercises/accumulate/Accumulate.csproj +2 -2
- data/tracks/csharp/exercises/acronym/Acronym.csproj +2 -2
- data/tracks/csharp/exercises/all-your-base/AllYourBase.csproj +2 -2
- data/tracks/csharp/exercises/allergies/Allergies.csproj +2 -2
- data/tracks/csharp/exercises/alphametics/Alphametics.csproj +2 -2
- data/tracks/csharp/exercises/anagram/Anagram.csproj +2 -2
- data/tracks/csharp/exercises/atbash-cipher/AtbashCipher.csproj +2 -2
- data/tracks/csharp/exercises/bank-account/BankAccount.csproj +2 -2
- data/tracks/csharp/exercises/beer-song/BeerSong.csproj +2 -2
- data/tracks/csharp/exercises/binary-search-tree/BinarySearchTree.csproj +2 -2
- data/tracks/csharp/exercises/binary-search/BinarySearch.csproj +2 -2
- data/tracks/csharp/exercises/bob/Bob.csproj +2 -2
- data/tracks/csharp/exercises/book-store/BookStore.csproj +2 -2
- data/tracks/csharp/exercises/bowling/Bowling.csproj +2 -2
- data/tracks/csharp/exercises/bracket-push/BracketPush.csproj +2 -2
- data/tracks/csharp/exercises/change/Change.csproj +2 -2
- data/tracks/csharp/exercises/circular-buffer/CircularBuffer.csproj +2 -2
- data/tracks/csharp/exercises/clock/Clock.csproj +2 -2
- data/tracks/csharp/exercises/collatz-conjecture/CollatzConjecture.csproj +1 -1
- data/tracks/csharp/exercises/complex-numbers/ComplexNumbers.csproj +2 -2
- data/tracks/csharp/exercises/connect/Connect.csproj +2 -2
- data/tracks/csharp/exercises/crypto-square/CryptoSquare.csproj +2 -2
- data/tracks/csharp/exercises/custom-set/CustomSet.csproj +2 -2
- data/tracks/csharp/exercises/diamond/Diamond.csproj +2 -2
- data/tracks/csharp/exercises/difference-of-squares/DifferenceOfSquares.csproj +2 -2
- data/tracks/csharp/exercises/diffie-hellman/DiffieHellman.csproj +2 -2
- data/tracks/csharp/exercises/dominoes/Dominoes.csproj +2 -2
- data/tracks/csharp/exercises/dot-dsl/DotDsl.csproj +2 -2
- data/tracks/csharp/exercises/error-handling/ErrorHandling.csproj +2 -2
- data/tracks/csharp/exercises/etl/Etl.csproj +2 -2
- data/tracks/csharp/exercises/flatten-array/FlattenArray.csproj +2 -2
- data/tracks/csharp/exercises/food-chain/FoodChain.csproj +2 -2
- data/tracks/csharp/exercises/forth/Forth.csproj +2 -2
- data/tracks/csharp/exercises/gigasecond/Gigasecond.csproj +2 -2
- data/tracks/csharp/exercises/go-counting/GoCounting.csproj +2 -2
- data/tracks/csharp/exercises/grade-school/GradeSchool.csproj +2 -2
- data/tracks/csharp/exercises/grains/Grains.csproj +2 -2
- data/tracks/csharp/exercises/grep/Grep.csproj +2 -2
- data/tracks/csharp/exercises/hamming/Hamming.csproj +2 -2
- data/tracks/csharp/exercises/hangman/Hangman.csproj +2 -2
- data/tracks/csharp/exercises/hello-world/HelloWorld.csproj +2 -2
- data/tracks/csharp/exercises/house/House.csproj +2 -2
- data/tracks/csharp/exercises/isogram/Isogram.csproj +2 -2
- data/tracks/csharp/exercises/kindergarten-garden/KindergartenGarden.csproj +2 -2
- data/tracks/csharp/exercises/largest-series-product/LargestSeriesProduct.csproj +2 -2
- data/tracks/csharp/exercises/leap/Leap.csproj +2 -2
- data/tracks/csharp/exercises/ledger/Ledger.csproj +2 -2
- data/tracks/csharp/exercises/linked-list/LinkedList.csproj +2 -2
- data/tracks/csharp/exercises/list-ops/ListOps.csproj +2 -2
- data/tracks/csharp/exercises/luhn/Luhn.csproj +2 -2
- data/tracks/csharp/exercises/markdown/Markdown.csproj +2 -2
- data/tracks/csharp/exercises/matrix/Matrix.csproj +2 -2
- data/tracks/csharp/exercises/meetup/Meetup.csproj +2 -2
- data/tracks/csharp/exercises/minesweeper/Minesweeper.csproj +2 -2
- data/tracks/csharp/exercises/nth-prime/NthPrime.csproj +2 -2
- data/tracks/csharp/exercises/nucleotide-count/NucleotideCount.csproj +2 -2
- data/tracks/csharp/exercises/ocr-numbers/OcrNumbers.csproj +2 -2
- data/tracks/csharp/exercises/palindrome-products/PalindromeProducts.csproj +2 -2
- data/tracks/csharp/exercises/pangram/Pangram.csproj +2 -2
- data/tracks/csharp/exercises/parallel-letter-frequency/ParallelLetterFrequency.csproj +2 -2
- data/tracks/csharp/exercises/pascals-triangle/PascalsTriangle.csproj +2 -2
- data/tracks/csharp/exercises/perfect-numbers/PerfectNumbers.csproj +2 -2
- data/tracks/csharp/exercises/phone-number/PhoneNumber.csproj +2 -2
- data/tracks/csharp/exercises/pig-latin/PigLatin.csproj +2 -2
- data/tracks/csharp/exercises/poker/Poker.csproj +2 -2
- data/tracks/csharp/exercises/pov/Pov.csproj +2 -2
- data/tracks/csharp/exercises/prime-factors/PrimeFactors.csproj +2 -2
- data/tracks/csharp/exercises/protein-translation/ProteinTranslation.csproj +2 -2
- data/tracks/csharp/exercises/proverb/Proverb.csproj +2 -2
- data/tracks/csharp/exercises/pythagorean-triplet/PythagoreanTriplet.csproj +2 -2
- data/tracks/csharp/exercises/queen-attack/QueenAttack.csproj +2 -2
- data/tracks/csharp/exercises/rail-fence-cipher/RailFenceCipher.csproj +2 -2
- data/tracks/csharp/exercises/raindrops/Raindrops.csproj +2 -2
- data/tracks/csharp/exercises/react/React.csproj +2 -2
- data/tracks/csharp/exercises/rectangles/Rectangles.csproj +2 -2
- data/tracks/csharp/exercises/rna-transcription/RnaTranscription.csproj +2 -2
- data/tracks/csharp/exercises/robot-name/RobotName.csproj +2 -2
- data/tracks/csharp/exercises/robot-simulator/RobotSimulator.csproj +2 -2
- data/tracks/csharp/exercises/roman-numerals/RomanNumerals.csproj +2 -2
- data/tracks/csharp/exercises/rotational-cipher/RotationalCipher.csproj +2 -2
- data/tracks/csharp/exercises/run-length-encoding/RunLengthEncoding.csproj +2 -2
- data/tracks/csharp/exercises/saddle-points/SaddlePoints.csproj +2 -2
- data/tracks/csharp/exercises/say/Say.csproj +2 -2
- data/tracks/csharp/exercises/scale-generator/ScaleGenerator.csproj +2 -2
- data/tracks/csharp/exercises/scrabble-score/ScrabbleScore.csproj +2 -2
- data/tracks/csharp/exercises/secret-handshake/SecretHandshake.csproj +2 -2
- data/tracks/csharp/exercises/series/Series.csproj +2 -2
- data/tracks/csharp/exercises/sgf-parsing/SgfParsing.csproj +2 -2
- data/tracks/csharp/exercises/sieve/Sieve.csproj +2 -2
- data/tracks/csharp/exercises/simple-cipher/SimpleCipher.csproj +2 -2
- data/tracks/csharp/exercises/simple-linked-list/SimpleLinkedList.csproj +2 -2
- data/tracks/csharp/exercises/space-age/SpaceAge.csproj +2 -2
- data/tracks/csharp/exercises/strain/Strain.csproj +2 -2
- data/tracks/csharp/exercises/sublist/Sublist.csproj +2 -2
- data/tracks/csharp/exercises/sum-of-multiples/SumOfMultiples.csproj +2 -2
- data/tracks/csharp/exercises/tournament/Tournament.csproj +2 -2
- data/tracks/csharp/exercises/transpose/Transpose.csproj +2 -2
- data/tracks/csharp/exercises/tree-building/TreeBuilding.csproj +2 -2
- data/tracks/csharp/exercises/triangle/Triangle.csproj +2 -2
- data/tracks/csharp/exercises/twelve-days/TwelveDays.csproj +2 -2
- data/tracks/csharp/exercises/two-bucket/TwoBucket.csproj +2 -2
- data/tracks/csharp/exercises/two-fer/TwoFer.csproj +1 -1
- data/tracks/csharp/exercises/variable-length-quantity/VariableLengthQuantity.csproj +2 -2
- data/tracks/csharp/exercises/word-count/WordCount.csproj +2 -2
- data/tracks/csharp/exercises/word-search/WordSearch.csproj +2 -2
- data/tracks/csharp/exercises/wordy/Wordy.csproj +2 -2
- data/tracks/csharp/exercises/zebra-puzzle/ZebraPuzzle.csproj +2 -2
- data/tracks/csharp/exercises/zipper/Zipper.csproj +2 -2
- data/tracks/csharp/generators/Generators.csproj +4 -4
- data/tracks/ecmascript/exercises/simple-cipher/simple-cipher.spec.js +5 -0
- data/tracks/elixir/config.json +11 -0
- data/tracks/elixir/exercises/binary-search-tree/README.md +52 -0
- data/tracks/elixir/exercises/binary-search-tree/binary_search_tree.exs +27 -0
- data/tracks/elixir/exercises/binary-search-tree/binary_search_tree_test.exs +103 -0
- data/tracks/elixir/exercises/binary-search-tree/example.exs +29 -0
- data/tracks/elixir/exercises/protein-translation/README.md +4 -4
- data/tracks/go/exercises/phone-number/.meta/description.md +34 -0
- data/tracks/go/exercises/phone-number/.meta/metadata.yml +4 -0
- data/tracks/go/exercises/phone-number/README.md +9 -1
- data/tracks/javascript/.gitignore +2 -0
- data/tracks/javascript/README.md +2 -2
- data/tracks/javascript/config.json +14 -1
- data/tracks/javascript/exercises/change/README.md +36 -0
- data/tracks/javascript/exercises/change/change.spec.js +73 -0
- data/tracks/javascript/exercises/change/example.js +204 -0
- data/tracks/lua/config/maintainers.json +5 -5
- data/tracks/swift/exercises/allergies/Tests/AllergiesTests/AllergiesTests.swift +7 -1
- metadata +11 -2
@@ -22,12 +22,12 @@
|
|
22
22
|
},
|
23
23
|
{
|
24
24
|
"github_username": "robphoenix",
|
25
|
-
"show_on_website":
|
25
|
+
"show_on_website": true,
|
26
26
|
"alumnus": false,
|
27
|
-
"name":
|
28
|
-
"bio":
|
29
|
-
"link_text":
|
30
|
-
"link_url":
|
27
|
+
"name": "Rob Phoenix",
|
28
|
+
"bio": "Honestly, I'm a Lua noob. Helping to maintain this track is a great learning experience for me.",
|
29
|
+
"link_text": "robphoenix.com",
|
30
|
+
"link_url": "https://blog.robphoenix.com/",
|
31
31
|
"avatar_url": null
|
32
32
|
}
|
33
33
|
],
|
@@ -19,7 +19,6 @@ class AllergiesTests: XCTestCase {
|
|
19
19
|
XCTAssertTrue(allergies.hasAllergy(.eggs))
|
20
20
|
XCTAssertTrue(allergies.hasAllergy(.cats))
|
21
21
|
XCTAssertFalse(allergies.hasAllergy(.chocolate))
|
22
|
-
|
23
22
|
}
|
24
23
|
|
25
24
|
func testNone() {
|
@@ -28,6 +27,12 @@ class AllergiesTests: XCTestCase {
|
|
28
27
|
XCTAssertFalse(allergies.hasAllergy(.pollen))
|
29
28
|
}
|
30
29
|
|
30
|
+
func testOtherAllergies() {
|
31
|
+
let allergies = Allergies(257)
|
32
|
+
|
33
|
+
XCTAssertTrue(allergies.hasAllergy(.eggs))
|
34
|
+
}
|
35
|
+
|
31
36
|
func testAll() {
|
32
37
|
|
33
38
|
let allInt = UInt(Array(0...7).reduce(0) { return ($0 | (1 << $1)) })
|
@@ -49,6 +54,7 @@ class AllergiesTests: XCTestCase {
|
|
49
54
|
("testBob", testBob),
|
50
55
|
("testEggsNcats", testEggsNcats),
|
51
56
|
("testNone", testNone),
|
57
|
+
("testOtherAllergies", testOtherAllergies),
|
52
58
|
("testAll", testAll),
|
53
59
|
]
|
54
60
|
}
|
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.2.1.
|
4
|
+
version: 2.2.1.26
|
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-09-
|
11
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -3368,6 +3368,10 @@ files:
|
|
3368
3368
|
- tracks/elixir/exercises/beer-song/beer_song.exs
|
3369
3369
|
- tracks/elixir/exercises/beer-song/beer_song_test.exs
|
3370
3370
|
- tracks/elixir/exercises/beer-song/example.exs
|
3371
|
+
- tracks/elixir/exercises/binary-search-tree/README.md
|
3372
|
+
- tracks/elixir/exercises/binary-search-tree/binary_search_tree.exs
|
3373
|
+
- tracks/elixir/exercises/binary-search-tree/binary_search_tree_test.exs
|
3374
|
+
- tracks/elixir/exercises/binary-search-tree/example.exs
|
3371
3375
|
- tracks/elixir/exercises/binary-search/README.md
|
3372
3376
|
- tracks/elixir/exercises/binary-search/binary_search.exs
|
3373
3377
|
- tracks/elixir/exercises/binary-search/binary_search_test.exs
|
@@ -5238,7 +5242,9 @@ files:
|
|
5238
5242
|
- tracks/go/exercises/perfect-numbers/README.md
|
5239
5243
|
- tracks/go/exercises/perfect-numbers/example.go
|
5240
5244
|
- tracks/go/exercises/perfect-numbers/perfect_numbers_test.go
|
5245
|
+
- tracks/go/exercises/phone-number/.meta/description.md
|
5241
5246
|
- tracks/go/exercises/phone-number/.meta/gen.go
|
5247
|
+
- tracks/go/exercises/phone-number/.meta/metadata.yml
|
5242
5248
|
- tracks/go/exercises/phone-number/README.md
|
5243
5249
|
- tracks/go/exercises/phone-number/cases_test.go
|
5244
5250
|
- tracks/go/exercises/phone-number/example.go
|
@@ -6743,6 +6749,9 @@ files:
|
|
6743
6749
|
- tracks/javascript/exercises/bracket-push/README.md
|
6744
6750
|
- tracks/javascript/exercises/bracket-push/bracket-push.spec.js
|
6745
6751
|
- tracks/javascript/exercises/bracket-push/example.js
|
6752
|
+
- tracks/javascript/exercises/change/README.md
|
6753
|
+
- tracks/javascript/exercises/change/change.spec.js
|
6754
|
+
- tracks/javascript/exercises/change/example.js
|
6746
6755
|
- tracks/javascript/exercises/circular-buffer/README.md
|
6747
6756
|
- tracks/javascript/exercises/circular-buffer/circular-buffer.spec.js
|
6748
6757
|
- tracks/javascript/exercises/circular-buffer/example.js
|