trackler 2.2.1.38 → 2.2.1.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trackler/version.rb +1 -1
- data/tracks/erlang/config/maintainers.json +3 -3
- data/tracks/java/exercises/saddle-points/.meta/src/reference/java/MatrixCoordinate.java +32 -30
- data/tracks/java/exercises/saddle-points/src/main/java/MatrixCoordinate.java +24 -22
- data/tracks/sml/README.md +6 -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: fca8267c61e2d2a124c257a519cdfbf7ee7ab744
|
4
|
+
data.tar.gz: c219da8898261cf7dfacae62aca2359faf13d76f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77bed1ff6d9f160e44c00fb20c12ef430a670f54a0e3c14dec4cbbde0c4669aea7f364cd76067f28ba6e466fdde197fc8afbd43ead4dfe4ecd7a5c0d297bf211
|
7
|
+
data.tar.gz: 2d31514841ed921bcadaa25aedddf5d673802a757333cd97f9b4e2b8a7a13497a7521d9e5707535f0267860f5d59fa7a9cc69991389bb9d056da205dd5bb2f71
|
data/lib/trackler/version.rb
CHANGED
@@ -17,10 +17,10 @@
|
|
17
17
|
},
|
18
18
|
{
|
19
19
|
"github_username": "NobbZ",
|
20
|
-
"show_on_website":
|
20
|
+
"show_on_website": true,
|
21
21
|
"alumnus": false,
|
22
|
-
"name":
|
23
|
-
"bio":
|
22
|
+
"name": "Norbert Melzer",
|
23
|
+
"bio": "Found out about erlang via exercism, got hooked by its lightweight processes and how they are used as first class citizen. After fixing some trivial bugs in the track, I have been added to the team.",
|
24
24
|
"link_text": null,
|
25
25
|
"link_url": null,
|
26
26
|
"avatar_url": null
|
@@ -1,31 +1,33 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
1
|
+
class MatrixCoordinate {
|
2
|
+
private final int row;
|
3
|
+
private final int col;
|
4
|
+
|
5
|
+
MatrixCoordinate(final int row, final int col) {
|
6
|
+
this.row = row;
|
7
|
+
this.col = col;
|
8
|
+
}
|
9
|
+
|
10
|
+
@Override
|
11
|
+
public String toString() {
|
12
|
+
return "Row: " + row + ", Column: " + col;
|
13
|
+
}
|
14
|
+
|
15
|
+
// Generated equals and hashcode.
|
16
|
+
|
17
|
+
@Override
|
18
|
+
public boolean equals(final Object o) {
|
19
|
+
if (this == o) return true;
|
20
|
+
if (o == null || getClass() != o.getClass()) return false;
|
21
|
+
|
22
|
+
final MatrixCoordinate that = (MatrixCoordinate) o;
|
23
|
+
|
24
|
+
return row == that.row && col == that.col;
|
25
|
+
}
|
26
|
+
|
27
|
+
@Override
|
28
|
+
public int hashCode() {
|
29
|
+
int result = row;
|
30
|
+
result = 31 * result + col;
|
31
|
+
return result;
|
32
|
+
}
|
31
33
|
}
|
@@ -1,31 +1,33 @@
|
|
1
1
|
class MatrixCoordinate {
|
2
|
+
private final int row;
|
3
|
+
private final int col;
|
2
4
|
|
3
|
-
|
5
|
+
MatrixCoordinate(final int row, final int col) {
|
6
|
+
this.row = row;
|
7
|
+
this.col = col;
|
8
|
+
}
|
4
9
|
|
5
|
-
|
10
|
+
@Override
|
11
|
+
public String toString() {
|
12
|
+
return "Row: " + row + ", Column: " + col;
|
13
|
+
}
|
6
14
|
|
7
|
-
|
8
|
-
this.row = row;
|
9
|
-
this.col = col;
|
10
|
-
}
|
15
|
+
// Generated equals and hashcode.
|
11
16
|
|
12
|
-
|
17
|
+
@Override
|
18
|
+
public boolean equals(final Object o) {
|
19
|
+
if (this == o) return true;
|
20
|
+
if (o == null || getClass() != o.getClass()) return false;
|
13
21
|
|
14
|
-
|
15
|
-
public boolean equals(final Object o) {
|
16
|
-
if (this == o) return true;
|
17
|
-
if (o == null || getClass() != o.getClass()) return false;
|
22
|
+
final MatrixCoordinate that = (MatrixCoordinate) o;
|
18
23
|
|
19
|
-
|
20
|
-
|
21
|
-
return row == that.row && col == that.col;
|
22
|
-
}
|
23
|
-
|
24
|
-
@Override
|
25
|
-
public int hashCode() {
|
26
|
-
int result = row;
|
27
|
-
result = 31 * result + col;
|
28
|
-
return result;
|
29
|
-
}
|
24
|
+
return row == that.row && col == that.col;
|
25
|
+
}
|
30
26
|
|
27
|
+
@Override
|
28
|
+
public int hashCode() {
|
29
|
+
int result = row;
|
30
|
+
result = 31 * result + col;
|
31
|
+
return result;
|
32
|
+
}
|
31
33
|
}
|
data/tracks/sml/README.md
CHANGED
@@ -91,16 +91,18 @@ bin/generate {{ slug }}
|
|
91
91
|
|
92
92
|
It will create the exercise directory, test and stub files.
|
93
93
|
|
94
|
-
**Note:**
|
95
|
-
|
96
|
-
-
|
97
|
-
-
|
94
|
+
**Note:**
|
95
|
+
- You need Python 3.5+.
|
96
|
+
- It may fail with some exercises. Reasons:
|
97
|
+
- `canonical-data.json` does not exist
|
98
|
+
- type mismatch
|
98
99
|
|
99
100
|
In those cases you will have to create the files manually. `testlib.sml` can be copied from `lib/testlib.sml`. When in doubt, feel free to open an issue.
|
100
101
|
|
101
102
|
In order to generate `README.md` you will need an up to date copy of `problem-specifications`. This should be located at the same level as your `sml` clone. Then you can execute:
|
102
103
|
|
103
104
|
```
|
105
|
+
bin/fetch-configlet
|
104
106
|
bin/configlet generate . -o {{ slug }}
|
105
107
|
```
|
106
108
|
|
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.39
|
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-09-
|
11
|
+
date: 2017-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|