jhall_palindrome 0.4.0 → 0.5.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: a9313dd6d388e8865d97469390cd562ca561d45eafed04f6d16eb696137d8713
4
- data.tar.gz: f15e458aecb6ca18709c51adc685d50b4585adbf38fdc57c5f9cd4890b216d17
3
+ metadata.gz: dc22559625aacd0f9f47160f5bfc9b88b87a47ec15b6b38475da6536a168536e
4
+ data.tar.gz: 8d52ce66d5ded832449ae362ebedf99b9619494fdafc318cdd184da7436fad19
5
5
  SHA512:
6
- metadata.gz: 8b05106d8affeb3a894ff3fc55a0a633b59c2cbd2d64014269a088a80683d26606822af14918f29bf2100c4c47761554a535945722cf0525c528d4fe1572d141
7
- data.tar.gz: 5c5e54956de08c5a32733f4795a1cba5a292f06e43fbc9b844527ab2f6d5618a8480fb022e9091f791b28672af5604726e1d0ad05300fed43ba2e9ef0054a41b
6
+ metadata.gz: 48ed64e127e2e9fc8e129152ba3e8b4f392148436d68c27b4fa5c34469068241cb9a3d306e113c4dbbf22f5713ad046177bcf502140c00d898559d45ba014e20
7
+ data.tar.gz: e06ea702342b79320adc324130e6eb091b91ff8b1907224be1f9e1f266cc6c3bf505eaea2b70bf5abcc200e9f617ae9f3721645dbdc7fecd201cf57e4ed7289d
data/Gemfile CHANGED
@@ -6,4 +6,3 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6
6
  gemspec
7
7
 
8
8
  gem 'minitest-reporters', '1.2.0'
9
- gem 'win32console'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jhall_palindrome (0.4.0)
4
+ jhall_palindrome (0.5.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -16,9 +16,9 @@ GEM
16
16
  ruby-progressbar
17
17
  rake (10.5.0)
18
18
  ruby-progressbar (1.10.1)
19
- win32console (1.3.2)
20
19
 
21
20
  PLATFORMS
21
+ ruby
22
22
  x64-mingw32
23
23
 
24
24
  DEPENDENCIES
@@ -27,7 +27,6 @@ DEPENDENCIES
27
27
  minitest (~> 5.0)
28
28
  minitest-reporters (= 1.2.0)
29
29
  rake (~> 10.0)
30
- win32console
31
30
 
32
31
  BUNDLED WITH
33
- 1.17.2
32
+ 1.17.3
@@ -1,24 +1,24 @@
1
- # frozen_string_literal: true
2
-
3
- require 'jhall_palindrome/version'
4
-
5
- module JhallPalindrome
6
- def palindrome?
7
- processed_content == processed_content.reverse
8
- end
9
-
10
- private
11
-
12
- # Returns content for palindrome testing.
13
- def processed_content
14
- self.to_s.scan(/[a-z\d]/i).join.downcase
15
- end
16
- end
17
-
18
- class String
19
- include JhallPalindrome
20
- end
21
-
22
- class Integer
23
- include JhallPalindrome
24
- end
1
+ # frozen_string_literal: true
2
+
3
+ require 'jhall_palindrome/version'
4
+
5
+ module JhallPalindrome
6
+ def palindrome?
7
+ processed_content == processed_content.reverse
8
+ end
9
+
10
+ private
11
+
12
+ # Returns content for palindrome testing.
13
+ def processed_content
14
+ self.to_s.scan(/[a-z\d]/i).join.downcase
15
+ end
16
+ end
17
+
18
+ class String
19
+ include JhallPalindrome
20
+ end
21
+
22
+ class Integer
23
+ include JhallPalindrome
24
+ end
@@ -1,3 +1,3 @@
1
1
  module JhallPalindrome
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
data/palindrome_file ADDED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jhall_palindrome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Hall
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-01 00:00:00.000000000 Z
11
+ date: 2020-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -70,6 +70,7 @@ files:
70
70
  - jhall_palindrome.gemspec
71
71
  - lib/jhall_palindrome.rb
72
72
  - lib/jhall_palindrome/version.rb
73
+ - palindrome_file
73
74
  homepage: https://github.com/tucsonjhall/jhall_palindrome.git
74
75
  licenses: []
75
76
  metadata:
@@ -89,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
90
  - !ruby/object:Gem::Version
90
91
  version: '0'
91
92
  requirements: []
92
- rubygems_version: 3.0.3
93
+ rubygems_version: 3.0.8
93
94
  signing_key:
94
95
  specification_version: 4
95
96
  summary: Palindrome detector