pragmater 15.6.0 → 16.0.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: 5c1056e36d5db0e623d199884f0713b531d28fa6ca51df69c74b37928b43d033
4
- data.tar.gz: b648cd19a0d65865a52ffdf03568e405076b2799f266a5580e7f6e82a2938194
3
+ metadata.gz: 9741e381fcc4f9fcfc859f8873ae33efcce745ae3d14dc5c14714c9305ebb63f
4
+ data.tar.gz: 86446ae782d2b559c407b2276a7b89a231ce2f21cf714998fe1c4091a2d47fc4
5
5
  SHA512:
6
- metadata.gz: f01f4bc6a30f8696aaf79f98f9e717d2c56a859103495acb14765743eb3a323198a78cf58154e9f03188329ce9fe51db4e59e3f7cdbe7eadd6776c593bb28462
7
- data.tar.gz: 95b15fdafa31d871b9432052fbc9141d79f19fc0a6398f574a09b443cf22ada916a926d94eb957fa3d37e8047585988fbc8c581f2fbc2a68def192266b492822
6
+ metadata.gz: 34c9e61a0630cda2eb3587642b62bccf75a4a2554612f6281683c26b96e473be5ffd9c84a19d1093e6183b942249fdf087e0bc22c5a8776f169193668d2d027e
7
+ data.tar.gz: babfb50d1b8acb82f9835cc1366706d896d7f8eec8a38e3d6c557791d2aaa756c115c1e69a0d6420308fa8db021d2442444e0eaf5fa031a355633703d6223afb
checksums.yaml.gz.sig CHANGED
Binary file
@@ -7,7 +7,7 @@ module Pragmater
7
7
  module Actions
8
8
  # Stores pragma comments.
9
9
  class Comment < Sod::Action
10
- include Import[:settings]
10
+ include Dependencies[:settings]
11
11
 
12
12
  description "Set pragma comments."
13
13
 
@@ -7,7 +7,7 @@ module Pragmater
7
7
  module Actions
8
8
  # Stores file patterns.
9
9
  class Pattern < Sod::Action
10
- include Import[:settings]
10
+ include Dependencies[:settings]
11
11
 
12
12
  description "Set file patterns."
13
13
 
@@ -7,7 +7,7 @@ module Pragmater
7
7
  module Actions
8
8
  # Stores root path.
9
9
  class Root < Sod::Action
10
- include Import[:settings]
10
+ include Dependencies[:settings]
11
11
 
12
12
  description "Set root directory."
13
13
 
@@ -7,7 +7,7 @@ module Pragmater
7
7
  module Commands
8
8
  # Inserts pragmas.
9
9
  class Insert < Sod::Command
10
- include Import[:settings, :io]
10
+ include Dependencies[:settings, :io]
11
11
 
12
12
  handle "insert"
13
13
 
@@ -7,7 +7,7 @@ module Pragmater
7
7
  module Commands
8
8
  # Removes pragmas.
9
9
  class Remove < Sod::Command
10
- include Import[:settings, :io]
10
+ include Dependencies[:settings, :io]
11
11
 
12
12
  handle "remove"
13
13
 
@@ -6,7 +6,7 @@ module Pragmater
6
6
  module CLI
7
7
  # The main Command Line Interface (CLI) object.
8
8
  class Shell
9
- include Import[:defaults_path, :xdg_config, :specification]
9
+ include Dependencies[:defaults_path, :xdg_config, :specification]
10
10
 
11
11
  def initialize(context: Sod::Context, dsl: Sod, **)
12
12
  super(**)
@@ -3,5 +3,5 @@
3
3
  require "infusible"
4
4
 
5
5
  module Pragmater
6
- Import = Infusible[Container]
6
+ Dependencies = Infusible[Container]
7
7
  end
@@ -5,7 +5,7 @@ require "refinements/pathname"
5
5
  module Pragmater
6
6
  # Inserts pragma comments.
7
7
  class Inserter
8
- include Import[:settings]
8
+ include Dependencies[:settings]
9
9
 
10
10
  using Refinements::Pathname
11
11
 
@@ -5,7 +5,7 @@ require "refinements/pathname"
5
5
  module Pragmater
6
6
  # Removes pragma comments.
7
7
  class Remover
8
- include Import[:settings]
8
+ include Dependencies[:settings]
9
9
 
10
10
  using Refinements::Pathname
11
11
 
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 = "15.6.0"
5
+ spec.version = "16.0.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/pragmater"
@@ -22,16 +22,16 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = ">= 3.3", "<= 3.4"
26
- spec.add_dependency "cogger", "~> 0.30"
27
- spec.add_dependency "containable", "~> 0.2"
25
+ spec.required_ruby_version = "~> 3.4"
26
+ spec.add_dependency "cogger", "~> 1.0"
27
+ spec.add_dependency "containable", "~> 1.0"
28
28
  spec.add_dependency "dry-schema", "~> 1.13"
29
- spec.add_dependency "etcher", "~> 2.1"
30
- spec.add_dependency "infusible", "~> 3.11"
31
- spec.add_dependency "refinements", "~> 12.10"
32
- spec.add_dependency "runcom", "~> 11.5"
33
- spec.add_dependency "sod", "~> 0.18"
34
- spec.add_dependency "spek", "~> 3.0"
29
+ spec.add_dependency "etcher", "~> 3.0"
30
+ spec.add_dependency "infusible", "~> 4.0"
31
+ spec.add_dependency "refinements", "~> 13.0"
32
+ spec.add_dependency "runcom", "~> 12.0"
33
+ spec.add_dependency "sod", "~> 1.0"
34
+ spec.add_dependency "spek", "~> 4.0"
35
35
  spec.add_dependency "zeitwerk", "~> 2.7"
36
36
 
37
37
  spec.bindir = "exe"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,11 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pragmater
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.6.0
4
+ version: 16.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain:
11
10
  - |
@@ -35,7 +34,7 @@ cert_chain:
35
34
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
35
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
36
  -----END CERTIFICATE-----
38
- date: 2024-11-05 00:00:00.000000000 Z
37
+ date: 2024-12-27 00:00:00.000000000 Z
39
38
  dependencies:
40
39
  - !ruby/object:Gem::Dependency
41
40
  name: cogger
@@ -43,28 +42,28 @@ dependencies:
43
42
  requirements:
44
43
  - - "~>"
45
44
  - !ruby/object:Gem::Version
46
- version: '0.30'
45
+ version: '1.0'
47
46
  type: :runtime
48
47
  prerelease: false
49
48
  version_requirements: !ruby/object:Gem::Requirement
50
49
  requirements:
51
50
  - - "~>"
52
51
  - !ruby/object:Gem::Version
53
- version: '0.30'
52
+ version: '1.0'
54
53
  - !ruby/object:Gem::Dependency
55
54
  name: containable
56
55
  requirement: !ruby/object:Gem::Requirement
57
56
  requirements:
58
57
  - - "~>"
59
58
  - !ruby/object:Gem::Version
60
- version: '0.2'
59
+ version: '1.0'
61
60
  type: :runtime
62
61
  prerelease: false
63
62
  version_requirements: !ruby/object:Gem::Requirement
64
63
  requirements:
65
64
  - - "~>"
66
65
  - !ruby/object:Gem::Version
67
- version: '0.2'
66
+ version: '1.0'
68
67
  - !ruby/object:Gem::Dependency
69
68
  name: dry-schema
70
69
  requirement: !ruby/object:Gem::Requirement
@@ -85,84 +84,84 @@ dependencies:
85
84
  requirements:
86
85
  - - "~>"
87
86
  - !ruby/object:Gem::Version
88
- version: '2.1'
87
+ version: '3.0'
89
88
  type: :runtime
90
89
  prerelease: false
91
90
  version_requirements: !ruby/object:Gem::Requirement
92
91
  requirements:
93
92
  - - "~>"
94
93
  - !ruby/object:Gem::Version
95
- version: '2.1'
94
+ version: '3.0'
96
95
  - !ruby/object:Gem::Dependency
97
96
  name: infusible
98
97
  requirement: !ruby/object:Gem::Requirement
99
98
  requirements:
100
99
  - - "~>"
101
100
  - !ruby/object:Gem::Version
102
- version: '3.11'
101
+ version: '4.0'
103
102
  type: :runtime
104
103
  prerelease: false
105
104
  version_requirements: !ruby/object:Gem::Requirement
106
105
  requirements:
107
106
  - - "~>"
108
107
  - !ruby/object:Gem::Version
109
- version: '3.11'
108
+ version: '4.0'
110
109
  - !ruby/object:Gem::Dependency
111
110
  name: refinements
112
111
  requirement: !ruby/object:Gem::Requirement
113
112
  requirements:
114
113
  - - "~>"
115
114
  - !ruby/object:Gem::Version
116
- version: '12.10'
115
+ version: '13.0'
117
116
  type: :runtime
118
117
  prerelease: false
119
118
  version_requirements: !ruby/object:Gem::Requirement
120
119
  requirements:
121
120
  - - "~>"
122
121
  - !ruby/object:Gem::Version
123
- version: '12.10'
122
+ version: '13.0'
124
123
  - !ruby/object:Gem::Dependency
125
124
  name: runcom
126
125
  requirement: !ruby/object:Gem::Requirement
127
126
  requirements:
128
127
  - - "~>"
129
128
  - !ruby/object:Gem::Version
130
- version: '11.5'
129
+ version: '12.0'
131
130
  type: :runtime
132
131
  prerelease: false
133
132
  version_requirements: !ruby/object:Gem::Requirement
134
133
  requirements:
135
134
  - - "~>"
136
135
  - !ruby/object:Gem::Version
137
- version: '11.5'
136
+ version: '12.0'
138
137
  - !ruby/object:Gem::Dependency
139
138
  name: sod
140
139
  requirement: !ruby/object:Gem::Requirement
141
140
  requirements:
142
141
  - - "~>"
143
142
  - !ruby/object:Gem::Version
144
- version: '0.18'
143
+ version: '1.0'
145
144
  type: :runtime
146
145
  prerelease: false
147
146
  version_requirements: !ruby/object:Gem::Requirement
148
147
  requirements:
149
148
  - - "~>"
150
149
  - !ruby/object:Gem::Version
151
- version: '0.18'
150
+ version: '1.0'
152
151
  - !ruby/object:Gem::Dependency
153
152
  name: spek
154
153
  requirement: !ruby/object:Gem::Requirement
155
154
  requirements:
156
155
  - - "~>"
157
156
  - !ruby/object:Gem::Version
158
- version: '3.0'
157
+ version: '4.0'
159
158
  type: :runtime
160
159
  prerelease: false
161
160
  version_requirements: !ruby/object:Gem::Requirement
162
161
  requirements:
163
162
  - - "~>"
164
163
  - !ruby/object:Gem::Version
165
- version: '3.0'
164
+ version: '4.0'
166
165
  - !ruby/object:Gem::Dependency
167
166
  name: zeitwerk
168
167
  requirement: !ruby/object:Gem::Requirement
@@ -177,7 +176,6 @@ dependencies:
177
176
  - - "~>"
178
177
  - !ruby/object:Gem::Version
179
178
  version: '2.7'
180
- description:
181
179
  email:
182
180
  - brooke@alchemists.io
183
181
  executables:
@@ -201,10 +199,10 @@ files:
201
199
  - lib/pragmater/configuration/defaults.yml
202
200
  - lib/pragmater/configuration/model.rb
203
201
  - lib/pragmater/container.rb
202
+ - lib/pragmater/dependencies.rb
204
203
  - lib/pragmater/formatters/general.rb
205
204
  - lib/pragmater/formatters/main.rb
206
205
  - lib/pragmater/formatters/shebang.rb
207
- - lib/pragmater/import.rb
208
206
  - lib/pragmater/inserter.rb
209
207
  - lib/pragmater/parsers/comments.rb
210
208
  - lib/pragmater/parsers/file.rb
@@ -224,16 +222,12 @@ metadata:
224
222
  label: Pragmater
225
223
  rubygems_mfa_required: 'true'
226
224
  source_code_uri: https://github.com/bkuhlmann/pragmater
227
- post_install_message:
228
225
  rdoc_options: []
229
226
  require_paths:
230
227
  - lib
231
228
  required_ruby_version: !ruby/object:Gem::Requirement
232
229
  requirements:
233
- - - ">="
234
- - !ruby/object:Gem::Version
235
- version: '3.3'
236
- - - "<="
230
+ - - "~>"
237
231
  - !ruby/object:Gem::Version
238
232
  version: '3.4'
239
233
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -242,8 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
236
  - !ruby/object:Gem::Version
243
237
  version: '0'
244
238
  requirements: []
245
- rubygems_version: 3.5.22
246
- signing_key:
239
+ rubygems_version: 3.6.2
247
240
  specification_version: 4
248
241
  summary: A command line interface for managing pragma comments.
249
242
  test_files: []
metadata.gz.sig CHANGED
Binary file