sleeping_king_studios-tools 1.1.1 → 1.2.0.rc.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 +32 -0
- data/README.md +9 -1178
- data/lib/sleeping_king_studios/tools/array_tools.rb +166 -87
- data/lib/sleeping_king_studios/tools/assertions.rb +886 -156
- data/lib/sleeping_king_studios/tools/core_tools.rb +47 -13
- data/lib/sleeping_king_studios/tools/hash_tools.rb +137 -35
- data/lib/sleeping_king_studios/tools/integer_tools.rb +56 -40
- data/lib/sleeping_king_studios/tools/object_tools.rb +208 -68
- data/lib/sleeping_king_studios/tools/string_tools.rb +161 -54
- data/lib/sleeping_king_studios/tools/toolbelt.rb +47 -14
- data/lib/sleeping_king_studios/tools/toolbox/constant_map.rb +29 -10
- data/lib/sleeping_king_studios/tools/toolbox/inflector/rules.rb +23 -24
- data/lib/sleeping_king_studios/tools/toolbox/inflector.rb +35 -25
- data/lib/sleeping_king_studios/tools/toolbox/mixin.rb +83 -11
- data/lib/sleeping_king_studios/tools/toolbox/semantic_version.rb +25 -15
- data/lib/sleeping_king_studios/tools/toolbox/subclass.rb +4 -4
- data/lib/sleeping_king_studios/tools/toolbox.rb +1 -3
- data/lib/sleeping_king_studios/tools/version.rb +4 -4
- metadata +6 -136
- data/DEVELOPMENT.md +0 -17
metadata
CHANGED
@@ -1,141 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sleeping_king_studios-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0.rc.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob "Merlin" Smith
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: byebug
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '11.1'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '11.1'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '13.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '13.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '3.10'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '3.10'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rubocop
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.35'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.35'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rubocop-rake
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0.6'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0.6'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rubocop-rspec
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '2.12'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '2.12'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: simplecov
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.18.5
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.18.5
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: thor
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '1.0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rspec-sleeping_king_studios
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '2.7'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '2.7'
|
10
|
+
date: 2025-03-07 00:00:00.000000000 Z
|
11
|
+
dependencies: []
|
139
12
|
description: |
|
140
13
|
A library of utility services and concerns to expand the functionality of
|
141
14
|
core classes without polluting the global namespace.
|
@@ -147,7 +20,6 @@ extra_rdoc_files: []
|
|
147
20
|
files:
|
148
21
|
- CHANGELOG.md
|
149
22
|
- CODE_OF_CONDUCT.md
|
150
|
-
- DEVELOPMENT.md
|
151
23
|
- LICENSE
|
152
24
|
- README.md
|
153
25
|
- lib/sleeping_king_studios/tools.rb
|
@@ -175,23 +47,21 @@ metadata:
|
|
175
47
|
bug_tracker_uri: https://github.com/sleepingkingstudios/sleeping_king_studios-tools/issues
|
176
48
|
source_code_uri: https://github.com/sleepingkingstudios/sleeping_king_studios-tools
|
177
49
|
rubygems_mfa_required: 'true'
|
178
|
-
post_install_message:
|
179
50
|
rdoc_options: []
|
180
51
|
require_paths:
|
181
52
|
- lib
|
182
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
183
54
|
requirements:
|
184
|
-
- - "
|
55
|
+
- - "~>"
|
185
56
|
- !ruby/object:Gem::Version
|
186
|
-
version:
|
57
|
+
version: '3.1'
|
187
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
59
|
requirements:
|
189
60
|
- - ">="
|
190
61
|
- !ruby/object:Gem::Version
|
191
62
|
version: '0'
|
192
63
|
requirements: []
|
193
|
-
rubygems_version: 3.
|
194
|
-
signing_key:
|
64
|
+
rubygems_version: 3.6.2
|
195
65
|
specification_version: 4
|
196
66
|
summary: A library of utility services and concerns.
|
197
67
|
test_files: []
|
data/DEVELOPMENT.md
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# Development Notes
|
2
|
-
|
3
|
-
## Future Tasks
|
4
|
-
|
5
|
-
### Tools
|
6
|
-
|
7
|
-
- HashTools#bisect_keys
|
8
|
-
- HashTools#slice
|
9
|
-
- ObjectTools#apply_with_arity
|
10
|
-
- ObjectTools#method_arity
|
11
|
-
- ObjectTools#pretty - returns user-friendly string representation. :multiline option? Delegates to specific toolset implementations.
|
12
|
-
- RegexpTools#matching_string - generates a string that matches the regular expression. Does not support advanced Regexp features.
|
13
|
-
- RegexpTools#nonmatching_strings - generates a set of strings that do not match the regular expression.
|
14
|
-
|
15
|
-
#### Identity Methods
|
16
|
-
|
17
|
-
- RegexpTools#regexp? - true if object is regular expression, otherwise false.
|