strutil-core 1.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.

Potentially problematic release.


This version of strutil-core might be problematic. Click here for more details.

data/strutil_core.rb ADDED
@@ -0,0 +1,6 @@
1
+ module StrUtilCore
2
+ VERSION = '1.0.0'
3
+ def self.slugify(str)
4
+ str.downcase.gsub(/[^a-z0-9]+/, '-').gsub(/^-|-$/, '')
5
+ end
6
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: strutil-core
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Mark Tillman
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-11-01 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: 'Lightweight string manipulation helpers: slug, truncate, normalize.'
14
+ email: mark.tillman@protonmail.com
15
+ executables: []
16
+ extensions:
17
+ - ext/strutil-core/extconf.rb
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/strutil_core.rb
21
+ homepage: https://github.com/marktillman/strutil-core
22
+ licenses:
23
+ - MIT
24
+ metadata: {}
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '2.6'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ requirements: []
40
+ rubygems_version: 3.3.5
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Core string utilities for Ruby
44
+ test_files: []