thocky_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: 8aff505fc0e40c4d2db53ebc7b8056a42bde1c9e0167c6c530bd77fb43770b40
4
- data.tar.gz: 975db4a6c08e013dbfc8c922c323805f51b54c910ed587c78e5b20d558f7f599
3
+ metadata.gz: 2fa3b164f6687982ddb54a7523ece4720e0d1fa43af224a5a7511b5adabccbdb
4
+ data.tar.gz: d914753f14aa7788b54b4a266d62df89bab36dda7e05b5ad0d171e2c0776f836
5
5
  SHA512:
6
- metadata.gz: 9a0e8124816df82c922a12d11c7827f23df8236a6852287e8cfb2fb87fa0cbaeac9dc7d86348cdfcf87251cdd0fb94164e3b76850514091614f730207dadb376
7
- data.tar.gz: 5f4839e03072974e187956df1fe4eddd147258618b79ff66c795dbe10796a55e4958836232fe59d8793317ed1e3344d6eb982db0265519f25c1ad4a29cbbc332
6
+ metadata.gz: 61ad7bdce5b869564d827360ba5dcc8af63f464196f534d92a60a8ee7cb5cdd5cd238d41ac8f015deddf9372c6f2a982b09bd380fd64417685d5a6be14ecbdd3
7
+ data.tar.gz: 1e3871bc935f79803a45668fb1628ccbf09a8a89754fe1265b7365da5ea62297ccaf33f13084c6861f83ac2a25d053eeab690e26348257238db7bc8bac508246
data/.gitignore CHANGED
File without changes
data/.travis.yml CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- thocky_palindrome (0.2.0)
4
+ thocky_palindrome (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/bin/console CHANGED
File without changes
data/bin/setup CHANGED
File without changes
@@ -2,7 +2,7 @@ require "thocky_palindrome/version"
2
2
 
3
3
  module ThockyPalindrome
4
4
  def palindrome?
5
- processed_content == processed_content.reverse
5
+ !processed_content.empty? && (processed_content == processed_content.reverse)
6
6
  end
7
7
 
8
8
  private
@@ -1,3 +1,3 @@
1
1
  module ThockyPalindrome
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thocky_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
  - Thocky
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-25 00:00:00.000000000 Z
11
+ date: 2019-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler