pragmater 6.1.0 → 6.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.rb +1 -1
- data/lib/pragmater/formatter.rb +2 -2
- data/lib/pragmater/identity.rb +1 -1
- data/lib/pragmater/writer.rb +1 -1
- metadata +14 -15
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20d261759c2a6abd928d96264624faa31389a585c4c63b4dc7d2b5a41615fca2
|
4
|
+
data.tar.gz: cbf7d13e5ae376dfa3592fdb15e36bffd68d12f9561637f0ce29d1638a9f8b02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fce6fc1b78fbda6feeeb3f849c7468c087a6908b99a056db98fc40def0a6f506b57027eaa65d69c2d52f0485c30efc8edac4b02e66e3ff481baf2595c6a02e2
|
7
|
+
data.tar.gz: 01ee4e5ef6d43ddd19c0d3f744696eada63fc3bf0a953c07a9f291d5400df22194ff9b0853928515ae63abef20e17a454ccf41b1ab2b2ee4f470ae19e0aae93a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/pragmater/cli.rb
CHANGED
data/lib/pragmater/formatter.rb
CHANGED
@@ -29,14 +29,14 @@ module Pragmater
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def format_shebang
|
32
|
-
return string unless string.match?
|
32
|
+
return string unless string.match? self.class.shebang_format
|
33
33
|
|
34
34
|
_, path = string.split "!"
|
35
35
|
"#! #{path.strip}"
|
36
36
|
end
|
37
37
|
|
38
38
|
def format_pragma
|
39
|
-
return string unless string.match?
|
39
|
+
return string unless string.match? self.class.pragma_format
|
40
40
|
|
41
41
|
key, value = string.split ":"
|
42
42
|
"# #{key.gsub(/\#\s?/, "")}: #{value.strip}"
|
data/lib/pragmater/identity.rb
CHANGED
data/lib/pragmater/writer.rb
CHANGED
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: 6.
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,26 +10,25 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MIIC/jCCAeagAwIBAgIBAjANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
|
14
|
+
a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0xOTAyMTcxNjAxMTFaFw0yMDAyMTcx
|
15
|
+
NjAxMTFaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
|
16
16
|
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
|
17
17
|
xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
|
18
18
|
brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
|
19
19
|
9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
|
20
20
|
D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
|
21
21
|
3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
|
22
|
-
|
23
|
-
2CdikiiE3fJhP/
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
b4jw5t40FKyNUvLPPXYAvQALBtk=
|
22
|
+
AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
|
23
|
+
2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBANgfX7kPZkJvsbdWMvbe
|
24
|
+
DUUYxRTqTUzCDpLd2p3sQvgLMKjTNSKt6CFq/kh+98b6RCgO6DqiVfxvOEq02dvf
|
25
|
+
ebMN/ylQqan2FgiAs1rpP0/D4C0MlBjoDktsT+2IyLol1KmkDB20ExJ4Sf1GRNdA
|
26
|
+
hpWOtcgqHtmrc7xzgB6BuyoYufrKKUlCO3ewTM4C375D2qO7hIdKuMOO3CdPMtSk
|
27
|
+
OrWpbzCL+nbbXqeoqiHgZaUvcyyQrGj5sQRxMTzuMXzzQxtHnuTuKrcz16HMTX/O
|
28
|
+
dKvURM+1PwDCzC5tvRwjhUJIizau6+MtkFCvJHmaAj1aZL3odcPejHj5Hxt/0CUW
|
29
|
+
y84=
|
31
30
|
-----END CERTIFICATE-----
|
32
|
-
date: 2019-
|
31
|
+
date: 2019-04-01 00:00:00.000000000 Z
|
33
32
|
dependencies:
|
34
33
|
- !ruby/object:Gem::Dependency
|
35
34
|
name: runcom
|
@@ -339,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
338
|
- !ruby/object:Gem::Version
|
340
339
|
version: '0'
|
341
340
|
requirements: []
|
342
|
-
rubygems_version: 3.0.
|
341
|
+
rubygems_version: 3.0.3
|
343
342
|
signing_key:
|
344
343
|
specification_version: 4
|
345
344
|
summary: A command line interface for managing/formatting source file pragma comments.
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
n�e|�9�(#>�����p�dI��eH����w`T�
|
2
|
+
�eX�������.�Ȼ�{�<�J����pd��0�ʛ$�^��׆��Y5F�ʻ_LTy���e>U���.�m�[�q5��[F]m�S�a@����}���GY%?��^��b]��'/��tB�qN��zQ���z�����Ʃ�� 7Q)���D�����0>�ߒvUrd�ېL�������ڗz�Q��<SL�U۹��
|