pragmater 11.5.0 → 12.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: 4ac8130e8c08f7a3b95ef7853261382722f4af5b5b05bf10cf5e6030c318893d
4
- data.tar.gz: aa23104fccec9036eee53f467029a5e2ec4455b7c1c76843cb77f92b8782ab9f
3
+ metadata.gz: 2b3919c52677addf994f14d7eafa62b9df318f0499f42afc263df8096b1fb60c
4
+ data.tar.gz: 500e5d4a91f46d95d833a79e8fc4d99cf659dc1cbf4d1a1ecbef1e985b842763
5
5
  SHA512:
6
- metadata.gz: d39fb0853f2b76c6babffc463de0ad8bc022e3f0fefc1968255496bb7e94ae37c368ae436831719cef0fb7494edb22d9dd5237697598181b295523aa568aee1a
7
- data.tar.gz: fe06a04458202d9b43a143b55ecc85b430389b4b123f3dbe603551aceaacc4394afb673243180350b7fc7589f8c127ddaf00b815fae53d1bb6440b3c9bcef929
6
+ metadata.gz: 6e7870a0deb2b68edfa9e8efb2f0db6b21d98ff1765b7cc31bf16ec79b0a4b95b5523d56d8cecf202bf44ca5c120dec904c83971ea8f1cc3c624c9297f0ad0c9
7
+ data.tar.gz: '059aae2ba389d5544a45ef617cf4a897dbba98899c7361192a17ee645383e2e6df068ac5a2bd7272fb0a29d86a9f072fc0b7624afe7d5536e635c1183e7f0c21'
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "forwardable"
4
- require "open3"
5
4
  require "logger"
5
+ require "open3"
6
6
 
7
7
  module Pragmater
8
8
  module CLI
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
3
4
  require "optparse"
4
5
 
5
6
  module Pragmater
@@ -18,7 +19,7 @@ module Pragmater
18
19
  @configuration_duplicate = configuration.dup
19
20
  end
20
21
 
21
- def call arguments = []
22
+ def call arguments = Core::EMPTY_ARRAY
22
23
  sections.each { |section| section.call configuration_duplicate, client: }
23
24
  client.parse arguments
24
25
  configuration_duplicate.freeze
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
3
4
  require "refinements/structs"
4
5
 
5
6
  module Pragmater
@@ -21,7 +22,7 @@ module Pragmater
21
22
  @client = client
22
23
  end
23
24
 
24
- def call arguments = []
25
+ def call arguments = ::Core::EMPTY_ARRAY
25
26
  client.banner = specification.labeled_summary
26
27
  client.separator "\nUSAGE:\n"
27
28
  collate
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
3
4
  require "refinements/structs"
4
5
 
5
6
  module Pragmater
@@ -16,7 +17,7 @@ module Pragmater
16
17
  @client = client
17
18
  end
18
19
 
19
- def call arguments = []
20
+ def call arguments = ::Core::EMPTY_ARRAY
20
21
  client.separator "\nOPTIONS:\n"
21
22
  collate
22
23
  client.parse arguments
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "core"
4
+
3
5
  module Pragmater
4
6
  module CLI
5
7
  # The main Command Line Interface (CLI) object.
@@ -11,7 +13,7 @@ module Pragmater
11
13
  @parser = parser
12
14
  end
13
15
 
14
- def call arguments = []
16
+ def call arguments = Core::EMPTY_ARRAY
15
17
  perform parser.call(arguments)
16
18
  rescue OptionParser::ParseError => error
17
19
  logger.error { error.message }
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.0"
5
+ spec.version = "12.1.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/pragmater"
@@ -22,13 +22,14 @@ 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.1"
26
- spec.add_dependency "cogger", "~> 0.4"
25
+ spec.required_ruby_version = "~> 3.2"
26
+ spec.add_dependency "cogger", "~> 0.5"
27
+ spec.add_dependency "core", "~> 0.1"
27
28
  spec.add_dependency "dry-container", "~> 0.11"
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"
29
+ spec.add_dependency "infusible", "~> 1.0"
30
+ spec.add_dependency "refinements", "~> 10.0"
31
+ spec.add_dependency "runcom", "~> 9.0"
32
+ spec.add_dependency "spek", "~> 1.0"
32
33
  spec.add_dependency "zeitwerk", "~> 2.6"
33
34
 
34
35
  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.5.0
4
+ version: 12.1.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-10-22 00:00:00.000000000 Z
31
+ date: 2023-01-08 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: cogger
@@ -36,14 +36,28 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.4'
39
+ version: '0.5'
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.4'
46
+ version: '0.5'
47
+ - !ruby/object:Gem::Dependency
48
+ name: core
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.1'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '0.1'
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: dry-container
49
63
  requirement: !ruby/object:Gem::Requirement
@@ -64,56 +78,56 @@ dependencies:
64
78
  requirements:
65
79
  - - "~>"
66
80
  - !ruby/object:Gem::Version
67
- version: '0.2'
81
+ version: '1.0'
68
82
  type: :runtime
69
83
  prerelease: false
70
84
  version_requirements: !ruby/object:Gem::Requirement
71
85
  requirements:
72
86
  - - "~>"
73
87
  - !ruby/object:Gem::Version
74
- version: '0.2'
88
+ version: '1.0'
75
89
  - !ruby/object:Gem::Dependency
76
90
  name: refinements
77
91
  requirement: !ruby/object:Gem::Requirement
78
92
  requirements:
79
93
  - - "~>"
80
94
  - !ruby/object:Gem::Version
81
- version: '9.7'
95
+ version: '10.0'
82
96
  type: :runtime
83
97
  prerelease: false
84
98
  version_requirements: !ruby/object:Gem::Requirement
85
99
  requirements:
86
100
  - - "~>"
87
101
  - !ruby/object:Gem::Version
88
- version: '9.7'
102
+ version: '10.0'
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: runcom
91
105
  requirement: !ruby/object:Gem::Requirement
92
106
  requirements:
93
107
  - - "~>"
94
108
  - !ruby/object:Gem::Version
95
- version: '8.7'
109
+ version: '9.0'
96
110
  type: :runtime
97
111
  prerelease: false
98
112
  version_requirements: !ruby/object:Gem::Requirement
99
113
  requirements:
100
114
  - - "~>"
101
115
  - !ruby/object:Gem::Version
102
- version: '8.7'
116
+ version: '9.0'
103
117
  - !ruby/object:Gem::Dependency
104
118
  name: spek
105
119
  requirement: !ruby/object:Gem::Requirement
106
120
  requirements:
107
121
  - - "~>"
108
122
  - !ruby/object:Gem::Version
109
- version: '0.6'
123
+ version: '1.0'
110
124
  type: :runtime
111
125
  prerelease: false
112
126
  version_requirements: !ruby/object:Gem::Requirement
113
127
  requirements:
114
128
  - - "~>"
115
129
  - !ruby/object:Gem::Version
116
- version: '0.6'
130
+ version: '1.0'
117
131
  - !ruby/object:Gem::Dependency
118
132
  name: zeitwerk
119
133
  requirement: !ruby/object:Gem::Requirement
@@ -185,14 +199,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
199
  requirements:
186
200
  - - "~>"
187
201
  - !ruby/object:Gem::Version
188
- version: '3.1'
202
+ version: '3.2'
189
203
  required_rubygems_version: !ruby/object:Gem::Requirement
190
204
  requirements:
191
205
  - - ">="
192
206
  - !ruby/object:Gem::Version
193
207
  version: '0'
194
208
  requirements: []
195
- rubygems_version: 3.3.24
209
+ rubygems_version: 3.4.2
196
210
  signing_key:
197
211
  specification_version: 4
198
212
  summary: A command line interface for managing/formatting source file pragma comments.
metadata.gz.sig CHANGED
Binary file