bmbc_palindrome 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: 2d4d93953c98a4602c3b0979746ec8f1b02a9d8075346158bf39bb7b03772f05
4
- data.tar.gz: 9384f2263b8a89c25de642a56e88d1ee512ecc1a9d40c2c1e7e25fc7fcb4796a
3
+ metadata.gz: ef608014191a0fb22ef368d16b176d64090bc35ea67a1a245e643d83cf48ba50
4
+ data.tar.gz: ff71d3af6f030707f2e3d2ff4582a98d752e52463c73c84492bf3362a1463673
5
5
  SHA512:
6
- metadata.gz: 323b5534b36e3ae8c2cd1ab552835ef255e6aaafc06e91d52b2d62723447aeb2cdc75ad4313e893679cad48635ceb389936728fa18a195e7935246ea5bd84d24
7
- data.tar.gz: d79c9aca58d5f44967ef576b9edad67d6b68ac2f7c2283ed9f3ae18003f64c9d044b4c67325b2c6cc90438d26172696b4e0cb4c34dabc3bba8ae65ce2cbf4e0a
6
+ metadata.gz: a58e384541354f1373bcf1a734318061371b9566ce6619665bd35d33a97db8b2a64ec4ba01b1dde7b4f8ca9ef228668fa914e1f2e0666162a83e5d8c0e601ded
7
+ data.tar.gz: 7330076ad612e150b46839894563a877a9f8ffca9f6752b71396acc21c34e3c386dbdb36d6d3dce05a7b8e36f6dcccf0fb5d6ad421bf91bd1e616bbc938b2627
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bmbc_palindrome (0.2.0)
4
+ bmbc_palindrome (0.2.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -3,6 +3,7 @@ require "bmbc_palindrome/version"
3
3
  module BmbcPalindrome
4
4
  # Returns true for a palindrome, false otherwise.
5
5
  def palindrome?
6
+ !processed_content.empty? &&
6
7
  processed_content == processed_content.reverse
7
8
  end
8
9
 
@@ -1,3 +1,3 @@
1
1
  module BmbcPalindrome
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmbc_palindrome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlastimil Cernicek
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-26 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Learn Enough Ruby palindrome detector
14
14
  email: