pragmater 8.1.0 → 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/lib/pragmater/cli/options/configuration.rb +1 -1
- data/lib/pragmater/cli/options/core.rb +1 -1
- data/lib/pragmater/cli/options/insert_remove.rb +1 -1
- data/lib/pragmater/identity.rb +1 -1
- data/lib/pragmater/runner.rb +3 -7
- metadata +32 -4
- 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: 947acbf35bcb93aa541f0e2a0f8534e4218f2803347075e036bbf445d14e3af8
|
4
|
+
data.tar.gz: f8ca6c8d0d12afddcc32fac26e22402a143c6242d2d1bbab31b0c9fc34c91a2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51131bf848bc75542eb31e52bec8f4eef72bcfe2b01792bfd1841b8792e41828737ae1b4d5059faa355c001f8fe92bb4563410c1bd1727506b22e10c2f8d4db7
|
7
|
+
data.tar.gz: 789438dced0f719bfd515221a180e145a0b88de0b3af7ae1bba6e7bb15f8443025a12f69a683ab42a1509b6ae142752161f5c005d5152c76e48db8f2cd5c7e34
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
@@ -13,7 +13,7 @@ module Pragmater
|
|
13
13
|
def call
|
14
14
|
parser.banner = "#{Identity::LABEL} - #{Identity::SUMMARY}"
|
15
15
|
parser.separator "\nUSAGE:\n"
|
16
|
-
private_methods.grep(/add_/).each
|
16
|
+
private_methods.grep(/add_/).each { |method| __send__ method }
|
17
17
|
parser
|
18
18
|
end
|
19
19
|
|
data/lib/pragmater/identity.rb
CHANGED
data/lib/pragmater/runner.rb
CHANGED
@@ -17,17 +17,13 @@ module Pragmater
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def call
|
20
|
-
Pathname(context.root_dir).files("{#{context.includes.join ","}}").map
|
20
|
+
Pathname(context.root_dir).files("{#{context.includes.join ","}}").map do |path|
|
21
|
+
path.write parser.call(path, context.comments, action: context.action).join
|
22
|
+
end
|
21
23
|
end
|
22
24
|
|
23
25
|
private
|
24
26
|
|
25
27
|
attr_reader :context, :parser
|
26
|
-
|
27
|
-
def write path
|
28
|
-
path.tap do |a_path|
|
29
|
-
a_path.write parser.call(a_path, context.comments, action: context.action).join
|
30
|
-
end
|
31
|
-
end
|
32
28
|
end
|
33
29
|
end
|
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: 8.
|
4
|
+
version: 8.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
|
29
29
|
QWc=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2020-11-
|
31
|
+
date: 2020-11-28 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: refinements
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '7.
|
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: '7.
|
46
|
+
version: '7.16'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: runcom
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,6 +86,34 @@ dependencies:
|
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0.2'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: gemsmith
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '14.8'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '14.8'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: git-lint
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.3'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '1.3'
|
89
117
|
- !ruby/object:Gem::Dependency
|
90
118
|
name: guard-rspec
|
91
119
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|