trackler 2.1.0.15 → 2.1.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4cc8feb981bb581bf3e184bc80c36e688a053780
4
- data.tar.gz: 99ba32cbd4a8150d8e61cd98529c24e0b9e84560
3
+ metadata.gz: 298c9a6dd5a77188f3eda4b9bae0043cdcee2291
4
+ data.tar.gz: 356a73cc121f532af8ce9d5880f8d6f05978e3bf
5
5
  SHA512:
6
- metadata.gz: 8ff2e026ea8852d5d536b4c2e2438fe61d73a7f0a3fa5f7722960f9a78425178b9aff48121fbce323625b136869339cf0f2edf407fe56cd72c47c2b3892fce52
7
- data.tar.gz: d96344f2ceb0c6e8179c1b23c5f1c914ecf329e7ab49a8fc0bcd6afae2e41c304296c1a26efe5414d1eea88df30ed6ed9d924f6364c09610c7f4ff302c4483f4
6
+ metadata.gz: 649d9fe4541ac648ca71d1c4a1dfcad6c4d348e016b1811430be0f8ee53f64b2b881d5797be3eb67375c632d219168949e1cafbdaad6969c0b8e7d5a08b047b2
7
+ data.tar.gz: 5fc503835598a7a5c065e4bdb07393cdd18d9440a5e2a269c611ed85ea3127e522c1678f6c22ab6dc302bd04574904fb81dc2379f331399f29305258e6edc707
@@ -1,3 +1,3 @@
1
1
  module Trackler
2
- VERSION = "2.1.0.15"
2
+ VERSION = "2.1.0.16"
3
3
  end
@@ -10,7 +10,7 @@ import static org.junit.Assert.assertEquals;
10
10
  /*
11
11
  * version: 1.1.0
12
12
  */
13
- public final class FlattenerTest {
13
+ public class FlattenerTest {
14
14
 
15
15
  private Flattener flattener;
16
16
 
@@ -1,19 +1,20 @@
1
1
  import java.time.LocalDateTime;
2
2
  import java.time.LocalDate;
3
3
 
4
- public class Gigasecond {
4
+ class Gigasecond {
5
5
 
6
6
  private LocalDateTime birthDateTime;
7
7
 
8
- public Gigasecond(LocalDateTime birthDateTime) {
9
- this.birthDateTime = birthDateTime;
8
+ Gigasecond(LocalDate birthDate) {
9
+ this.birthDateTime = birthDate.atTime(0, 0);
10
10
  }
11
11
 
12
- public Gigasecond(LocalDate birthDate) {
13
- this.birthDateTime = birthDate.atTime(0, 0);
12
+ Gigasecond(LocalDateTime birthDateTime) {
13
+ this.birthDateTime = birthDateTime;
14
14
  }
15
15
 
16
- public LocalDateTime getDate() {
16
+ LocalDateTime getDate() {
17
17
  return birthDateTime.plusSeconds(1000000000);
18
18
  }
19
+
19
20
  }
@@ -0,0 +1,18 @@
1
+ import java.time.LocalDate;
2
+ import java.time.LocalDateTime;
3
+
4
+ class Gigasecond {
5
+
6
+ Gigasecond(LocalDate birthDate) {
7
+ throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
8
+ }
9
+
10
+ Gigasecond(LocalDateTime birthDateTime) {
11
+ throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
12
+ }
13
+
14
+ LocalDateTime getDate() {
15
+ throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
16
+ }
17
+
18
+ }
@@ -9,7 +9,6 @@ import static org.junit.Assert.assertEquals;
9
9
 
10
10
  public class GigasecondTest {
11
11
 
12
-
13
12
  @Test
14
13
  public void modernTime() {
15
14
  Gigasecond gigaSecond = new Gigasecond(LocalDate.of(2011, Month.APRIL, 25));
@@ -7,7 +7,7 @@ import java.util.Arrays;
7
7
 
8
8
  import static org.junit.Assert.assertEquals;
9
9
 
10
- public final class OpticalCharacterReaderTest {
10
+ public class OpticalCharacterReaderTest {
11
11
 
12
12
  /*
13
13
  * See https://github.com/junit-team/junit4/wiki/Rules for information on JUnit Rules in general and
@@ -7,7 +7,7 @@ import static java.util.Collections.emptyList;
7
7
  import static java.util.Collections.singletonList;
8
8
  import static org.junit.Assert.assertEquals;
9
9
 
10
- public final class HandshakeCalculatorTest {
10
+ public class HandshakeCalculatorTest {
11
11
  private HandshakeCalculator handshakeCalculator;
12
12
 
13
13
 
@@ -25,6 +25,7 @@ include 'hamming'
25
25
  include 'hexadecimal'
26
26
  include 'hello-world'
27
27
  include 'isogram'
28
+ include 'kindergarten-garden'
28
29
  include 'largest-series-product'
29
30
  include 'linked-list'
30
31
  include 'list-ops'
@@ -51,6 +52,7 @@ include 'rna-transcription'
51
52
  include 'robot-name'
52
53
  include 'robot-simulator'
53
54
  include 'roman-numerals'
55
+ include 'run-length-encoding'
54
56
  include 'saddle-points'
55
57
  include 'scrabble-score'
56
58
  include 'secret-handshake'
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.15
4
+ version: 2.1.0.16
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-18 00:00:00.000000000 Z
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -4387,7 +4387,7 @@ files:
4387
4387
  - tracks/java/exercises/flatten-array/src/test/java/FlattenerTest.java
4388
4388
  - tracks/java/exercises/gigasecond/build.gradle
4389
4389
  - tracks/java/exercises/gigasecond/src/example/java/Gigasecond.java
4390
- - tracks/java/exercises/gigasecond/src/main/java/.keep
4390
+ - tracks/java/exercises/gigasecond/src/main/java/Gigasecond.java
4391
4391
  - tracks/java/exercises/gigasecond/src/test/java/GigasecondTest.java
4392
4392
  - tracks/java/exercises/grade-school/build.gradle
4393
4393
  - tracks/java/exercises/grade-school/src/example/java/School.java
File without changes