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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ed131bf279109618755ea830433c74d3ae3480dc5918b6b3492279ae0a6a6d4
4
- data.tar.gz: ba4eb23687b5bc912a1705e5a8d9cf594de374067643a7e61316fb9370442ce1
3
+ metadata.gz: 20d261759c2a6abd928d96264624faa31389a585c4c63b4dc7d2b5a41615fca2
4
+ data.tar.gz: cbf7d13e5ae376dfa3592fdb15e36bffd68d12f9561637f0ce29d1638a9f8b02
5
5
  SHA512:
6
- metadata.gz: e9106f771c42da72b9ebc493db6706d038c391ca72c8c7bf22196c3298e1bcc2c6545eda9b9398edf5a3f20e934207e8d927799ed001b11b5d4686e0390f07dc
7
- data.tar.gz: 43ec787d6bbf028823a5cf6d1a853875ad6e9389c22d4f3f2fa580965cc9eaaa22bdf0fd88b3e1bd4fee3d89f939e5bd3de90af4c331cc32f234515fa3b9f581
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
@@ -96,7 +96,7 @@ module Pragmater
96
96
  if options.edit? then `#{ENV["EDITOR"]} #{path}`
97
97
  elsif options.info?
98
98
  path ? say(path) : say("Configuration doesn't exist.")
99
- else help(:config)
99
+ else help :config
100
100
  end
101
101
  end
102
102
 
@@ -29,14 +29,14 @@ module Pragmater
29
29
  end
30
30
 
31
31
  def format_shebang
32
- return string unless string.match?(self.class.shebang_format)
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?(self.class.pragma_format)
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}"
@@ -12,7 +12,7 @@ module Pragmater
12
12
  end
13
13
 
14
14
  def self.version
15
- "6.1.0"
15
+ "6.2.0"
16
16
  end
17
17
 
18
18
  def self.version_label
@@ -59,7 +59,7 @@ module Pragmater
59
59
 
60
60
  # :reek:UtilityFunction
61
61
  def remove_spacing! lines
62
- lines.delete_at(0) if lines.first == "\n"
62
+ lines.delete_at 0 if lines.first == "\n"
63
63
  end
64
64
 
65
65
  def write
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.1.0
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
- MIIDQDCCAiigAwIBAgIBATANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0xODAyMTQxNTA4NDVaFw0xOTAyMTQx
15
- NTA4NDVaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
13
+ MIIC/jCCAeagAwIBAgIBAjANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
+ a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0xOTAyMTcxNjAxMTFaFw0yMDAyMTcx
15
+ NjAxMTFaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
16
  IjANBgkqhkiG9w0BAQEFAAOCAQ8A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EBANgfX7kPZkJvsbdWMvbe
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-02-02 00:00:00.000000000 Z
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.2
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
- !}*���P�� �|]AZ:����P[���
2
- :���rء�W��C�#���a0���Mk��
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۹��