trackler 2.0.5.16 → 2.0.5.17
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/lisp/exercises/allergies/allergies-test.lisp +1 -2
- data/tracks/lisp/exercises/anagram/anagram-test.lisp +1 -2
- data/tracks/lisp/exercises/atbash-cipher/atbash-cipher-test.lisp +1 -2
- data/tracks/lisp/exercises/beer-song/beer-song-test.lisp +1 -2
- data/tracks/lisp/exercises/binary/binary-test.lisp +1 -2
- data/tracks/lisp/exercises/bob/bob-test.lisp +1 -2
- data/tracks/lisp/exercises/crypto-square/crypto-square-test.lisp +1 -2
- data/tracks/lisp/exercises/difference-of-squares/difference-of-squares-test.lisp +1 -2
- data/tracks/lisp/exercises/etl/etl-test.lisp +1 -2
- data/tracks/lisp/exercises/gigasecond/gigasecond-test.lisp +1 -2
- data/tracks/lisp/exercises/grade-school/grade-school-test.lisp +1 -2
- data/tracks/lisp/exercises/grains/grains-test.lisp +1 -2
- data/tracks/lisp/exercises/hamming/hamming-test.lisp +0 -1
- data/tracks/lisp/exercises/leap/leap-test.lisp +1 -2
- data/tracks/lisp/exercises/meetup/meetup-test.lisp +1 -2
- data/tracks/lisp/exercises/nucleotide-count/nucleotide-count-test.lisp +1 -2
- data/tracks/lisp/exercises/phone-number/phone-number-test.lisp +1 -2
- data/tracks/lisp/exercises/prime-factors/prime-factors-test.lisp +1 -2
- data/tracks/lisp/exercises/raindrops/raindrops-test.lisp +1 -2
- data/tracks/lisp/exercises/rna-transcription/rna-transcription-test.lisp +1 -2
- data/tracks/lisp/exercises/robot-name/robot-name-test.lisp +1 -2
- data/tracks/lisp/exercises/roman-numerals/roman-numerals-test.lisp +1 -2
- data/tracks/lisp/exercises/scrabble-score/scrabble-score-test.lisp +1 -2
- data/tracks/lisp/exercises/sieve/sieve-test.lisp +1 -2
- data/tracks/lisp/exercises/space-age/space-age-test.lisp +1 -2
- data/tracks/lisp/exercises/strain/strain-test.lisp +1 -2
- data/tracks/lisp/exercises/triangle/triangle-test.lisp +1 -2
- data/tracks/lisp/exercises/trinary/trinary-test.lisp +1 -2
- data/tracks/lisp/exercises/word-count/word-count-test.lisp +1 -2
- data/tracks/perl6/exercises/accumulate/Example.pm +1 -1
- data/tracks/perl6/exercises/accumulate/accumulate.t +4 -4
- data/tracks/perl6/exercises/anagram/Example.pm +1 -1
- data/tracks/perl6/exercises/anagram/anagram.t +4 -4
- data/tracks/perl6/exercises/binary/Example.pm +1 -1
- data/tracks/perl6/exercises/binary/binary.t +4 -4
- data/tracks/perl6/exercises/bob/Example.pm +1 -1
- data/tracks/perl6/exercises/bob/bob.t +4 -4
- data/tracks/perl6/exercises/grains/Example.pm +1 -1
- data/tracks/perl6/exercises/grains/grains.t +4 -4
- data/tracks/perl6/exercises/leap/Example.pm +1 -1
- data/tracks/perl6/exercises/leap/leap.t +4 -4
- data/tracks/perl6/exercises/phone-number/Example.pm +1 -1
- data/tracks/perl6/exercises/phone-number/phone.t +6 -14
- data/tracks/perl6/exercises/raindrops/Example.pm +1 -1
- data/tracks/perl6/exercises/raindrops/raindrops.t +4 -4
- data/tracks/perl6/exercises/rna-transcription/Example.pm +1 -1
- data/tracks/perl6/exercises/rna-transcription/rna_transcription.t +4 -4
- data/tracks/perl6/exercises/robot-name/Example.pm +1 -1
- data/tracks/perl6/exercises/robot-name/robot.t +4 -4
- data/tracks/perl6/exercises/scrabble-score/Example.pm +1 -1
- data/tracks/perl6/exercises/scrabble-score/scrabble_score.t +4 -4
- data/tracks/perl6/exercises/word-count/Example.pm +1 -1
- data/tracks/perl6/exercises/word-count/word_count.t +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 849e8ea841fb367877c5cb1e81da718b5ec56a51
|
4
|
+
data.tar.gz: c78ef2f6983bf16650a42642507cbd83dc2b77c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b004ae9d1106f5404bb0987f52b6bc9c200e4e9802cfb7d55900f38e519b2ab288dfa598e5e0585bf83634423a1800b72e42bda3e3db27f220468397da9d380
|
7
|
+
data.tar.gz: a75697e21fdf6167bac7af0e2698086c402a1591bd934ef40d0d4354799c0e1329cb7ff46413b3dff21edc256fdb3b64339b484ccb335b8c42ba887db70a40c2
|
data/lib/trackler/version.rb
CHANGED
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 8;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Accumulate';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Accumulate>;
|
10
10
|
|
11
11
|
ok Accumulate.can('accumulate'), 'Accumulate class has accumulate() method';
|
12
12
|
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 11;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Anagram';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Anagram>;
|
10
10
|
|
11
11
|
ok Anagram.can('match'), 'Class Anagram has match method';
|
12
12
|
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 10;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Binary';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Binary>;
|
10
10
|
|
11
11
|
ok Binary.can('to_decimal'), 'Class Binary has to_decimal method';
|
12
12
|
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 21;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Bob';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Bob>;
|
10
10
|
|
11
11
|
ok Bob.can('hey'), 'Class Bob has hey() method';
|
12
12
|
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 11;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Grains';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Grains>;
|
10
10
|
|
11
11
|
ok Grains.can('square'), 'Grains class has square method';
|
12
12
|
ok Grains.can('total'), 'Grains class has total method';
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 8;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Leap';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Leap>;
|
10
10
|
|
11
11
|
ok Leap.can('is_leap'), 'Leap class has is_leap() method';
|
12
12
|
|
@@ -4,10 +4,10 @@ use Test;
|
|
4
4
|
use JSON::Tiny;
|
5
5
|
use lib my $path = IO::Path.new($?FILE).parent.path;
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
plan 12;
|
8
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Phone';
|
9
|
+
use-ok $module;
|
10
|
+
require ::($module) <Phone>;
|
11
11
|
|
12
12
|
my %tests = from-json open("$path/cases.json").slurp-rest;
|
13
13
|
|
@@ -26,16 +26,8 @@ for @(%tests<valid>) {
|
|
26
26
|
is $phone.pretty, .<pretty>, "pretty $msg";
|
27
27
|
}
|
28
28
|
|
29
|
-
|
30
|
-
if %*ENV<EXERCISM> {
|
31
|
-
$exception = X::Phone::Invalid;
|
32
|
-
}
|
33
|
-
else {
|
34
|
-
todo 'Optional Exception Tests'; # Remove this line for invalid input tests
|
35
|
-
$exception = Exception; # Change this if you wish to specify a specific exception
|
36
|
-
}
|
37
|
-
|
29
|
+
todo 'Optional Exception Tests' unless %*ENV<EXERCISM>; # Remove this line for invalid input tests
|
38
30
|
subtest 'Throw exceptions for invalid input', {
|
39
31
|
plan 5;
|
40
|
-
throws-like {Phone.new(number => .<input>)},
|
32
|
+
throws-like {Phone.new(number => .<input>)}, Exception, .<test> for @(%tests<invalid>);
|
41
33
|
}
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 23;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Raindrops';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Raindrops>;
|
10
10
|
|
11
11
|
ok Raindrops.can('convert'), 'Class Raindrops has convert method';
|
12
12
|
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 7;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'RNA_Transcription';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <RNA_Transcription>;
|
10
10
|
|
11
11
|
ok RNA_Transcription.can('to_rna'), 'Class RNA_Transcription has to_rna() method';
|
12
12
|
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 7;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Robot';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Robot>;
|
10
10
|
|
11
11
|
ok Robot.can('name'), 'Robot class has name attribute';
|
12
12
|
ok Robot.can('reset_name'), 'Robot class has reset_name method';
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 10;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Scrabble';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Scrabble>;
|
10
10
|
|
11
11
|
ok Scrabble.can('score'), 'Scrabble class has score() method';
|
12
12
|
|
@@ -3,10 +3,10 @@ use v6;
|
|
3
3
|
use Test;
|
4
4
|
use lib IO::Path.new($?FILE).parent.path;
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
plan 8;
|
7
|
+
my $module = %*ENV<EXERCISM> ?? 'Example' !! 'Word_Counter';
|
8
|
+
use-ok $module;
|
9
|
+
require ::($module) <Word_Counter>;
|
10
10
|
|
11
11
|
ok Word_Counter.can('count_words'), 'Class Word_Counter has count_words method';
|
12
12
|
|
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.0.5.
|
4
|
+
version: 2.0.5.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katrina Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|