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.
- checksums.yaml +4 -4
- data/bin/verify-metadata +1 -1
- data/lib/trackler/implementation.rb +1 -9
- data/lib/trackler/version.rb +1 -1
- data/tracks/go/exercises/tree-building/tree_test.go +1 -1
- data/tracks/haskell/.travis.yml +1 -0
- data/tracks/haskell/bin/test-example +17 -5
- data/tracks/haskell/bin/test-stub +14 -3
- data/tracks/java/exercises/build.gradle +3 -3
- data/tracks/java/exercises/difference-of-squares/src/test/java/DifferenceOfSquaresCalculatorTest.java +1 -1
- data/tracks/javascript/config.json +21 -1
- data/tracks/javascript/exercises/alphametics/alphametics.spec.js +95 -0
- data/tracks/javascript/exercises/alphametics/example.js +107 -0
- data/tracks/perl6/bin/README.md +5 -3
- data/tracks/perl6/docs/LEARNING.md +7 -0
- data/tracks/r/exercises/anagram/test_anagram.R +33 -52
- data/tracks/r/exercises/bob/test_bob.R +52 -73
- data/tracks/r/exercises/difference-of-squares/test_difference-of-squares.R +1 -2
- data/tracks/r/exercises/grains/test_grains.R +1 -1
- data/tracks/r/exercises/hamming/test_hamming.R +1 -1
- data/tracks/r/exercises/hello-world/test_hello-world.R +1 -1
- data/tracks/r/exercises/isogram/test_isogram.R +1 -1
- data/tracks/r/exercises/largest-series-product/test_largest-series-product.R +8 -8
- data/tracks/r/exercises/leap/test_leap.R +1 -1
- data/tracks/r/exercises/luhn/test_luhn.R +1 -1
- data/tracks/r/exercises/pascals-triangle/test_pascals-triangle.R +1 -1
- data/tracks/r/exercises/perfect-numbers/test_perfect-numbers.R +1 -1
- data/tracks/r/exercises/phone-number/test_phone-number.R +1 -1
- data/tracks/r/exercises/prime-factors/test_prime-factors.R +16 -21
- data/tracks/r/exercises/raindrops/test_raindrops.R +1 -1
- data/tracks/r/exercises/rna-transcription/test_rna-transcription.R +1 -1
- data/tracks/r/exercises/rotational-cipher/test_rotational-cipher.R +1 -1
- data/tracks/r/exercises/scrabble-score/test_scrabble-score.R +1 -1
- data/tracks/r/exercises/secret-handshake/test_secret-handshake.R +1 -1
- data/tracks/r/exercises/sieve/test_sieve.R +18 -17
- data/tracks/r/exercises/space-age/test_space-age.R +2 -2
- data/tracks/r/exercises/sum-of-multiples/test_sum-of-multiples.R +11 -11
- data/tracks/r/exercises/tournament/test_tournament.R +142 -107
- data/tracks/r/exercises/word-count/test_word-count.R +38 -17
- data/tracks/vimscript/config.json +23 -0
- data/tracks/vimscript/exercises/anagram/anagram.vader +95 -0
- data/tracks/vimscript/exercises/anagram/anagram.vim +19 -0
- data/tracks/vimscript/exercises/anagram/example.vim +18 -0
- data/tracks/vimscript/exercises/difference-of-squares/difference_of_squares.vader +35 -0
- data/tracks/vimscript/exercises/difference-of-squares/difference_of_squares.vim +24 -0
- data/tracks/vimscript/exercises/difference-of-squares/example.vim +19 -0
- data/tracks/vimscript/exercises/raindrops/example.vim +9 -0
- data/tracks/vimscript/exercises/raindrops/raindrops.vader +53 -0
- data/tracks/vimscript/exercises/raindrops/raindrops.vim +18 -0
- data/tracks/vimscript/exercises/rna-transcription/example.vim +3 -0
- data/tracks/vimscript/exercises/rna-transcription/rna_transcription.vader +23 -0
- data/tracks/vimscript/exercises/rna-transcription/rna_transcription.vim +20 -0
- 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.
|
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-
|
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:
|