pragmater 13.0.1 → 13.0.2

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: d7cb1c836cd12999e4c161725fad84b652d7a5e51baa78ad76892aaabc82a22f
4
- data.tar.gz: ac5cb53b0f755fa19da979698c579f189e0dd5657f7f33418b67c16a21962306
3
+ metadata.gz: 2a2141267b56318fefa1f1c9df22663a27305e879c08496218ed629e74c4fd36
4
+ data.tar.gz: 0ba295ecf0788af559f0a89ad51ea67860902d52a4b35972f953147b8f725436
5
5
  SHA512:
6
- metadata.gz: 77be5f66c03c514c1e2ee8dbd625684aff8953b6d7b7ad022a4ecb6483408a20a7ef9775b723cc7857a027470e1fd357e9c6053a5044a4c01bae5cce9e093f57
7
- data.tar.gz: 28f994c150ac3b5d58869bb5f4f20f776a6f32e6a4b4c5250b9ee674ccd8c67a5e478054045ec73ae0765df0ea67eadbecbcb00313a8aa62e489c31ed5dbf748
6
+ metadata.gz: c62734fd222f3dc13d53c1e772feb9f22e6ad18bfa4975e4f32b20dfac4997a78af8ce3af9c4a2c2ad7f94ad2863538c08f596245f551dde1c0afef830221298
7
+ data.tar.gz: bceb8023e210ff05687af9be5cb22f32fa770eccd2eff12c04003d9d41b3c56cf278e10471fee488b00dd52f7e30bcb46b3ae5dfe0d47ccce87efec00e463ce3
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
4
3
  require "sod"
5
4
 
6
5
  module Pragmater
@@ -10,15 +9,13 @@ module Pragmater
10
9
  class Comment < Sod::Action
11
10
  include Import[:input]
12
11
 
13
- using Refinements::Structs
14
-
15
12
  description "Set pragma comments."
16
13
 
17
14
  on %w[-c --comments], argument: "[a,b,c]"
18
15
 
19
16
  default { Container[:configuration].patterns }
20
17
 
21
- def call(comments = default) = input.merge! comments: Array(comments)
18
+ def call(comments = nil) = input.comments = Array(comments || default)
22
19
  end
23
20
  end
24
21
  end
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
4
3
  require "sod"
5
4
 
6
5
  module Pragmater
@@ -10,15 +9,13 @@ module Pragmater
10
9
  class Pattern < Sod::Action
11
10
  include Import[:input]
12
11
 
13
- using Refinements::Structs
14
-
15
12
  description "Set file patterns."
16
13
 
17
14
  on %w[-p --patterns], argument: "[a,b,c]"
18
15
 
19
16
  default { Container[:configuration].patterns }
20
17
 
21
- def call(patterns = default) = input.merge! patterns: Array(patterns)
18
+ def call(patterns = nil) = input.patterns = Array(patterns || default)
22
19
  end
23
20
  end
24
21
  end
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "refinements/structs"
4
3
  require "sod"
5
4
 
6
5
  module Pragmater
@@ -10,15 +9,13 @@ module Pragmater
10
9
  class Root < Sod::Action
11
10
  include Import[:input]
12
11
 
13
- using Refinements::Structs
14
-
15
12
  description "Set root directory."
16
13
 
17
14
  on %w[-r --root], argument: "[PATH]"
18
15
 
19
16
  default { Container[:configuration].root_dir }
20
17
 
21
- def call(path = default) = input.merge! root_dir: Pathname(path)
18
+ def call(path = nil) = input.root_dir = Pathname(path || default)
22
19
  end
23
20
  end
24
21
  end
data/pragmater.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "pragmater"
5
- spec.version = "13.0.1"
5
+ spec.version = "13.0.2"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/pragmater"
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: 13.0.1
4
+ version: 13.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-06-19 00:00:00.000000000 Z
38
+ date: 2023-06-22 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
metadata.gz.sig CHANGED
Binary file