find_vowels 0.1.1 → 0.1.2
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 +21 -2
- data/README.md +6 -4
- data/lib/find_vowels/version.rb +1 -1
- data/lib/find_vowels.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d8d2e5df190cddf08b0f5c92eebb0770f6d396998d186554d6071b51cd5505a
|
|
4
|
+
data.tar.gz: 1c3c17fb3e9b146813946e98e946bfc957da757277fb8795152ec63e7c70ddb0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a269dcf783d780f58beabf8ba269da75e15d87202943892c19ae9b82a6e91e4badf9aca5e6160e5d6c2af4c6c783cc3c939d2d624c705c2ea3ef6607372f7ac7
|
|
7
|
+
data.tar.gz: ba423286a255291b8c88e47bfa6c96d273b7cb43c6ed0dea396dabff1382dd1a584c704c3cd27ebcf896e447a1f96220965a9163d0aa7c27154ff72b55249f1c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
## [
|
|
1
|
+
## [Released]
|
|
2
2
|
|
|
3
|
-
## [0.1.0] - 2025-02-
|
|
3
|
+
## [0.1.0] - 2025-02-04
|
|
4
4
|
|
|
5
5
|
- Initial release
|
|
6
|
+
|
|
7
|
+
- New feature vowels is added to find vowels in string.
|
|
8
|
+
|
|
9
|
+
## [Released]
|
|
10
|
+
|
|
11
|
+
## [0.1.1] - 2025-02-04
|
|
12
|
+
|
|
13
|
+
- First update
|
|
14
|
+
|
|
15
|
+
- Added a feture to find uniq vowels in string.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [Released]
|
|
19
|
+
|
|
20
|
+
## [0.1.2] - 2025-02-04
|
|
21
|
+
|
|
22
|
+
- Second update
|
|
23
|
+
|
|
24
|
+
- Added a feture to find vowels count in string.
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Find Vowels
|
|
2
2
|
|
|
3
3
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/find_vowels`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
4
|
|
|
@@ -17,7 +17,7 @@ gem install find_vowels
|
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
|
-
|
|
20
|
+
To use install it by adding it in gemfile like `gem "find_vowels"` , then run bundle install.
|
|
21
21
|
It is very simple to use. It returns the array of vowels present in the string.
|
|
22
22
|
|
|
23
23
|
## Example
|
|
@@ -25,7 +25,9 @@ It is very simple to use. It returns the array of vowels present in the string.
|
|
|
25
25
|
vowels_list = sentance.vowels // returns array of vowels present in sentance
|
|
26
26
|
puts vowels_list // prints ['a', 'a', 'u', 'o', 'a', 'i', 'e', 'e', 'o', 'e']
|
|
27
27
|
uniq_list = sentance.uniq_vowels // returns array of uniq vowels present in sentance
|
|
28
|
-
puts
|
|
28
|
+
puts uniq_list // prints ['a', 'u', 'o', 'i', 'e']
|
|
29
|
+
count = sentance.vowels_count // returns the hash of vowels count
|
|
30
|
+
puts count // prints { "a" => 3, "u" => 1, "o" => 2, "i" => 1, "e" => 3 }
|
|
29
31
|
|
|
30
32
|
## Development
|
|
31
33
|
|
|
@@ -43,4 +45,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
43
45
|
|
|
44
46
|
## Code of Conduct
|
|
45
47
|
|
|
46
|
-
Everyone interacting in the
|
|
48
|
+
Everyone interacting in the Find Vowels project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Brajesh970/find_vowels/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/find_vowels/version.rb
CHANGED
data/lib/find_vowels.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: find_vowels
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brajesh970
|
|
@@ -32,7 +32,7 @@ metadata:
|
|
|
32
32
|
allowed_push_host: https://rubygems.org
|
|
33
33
|
homepage_uri: https://github.com/Brajesh970/find_vowels
|
|
34
34
|
source_code_uri: https://github.com/Brajesh970/find_vowels
|
|
35
|
-
changelog_uri: https://github.com/Brajesh970/find_vowels/blob/master/
|
|
35
|
+
changelog_uri: https://github.com/Brajesh970/find_vowels/blob/master/CHANGELOG.md
|
|
36
36
|
rdoc_options: []
|
|
37
37
|
require_paths:
|
|
38
38
|
- lib
|
|
@@ -49,5 +49,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
49
49
|
requirements: []
|
|
50
50
|
rubygems_version: 3.6.2
|
|
51
51
|
specification_version: 4
|
|
52
|
-
summary: This is gem to find vowels in string
|
|
52
|
+
summary: This is gem to find vowels and there count in string
|
|
53
53
|
test_files: []
|