string_enhancer 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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +6 -0
- data/lib/string_enhancer/version.rb +1 -1
- data/lib/string_enhancer.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3f7a400dc97adece9eab29b59645299bbf0d05ad84e6e0c3238f53551345a65
|
4
|
+
data.tar.gz: f748147474ba4092f7e5558c0e71ad3ca19874b19f33f5ff932d77270ca0f7bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c652e8f7ec9724cef1cdc29dd880101758e89dd27886c1aee165309de6bc187f9184989971b6d853b9961c5e2333724dda25ee2d8fd401d072cb62a0006e2057
|
7
|
+
data.tar.gz: 35b071bf40d879df9f188a232a7e5c70c470879d741b2b5a684cf1ff734db75053380912b1dad74231ef6857de95090cd25f21cb60f32d1aca5cbef10539f54f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.3.0] - 2024-03-06
|
4
|
+
### Added
|
5
|
+
- 'titleize' method to capitalize each word in a string for title-like formatting.
|
6
|
+
|
3
7
|
## [0.2.0] - 2024-02-28
|
4
8
|
### Added
|
5
9
|
-This marks the addition of the first real methods to the gem - #word_count and #palindrome?. Also includes rspec, simplecov, and circleci integration.
|
data/README.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
The StringEnhancer gem extends the Ruby string class with additional methods for formatting, manipulation, and querying, making string handling
|
4
4
|
in Ruby even more powwerful.
|
5
5
|
|
6
|
+
## Methods
|
7
|
+
|
8
|
+
- 'titleize': Capitalizes each word in a string to create a title-like format.
|
9
|
+
- 'word_count': Returns the number of words in a string.
|
10
|
+
- 'palindrome?: Checks whether the string is a palindrome, returning true or false.
|
11
|
+
|
6
12
|
## Installation
|
7
13
|
|
8
14
|
Add this line to your application's Gemfile:
|
data/lib/string_enhancer.rb
CHANGED