trackler 2.1.0.19 → 2.1.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/bin/verify-metadata +1 -1
  3. data/lib/trackler/implementation.rb +1 -9
  4. data/lib/trackler/version.rb +1 -1
  5. data/tracks/go/exercises/tree-building/tree_test.go +1 -1
  6. data/tracks/haskell/.travis.yml +1 -0
  7. data/tracks/haskell/bin/test-example +17 -5
  8. data/tracks/haskell/bin/test-stub +14 -3
  9. data/tracks/java/exercises/build.gradle +3 -3
  10. data/tracks/java/exercises/difference-of-squares/src/test/java/DifferenceOfSquaresCalculatorTest.java +1 -1
  11. data/tracks/javascript/config.json +21 -1
  12. data/tracks/javascript/exercises/alphametics/alphametics.spec.js +95 -0
  13. data/tracks/javascript/exercises/alphametics/example.js +107 -0
  14. data/tracks/perl6/bin/README.md +5 -3
  15. data/tracks/perl6/docs/LEARNING.md +7 -0
  16. data/tracks/r/exercises/anagram/test_anagram.R +33 -52
  17. data/tracks/r/exercises/bob/test_bob.R +52 -73
  18. data/tracks/r/exercises/difference-of-squares/test_difference-of-squares.R +1 -2
  19. data/tracks/r/exercises/grains/test_grains.R +1 -1
  20. data/tracks/r/exercises/hamming/test_hamming.R +1 -1
  21. data/tracks/r/exercises/hello-world/test_hello-world.R +1 -1
  22. data/tracks/r/exercises/isogram/test_isogram.R +1 -1
  23. data/tracks/r/exercises/largest-series-product/test_largest-series-product.R +8 -8
  24. data/tracks/r/exercises/leap/test_leap.R +1 -1
  25. data/tracks/r/exercises/luhn/test_luhn.R +1 -1
  26. data/tracks/r/exercises/pascals-triangle/test_pascals-triangle.R +1 -1
  27. data/tracks/r/exercises/perfect-numbers/test_perfect-numbers.R +1 -1
  28. data/tracks/r/exercises/phone-number/test_phone-number.R +1 -1
  29. data/tracks/r/exercises/prime-factors/test_prime-factors.R +16 -21
  30. data/tracks/r/exercises/raindrops/test_raindrops.R +1 -1
  31. data/tracks/r/exercises/rna-transcription/test_rna-transcription.R +1 -1
  32. data/tracks/r/exercises/rotational-cipher/test_rotational-cipher.R +1 -1
  33. data/tracks/r/exercises/scrabble-score/test_scrabble-score.R +1 -1
  34. data/tracks/r/exercises/secret-handshake/test_secret-handshake.R +1 -1
  35. data/tracks/r/exercises/sieve/test_sieve.R +18 -17
  36. data/tracks/r/exercises/space-age/test_space-age.R +2 -2
  37. data/tracks/r/exercises/sum-of-multiples/test_sum-of-multiples.R +11 -11
  38. data/tracks/r/exercises/tournament/test_tournament.R +142 -107
  39. data/tracks/r/exercises/word-count/test_word-count.R +38 -17
  40. data/tracks/vimscript/config.json +23 -0
  41. data/tracks/vimscript/exercises/anagram/anagram.vader +95 -0
  42. data/tracks/vimscript/exercises/anagram/anagram.vim +19 -0
  43. data/tracks/vimscript/exercises/anagram/example.vim +18 -0
  44. data/tracks/vimscript/exercises/difference-of-squares/difference_of_squares.vader +35 -0
  45. data/tracks/vimscript/exercises/difference-of-squares/difference_of_squares.vim +24 -0
  46. data/tracks/vimscript/exercises/difference-of-squares/example.vim +19 -0
  47. data/tracks/vimscript/exercises/raindrops/example.vim +9 -0
  48. data/tracks/vimscript/exercises/raindrops/raindrops.vader +53 -0
  49. data/tracks/vimscript/exercises/raindrops/raindrops.vim +18 -0
  50. data/tracks/vimscript/exercises/rna-transcription/example.vim +3 -0
  51. data/tracks/vimscript/exercises/rna-transcription/rna_transcription.vader +23 -0
  52. data/tracks/vimscript/exercises/rna-transcription/rna_transcription.vim +20 -0
  53. metadata +16 -2
@@ -0,0 +1,20 @@
1
+ "
2
+ " This function takes a DNA strand and returns its RNA complement.
3
+ "
4
+ " G -> C
5
+ " C -> G
6
+ " T -> A
7
+ " A -> U
8
+ "
9
+ " If the input is invalid, return an empty string.
10
+ "
11
+ " Example:
12
+ "
13
+ " :echo OfDNA('ACGTGGTCTTAA')
14
+ " UGCACCAGAAUU
15
+ "
16
+ function! OfDNA(strand) abort
17
+
18
+ " your solution goes here
19
+
20
+ endfunction
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.1.0.19
4
+ version: 2.1.0.20
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-05-24 00:00:00.000000000 Z
11
+ date: 2017-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -4647,6 +4647,8 @@ files:
4647
4647
  - tracks/javascript/exercises/all-your-base/example.js
4648
4648
  - tracks/javascript/exercises/allergies/allergies.spec.js
4649
4649
  - tracks/javascript/exercises/allergies/example.js
4650
+ - tracks/javascript/exercises/alphametics/alphametics.spec.js
4651
+ - tracks/javascript/exercises/alphametics/example.js
4650
4652
  - tracks/javascript/exercises/anagram/anagram.spec.js
4651
4653
  - tracks/javascript/exercises/anagram/example.js
4652
4654
  - tracks/javascript/exercises/atbash-cipher/atbash-cipher.spec.js
@@ -9055,9 +9057,15 @@ files:
9055
9057
  - tracks/vimscript/docs/RESOURCES.md
9056
9058
  - tracks/vimscript/docs/TESTS.md
9057
9059
  - tracks/vimscript/exercises/.keep
9060
+ - tracks/vimscript/exercises/anagram/anagram.vader
9061
+ - tracks/vimscript/exercises/anagram/anagram.vim
9062
+ - tracks/vimscript/exercises/anagram/example.vim
9058
9063
  - tracks/vimscript/exercises/bob/bob.vader
9059
9064
  - tracks/vimscript/exercises/bob/bob.vim
9060
9065
  - tracks/vimscript/exercises/bob/example.vim
9066
+ - tracks/vimscript/exercises/difference-of-squares/difference_of_squares.vader
9067
+ - tracks/vimscript/exercises/difference-of-squares/difference_of_squares.vim
9068
+ - tracks/vimscript/exercises/difference-of-squares/example.vim
9061
9069
  - tracks/vimscript/exercises/hamming/example.vim
9062
9070
  - tracks/vimscript/exercises/hamming/hamming.vader
9063
9071
  - tracks/vimscript/exercises/hamming/hamming.vim
@@ -9067,6 +9075,12 @@ files:
9067
9075
  - tracks/vimscript/exercises/leap/example.vim
9068
9076
  - tracks/vimscript/exercises/leap/leap.vader
9069
9077
  - tracks/vimscript/exercises/leap/leap.vim
9078
+ - tracks/vimscript/exercises/raindrops/example.vim
9079
+ - tracks/vimscript/exercises/raindrops/raindrops.vader
9080
+ - tracks/vimscript/exercises/raindrops/raindrops.vim
9081
+ - tracks/vimscript/exercises/rna-transcription/example.vim
9082
+ - tracks/vimscript/exercises/rna-transcription/rna_transcription.vader
9083
+ - tracks/vimscript/exercises/rna-transcription/rna_transcription.vim
9070
9084
  - tracks/vimscript/img/icon.png
9071
9085
  homepage: http://exercism.io
9072
9086
  licenses: