pragmater 11.4.0 → 11.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +9 -2
- data/pragmater.gemspec +6 -6
- data.tar.gz.sig +0 -0
- metadata +13 -13
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ac8130e8c08f7a3b95ef7853261382722f4af5b5b05bf10cf5e6030c318893d
|
4
|
+
data.tar.gz: aa23104fccec9036eee53f467029a5e2ec4455b7c1c76843cb77f92b8782ab9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d39fb0853f2b76c6babffc463de0ad8bc022e3f0fefc1968255496bb7e94ae37c368ae436831719cef0fb7494edb22d9dd5237697598181b295523aa568aee1a
|
7
|
+
data.tar.gz: fe06a04458202d9b43a143b55ecc85b430389b4b123f3dbe603551aceaacc4394afb673243180350b7fc7589f8c127ddaf00b815fae53d1bb6440b3c9bcef929
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -203,7 +203,9 @@ Ruby 2.3.0 also added the following methods to the `String` class:
|
|
203
203
|
----
|
204
204
|
immutable = "test".freeze
|
205
205
|
mutable = +immutable
|
206
|
-
|
206
|
+
|
207
|
+
mutable.frozen? # false
|
208
|
+
mutable.capitalize! # "Test"
|
207
209
|
----
|
208
210
|
* `String#-@`: Answers a immutable string if not already frozen. Example:
|
209
211
|
+
|
@@ -211,7 +213,9 @@ mutable.capitalize! # => "Test"
|
|
211
213
|
----
|
212
214
|
mutable = "test"
|
213
215
|
immutable = -mutable
|
214
|
-
|
216
|
+
|
217
|
+
immutable.frozen? # true
|
218
|
+
immutable.capitalize! # FrozenError
|
215
219
|
----
|
216
220
|
|
217
221
|
You can also use the methods, shown above, for variable initialization. Example:
|
@@ -220,6 +224,9 @@ You can also use the methods, shown above, for variable initialization. Example:
|
|
220
224
|
----
|
221
225
|
immutable = -"test"
|
222
226
|
mutable = +"test"
|
227
|
+
|
228
|
+
immutable.frozen? # true
|
229
|
+
mutable.frozen? # false
|
223
230
|
----
|
224
231
|
|
225
232
|
💡 The use of `+String#-@+`, specifically, was http://bit.ly/2DGAjgG[enhanced in Ruby 2.5.0] to
|
data/pragmater.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "pragmater"
|
5
|
-
spec.version = "11.
|
5
|
+
spec.version = "11.5.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://www.alchemists.io/projects/pragmater"
|
@@ -23,12 +23,12 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
25
|
spec.required_ruby_version = "~> 3.1"
|
26
|
-
spec.add_dependency "cogger", "~> 0.
|
26
|
+
spec.add_dependency "cogger", "~> 0.4"
|
27
27
|
spec.add_dependency "dry-container", "~> 0.11"
|
28
|
-
spec.add_dependency "infusible", "~> 0.
|
29
|
-
spec.add_dependency "refinements", "~> 9.
|
30
|
-
spec.add_dependency "runcom", "~> 8.
|
31
|
-
spec.add_dependency "spek", "~> 0.
|
28
|
+
spec.add_dependency "infusible", "~> 0.2"
|
29
|
+
spec.add_dependency "refinements", "~> 9.7"
|
30
|
+
spec.add_dependency "runcom", "~> 8.7"
|
31
|
+
spec.add_dependency "spek", "~> 0.6"
|
32
32
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
33
33
|
|
34
34
|
spec.bindir = "exe"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pragmater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.
|
4
|
+
version: 11.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
29
|
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
31
|
+
date: 2022-10-22 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: cogger
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
39
|
+
version: '0.4'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
46
|
+
version: '0.4'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: dry-container
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,56 +64,56 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
67
|
+
version: '0.2'
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '0.
|
74
|
+
version: '0.2'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: refinements
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '9.
|
81
|
+
version: '9.7'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '9.
|
88
|
+
version: '9.7'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: runcom
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '8.
|
95
|
+
version: '8.7'
|
96
96
|
type: :runtime
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '8.
|
102
|
+
version: '8.7'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: spek
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0.
|
109
|
+
version: '0.6'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - "~>"
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: '0.
|
116
|
+
version: '0.6'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: zeitwerk
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
|
-
rubygems_version: 3.3.
|
195
|
+
rubygems_version: 3.3.24
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: A command line interface for managing/formatting source file pragma comments.
|
metadata.gz.sig
CHANGED
Binary file
|