string-utility 3.0.0 → 3.0.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 +5 -5
- data/CHANGELOG.md +6 -1
- data/LICENSE.md +25 -0
- data/lib/string-utility.rb +1 -1
- data/lib/{utils.rb → string_utility.rb} +0 -0
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7afb40970661f5e1df508cf39b9d585f792bd0d7d613a0f903205ee9e447ef66
|
4
|
+
data.tar.gz: 17001981ba6994001d7abf32d1490fee8857ffeb0162cdc6efe24212ba4b09c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a427a190253e4de52c52e92930b9e81e6e408c55c07af8604fb194d577fab4d02ff026e9ba692f8837f74645a9e822e8b193f03f6e0bdfda7071576cc490e322
|
7
|
+
data.tar.gz: 94598fe5457ede28b509b0152b7b303cdd0a877fcfa64b1f5edd78ec91ccdeb0521006af447d216f45ad833e7ff415ed12af3825fca12d436d70c19050ce7a10
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
## Version 3
|
3
|
+
### Version 3.0.1
|
4
|
+
* Improve file naming standards: lib/utils.rb is now lib/string_utility.rb. This shouldn't really affect much from the consumer perspective, as string-utility.rb is still available ([#5](https://github.com/elifoster/string-utility-ruby/issues/5)).
|
5
|
+
* Update gem metadata links
|
6
|
+
* License is now included in gem
|
7
|
+
|
3
8
|
### Version 3.0.0
|
4
9
|
* Improved test coverage and accuracy significantly by (a) having more tests; and (b) having tests cover return values as well as self-modification non-return values (i.e., checking what happens *after* a bang method is called).
|
5
10
|
* `spacify` and `underscorify` are no longer Rust native extensions. The Ruby methods were not slow enough to warrant native extensions, and this was complicated when using external build services like Heroku.
|
@@ -29,7 +34,7 @@
|
|
29
34
|
* Add safely_gsub! refinement method for an easier, more readable version of `str.gsub!(pattern, replace) || str`.
|
30
35
|
|
31
36
|
### Version 2.6.1
|
32
|
-
* Fix issue where to_i_separated, underscorify, and spacify returned nil, due to tr! and gsub! returning nil (#2).
|
37
|
+
* Fix issue where to_i_separated, underscorify, and spacify returned nil, due to tr! and gsub! returning nil ([#2](https://github.com/elifoster/string-utility-ruby/issues/2)).
|
33
38
|
|
34
39
|
### Version 2.6.0
|
35
40
|
* Improve performance.
|
data/LICENSE.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright © 2016 Eli Foster
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person
|
6
|
+
obtaining a copy of this software and associated documentation
|
7
|
+
files (the “Software”), to deal in the Software without
|
8
|
+
restriction, including without limitation the rights to use,
|
9
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
copies of the Software, and to permit persons to whom the
|
11
|
+
Software is furnished to do so, subject to the following
|
12
|
+
conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be
|
15
|
+
included in all copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
|
18
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
19
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
20
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
21
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
22
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
23
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
24
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
25
|
+
|
data/lib/string-utility.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require_relative '
|
1
|
+
require_relative 'string_utility'
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: string-utility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eli Foster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: " Some simple but handy methods to interact with string objects.\n"
|
14
14
|
email: elifosterwy@gmail.com
|
@@ -17,13 +17,17 @@ extensions: []
|
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
19
|
- CHANGELOG.md
|
20
|
+
- LICENSE.md
|
20
21
|
- lib/string-utility.rb
|
21
|
-
- lib/
|
22
|
+
- lib/string_utility.rb
|
22
23
|
homepage: https://github.com/elifoster/string-utility-ruby
|
23
24
|
licenses:
|
24
25
|
- MIT
|
25
26
|
metadata:
|
26
|
-
|
27
|
+
bug_tracker_uri: https://github.com/elifoster/string-utility-ruby/issues
|
28
|
+
changelog_uri: https://elifoster.github.io/String-Utility-Ruby/file.CHANGELOG.html
|
29
|
+
documentation_uri: https://elifoster.github.io/String-Utility-Ruby/
|
30
|
+
source_code_uri: https://github.com/elifoster/string-utility-ruby
|
27
31
|
post_install_message:
|
28
32
|
rdoc_options: []
|
29
33
|
require_paths:
|
@@ -39,8 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
43
|
- !ruby/object:Gem::Version
|
40
44
|
version: '0'
|
41
45
|
requirements: []
|
42
|
-
|
43
|
-
rubygems_version: 2.6.8
|
46
|
+
rubygems_version: 3.1.3
|
44
47
|
signing_key:
|
45
48
|
specification_version: 4
|
46
49
|
summary: Provides some basic utilities for interacting with Strings
|