pennyworth 2.1.0 → 2.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/README.md +2 -2
- data/bin/pennyworth +0 -1
- data/lib/pennyworth/cli.rb +10 -9
- data/lib/pennyworth/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +68 -39
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21c8c8736f61ae061a9902897e0ff4f2d5564c6b
|
4
|
+
data.tar.gz: 0518435cd1790674c8e7ea1cbe6b7a61c9d3eb73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd2a785a2c262024f6dbef90d4686ca8b82265b79e08cfce53db88a63072ed015dd8808b26cbe1864ecb03e24807848f0b07b5a17e047d01d253704ea84679d5
|
7
|
+
data.tar.gz: 3c380b730e121bed898e4a98121f96a9473b3eabcd2c97a6f815ac58f9f7b736f5c753fc66e217e8c16aae3b4713bb0ca45b1a187a62e08a730512b639b31522
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -21,13 +21,13 @@ Enhances and extends Alfred by providing a Ruby command line interface (CLI).
|
|
21
21
|
0. [Alfred](http://www.alfredapp.com) (Version 2.x.x or higher).
|
22
22
|
0. [Alfred Powerpack](http://www.alfredapp.com/purchase).
|
23
23
|
0. [rbenv](https://github.com/sstephenson/rbenv).
|
24
|
-
0. [Ruby 2.
|
24
|
+
0. [Ruby 2.x.x](http://www.ruby-lang.org).
|
25
25
|
|
26
26
|
# Setup
|
27
27
|
|
28
28
|
Type the following from the command line to securely install (recommended):
|
29
29
|
|
30
|
-
gem cert --add <(curl -Ls
|
30
|
+
gem cert --add <(curl -Ls http://www.redalchemist.com/gem-public.pem)
|
31
31
|
gem install pennyworth -P HighSecurity
|
32
32
|
|
33
33
|
...or type the following to insecurely install (not recommended):
|
data/bin/pennyworth
CHANGED
data/lib/pennyworth/cli.rb
CHANGED
@@ -20,8 +20,8 @@ module Pennyworth
|
|
20
20
|
@settings = load_yaml @settings_file
|
21
21
|
end
|
22
22
|
|
23
|
-
desc "-s, [string]", "Manipulate strings."
|
24
|
-
map
|
23
|
+
desc "-s, [string=STRING]", "Manipulate strings."
|
24
|
+
map %w(-s --string) => :string
|
25
25
|
method_option :downcase, aliases: "-d", desc: "Downcase a string.", type: :array
|
26
26
|
method_option :upcase, aliases: "-u", desc: "Upcase a string.", type: :array
|
27
27
|
method_option :capitalize, aliases: "-c", desc: "Capitalize words in a string.", type: :array
|
@@ -41,10 +41,10 @@ module Pennyworth
|
|
41
41
|
end
|
42
42
|
|
43
43
|
desc "-i, [install]", "Install Alfred Workflows."
|
44
|
-
map
|
44
|
+
map %w(-i --install) => :install
|
45
45
|
def install
|
46
46
|
say
|
47
|
-
|
47
|
+
|
48
48
|
if valid_file?(@settings[:alfred_settings_root], "Invalid directory for Alfred settings root")
|
49
49
|
if yes? "Installing Alfred Workflows will destroy exiting workflows of the same name. Continue (y/n)?"
|
50
50
|
info "Installing Alfred Workflows..."
|
@@ -70,18 +70,19 @@ module Pennyworth
|
|
70
70
|
end
|
71
71
|
|
72
72
|
desc "-e, [edit]", "Edit gem settings in default editor (assumes $EDITOR environment variable)."
|
73
|
-
map
|
73
|
+
map %w(-e --edit) => :edit
|
74
74
|
def edit
|
75
75
|
`$EDITOR #{@settings_file}`
|
76
76
|
end
|
77
77
|
|
78
|
-
desc "-v, [version]", "Show version."
|
79
|
-
map
|
78
|
+
desc "-v, [--version]", "Show version."
|
79
|
+
map %w(-v --version) => :version
|
80
80
|
def version
|
81
81
|
say "Pennyworth " + VERSION
|
82
82
|
end
|
83
|
-
|
84
|
-
desc "-h, [help]", "Show this message."
|
83
|
+
|
84
|
+
desc "-h, [--help=HELP]", "Show this message or get help for a command."
|
85
|
+
map %w(-h --help) => :help
|
85
86
|
def help task = nil
|
86
87
|
say and super
|
87
88
|
end
|
data/lib/pennyworth/version.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: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -30,174 +30,202 @@ cert_chain:
|
|
30
30
|
SJpzzzZ8gO6BKn4fhd+ENNQ333Qy3nuNk07TVIaNnlgeHhowUDuD9T7Z8Lka0pt3
|
31
31
|
4PteiTppsf0SSVAM9zSO5IuFngXMRwWgvjOfXE70f43RDuUVTCSyylc=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2013-
|
33
|
+
date: 2013-12-28 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: thor
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0.18'
|
42
42
|
type: :runtime
|
43
43
|
prerelease: false
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - ~>
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '0.18'
|
49
49
|
- !ruby/object:Gem::Dependency
|
50
50
|
name: thor_plus
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - ~>
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '1.0'
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '1.0'
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: rake
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- -
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
69
|
+
version: '10.0'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0'
|
76
|
+
version: '10.0'
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: pry
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
type: :development
|
85
85
|
prerelease: false
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- -
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '0'
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: pry-byebug
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- -
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
type: :development
|
99
|
+
prerelease: false
|
100
|
+
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: pry-remote
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
96
110
|
- !ruby/object:Gem::Version
|
97
111
|
version: '0'
|
98
112
|
type: :development
|
99
113
|
prerelease: false
|
100
114
|
version_requirements: !ruby/object:Gem::Requirement
|
101
115
|
requirements:
|
102
|
-
- -
|
116
|
+
- - ">="
|
103
117
|
- !ruby/object:Gem::Version
|
104
118
|
version: '0'
|
105
119
|
- !ruby/object:Gem::Dependency
|
106
120
|
name: pry-rescue
|
107
121
|
requirement: !ruby/object:Gem::Requirement
|
108
122
|
requirements:
|
109
|
-
- -
|
123
|
+
- - ">="
|
110
124
|
- !ruby/object:Gem::Version
|
111
125
|
version: '0'
|
112
126
|
type: :development
|
113
127
|
prerelease: false
|
114
128
|
version_requirements: !ruby/object:Gem::Requirement
|
115
129
|
requirements:
|
116
|
-
- -
|
130
|
+
- - ">="
|
117
131
|
- !ruby/object:Gem::Version
|
118
132
|
version: '0'
|
119
133
|
- !ruby/object:Gem::Dependency
|
120
134
|
name: pry-stack_explorer
|
121
135
|
requirement: !ruby/object:Gem::Requirement
|
122
136
|
requirements:
|
123
|
-
- -
|
137
|
+
- - ">="
|
124
138
|
- !ruby/object:Gem::Version
|
125
139
|
version: '0'
|
126
140
|
type: :development
|
127
141
|
prerelease: false
|
128
142
|
version_requirements: !ruby/object:Gem::Requirement
|
129
143
|
requirements:
|
130
|
-
- -
|
144
|
+
- - ">="
|
131
145
|
- !ruby/object:Gem::Version
|
132
146
|
version: '0'
|
133
147
|
- !ruby/object:Gem::Dependency
|
134
148
|
name: pry-vterm_aliases
|
135
149
|
requirement: !ruby/object:Gem::Requirement
|
136
150
|
requirements:
|
137
|
-
- -
|
151
|
+
- - ">="
|
138
152
|
- !ruby/object:Gem::Version
|
139
153
|
version: '0'
|
140
154
|
type: :development
|
141
155
|
prerelease: false
|
142
156
|
version_requirements: !ruby/object:Gem::Requirement
|
143
157
|
requirements:
|
144
|
-
- -
|
158
|
+
- - ">="
|
145
159
|
- !ruby/object:Gem::Version
|
146
160
|
version: '0'
|
147
161
|
- !ruby/object:Gem::Dependency
|
148
|
-
name:
|
162
|
+
name: pry-git
|
149
163
|
requirement: !ruby/object:Gem::Requirement
|
150
164
|
requirements:
|
151
|
-
- -
|
165
|
+
- - ">="
|
152
166
|
- !ruby/object:Gem::Version
|
153
167
|
version: '0'
|
154
168
|
type: :development
|
155
169
|
prerelease: false
|
156
170
|
version_requirements: !ruby/object:Gem::Requirement
|
157
171
|
requirements:
|
158
|
-
- -
|
172
|
+
- - ">="
|
159
173
|
- !ruby/object:Gem::Version
|
160
174
|
version: '0'
|
161
175
|
- !ruby/object:Gem::Dependency
|
162
|
-
name:
|
176
|
+
name: pry-doc
|
177
|
+
requirement: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - ">="
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :development
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
requirements:
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
name: rspec
|
163
191
|
requirement: !ruby/object:Gem::Requirement
|
164
192
|
requirements:
|
165
|
-
- -
|
193
|
+
- - ">="
|
166
194
|
- !ruby/object:Gem::Version
|
167
195
|
version: '0'
|
168
196
|
type: :development
|
169
197
|
prerelease: false
|
170
198
|
version_requirements: !ruby/object:Gem::Requirement
|
171
199
|
requirements:
|
172
|
-
- -
|
200
|
+
- - ">="
|
173
201
|
- !ruby/object:Gem::Version
|
174
202
|
version: '0'
|
175
203
|
- !ruby/object:Gem::Dependency
|
176
|
-
name: rb-
|
204
|
+
name: rb-fsevent
|
177
205
|
requirement: !ruby/object:Gem::Requirement
|
178
206
|
requirements:
|
179
|
-
- -
|
207
|
+
- - ">="
|
180
208
|
- !ruby/object:Gem::Version
|
181
209
|
version: '0'
|
182
210
|
type: :development
|
183
211
|
prerelease: false
|
184
212
|
version_requirements: !ruby/object:Gem::Requirement
|
185
213
|
requirements:
|
186
|
-
- -
|
214
|
+
- - ">="
|
187
215
|
- !ruby/object:Gem::Version
|
188
216
|
version: '0'
|
189
217
|
- !ruby/object:Gem::Dependency
|
190
218
|
name: guard-rspec
|
191
219
|
requirement: !ruby/object:Gem::Requirement
|
192
220
|
requirements:
|
193
|
-
- -
|
221
|
+
- - ">="
|
194
222
|
- !ruby/object:Gem::Version
|
195
223
|
version: '0'
|
196
224
|
type: :development
|
197
225
|
prerelease: false
|
198
226
|
version_requirements: !ruby/object:Gem::Requirement
|
199
227
|
requirements:
|
200
|
-
- -
|
228
|
+
- - ">="
|
201
229
|
- !ruby/object:Gem::Version
|
202
230
|
version: '0'
|
203
231
|
description: Enhances and extends Alfred with Ruby support. See the README for further
|
@@ -210,6 +238,10 @@ extra_rdoc_files:
|
|
210
238
|
- README.md
|
211
239
|
- LICENSE.md
|
212
240
|
files:
|
241
|
+
- LICENSE.md
|
242
|
+
- README.md
|
243
|
+
- bin/pennyworth
|
244
|
+
- lib/pennyworth.rb
|
213
245
|
- lib/pennyworth/cli.rb
|
214
246
|
- lib/pennyworth/kits/clipboard.rb
|
215
247
|
- lib/pennyworth/kits/string.rb
|
@@ -220,10 +252,6 @@ files:
|
|
220
252
|
- lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/icon.png
|
221
253
|
- lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/info.plist
|
222
254
|
- lib/pennyworth/version.rb
|
223
|
-
- lib/pennyworth.rb
|
224
|
-
- README.md
|
225
|
-
- LICENSE.md
|
226
|
-
- bin/pennyworth
|
227
255
|
homepage: http://www.redalchemist.com
|
228
256
|
licenses:
|
229
257
|
- MIT
|
@@ -234,18 +262,19 @@ require_paths:
|
|
234
262
|
- lib
|
235
263
|
required_ruby_version: !ruby/object:Gem::Requirement
|
236
264
|
requirements:
|
237
|
-
- - ~>
|
265
|
+
- - "~>"
|
238
266
|
- !ruby/object:Gem::Version
|
239
|
-
version: 2.0
|
267
|
+
version: '2.0'
|
240
268
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
269
|
requirements:
|
242
|
-
- -
|
270
|
+
- - ">="
|
243
271
|
- !ruby/object:Gem::Version
|
244
272
|
version: '0'
|
245
273
|
requirements: []
|
246
274
|
rubyforge_project:
|
247
|
-
rubygems_version: 2.0
|
275
|
+
rubygems_version: 2.2.0
|
248
276
|
signing_key:
|
249
277
|
specification_version: 4
|
250
278
|
summary: Enhances and extends Alfred with Ruby support.
|
251
279
|
test_files: []
|
280
|
+
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|