trackler 2.2.1.126 → 2.2.1.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/nim/docs/INSTALLATION.md +48 -0
- data/tracks/nim/docs/RESOURCES.md +11 -0
- data/tracks/nim/docs/TESTS.md +8 -0
- data/tracks/r/exercises/allergies/test_allergies.R +2 -0
- data/tracks/r/exercises/anagram/test_anagram.R +2 -0
- data/tracks/r/exercises/beer-song/test_beer-song.R +2 -0
- data/tracks/r/exercises/bob/test_bob.R +2 -0
- data/tracks/r/exercises/collatz-conjecture/test_collatz-conjecture.R +2 -0
- data/tracks/r/exercises/crypto-square/test_crypto-square.R +2 -0
- data/tracks/r/exercises/diamond/test_diamond.R +2 -0
- data/tracks/r/exercises/difference-of-squares/test_difference-of-squares.R +2 -0
- data/tracks/r/exercises/grains/test_grains.R +2 -0
- data/tracks/r/exercises/hamming/test_hamming.R +2 -0
- data/tracks/r/exercises/hello-world/test_hello-world.R +2 -0
- data/tracks/r/exercises/isogram/test_isogram.R +2 -0
- data/tracks/r/exercises/largest-series-product/test_largest-series-product.R +2 -0
- data/tracks/r/exercises/leap/test_leap.R +2 -0
- data/tracks/r/exercises/luhn/test_luhn.R +2 -0
- data/tracks/r/exercises/nucleotide-count/test_nucleotide-count.R +2 -0
- data/tracks/r/exercises/pangram/test_pangram.R +2 -0
- data/tracks/r/exercises/pascals-triangle/test_pascals-triangle.R +2 -0
- data/tracks/r/exercises/perfect-numbers/test_perfect-numbers.R +2 -0
- data/tracks/r/exercises/phone-number/test_phone-number.R +2 -0
- data/tracks/r/exercises/prime-factors/test_prime-factors.R +2 -0
- data/tracks/r/exercises/raindrops/test_raindrops.R +2 -0
- data/tracks/r/exercises/rna-transcription/test_rna-transcription.R +2 -0
- data/tracks/r/exercises/rotational-cipher/test_rotational-cipher.R +2 -0
- data/tracks/r/exercises/scrabble-score/test_scrabble-score.R +2 -0
- data/tracks/r/exercises/secret-handshake/test_secret-handshake.R +2 -0
- data/tracks/r/exercises/sieve/test_sieve.R +2 -0
- data/tracks/r/exercises/space-age/test_space-age.R +2 -0
- data/tracks/r/exercises/sum-of-multiples/test_sum-of-multiples.R +2 -0
- data/tracks/r/exercises/tournament/test_tournament.R +2 -0
- data/tracks/r/exercises/triangle/test_triangle.R +2 -0
- data/tracks/r/exercises/word-count/test_word-count.R +2 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c49ff0f4fc0fdb3d965cd232637f435ca35ab37
|
4
|
+
data.tar.gz: 377d99ac24f28b2eccaf38d846a7fccee0c02ff4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 025522777be27dc58735865b505c19d5db34479d5da0ce0c6a2e46a7ce7bbe1456d7566ee584dd70da28b9d0ac420f0be67de4a0e9c88b0876f67030cec60352
|
7
|
+
data.tar.gz: f635a024dab851dfe600a43afbb448df96e964e7ab92073f0af0a9288fb77bb0963891a8a49e5a1b2fb296146e4f106a7ab4e04457f5ca5634dd69f7aff9d953
|
data/lib/trackler/version.rb
CHANGED
@@ -0,0 +1,48 @@
|
|
1
|
+
## Installing Nim
|
2
|
+
|
3
|
+
### Homebrew on Mac OS X
|
4
|
+
|
5
|
+
```bash
|
6
|
+
brew update
|
7
|
+
brew install nim
|
8
|
+
```
|
9
|
+
|
10
|
+
### Arch Linux
|
11
|
+
|
12
|
+
```bash
|
13
|
+
pacman -S nim
|
14
|
+
```
|
15
|
+
|
16
|
+
### Void Linux
|
17
|
+
|
18
|
+
```bash
|
19
|
+
xbps-install -S nim
|
20
|
+
```
|
21
|
+
|
22
|
+
### FreeBSD
|
23
|
+
|
24
|
+
```bash
|
25
|
+
pkg install nim
|
26
|
+
```
|
27
|
+
|
28
|
+
## choosenim
|
29
|
+
If you are looking for a tool that is similar `rustup` and `pyenv`, [choosenim](https://github.com/dom96/choosenim) can help.
|
30
|
+
|
31
|
+
choosenim installs the Nim programming language from official downloads and sources, enabling you to easily switch between stable and development compilers.
|
32
|
+
|
33
|
+
### Unix
|
34
|
+
|
35
|
+
```bash
|
36
|
+
curl https://nim-lang.org/choosenim/init.sh -sSf | sh
|
37
|
+
```
|
38
|
+
|
39
|
+
### Windows
|
40
|
+
|
41
|
+
Download the latest Windows version from the [releases](https://github.com/dom96/choosenim/releases) page.
|
42
|
+
|
43
|
+
Execute the self-extracting archive, or extract the zip archive and run the runme.bat script. Follow any on screen prompts and enjoy your new Nim and choosenim installation.
|
44
|
+
|
45
|
+
## Other Platforms
|
46
|
+
|
47
|
+
Instructions for installing Nim can be found in the [Nim installation](https://nim-lang.org/install.html)
|
48
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
## Resources for Learning Nim
|
2
|
+
|
3
|
+
- [The Nim Tutorial](https://nim-lang.org/docs/tut1.html)
|
4
|
+
- [Nim by Example](https://nim-by-example.github.io/getting_started/)
|
5
|
+
- [Learn X in Y minutes for Nim](https://learnxinyminutes.com/docs/nim/)
|
6
|
+
- [Nim: An Overview Video by Andreas Rumpf from OSCON 2015](https://www.youtube.com/watch?v=4rJEBs_Nnaw)
|
7
|
+
- [Standard Library Documentation](https://nim-lang.org/docs/lib.html)
|
8
|
+
- [Nim in Action](https://www.manning.com/books/nim-in-action)
|
9
|
+
- [Nim Community Page](https://nim-lang.org/community.html)
|
10
|
+
- [Nim Subreddit](https://www.reddit.com/r/nim/)
|
11
|
+
|
@@ -1,6 +1,8 @@
|
|
1
1
|
source("./nucleotide-count.R")
|
2
2
|
library(testthat)
|
3
3
|
|
4
|
+
context("nucleotide count")
|
5
|
+
|
4
6
|
# When comparing lists, all.equal expects the objects to be in the same order
|
5
7
|
# This expectation instead checks that a) the set of names are the same and
|
6
8
|
# b) each named object is equal
|
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.127
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|
@@ -9750,7 +9750,10 @@ files:
|
|
9750
9750
|
- tracks/nim/config.json
|
9751
9751
|
- tracks/nim/config/exercise_readme.go.tmpl
|
9752
9752
|
- tracks/nim/config/maintainers.json
|
9753
|
+
- tracks/nim/docs/INSTALLATION.md
|
9754
|
+
- tracks/nim/docs/RESOURCES.md
|
9753
9755
|
- tracks/nim/docs/SNIPPET.txt
|
9756
|
+
- tracks/nim/docs/TESTS.md
|
9754
9757
|
- tracks/nim/exercises/anagram/README.md
|
9755
9758
|
- tracks/nim/exercises/anagram/anagram_test.nim
|
9756
9759
|
- tracks/nim/exercises/anagram/example.nim
|