pennyworth 8.1.0 → 8.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: 9f7275e4293ec56122980d537b931f24b7b8ff3ae58e3b3041cb23378330ea75
4
- data.tar.gz: e1fe0cd3f1bea87e37f298e457da36bbb600aa4e4c72d0c4fe0505e5d21c0484
3
+ metadata.gz: fab85f14eebe9c0264bc259b5c1cb4a38b2bf19e5b32cb6629112350fa990796
4
+ data.tar.gz: c7930c598bb640390e5d39a49fa84f9835222fab872cccaba710c52240c0076f
5
5
  SHA512:
6
- metadata.gz: 701f41f35d08ca6fdf8687174463a5fcd360a7fd971372afbe4585c92f20a76223ce3cc6bbe9f8e060d8e1c097c605a24f23528cdb7aaef2aeb82ac1ebdc1cd0
7
- data.tar.gz: ab0331daae93a9c8afe2e60e5fb0cd7754940c281cf2e6e87e033976ce0f8b55daf668eb9f214109b4202a3d18043716e7eae6e2036cecef3e906a96d7494b94
6
+ metadata.gz: f15e4c5b9fc4757e36e53726e32a5ad1828bac6dcdd1e402622a750e6efc131afd59206638112cfac22164fdc450241f5e716e6edbe6ec55d19bf5e798d4a162
7
+ data.tar.gz: 9884f8a3146da0c74e6bd547a6add09dd2009528bce95609a27e56512039cb63282202375afe12de00691073e33ae2df50afee27cbe900c5d6425b7a0bc98fd1
checksums.yaml.gz.sig CHANGED
Binary file
@@ -61,13 +61,13 @@ module Pennyworth
61
61
  # rubocop:disable Metrics/CyclomaticComplexity
62
62
  # rubocop:disable Metrics/PerceivedComplexity
63
63
  def string value
64
- if options.downcase? then say(value.downcase)
65
- elsif options.upcase? then say(value.upcase)
66
- elsif options.titleize? then say(value.titleize)
67
- elsif options.camelcase? then say(value.camelcase)
68
- elsif options.snakecase? then say(value.snakecase)
69
- elsif options.size? then say(value.size)
70
- else say("Type 'pennyworth help string' for usage.")
64
+ if options.downcase? then say value.downcase
65
+ elsif options.upcase? then say value.upcase
66
+ elsif options.titleize? then say value.titleize
67
+ elsif options.camelcase? then say value.camelcase
68
+ elsif options.snakecase? then say value.snakecase
69
+ elsif options.size? then say value.size
70
+ else say "Type 'pennyworth help string' for usage."
71
71
  end
72
72
  end
73
73
  # rubocop:enable Metrics/CyclomaticComplexity
@@ -80,7 +80,7 @@ module Pennyworth
80
80
 
81
81
  alfred_settings_root = self.class.configuration.to_h[:alfred_settings_root]
82
82
 
83
- if valid_file?(alfred_settings_root, "Invalid directory for Alfred settings root")
83
+ if valid_file? alfred_settings_root, "Invalid directory for Alfred settings root"
84
84
  if yes? "Installing Alfred Workflows will destroy exiting, identical, workflows. " \
85
85
  "Continue (y/n)?"
86
86
  say_status :info, "Installing Alfred Workflows...", :green
@@ -121,7 +121,7 @@ module Pennyworth
121
121
  if options.edit? then `#{ENV["EDITOR"]} #{path}`
122
122
  elsif options.info?
123
123
  path ? say(path) : say("Configuration doesn't exist.")
124
- else help(:config)
124
+ else help :config
125
125
  end
126
126
  end
127
127
 
@@ -12,7 +12,7 @@ module Pennyworth
12
12
  end
13
13
 
14
14
  def self.version
15
- "8.1.0"
15
+ "8.2.0"
16
16
  end
17
17
 
18
18
  def self.version_label
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: 8.1.0
4
+ version: 8.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  dKvURM+1PwDCzC5tvRwjhUJIizau6+MtkFCvJHmaAj1aZL3odcPejHj5Hxt/0CUW
29
29
  y84=
30
30
  -----END CERTIFICATE-----
31
- date: 2019-03-01 00:00:00.000000000 Z
31
+ date: 2019-04-01 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: refinements
@@ -345,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
345
345
  - !ruby/object:Gem::Version
346
346
  version: '0'
347
347
  requirements: []
348
- rubygems_version: 3.0.2
348
+ rubygems_version: 3.0.3
349
349
  signing_key:
350
350
  specification_version: 4
351
351
  summary: A command line interface that adds Ruby support to Alfred.
metadata.gz.sig CHANGED
Binary file