pragmater 7.0.1 → 8.2.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.tar.gz.sig +0 -0
- data/{LICENSE.md → LICENSE.adoc} +29 -30
- data/README.adoc +323 -0
- data/bin/pragmater +5 -4
- data/lib/pragmater.rb +16 -4
- data/lib/pragmater/cli/helper.rb +40 -0
- data/lib/pragmater/cli/options/assembler.rb +45 -0
- data/lib/pragmater/cli/options/configuration.rb +37 -0
- data/lib/pragmater/cli/options/core.rb +56 -0
- data/lib/pragmater/cli/options/defaults.yml +6 -0
- data/lib/pragmater/cli/options/insert_remove.rb +38 -0
- data/lib/pragmater/cli/options/merger.rb +52 -0
- data/lib/pragmater/cli/shell.rb +63 -0
- data/lib/pragmater/context.rb +14 -0
- data/lib/pragmater/formatters/general.rb +34 -0
- data/lib/pragmater/formatters/main.rb +26 -0
- data/lib/pragmater/formatters/shebang.rb +25 -0
- data/lib/pragmater/identity.rb +5 -15
- data/lib/pragmater/parsers/comments.rb +30 -0
- data/lib/pragmater/parsers/file.rb +32 -0
- data/lib/pragmater/processors/handler.rb +25 -0
- data/lib/pragmater/processors/inserter.rb +24 -0
- data/lib/pragmater/processors/remover.rb +24 -0
- data/lib/pragmater/runner.rb +13 -16
- metadata +72 -58
- metadata.gz.sig +0 -0
- data/README.md +0 -263
- data/lib/pragmater/cli.rb +0 -124
- data/lib/pragmater/commenter.rb +0 -32
- data/lib/pragmater/formatter.rb +0 -59
- data/lib/pragmater/writer.rb +0 -69
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Pragmater
|
4
|
+
module Formatters
|
5
|
+
# Formats shebang pragmas in a consistent manner.
|
6
|
+
class Shebang
|
7
|
+
PATTERN = %r(\A\#!\s?/.*ruby\Z).freeze
|
8
|
+
|
9
|
+
def initialize string, pattern: PATTERN
|
10
|
+
@string = string
|
11
|
+
@pattern = pattern
|
12
|
+
end
|
13
|
+
|
14
|
+
def call
|
15
|
+
return string unless string.match? pattern
|
16
|
+
|
17
|
+
string.split("!").then { |octothorpe, path| "#{octothorpe}! #{path.strip}" }
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
attr_reader :string, :pattern
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/lib/pragmater/identity.rb
CHANGED
@@ -3,20 +3,10 @@
|
|
3
3
|
module Pragmater
|
4
4
|
# Gem identity information.
|
5
5
|
module Identity
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
"Pragmater"
|
12
|
-
end
|
13
|
-
|
14
|
-
def self.version
|
15
|
-
"7.0.1"
|
16
|
-
end
|
17
|
-
|
18
|
-
def self.version_label
|
19
|
-
"#{label} #{version}"
|
20
|
-
end
|
6
|
+
NAME = "pragmater"
|
7
|
+
LABEL = "Pragmater"
|
8
|
+
VERSION = "8.2.0"
|
9
|
+
VERSION_LABEL = "#{LABEL} #{VERSION}"
|
10
|
+
SUMMARY = "A command line interface for managing/formatting source file pragma comments."
|
21
11
|
end
|
22
12
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Pragmater
|
4
|
+
module Parsers
|
5
|
+
# Manages pragma comments.
|
6
|
+
class Comments
|
7
|
+
def initialize older, newer, formatter: Formatters::Main
|
8
|
+
@formatter = formatter
|
9
|
+
@older = format older
|
10
|
+
@newer = format newer
|
11
|
+
end
|
12
|
+
|
13
|
+
def insert
|
14
|
+
older.union newer
|
15
|
+
end
|
16
|
+
|
17
|
+
def remove
|
18
|
+
older - older.intersection(newer)
|
19
|
+
end
|
20
|
+
|
21
|
+
private
|
22
|
+
|
23
|
+
attr_reader :formatter, :older, :newer
|
24
|
+
|
25
|
+
def format pragmas
|
26
|
+
Array(pragmas).map { |pragma| formatter.new(pragma).call }
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Pragmater
|
4
|
+
module Parsers
|
5
|
+
# Parses a file into pragma comment and body lines.
|
6
|
+
class File
|
7
|
+
def initialize pattern: Formatters::Main::PATTERN,
|
8
|
+
comments: Comments,
|
9
|
+
processor: Processors::Handler.new
|
10
|
+
@pattern = pattern
|
11
|
+
@comments = comments
|
12
|
+
@processor = processor
|
13
|
+
end
|
14
|
+
|
15
|
+
def call path, new_comments, action:
|
16
|
+
path.each_line
|
17
|
+
.partition { |line| line.match? pattern }
|
18
|
+
.then do |old_comments, body|
|
19
|
+
processor.call action, wrap_in_new_line(old_comments, new_comments, action), body
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
attr_reader :pattern, :comments, :processor
|
26
|
+
|
27
|
+
def wrap_in_new_line old_comments, new_comments, action
|
28
|
+
comments.new(old_comments, new_comments).public_send(action).map { |line| "#{line}\n" }
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Pragmater
|
4
|
+
module Processors
|
5
|
+
# Handles the insertion or removal of pragma comments.
|
6
|
+
class Handler
|
7
|
+
DEFAULTS = {
|
8
|
+
insert: Inserter,
|
9
|
+
remove: Remover
|
10
|
+
}.freeze
|
11
|
+
|
12
|
+
def initialize processors: DEFAULTS
|
13
|
+
@processors = processors
|
14
|
+
end
|
15
|
+
|
16
|
+
def call action, comments, body
|
17
|
+
processors.fetch(action).new(comments, body).call
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
attr_reader :processors
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Pragmater
|
4
|
+
module Processors
|
5
|
+
# Inserts new pragma comments.
|
6
|
+
class Inserter
|
7
|
+
def initialize comments, body
|
8
|
+
@comments = comments
|
9
|
+
@body = body
|
10
|
+
end
|
11
|
+
|
12
|
+
def call
|
13
|
+
body.first.then do |first|
|
14
|
+
comments.append "\n" unless first == "\n" || body.empty?
|
15
|
+
comments + body
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
attr_reader :comments, :body
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Pragmater
|
4
|
+
module Processors
|
5
|
+
# Removes existing pragma comments.
|
6
|
+
class Remover
|
7
|
+
def initialize comments, body
|
8
|
+
@comments = comments
|
9
|
+
@body = body
|
10
|
+
end
|
11
|
+
|
12
|
+
def call
|
13
|
+
body.first.then do |first_line|
|
14
|
+
body.delete_at 0 if first_line == "\n" && comments.empty?
|
15
|
+
comments + body
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
private
|
20
|
+
|
21
|
+
attr_reader :comments, :body
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/lib/pragmater/runner.rb
CHANGED
@@ -1,32 +1,29 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "refinements/pathnames"
|
4
|
+
|
3
5
|
module Pragmater
|
4
6
|
# Adds/removes pragma comments for files in given path.
|
5
7
|
class Runner
|
6
|
-
|
7
|
-
def initialize path = ".", comments: [], includes: [], writer: Writer
|
8
|
-
@path = Pathname path
|
9
|
-
@comments = Array comments
|
10
|
-
@includes = Array includes
|
11
|
-
@writer = writer
|
12
|
-
end
|
13
|
-
# rubocop:enable Metrics/ParameterLists
|
8
|
+
using Refinements::Pathnames
|
14
9
|
|
15
|
-
def
|
16
|
-
|
10
|
+
def self.for **attributes
|
11
|
+
new Context[attributes]
|
12
|
+
end
|
17
13
|
|
18
|
-
|
14
|
+
def initialize context, parser: Parsers::File.new
|
15
|
+
@context = context
|
16
|
+
@parser = parser
|
19
17
|
end
|
20
18
|
|
21
|
-
def
|
22
|
-
files.
|
23
|
-
|
24
|
-
yield file if block_given?
|
19
|
+
def call
|
20
|
+
Pathname(context.root_dir).files("{#{context.includes.join ","}}").map do |path|
|
21
|
+
path.write parser.call(path, context.comments, action: context.action).join
|
25
22
|
end
|
26
23
|
end
|
27
24
|
|
28
25
|
private
|
29
26
|
|
30
|
-
attr_reader :
|
27
|
+
attr_reader :context, :parser
|
31
28
|
end
|
32
29
|
end
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pragmater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIC/
|
14
|
-
|
15
|
-
|
13
|
+
MIIC/jCCAeagAwIBAgIBAzANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
|
14
|
+
a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMDAzMTUxNDQ1MzJaFw0yMTAzMTUx
|
15
|
+
NDQ1MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
|
16
16
|
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
|
17
17
|
xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
|
18
18
|
brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
|
@@ -20,60 +20,60 @@ cert_chain:
|
|
20
20
|
D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
|
21
21
|
3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
|
22
22
|
AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
|
23
|
-
2CdikiiE3fJhP/
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
23
|
+
2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAIHhAlD3po4sTYqacXaQ
|
24
|
+
XI9jIhrfMy//2PgbHWcETtlJPBeNUbbSNBABcllUHKqYsVDlSvSmss034KSWNR8F
|
25
|
+
bF1GcloicyvcCC4y6IoW4it0COAcdeaaxkxiBSgKdQFpff9REnDlIKK4uQ9lLxIo
|
26
|
+
Y2G5xubiziKZkyfWFuSr67PIjW3Bu673D1JVBArhA1qbgQmYQcy1CkGOjo+iO8Nf
|
27
|
+
7u/QSfBHb+r/bXhKscDgPpnKwbUmvgO2+94zJG9KsrmIydlzYfsD09aXKx0t6Xy4
|
28
|
+
2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
|
29
|
+
QWc=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2020-
|
31
|
+
date: 2020-11-28 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: refinements
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '7.16'
|
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: '
|
46
|
+
version: '7.16'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: runcom
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '6.4'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '6.4'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: bundler-audit
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '0.
|
67
|
+
version: '0.7'
|
68
68
|
type: :development
|
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.7'
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
76
|
+
name: bundler-leak
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
@@ -92,28 +92,28 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '14.
|
95
|
+
version: '14.8'
|
96
96
|
type: :development
|
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: '14.
|
102
|
+
version: '14.8'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
|
-
name: git-
|
104
|
+
name: git-lint
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
109
|
+
version: '1.3'
|
110
110
|
type: :development
|
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: '
|
116
|
+
version: '1.3'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: guard-rspec
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,28 +134,28 @@ dependencies:
|
|
134
134
|
requirements:
|
135
135
|
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '0.
|
137
|
+
version: '0.13'
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: '0.
|
144
|
+
version: '0.13'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: pry-byebug
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '3.
|
151
|
+
version: '3.9'
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '3.
|
158
|
+
version: '3.9'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
160
|
name: rake
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,56 +176,56 @@ dependencies:
|
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: '
|
179
|
+
version: '6.0'
|
180
180
|
type: :development
|
181
181
|
prerelease: false
|
182
182
|
version_requirements: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '
|
186
|
+
version: '6.0'
|
187
187
|
- !ruby/object:Gem::Dependency
|
188
188
|
name: rspec
|
189
189
|
requirement: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
191
|
- - "~>"
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: '3.
|
193
|
+
version: '3.10'
|
194
194
|
type: :development
|
195
195
|
prerelease: false
|
196
196
|
version_requirements: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
198
|
- - "~>"
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
version: '3.
|
200
|
+
version: '3.10'
|
201
201
|
- !ruby/object:Gem::Dependency
|
202
202
|
name: rubocop
|
203
203
|
requirement: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
205
|
- - "~>"
|
206
206
|
- !ruby/object:Gem::Version
|
207
|
-
version: '
|
207
|
+
version: '1.3'
|
208
208
|
type: :development
|
209
209
|
prerelease: false
|
210
210
|
version_requirements: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
212
|
- - "~>"
|
213
213
|
- !ruby/object:Gem::Version
|
214
|
-
version: '
|
214
|
+
version: '1.3'
|
215
215
|
- !ruby/object:Gem::Dependency
|
216
216
|
name: rubocop-performance
|
217
217
|
requirement: !ruby/object:Gem::Requirement
|
218
218
|
requirements:
|
219
219
|
- - "~>"
|
220
220
|
- !ruby/object:Gem::Version
|
221
|
-
version: '1.
|
221
|
+
version: '1.8'
|
222
222
|
type: :development
|
223
223
|
prerelease: false
|
224
224
|
version_requirements: !ruby/object:Gem::Requirement
|
225
225
|
requirements:
|
226
226
|
- - "~>"
|
227
227
|
- !ruby/object:Gem::Version
|
228
|
-
version: '1.
|
228
|
+
version: '1.8'
|
229
229
|
- !ruby/object:Gem::Dependency
|
230
230
|
name: rubocop-rake
|
231
231
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,56 +246,70 @@ dependencies:
|
|
246
246
|
requirements:
|
247
247
|
- - "~>"
|
248
248
|
- !ruby/object:Gem::Version
|
249
|
-
version: '
|
249
|
+
version: '2.0'
|
250
250
|
type: :development
|
251
251
|
prerelease: false
|
252
252
|
version_requirements: !ruby/object:Gem::Requirement
|
253
253
|
requirements:
|
254
254
|
- - "~>"
|
255
255
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
256
|
+
version: '2.0'
|
257
257
|
- !ruby/object:Gem::Dependency
|
258
258
|
name: simplecov
|
259
259
|
requirement: !ruby/object:Gem::Requirement
|
260
260
|
requirements:
|
261
261
|
- - "~>"
|
262
262
|
- !ruby/object:Gem::Version
|
263
|
-
version: '0.
|
263
|
+
version: '0.19'
|
264
264
|
type: :development
|
265
265
|
prerelease: false
|
266
266
|
version_requirements: !ruby/object:Gem::Requirement
|
267
267
|
requirements:
|
268
268
|
- - "~>"
|
269
269
|
- !ruby/object:Gem::Version
|
270
|
-
version: '0.
|
271
|
-
description:
|
270
|
+
version: '0.19'
|
271
|
+
description:
|
272
272
|
email:
|
273
273
|
- brooke@alchemists.io
|
274
274
|
executables:
|
275
275
|
- pragmater
|
276
276
|
extensions: []
|
277
277
|
extra_rdoc_files:
|
278
|
-
- README.
|
279
|
-
- LICENSE.
|
278
|
+
- README.adoc
|
279
|
+
- LICENSE.adoc
|
280
280
|
files:
|
281
|
-
- LICENSE.
|
282
|
-
- README.
|
281
|
+
- LICENSE.adoc
|
282
|
+
- README.adoc
|
283
283
|
- bin/pragmater
|
284
284
|
- lib/pragmater.rb
|
285
|
-
- lib/pragmater/cli.rb
|
286
|
-
- lib/pragmater/
|
287
|
-
- lib/pragmater/
|
285
|
+
- lib/pragmater/cli/helper.rb
|
286
|
+
- lib/pragmater/cli/options/assembler.rb
|
287
|
+
- lib/pragmater/cli/options/configuration.rb
|
288
|
+
- lib/pragmater/cli/options/core.rb
|
289
|
+
- lib/pragmater/cli/options/defaults.yml
|
290
|
+
- lib/pragmater/cli/options/insert_remove.rb
|
291
|
+
- lib/pragmater/cli/options/merger.rb
|
292
|
+
- lib/pragmater/cli/shell.rb
|
293
|
+
- lib/pragmater/context.rb
|
294
|
+
- lib/pragmater/formatters/general.rb
|
295
|
+
- lib/pragmater/formatters/main.rb
|
296
|
+
- lib/pragmater/formatters/shebang.rb
|
288
297
|
- lib/pragmater/identity.rb
|
298
|
+
- lib/pragmater/parsers/comments.rb
|
299
|
+
- lib/pragmater/parsers/file.rb
|
300
|
+
- lib/pragmater/processors/handler.rb
|
301
|
+
- lib/pragmater/processors/inserter.rb
|
302
|
+
- lib/pragmater/processors/remover.rb
|
289
303
|
- lib/pragmater/runner.rb
|
290
|
-
|
291
|
-
homepage: https://github.com/bkuhlmann/pragmater
|
304
|
+
homepage: https://www.alchemists.io/projects/pragmater
|
292
305
|
licenses:
|
293
306
|
- Apache-2.0
|
294
307
|
metadata:
|
295
|
-
source_code_uri: https://github.com/bkuhlmann/pragmater
|
296
|
-
changelog_uri: https://github.com/bkuhlmann/pragmater/blob/master/CHANGES.md
|
297
308
|
bug_tracker_uri: https://github.com/bkuhlmann/pragmater/issues
|
298
|
-
|
309
|
+
changelog_uri: https://www.alchemists.io/projects/pragmater/changes.html
|
310
|
+
documentation_uri: https://www.alchemists.io/projects/pragmater
|
311
|
+
source_code_uri: https://github.com/bkuhlmann/pragmater
|
312
|
+
post_install_message:
|
299
313
|
rdoc_options: []
|
300
314
|
require_paths:
|
301
315
|
- lib
|
@@ -310,8 +324,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
310
324
|
- !ruby/object:Gem::Version
|
311
325
|
version: '0'
|
312
326
|
requirements: []
|
313
|
-
rubygems_version: 3.1.
|
314
|
-
signing_key:
|
327
|
+
rubygems_version: 3.1.4
|
328
|
+
signing_key:
|
315
329
|
specification_version: 4
|
316
330
|
summary: A command line interface for managing/formatting source file pragma comments.
|
317
331
|
test_files: []
|