trackler 2.0.8.45 → 2.0.8.46

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1c04b72d954089029c43862cf7bbb1fcf13bbbf
4
- data.tar.gz: 452d2160fb563b8b50a3018c1269ec2906dde5b7
3
+ metadata.gz: 0664612a2c6494dfb75ebb60db6f61357dde82d6
4
+ data.tar.gz: b1fbbd71516be8dcf8e04e2f220dd7cad02b0d59
5
5
  SHA512:
6
- metadata.gz: 8d324682cc79c3e6abed6543b160eb1c6ace6d5d1e3d51a39a49f1e807f72d45df45a6860f8809bb883e5d475929ddb6595b2e0e124b233023dc60fce82d8aa3
7
- data.tar.gz: 88c3251393a317be5a09b90da19931c53c7e161704e165f1a22bdb257cf3f0e91cc97c0c4f6c193f988f5d5836a9d7ab68bb6a7a9f28507896ad9fdc645de9d4
6
+ metadata.gz: 6ea409c79b1ba96197968f519d5f32eaab9cb0a214a72e7c070a9dc59d8f37bb239cd9dcb41e4f472bba51783d8b6ce2455dbb2adcb82d09329a7ac1bec5b0bf
7
+ data.tar.gz: 6116b6972c2ab97d31b50480b285f2feb9939c78608608fd9b50340083b2f25c7f37ffc2834c8e06d4593d952e80e513ad3141c74e38e90f50dd83c47932adb0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "exercise": "book-store",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "cases": [
5
5
  {
6
6
  "description": "Return the total basket price after applying the best discount.",
@@ -71,7 +71,7 @@
71
71
  "description": "Group of four plus group of two is cheaper than two groups of three",
72
72
  "basket": [1,1,2,2,3,4],
73
73
  "targetgrouping": [[1,2,3,4],[1,2]],
74
- "expected": 40.8
74
+ "expected": 40.80
75
75
  },
76
76
  {
77
77
  "property": "total",
@@ -104,4 +104,4 @@
104
104
  ]
105
105
  }
106
106
  ]
107
- }
107
+ }
@@ -1,3 +1,3 @@
1
1
  module Trackler
2
- VERSION = "2.0.8.45"
2
+ VERSION = "2.0.8.46"
3
3
  end
File without changes
@@ -20,18 +20,6 @@ describe('Robot', () => {
20
20
  expect(differentRobot.name).not.toEqual(robot.name);
21
21
  });
22
22
 
23
- xit('there can be lots of robots with different names each', () => {
24
- const NUMBER_OF_ROBOTS = 10000;
25
- const usedNames = new Set();
26
-
27
- for (let i = 0; i < NUMBER_OF_ROBOTS; i++) {
28
- const newRobot = new Robot();
29
- usedNames.add(newRobot.name);
30
- }
31
-
32
- expect(usedNames.size).toEqual(NUMBER_OF_ROBOTS);
33
- });
34
-
35
23
  xit('is able to reset the name', () => {
36
24
  const originalName = robot.name;
37
25
 
@@ -80,6 +68,19 @@ describe('Robot', () => {
80
68
  expect(areSequential(name2, name3)).toBe(false);
81
69
  expect(areSequential(name3, name3)).toBe(true);
82
70
  });
71
+
72
+ //This test is optional.
73
+ xit('there can be lots of robots with different names each', () => {
74
+ const NUMBER_OF_ROBOTS = 10000;
75
+ const usedNames = new Set();
76
+
77
+ for (let i = 0; i < NUMBER_OF_ROBOTS; i++) {
78
+ const newRobot = new Robot();
79
+ usedNames.add(newRobot.name);
80
+ }
81
+
82
+ expect(usedNames.size).toEqual(NUMBER_OF_ROBOTS);
83
+ });
83
84
 
84
85
  });
85
86
 
File without changes
@@ -12,7 +12,7 @@ Choose your operating system:
12
12
  * [Linux](#linux)
13
13
 
14
14
  ... or ...
15
- * if you prefer to not use a package maanger, you can [install manually](#install-manually).
15
+ * if you prefer to not use a package manager, you can [install manually](#install-manually).
16
16
 
17
17
  Optionally, you can also use a [Java IDE](#java-ides).
18
18
 
@@ -42,7 +42,7 @@ Open an administrative command prompt. (If you need assistance opening an admin
42
42
  ...
43
43
  ```
44
44
 
45
- We recommend closing the administrative command prompt and opening a new command prompt -- you do not require administrator priviledges to practice Exercism exercises.
45
+ We recommend closing the administrative command prompt and opening a new command prompt -- you do not require administrator privileges to practice Exercism exercises.
46
46
 
47
47
  You now are ready to get started with the Java track of Exercism!
48
48
 
@@ -26,19 +26,6 @@ describe('Robot', function() {
26
26
  expect(differentRobot.name).not.toEqual(robot.name);
27
27
  });
28
28
 
29
- xit('there can be lots of robots with different names each', function() {
30
- var i,
31
- numRobots = 10000,
32
- usedNames = {};
33
-
34
- for (i = 0; i < numRobots; i++) {
35
- var newRobot = new Robot();
36
- usedNames[newRobot.name] = true;
37
- }
38
-
39
- expect(Object.keys(usedNames).length).toEqual(numRobots);
40
- });
41
-
42
29
  xit('is able to reset the name', function() {
43
30
  var originalName = robot.name;
44
31
  robot.reset();
@@ -61,4 +48,18 @@ describe('Robot', function() {
61
48
 
62
49
  expect(Object.keys(usedNames).length).toEqual(numResets + 1);
63
50
  });
51
+
52
+ //This test is optional.
53
+ xit('there can be lots of robots with different names each', function() {
54
+ var i,
55
+ numRobots = 10000,
56
+ usedNames = {};
57
+
58
+ for (i = 0; i < numRobots; i++) {
59
+ var newRobot = new Robot();
60
+ usedNames[newRobot.name] = true;
61
+ }
62
+
63
+ expect(Object.keys(usedNames).length).toEqual(numRobots);
64
+ });
64
65
  });
@@ -41,7 +41,7 @@ ambiguous problem description.
41
41
  #### Reviewing issues and pull requests
42
42
 
43
43
  If you have an opinion or feedback on work currently being done on this track
44
- please do [write a comment][write-comment] for an [issue][issue] or a
44
+ please do [write a comment][write-comment] for an [issue][issues] or a
45
45
  [pull request][prs]. Feedback is extremely useful to us.
46
46
 
47
47
  [write-comment]: https://help.github.com/articles/commenting-on-a-pull-request/
@@ -9,7 +9,7 @@ if not hasattr(unittest.TestCase, 'assertCountEqual'):
9
9
 
10
10
  # test cases adapted from `x-common//canonical-data.json` @ version: 1.0.0
11
11
 
12
- class AllergiesTests():
12
+ class AllergiesTests(unittest.TestCase):
13
13
  def test_no_allergies_means_not_allergic(self):
14
14
  allergies = Allergies(0)
15
15
  self.assertFalse(allergies.is_allergic_to('peanuts'))
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.8.45
4
+ version: 2.0.8.46
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-04-09 00:00:00.000000000 Z
11
+ date: 2017-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -2068,6 +2068,7 @@ files:
2068
2068
  - tracks/dlang/img/icon.png
2069
2069
  - tracks/ecmascript/.editorconfig
2070
2070
  - tracks/ecmascript/.git
2071
+ - tracks/ecmascript/.github/stale.yml
2071
2072
  - tracks/ecmascript/.gitignore
2072
2073
  - tracks/ecmascript/.travis.yml
2073
2074
  - tracks/ecmascript/LICENSE
@@ -2852,6 +2853,7 @@ files:
2852
2853
  - tracks/elm/img/icon.png
2853
2854
  - tracks/elm/package.json
2854
2855
  - tracks/erlang/.git
2856
+ - tracks/erlang/.github/stale.yml
2855
2857
  - tracks/erlang/.gitignore
2856
2858
  - tracks/erlang/.travis.yml
2857
2859
  - tracks/erlang/LICENSE