hsztan_palindrome 0.5.0 → 0.5.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: '049b280227fde13985fe58e32a4847b4ca30e77992f14cce7832335ad9ee5ec8'
4
- data.tar.gz: cc383beece4804027d42e990c1e8e9394916b112a155d21c008bc5df65eff14f
3
+ metadata.gz: 693c708112c789cd7fe95543fa41ca1bdccf485a931873649f419dfa5ee5dd84
4
+ data.tar.gz: 17df511e0251c34d8d012b7335c53ef2a377c0be15e37f85a165a106d2f88f3c
5
5
  SHA512:
6
- metadata.gz: b813720a0f610c404e5f5e9bbe9c1c3c14e637eb59832c6c5cc4bad331329dd6241c5fa4f31f6364e7ab65e9f60182f1331423743e78e05df718e3151ca34a9e
7
- data.tar.gz: 412d1d195521c010861c23dcd462ae87838d7b5c4b13a407f8c18a83395452839d065cd6c85066c651a897c7e2e88098bc16446e13d447ef58a666ffecebdb1f
6
+ metadata.gz: 4e20dcb96bc3eafd635c7d2b531c5eb521fb90a9bdb929e08bfe841db65c04909ed2556b1882b5449ec5118dfca0e6e9540386d55acac3cec06bd066f92c90c4
7
+ data.tar.gz: e207d5c83800bc626cd19d4f54360fa7805edba870f8831708fdd6a4effe7ecc218026672037badf173adad6a4fdeac4d901e206df13e0e84b2802ed3ac91bfb
data/README.md CHANGED
@@ -38,6 +38,22 @@ require 'hsztan_palindrome'
38
38
 
39
39
  12321.palindrome? # => true
40
40
 
41
+ [
42
+ [1, 2, 3],
43
+ [2, 3, 2],
44
+ [3, 2, 1]
45
+ ].palindrome? # => true
46
+
47
+ [
48
+ [2, 3, 4],
49
+ [2, 3, 2],
50
+ [3, 2, 1]
51
+ ].palindrome? # => false
52
+
53
+ [1, 2, 3, 4, 5].palindrome? # => false
54
+
55
+ ```
56
+
41
57
  ```
42
58
 
43
59
  ## Development
@@ -1,3 +1,3 @@
1
1
  module HsztanPalindrome
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hsztan_palindrome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Nawrocki