pennyworth 15.0.1 → 15.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 414794a27964f620a93d4c91b8bd54895ebb5f904fc222cd9219ae563f33f331
4
- data.tar.gz: 56a85dc5f9da6c8b1323f273c8f76b5808ebbd5c1f79719b21a8bd5c5a31a6dc
3
+ metadata.gz: 95f95fda957b7af37f24cb9e2a78e8610b759878e1b362e1bc8349a92fc55ecc
4
+ data.tar.gz: 31327d9059fb763ba79ddbd5e7cd033c7fbbf6fbd868cab2b525df6cca171581
5
5
  SHA512:
6
- metadata.gz: c3bfe9b02f3af2145262480e4a4a5b28097358b8cd7c0178ea58169597d724a0843c26f702dda0c30fbfd7e9ac248e3bd6eeab4e7c2ea09c7841e83041364bfa
7
- data.tar.gz: a8bd9ca69fedf805b0c55673ebecfafaade206b34f8845f5ef587501b03d09f580926061dab4c41a936a567756add7acdfdc2b7f686c37f645217e84c2604e22
6
+ metadata.gz: fa2221cf39d531e1c2ee3416f219c11fe76b88c2cb3b645816eba19351dfc2678f7bdef3d1d3a4773d32efc0ad19b5fe3c102c7b215cb8a6895529b4dac553b7
7
+ data.tar.gz: d87ae2026728c366354a81c7d342a6612302358aab2c3666c67c98df235d516190f74de36a129da6faa7e92f33f08bf194f437ee7e8bc634527e49bbf90cf733
checksums.yaml.gz.sig CHANGED
Binary file
@@ -12,16 +12,16 @@ module Pennyworth
12
12
 
13
13
  description "Specify organization."
14
14
 
15
- on %w[-o --organization],
16
- argument: "[HANDLE]",
17
- default: Container[:configuration].git_hub_organization
15
+ on %w[-o --organization], argument: "[HANDLE]"
16
+
17
+ default { Container[:configuration].git_hub_organization }
18
18
 
19
19
  def initialize(processor: Processor.for_projects, **)
20
20
  super(**)
21
21
  @processor = processor
22
22
  end
23
23
 
24
- def call(handle = default) = kernel.puts processor.call("orgs/#{handle}").to_json
24
+ def call(handle = nil) = kernel.puts processor.call("orgs/#{handle || default}").to_json
25
25
 
26
26
  private
27
27
 
@@ -12,14 +12,16 @@ module Pennyworth
12
12
 
13
13
  description "Specify user."
14
14
 
15
- on %w[-u --user], argument: "[HANDLE]", default: Container[:configuration].git_hub_user
15
+ on %w[-u --user], argument: "[HANDLE]"
16
+
17
+ default { Container[:configuration].git_hub_user }
16
18
 
17
19
  def initialize(processor: Processor.for_projects, **)
18
20
  super(**)
19
21
  @processor = processor
20
22
  end
21
23
 
22
- def call(handle = default) = kernel.puts processor.call("users/#{handle}").to_json
24
+ def call(handle = nil) = kernel.puts processor.call("users/#{handle || default}").to_json
23
25
 
24
26
  private
25
27
 
@@ -11,15 +11,17 @@ module Pennyworth
11
11
 
12
12
  description "Render Alfred RubyGems script filter."
13
13
 
14
- on "--ruby_gems", argument: "[HANDLE]", default: Container[:configuration].ruby_gems_owner
14
+ on "--ruby_gems", argument: "[HANDLE]"
15
+
16
+ default { Container[:configuration].ruby_gems_owner }
15
17
 
16
18
  def initialize(processor: Processor.for_gems, **)
17
19
  super(**)
18
20
  @processor = processor
19
21
  end
20
22
 
21
- def call handle = default
22
- endpoint = "owners/#{handle}/gems.json"
23
+ def call handle = nil
24
+ endpoint = "owners/#{handle || default}/gems.json"
23
25
  kernel.puts processor.call(endpoint).to_json
24
26
  end
25
27
 
data/pennyworth.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "pennyworth"
5
- spec.version = "15.0.1"
5
+ spec.version = "15.0.2"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/pennyworth"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pennyworth
3
3
  version: !ruby/object:Gem::Version
4
- version: 15.0.1
4
+ version: 15.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