pragmater 9.0.0 → 9.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: 3510b74dca65adfeed1751708bb5f85b1520cf3d226e7ff1493858431666b32f
4
- data.tar.gz: 1fcf9908e0de075ae96fc609ffe94209c13dc25676fe3c87b371083601b59451
3
+ metadata.gz: d318f52d078e8617319255e45043efa9573c928420d899f04133c7ad522717d6
4
+ data.tar.gz: c55c5a0365563356e6740e1788fe94ca401be6fe916ef302a5c6d2ed5a2bdbb2
5
5
  SHA512:
6
- metadata.gz: 783e0fe7bc7d0c6a2993e2a77f3b4093bd1f9b1e1b272ac014a39805487cb36b8cd8f30958461d5de19f12529b23f10bce188ebb0ed104d95c1d291097192c65
7
- data.tar.gz: 40ce62fd3b9a050a951c91c423cb2787f82ffd0de568eaa17ff2e9efcd6351bb4edd860bdaac15c019a6122115ce1e174908a46c87fdc407d0953a82cd1e76cd
6
+ metadata.gz: c0cc8f92059177b72862536bf54b5629c23b0a46bedc9c56d9febbb968ce559a3be249398ffffd85e80bda8d2b2ae6ecc324fe66977a97e92e9094932ce327c2
7
+ data.tar.gz: e42c6d2886ed0f8053c3d2f4bf641d1e5556e4ba3991c3bd409d6c37db81cad21ea344cefee2232ef8afd45c7364781ed5472c4fe6c4f1083d080e08e7af903c
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -11,9 +11,9 @@ image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchem
11
11
  [link=https://circleci.com/gh/bkuhlmann/pragmater]
12
12
  image::https://circleci.com/gh/bkuhlmann/pragmater.svg?style=svg[Circle CI Status]
13
13
 
14
- A command line interface for managing/formatting source file
15
- https://en.wikipedia.org/wiki/Directive_(programming)[directive pragmas] (a.k.a. _magic comments_).
16
- Examples:
14
+ A command line interface that does one thing well by being entirely focused on managing/formatting
15
+ source file https://en.wikipedia.org/wiki/Directive_(programming)[directive pragmas] (a.k.a. _magic
16
+ comments_). Examples:
17
17
 
18
18
  [source,ruby]
19
19
  ----
data/bin/pragmater CHANGED
@@ -1,9 +1,6 @@
1
1
  #! /usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- # TODO: Remove once the Pattern Matching feature is fully supported.
5
- Warning[:experimental] = false
6
-
7
4
  require "pragmater"
8
5
 
9
6
  Process.setproctitle Pragmater::Identity::VERSION_LABEL
@@ -17,7 +17,6 @@ module Pragmater
17
17
  in config:, edit:, **remainder then edit_configuration
18
18
  in config:, info:, **remainder then print_configuration
19
19
  in version:, **remainder then print_version
20
- in help:, **remainder then print_usage
21
20
  else print_usage
22
21
  end
23
22
  end
@@ -5,8 +5,8 @@ module Pragmater
5
5
  module Identity
6
6
  NAME = "pragmater"
7
7
  LABEL = "Pragmater"
8
- VERSION = "9.0.0"
9
- VERSION_LABEL = "#{LABEL} #{VERSION}"
8
+ VERSION = "9.2.0"
9
+ VERSION_LABEL = "#{LABEL} #{VERSION}".freeze
10
10
  SUMMARY = "A command line interface for managing/formatting source file pragma comments."
11
11
  end
12
12
  end
@@ -4,10 +4,7 @@ module Pragmater
4
4
  module Processors
5
5
  # Handles the insertion or removal of pragma comments.
6
6
  class Handler
7
- DEFAULTS = {
8
- insert: Inserter,
9
- remove: Remover
10
- }.freeze
7
+ DEFAULTS = {insert: Inserter, remove: Remover}.freeze
11
8
 
12
9
  def initialize processors: DEFAULTS
13
10
  @processors = processors
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: 9.0.0
4
+ version: 9.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -10,9 +10,9 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIC/jCCAeagAwIBAgIBAzANBgkqhkiG9w0BAQsFADAlMS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Ojo+iO8Nf
27
- 7u/QSfBHb+r/bXhKscDgPpnKwbUmvgO2+94zJG9KsrmIydlzYfsD09aXKx0t6Xy4
28
- 2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
29
- QWc=
23
+ 2CdikiiE3fJhP/gY4ggwDQYJKoZIhvcNAQELBQADggEBAEjpaOXHHp8s/7GL2qCb
24
+ YAs7urOLv9VHSPfQWAwaTMVnSsIf3Sw4xzISOP/mmfEPBPXtz61K5esrE/uTFtgb
25
+ FyjxQk2H0sEWgrRXGGNHBWQRhhEs7LP/TByoC15A0br++xLxRz4r7HBLGAWQQDpg
26
+ 66BJ2TBVjxS6K64tKbq7+ACyrOZGgTfNHACh4M076y0x0oRf/rwBrU39/KRfuhbb
27
+ cm+nNCEtO35gTmZ2bVDHLGvWazi3gJt6+huQjfXTCUUG2YYBxwhu+GPdAGQPxpf9
28
+ lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
29
+ W2A=
30
30
  -----END CERTIFICATE-----
31
- date: 2020-12-29 00:00:00.000000000 Z
31
+ date: 2021-10-09 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: '8.0'
39
+ version: '8.4'
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: '8.0'
46
+ version: '8.4'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: runcom
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubygems_version: 3.2.3
117
+ rubygems_version: 3.2.28
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: A command line interface for managing/formatting source file pragma comments.
metadata.gz.sig CHANGED
Binary file