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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/pennyworth/cli.rb +9 -9
- data/lib/pennyworth/identity.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fab85f14eebe9c0264bc259b5c1cb4a38b2bf19e5b32cb6629112350fa990796
|
4
|
+
data.tar.gz: c7930c598bb640390e5d39a49fa84f9835222fab872cccaba710c52240c0076f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f15e4c5b9fc4757e36e53726e32a5ad1828bac6dcdd1e402622a750e6efc131afd59206638112cfac22164fdc450241f5e716e6edbe6ec55d19bf5e798d4a162
|
7
|
+
data.tar.gz: 9884f8a3146da0c74e6bd547a6add09dd2009528bce95609a27e56512039cb63282202375afe12de00691073e33ae2df50afee27cbe900c5d6425b7a0bc98fd1
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/pennyworth/cli.rb
CHANGED
@@ -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
|
65
|
-
elsif options.upcase? then say
|
66
|
-
elsif options.titleize? then say
|
67
|
-
elsif options.camelcase? then say
|
68
|
-
elsif options.snakecase? then say
|
69
|
-
elsif options.size? then say
|
70
|
-
else say
|
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?
|
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
|
124
|
+
else help :config
|
125
125
|
end
|
126
126
|
end
|
127
127
|
|
data/lib/pennyworth/identity.rb
CHANGED
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.
|
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-
|
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.
|
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
|