fantastic_palindrome 0.2.0 → 0.3.0

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: 2e207c00d7e9095170f41bc1a68ca5116cf54bf72606db7dc47d449df410ed23
4
- data.tar.gz: 2b5905bef7d21531003710f404c92467eeb229a1f9affe959bc484d6337ba33c
3
+ metadata.gz: 80bc9bb4996e747b5bb9a6bfa58bcbe6849e459725009fd4766049b56167db43
4
+ data.tar.gz: f23ca5d3a2ba6fd5dda84a17f986c5d6781ad02cb12b9ec352e9f2fee59c4267
5
5
  SHA512:
6
- metadata.gz: 42be08db7fcac04b90fdc4179ed90e45036b388bcf789fc2cc244a6cd887bc88498edc8903b185cc6aed6d23ce015519f67954d585b25983802d248e35a42724
7
- data.tar.gz: da5d6d23bf266fef4119d1805ce808bb1e96bb56131d7cec5d05c2d476b5d8f7eb4bf06a154dbd03b21a7040a3026d0fe29a6b93470d6bc48ef38e37dd143714
6
+ metadata.gz: 71ab35033afa73ed7df74a5749daa560fbf11d0619882cd275abca12876d53b8691e303ab1b01d7a3c8fc52c71866f5c383a4eae7dbd3e8c174ed7490cc61c80
7
+ data.tar.gz: 8ccfdaea84cc49ef85c3e76ddf745e1ad48eca82737d850d71a1fa7f4be275c505308bfec809c77b08cd1280a2602359c86898ea6fadf59b45b55ed28c2bf08c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fantastic_palindrome (0.2.0)
4
+ fantastic_palindrome (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -4,7 +4,7 @@ module FantasticPalindrome
4
4
 
5
5
  # Returns true for a palindrome, false otherwise.
6
6
  def palindrome?
7
- processed_content == processed_content.reverse
7
+ processed_content.length > 0 && processed_content == processed_content.reverse
8
8
  end
9
9
 
10
10
  private
@@ -1,3 +1,3 @@
1
1
  module FantasticPalindrome
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fantastic_palindrome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - fiteclub
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-08 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler