beginner.codes 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/challenges.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5006bebba31f4e53f2ed1aaf47e71c64522097718fbe76987cc75260a13b5a9
|
4
|
+
data.tar.gz: d96051234873574596354dbb7ac583c0e9b1c680091212a10ea22f6e55b8fd3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 074fd4a63171990caa85cf13a1892e6a76685f4e72581024b5de46761bf11663792cf829fd8c1fe50abd95224bd99dfa7e8e68ff7540f91b8461509f40dcfcea
|
7
|
+
data.tar.gz: f72cacb87dcee5406547eb1d87bca7c585b6b3ded39fae93b4fdc3d4a8aadfda6a9e20fe9a2eab599063c75b3b038fa2f19936bab446846362519c38f1ed634b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,20 @@
|
|
1
|
+
# 0.1.2 (27 October 2023)
|
2
|
+
|
3
|
+
---
|
4
|
+
|
5
|
+
## Enhancements
|
6
|
+
|
7
|
+
## Bug Fixes
|
8
|
+
|
9
|
+
- `.equal?` is not the same as `.eql?` ladies and gentlemen. Lessons learned. `equal?` compares for the same object in memory. `eql?` compares the *values* of both objects. Silly rabbit.
|
10
|
+
## Performance
|
11
|
+
|
12
|
+
## Documentation
|
13
|
+
|
14
|
+
- Updated the description to re-iterate its for a specific Discord server. Its public. Go check it out! Beginner.Codes
|
15
|
+
|
16
|
+
---
|
17
|
+
|
1
18
|
# 0.1.1 (27 October 2023)
|
2
19
|
|
3
20
|
---
|
data/lib/challenges.rb
CHANGED
@@ -46,7 +46,7 @@ def run_tests(tests, solution_func)
|
|
46
46
|
result.status = Status::EXCEPTION
|
47
47
|
result.got = e
|
48
48
|
else
|
49
|
-
result.status = Status::FAILED unless result.got.
|
49
|
+
result.status = Status::FAILED unless result.got.eql?(test_case['return'])
|
50
50
|
end
|
51
51
|
results << result
|
52
52
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beginner.codes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mr. Robinhood 5
|
@@ -11,8 +11,9 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2023-10-28 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description:
|
15
|
-
|
14
|
+
description: This is the un-official RubyGem for the Beginner.Codes Discord server.
|
15
|
+
Test your daily challenge solutions with provided tests automatically to ensure
|
16
|
+
you have a good solution.
|
16
17
|
email: mrrobinhood5@gmail.com
|
17
18
|
executables: []
|
18
19
|
extensions: []
|