sleeping_king_studios-tools 1.1.0.rc.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e06daa0cd40dd75a70bd47807132708527dbee294dc0abef34d870180ca3e66
4
- data.tar.gz: 4ee981bc8dd164c52d399cbf73f14b07b2ccc027759e894a12502b3d7f7347fc
3
+ metadata.gz: 1e0283e289b39463cacc292d923861867d3692aa582c11ea52e093d4a669db47
4
+ data.tar.gz: 6974c66896e0f0a0b9b464326529e8d093f1842d5242a289d559b6508b08f3b6
5
5
  SHA512:
6
- metadata.gz: 8be13ff1e4b825a1f449d0b4f073336a3b86b9616f2abd2dd196eb33f5d169ab7e1bf7611a036794a1b4991a363a5b438c1145aec6a741cea4a9fec5481465ca
7
- data.tar.gz: 717bbc4c705590b75786933480570c7dd55b792a17616888bc10c4eb459bb99b7c78b2d285dba83125774cf2a40beca54151eada287dbfc69ccbf074f666170c
6
+ metadata.gz: 207672541e0507cdb35887ef670cc300157c204ddf937ca21a7c1b0243cdde20d212c7daf76f2cd2c70d734f8676ef2e6c646d30f9304933be1db36126c9d2cb
7
+ data.tar.gz: 5177a4f97ffd28c60b8249f9a4c8a6eafea08dd5c8fe7833273b4274e1fbb59d48e12bcda042a40d2e7d91afb850ed9e583aeeb8f728eea64feeb30c7c9da95a
data/CHANGELOG.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ### 1.1.0
3
+ ## 1.1.0
4
4
 
5
5
  Files in the `Toolbox` are now autoloaded.
6
6
 
7
- #### Tools
7
+ ### Tools
8
8
 
9
9
  Implemented `SleepingKingStudios::Tools::Assertions` with the following methods:
10
10
 
@@ -19,32 +19,32 @@ Each method raises an exception if its condition is not met. `Assertions` also d
19
19
 
20
20
  Added :deprecation_caller_depth option to CoreTools. When calling #deprecate with the default strategy of 'warn', will print the specified number of lines from the caller. The default value is 3.
21
21
 
22
- #### Toolbelt
22
+ ### Toolbelt
23
23
 
24
24
  - Added `#assertions` to Toolbelt.
25
25
 
26
- #### Toolbox
26
+ ### Toolbox
27
27
 
28
28
  Implemented `SleepingKingStudios::Tools::Toolbox::Subclass`, which implements partial application for constructor parameters.
29
29
 
30
- ### 1.0.2
30
+ ## 1.0.2
31
31
 
32
32
  Updated gem metadata.
33
33
 
34
- ### 1.0.1
34
+ ## 1.0.1
35
35
 
36
36
  Added a missing `require 'set'` to Toolbox::Inflector::Rules.
37
37
 
38
- ### 1.0.0
38
+ ## 1.0.0
39
39
 
40
40
  Removed all deprecated code from pre-1.0 releases.
41
41
 
42
- #### Toolbox
42
+ ### Toolbox
43
43
 
44
44
  Added some Hash-like methods to ConstantMap - `#each_key`, `#each_value`,
45
45
  `#keys`, `#to_h`, and `#values`.
46
46
 
47
- ### 0.8.0
47
+ ## 0.8.0
48
48
 
49
49
  Last minor release before 1.0.0.
50
50
 
@@ -55,14 +55,14 @@ in version 1.0.0. Update dependent code accordingly.
55
55
  functionality is still available as
56
56
  SleepingKingStudios::Tools::Toolbox::SemanticVersion.
57
57
 
58
- #### Tools
58
+ ### Tools
59
59
 
60
60
  - Refactored all Tools modules to classes.
61
61
  - Removed StringTools::PluralInflector. It's functionality is now handled by
62
62
  Toolbox::Inflector.
63
63
  - Added support for deprecation strategy to CoreTools#deprecate.
64
64
 
65
- #### Toolbelt
65
+ ### Toolbelt
66
66
 
67
67
  - Refactored Toolbelt to reference Tools instances rather than classes.
68
68
  - Defined new abbreviated helpers #ary, #hsh, #int, #obj, #str.
@@ -71,36 +71,36 @@ in version 1.0.0. Update dependent code accordingly.
71
71
  - Deprecated old abbreviated helpers #array, #core, #hash, #integer, #object,
72
72
  #string.
73
73
 
74
- #### Toolbox
74
+ ### Toolbox
75
75
 
76
76
  - Deprecate Toolbox::Configuration. Use a struct instead.
77
77
  - Deprecate Toolbox::Delegator. Use the stdlib Forwardable module instead.
78
78
  - Implement Toolbox::Inflector, which serves as a delegate for StringTools.
79
79
 
80
- ### 0.7.1
80
+ ## 0.7.1
81
81
 
82
82
  - Implement CoreTools#empty_binding.
83
83
  - Implement HashTools#generate_binding.
84
84
 
85
- ### 0.7.0
85
+ ## 0.7.0
86
86
 
87
- #### Tools
87
+ ### Tools
88
88
 
89
89
  - Support symbol arguments to StringTools methods.
90
90
  - Implement StringTools#chain.
91
91
  - Implement StringTools#indent.
92
92
  - Implement StringTools#map_lines.
93
93
 
94
- #### Toolbox
94
+ ### Toolbox
95
95
 
96
96
  - Implement Toolbox::Configuration.
97
97
 
98
- #### Misc.
98
+ ### Misc.
99
99
 
100
100
  - IntegerTools#pluralize now accepts 2..3 arguments, and will automatically generate the plural string using StringTools#pluralize if an explicit plural is not given.
101
101
  - SleepingKingStudios::Tools::Toolbelt is now autoloaded from SleepingKingStudios::Tools.
102
102
 
103
- ### 0.6.0
103
+ ## 0.6.0
104
104
 
105
105
  - Implement HashTools#convert_keys_to_strings and #convert_keys_to_symbols.
106
106
  - Implement ObjectTools#dig.
@@ -110,69 +110,67 @@ in version 1.0.0. Update dependent code accordingly.
110
110
  - Implement Toolbox::Mixin.
111
111
  - Add support for Ruby 2.4.0.
112
112
 
113
- ### 0.5.0
113
+ ## 0.5.0
114
114
 
115
115
  - Implement CoreTools#require_each.
116
116
  - Implement StringTools#camelize.
117
117
  - Add an optional block argument to ArrayTools#humanize_list.
118
118
 
119
- #### Toolbox
119
+ ### Toolbox
120
120
 
121
121
  - Implement Delegator#delegate, Delegator#wrap_delegate.
122
122
  - Refactor SemanticVersion to the Toolbox namespace. Accessing SemanticVersion as Tools::SemanticVersion is now deprecated, use Tools::Toolbox::SemanticVersion.
123
123
 
124
- #### Identity Methods
124
+ ### Identity Methods
125
125
 
126
126
  - Implement a set of methods to classify objects by type: ArrayTools#array?, HashTools#hash?, IntegerTools#integer?, ObjectTools#object?, and StringTools#string?.
127
127
 
128
- #### Mutability Methods
128
+ ### Mutability Methods
129
129
 
130
130
  Implement #immutable? and #mutable? for ObjectTools, ArrayTools, and HashTools, which indicate whether or not a given object is mutable.
131
131
 
132
132
  Implement #deep_freeze for ObjectTools, ArrayTools, and HashTools which recursively freezes the object and any children (array items, hash keys, and hash values).
133
133
 
134
- ## Previous Releases
134
+ ## 0.4.0
135
135
 
136
- ### 0.4.0
137
-
138
- #### CoreTools
136
+ ### CoreTools
139
137
 
140
138
  Implement CoreTools#deprecate.
141
139
 
142
- #### IntegerTools
140
+ ### IntegerTools
143
141
 
144
142
  Implement #pluralize.
145
143
 
146
- #### StringTools
144
+ ### StringTools
147
145
 
148
146
  Implement #pluralize and #singularize. The previous behavior of #pluralize is deprecated; use IntegerTools#pluralize.
149
147
 
150
- ### 0.3.0
148
+ ## 0.3.0
151
149
 
152
150
  Implement ArrayTools#bisect and ArrayTools#splice.
153
151
 
154
- #### StringTools
152
+ ### StringTools
155
153
 
156
154
  Implement #underscore.
157
155
 
158
- ### 0.2.0
156
+ ## 0.2.0
159
157
 
160
158
  Split EnumerableTools into ArrayTools and HashTools.
161
159
 
162
160
  Implement ArrayTools#deep_dup, HashTools#deep_dup and ObjectTools#deep_dup.
163
161
 
164
- ### 0.1.3
162
+ ## 0.1.3
165
163
 
166
164
  Properly support both keywords and optional arguments in ObjectTools#apply.
167
165
 
168
- ### 0.1.2
166
+ ## 0.1.2
169
167
 
170
168
  Fix loading order issues when loading SemanticVersion in isolation.
171
169
 
172
- ### 0.1.1
170
+ ## 0.1.1
173
171
 
174
172
  Add configuration options to EnumerableTools#humanize_list.
175
173
 
176
- ### 0.1.0
174
+ ## 0.1.0
177
175
 
178
176
  Initial release.
@@ -177,8 +177,8 @@ module SleepingKingStudios::Tools
177
177
  return if (ROMANIZE_MIN..ROMANIZE_MAX).include?(integer)
178
178
 
179
179
  error_message =
180
- "integer to romanize must be within range #{ROMANIZE_MIN} to" \
181
- " #{ROMANIZE_MAX}"
180
+ "integer to romanize must be within range #{ROMANIZE_MIN} to " \
181
+ "#{ROMANIZE_MAX}"
182
182
 
183
183
  raise RangeError, error_message, caller(1..-1)
184
184
  end
@@ -17,9 +17,9 @@ module SleepingKingStudios
17
17
  # Patch version.
18
18
  PATCH = 0
19
19
  # Prerelease version.
20
- PRERELEASE = :rc
20
+ PRERELEASE = nil
21
21
  # Build metadata.
22
- BUILD = 0
22
+ BUILD = nil
23
23
  end
24
24
 
25
25
  # The current version of the gem.
metadata CHANGED
@@ -1,14 +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.1.0.rc.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob "Merlin" Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-25 00:00:00.000000000 Z
11
+ date: 2022-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.29'
61
+ version: '1.35'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.29'
68
+ version: '1.35'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.10'
89
+ version: '2.12'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.10'
96
+ version: '2.12'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -186,9 +186,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  version: 2.7.0
187
187
  required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
- - - ">"
189
+ - - ">="
190
190
  - !ruby/object:Gem::Version
191
- version: 1.3.1
191
+ version: '0'
192
192
  requirements: []
193
193
  rubygems_version: 3.2.3
194
194
  signing_key: