beginner.codes 0.1.1 → 0.1.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/lib/challenges.rb +1 -1
  4. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 883130a887d01073e42756b639c831358de832e4ae66cc64f313b55efe24a8d8
4
- data.tar.gz: dad00e03f0974229c83195acba6eda00c98963f490fce03e52335d00cf452d63
3
+ metadata.gz: b5006bebba31f4e53f2ed1aaf47e71c64522097718fbe76987cc75260a13b5a9
4
+ data.tar.gz: d96051234873574596354dbb7ac583c0e9b1c680091212a10ea22f6e55b8fd3f
5
5
  SHA512:
6
- metadata.gz: a9085b34a2d791b85fca92effeb3acaa203937ba0716b8267095bb22cd9917c69b4e352b9b5a67104ff1bc83e48fd6999caa9cc6c1bc59a057678a5c0e1140ed
7
- data.tar.gz: ab9bfc561117e74f6077d72f0df222637d4e5772f9791e61e98a7db85bf77f00eb1fc7d89e6602d858e7be296aee5a51d2a67365001eb8209e1caea2aab1cbb4
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.equal?(test_case['return'])
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.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: Test your daily challenge solutions with provided tests automatically
15
- to ensure you have a good solution.
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: []