pennyworth 2.0.0 → 2.1.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/{LICENSE.rdoc → LICENSE.md} +1 -1
- data/README.md +104 -0
- data/lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/icon.png +0 -0
- data/lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/info.plist +419 -0
- data/lib/pennyworth/version.rb +1 -1
- data/lib/pennyworth.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +53 -25
- metadata.gz.sig +2 -0
- data/CHANGELOG.rdoc +0 -31
- data/README.rdoc +0 -91
- data/lib/pennyworth/templates/workflows/user.workflow.43F0ADF3-BF5B-4C09-BC20-DF0CA14E58A0/icon.png +0 -0
- data/lib/pennyworth/templates/workflows/user.workflow.43F0ADF3-BF5B-4C09-BC20-DF0CA14E58A0/info.plist +0 -131
- data/lib/pennyworth/templates/workflows/user.workflow.514AB72A-0A69-422D-AA58-52A35800F78E/icon.png +0 -0
- data/lib/pennyworth/templates/workflows/user.workflow.514AB72A-0A69-422D-AA58-52A35800F78E/info.plist +0 -131
- data/lib/pennyworth/templates/workflows/user.workflow.97DA8B58-F8B9-408F-B212-8F02A31DAE6B/icon.png +0 -0
- data/lib/pennyworth/templates/workflows/user.workflow.97DA8B58-F8B9-408F-B212-8F02A31DAE6B/info.plist +0 -131
- data/lib/pennyworth/templates/workflows/user.workflow.9AFFD627-1541-4369-9034-1E0C6CC2B543/icon.png +0 -0
- data/lib/pennyworth/templates/workflows/user.workflow.9AFFD627-1541-4369-9034-1E0C6CC2B543/info.plist +0 -131
- /data/lib/pennyworth/templates/workflows/{user.workflow.97DA8B58-F8B9-408F-B212-8F02A31DAE6B/FA7100B1-94C8-4BD5-BCC7-31FC50CC0725.png → user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/85BF3157-4376-4EEF-822C-8787964193B7.png} +0 -0
- /data/lib/pennyworth/templates/workflows/{user.workflow.43F0ADF3-BF5B-4C09-BC20-DF0CA14E58A0/9B00D8C9-CD83-45B2-9AD3-6CA60CBB5F00.png → user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/CD056464-6D30-4A8A-8202-E7B7AB5836D8.png} +0 -0
- /data/lib/pennyworth/templates/workflows/{user.workflow.514AB72A-0A69-422D-AA58-52A35800F78E/4B457A56-9BB7-4270-8731-728A09D5B3F1.png → user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/ED61F954-8B44-47F9-AD2D-C236868286D1.png} +0 -0
- /data/lib/pennyworth/templates/workflows/{user.workflow.9AFFD627-1541-4369-9034-1E0C6CC2B543 → user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE}/F03EB975-27A1-49C1-BB1D-42886955C024.png +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 579e151b0f02654c9204e97194a49110dae794ab
|
4
|
+
data.tar.gz: 2fffad807b20f715589bf4ad604734d496ca0f6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b8756112ac72b338a92472d188d5d44a855e80e086ec134e780d015ee4e80c30f43378fb4bbb8f2a64f11887e717f712dc947dfb4af3757a05d0fe71255a08e
|
7
|
+
data.tar.gz: c11dd65e2c2ebf624f9341b526ab916539aaca47d2d81891d6c6215677d44357ee1c08b1504df769c4b5a6492eb3295e0c8dbb4d247a46808d584b8edcebd642
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/{LICENSE.rdoc → LICENSE.md}
RENAMED
data/README.md
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
# Overview
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/pennyworth.png)](http://badge.fury.io/rb/pennyworth)
|
4
|
+
[![Code Climate GPA](https://codeclimate.com/github/bkuhlmann/pennyworth.png)](https://codeclimate.com/github/bkuhlmann/pennyworth)
|
5
|
+
[![Travis CI Status](https://secure.travis-ci.org/bkuhlmann/pennyworth.png)](http://travis-ci.org/bkuhlmann/pennyworth)
|
6
|
+
|
7
|
+
Enhances and extends Alfred by providing a Ruby command line interface (CLI).
|
8
|
+
|
9
|
+
# Features
|
10
|
+
|
11
|
+
* Adds Ruby support to Alfred.
|
12
|
+
* Adds the following Alfred Workflows:
|
13
|
+
* Pennyworth String Upcase
|
14
|
+
* Pennyworth String Length
|
15
|
+
* Pennyworth String Downcase
|
16
|
+
* Pennyworth String Capitalize
|
17
|
+
|
18
|
+
# Requirements
|
19
|
+
|
20
|
+
0. [OSX](http://www.apple.com/osx).
|
21
|
+
0. [Alfred](http://www.alfredapp.com) (Version 2.x.x or higher).
|
22
|
+
0. [Alfred Powerpack](http://www.alfredapp.com/purchase).
|
23
|
+
0. [rbenv](https://github.com/sstephenson/rbenv).
|
24
|
+
0. [Ruby 2.0.x](http://www.ruby-lang.org).
|
25
|
+
|
26
|
+
# Setup
|
27
|
+
|
28
|
+
Type the following from the command line to securely install (recommended):
|
29
|
+
|
30
|
+
gem cert --add <(curl -Ls https://raw.github.com/bkuhlmann/pennyworth/master/gem-public.pem)
|
31
|
+
gem install pennyworth -P HighSecurity
|
32
|
+
|
33
|
+
...or type the following to insecurely install (not recommended):
|
34
|
+
|
35
|
+
gem install pennyworth
|
36
|
+
|
37
|
+
You can configure common settings for future gem builds by creating the following file:
|
38
|
+
|
39
|
+
~/.pennyworth/settings.yml
|
40
|
+
|
41
|
+
...using the following settings (for example):
|
42
|
+
|
43
|
+
---
|
44
|
+
:alfred_settings_root: "/Users/bkuhlmann/Dropbox/Cache/Alfred/Alfred.alfredpreferences"
|
45
|
+
|
46
|
+
# Usage
|
47
|
+
|
48
|
+
From the command line, type: pennyworth
|
49
|
+
|
50
|
+
pennyworth -e, [edit] # Edit gem settings in default editor (assumes $EDITOR environment variable).
|
51
|
+
pennyworth -h, [help] # Show this message.
|
52
|
+
pennyworth -i, [install] # Install Alfred Workflows.
|
53
|
+
pennyworth -s, [string] # Manipulate strings.
|
54
|
+
pennyworth -v, [version] # Show version.
|
55
|
+
|
56
|
+
For string options, type: pennyworth help string
|
57
|
+
|
58
|
+
-d, [--downcase=one two three] # Downcase a string.
|
59
|
+
-u, [--upcase=one two three] # Upcase a string.
|
60
|
+
-c, [--capitalize=one two three] # Capitalize words in a string.
|
61
|
+
-l, [--length=one two three] # Answer the length of a string.
|
62
|
+
|
63
|
+
While the command line options are nice, the real power comes from running the following command:
|
64
|
+
|
65
|
+
pennyworth -i
|
66
|
+
|
67
|
+
...which installs the Alfred Workflows to support this gem. You can use the Alfred commands
|
68
|
+
provided by each workflow instead of the CLI. Check each workflows documentation for details by
|
69
|
+
opening Alfred preferences and clicking on the _Workflows_ tab. Each workflow associated with this
|
70
|
+
gem is prefixed with _Pennyworth_.
|
71
|
+
|
72
|
+
# Tests
|
73
|
+
|
74
|
+
To test, do the following:
|
75
|
+
|
76
|
+
0. cd to the gem root.
|
77
|
+
0. bundle install
|
78
|
+
0. bundle exec rspec spec
|
79
|
+
|
80
|
+
# Versioning
|
81
|
+
|
82
|
+
Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
|
83
|
+
|
84
|
+
* Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes.
|
85
|
+
* Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes.
|
86
|
+
* Major (X.y.z) - Incremented for any backwards incompatible public API changes.
|
87
|
+
|
88
|
+
# Contributions
|
89
|
+
|
90
|
+
Read CONTRIBUTING for details.
|
91
|
+
|
92
|
+
# Credits
|
93
|
+
|
94
|
+
Developed by [Brooke Kuhlmann](http://www.redalchemist.com) at [Red Alchemist](http://www.redalchemist.com)
|
95
|
+
|
96
|
+
# License
|
97
|
+
|
98
|
+
Copyright (c) 2012 [Red Alchemist](http://www.redalchemist.com).
|
99
|
+
Read the LICENSE for details.
|
100
|
+
|
101
|
+
# History
|
102
|
+
|
103
|
+
Read the CHANGELOG for details.
|
104
|
+
Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).
|
data/lib/pennyworth/templates/workflows/user.workflow.C431E56A-0EC2-47EE-94D5-D67D9FE323BE/icon.png
ADDED
Binary file
|
@@ -0,0 +1,419 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>bundleid</key>
|
6
|
+
<string></string>
|
7
|
+
<key>connections</key>
|
8
|
+
<dict>
|
9
|
+
<key>698D046C-476A-4A8A-8111-F76DF141B21B</key>
|
10
|
+
<array>
|
11
|
+
<dict>
|
12
|
+
<key>destinationuid</key>
|
13
|
+
<string>24649D39-1A7A-4AEC-9E24-FA20E51DD906</string>
|
14
|
+
<key>modifiers</key>
|
15
|
+
<integer>0</integer>
|
16
|
+
<key>modifiersubtext</key>
|
17
|
+
<string></string>
|
18
|
+
</dict>
|
19
|
+
</array>
|
20
|
+
<key>6F03BAE2-FF35-45AA-9A12-34556B0748AF</key>
|
21
|
+
<array>
|
22
|
+
<dict>
|
23
|
+
<key>destinationuid</key>
|
24
|
+
<string>849D465B-8D8C-4561-983A-9365179E77E6</string>
|
25
|
+
<key>modifiers</key>
|
26
|
+
<integer>0</integer>
|
27
|
+
<key>modifiersubtext</key>
|
28
|
+
<string></string>
|
29
|
+
</dict>
|
30
|
+
</array>
|
31
|
+
<key>85BF3157-4376-4EEF-822C-8787964193B7</key>
|
32
|
+
<array>
|
33
|
+
<dict>
|
34
|
+
<key>destinationuid</key>
|
35
|
+
<string>BD02C510-C052-4E25-A59F-0766FCACEAE1</string>
|
36
|
+
<key>modifiers</key>
|
37
|
+
<integer>0</integer>
|
38
|
+
<key>modifiersubtext</key>
|
39
|
+
<string></string>
|
40
|
+
</dict>
|
41
|
+
</array>
|
42
|
+
<key>BD02C510-C052-4E25-A59F-0766FCACEAE1</key>
|
43
|
+
<array>
|
44
|
+
<dict>
|
45
|
+
<key>destinationuid</key>
|
46
|
+
<string>236E683B-9FBD-466E-A00B-B59D7B12AC68</string>
|
47
|
+
<key>modifiers</key>
|
48
|
+
<integer>0</integer>
|
49
|
+
<key>modifiersubtext</key>
|
50
|
+
<string></string>
|
51
|
+
</dict>
|
52
|
+
</array>
|
53
|
+
<key>CAD327F3-637E-4E8F-8E2A-EC47DC775A59</key>
|
54
|
+
<array>
|
55
|
+
<dict>
|
56
|
+
<key>destinationuid</key>
|
57
|
+
<string>44FEF82B-CA69-4786-9396-6C0518669386</string>
|
58
|
+
<key>modifiers</key>
|
59
|
+
<integer>0</integer>
|
60
|
+
<key>modifiersubtext</key>
|
61
|
+
<string></string>
|
62
|
+
</dict>
|
63
|
+
</array>
|
64
|
+
<key>CD056464-6D30-4A8A-8202-E7B7AB5836D8</key>
|
65
|
+
<array>
|
66
|
+
<dict>
|
67
|
+
<key>destinationuid</key>
|
68
|
+
<string>698D046C-476A-4A8A-8111-F76DF141B21B</string>
|
69
|
+
<key>modifiers</key>
|
70
|
+
<integer>0</integer>
|
71
|
+
<key>modifiersubtext</key>
|
72
|
+
<string></string>
|
73
|
+
</dict>
|
74
|
+
</array>
|
75
|
+
<key>ED61F954-8B44-47F9-AD2D-C236868286D1</key>
|
76
|
+
<array>
|
77
|
+
<dict>
|
78
|
+
<key>destinationuid</key>
|
79
|
+
<string>CAD327F3-637E-4E8F-8E2A-EC47DC775A59</string>
|
80
|
+
<key>modifiers</key>
|
81
|
+
<integer>0</integer>
|
82
|
+
<key>modifiersubtext</key>
|
83
|
+
<string></string>
|
84
|
+
</dict>
|
85
|
+
</array>
|
86
|
+
<key>F03EB975-27A1-49C1-BB1D-42886955C024</key>
|
87
|
+
<array>
|
88
|
+
<dict>
|
89
|
+
<key>destinationuid</key>
|
90
|
+
<string>6F03BAE2-FF35-45AA-9A12-34556B0748AF</string>
|
91
|
+
<key>modifiers</key>
|
92
|
+
<integer>0</integer>
|
93
|
+
<key>modifiersubtext</key>
|
94
|
+
<string></string>
|
95
|
+
</dict>
|
96
|
+
</array>
|
97
|
+
</dict>
|
98
|
+
<key>createdby</key>
|
99
|
+
<string>Brooke Kuhlmann</string>
|
100
|
+
<key>description</key>
|
101
|
+
<string>Associated workflows for the Pennyworth Ruby Gem.</string>
|
102
|
+
<key>disabled</key>
|
103
|
+
<false/>
|
104
|
+
<key>name</key>
|
105
|
+
<string>Pennyworth</string>
|
106
|
+
<key>objects</key>
|
107
|
+
<array>
|
108
|
+
<dict>
|
109
|
+
<key>config</key>
|
110
|
+
<dict>
|
111
|
+
<key>escaping</key>
|
112
|
+
<integer>63</integer>
|
113
|
+
<key>script</key>
|
114
|
+
<string>source ~/.bashrc
|
115
|
+
pennyworth -s -d {query}
|
116
|
+
</string>
|
117
|
+
<key>type</key>
|
118
|
+
<integer>0</integer>
|
119
|
+
</dict>
|
120
|
+
<key>type</key>
|
121
|
+
<string>alfred.workflow.action.script</string>
|
122
|
+
<key>uid</key>
|
123
|
+
<string>698D046C-476A-4A8A-8111-F76DF141B21B</string>
|
124
|
+
</dict>
|
125
|
+
<dict>
|
126
|
+
<key>config</key>
|
127
|
+
<dict>
|
128
|
+
<key>argumenttype</key>
|
129
|
+
<integer>0</integer>
|
130
|
+
<key>keyword</key>
|
131
|
+
<string>up</string>
|
132
|
+
<key>subtext</key>
|
133
|
+
<string>Converts text to uppercase. Result sent to clipboard.</string>
|
134
|
+
<key>text</key>
|
135
|
+
<string>Pennyworth String Upcase</string>
|
136
|
+
<key>withspace</key>
|
137
|
+
<true/>
|
138
|
+
</dict>
|
139
|
+
<key>type</key>
|
140
|
+
<string>alfred.workflow.input.keyword</string>
|
141
|
+
<key>uid</key>
|
142
|
+
<string>ED61F954-8B44-47F9-AD2D-C236868286D1</string>
|
143
|
+
</dict>
|
144
|
+
<dict>
|
145
|
+
<key>config</key>
|
146
|
+
<dict>
|
147
|
+
<key>escaping</key>
|
148
|
+
<integer>63</integer>
|
149
|
+
<key>script</key>
|
150
|
+
<string>source ~/.bashrc
|
151
|
+
pennyworth -s -u {query}
|
152
|
+
</string>
|
153
|
+
<key>type</key>
|
154
|
+
<integer>0</integer>
|
155
|
+
</dict>
|
156
|
+
<key>type</key>
|
157
|
+
<string>alfred.workflow.action.script</string>
|
158
|
+
<key>uid</key>
|
159
|
+
<string>CAD327F3-637E-4E8F-8E2A-EC47DC775A59</string>
|
160
|
+
</dict>
|
161
|
+
<dict>
|
162
|
+
<key>config</key>
|
163
|
+
<dict>
|
164
|
+
<key>lastpathcomponent</key>
|
165
|
+
<false/>
|
166
|
+
<key>onlyshowifquerypopulated</key>
|
167
|
+
<false/>
|
168
|
+
<key>output</key>
|
169
|
+
<integer>0</integer>
|
170
|
+
<key>removeextension</key>
|
171
|
+
<false/>
|
172
|
+
<key>sticky</key>
|
173
|
+
<false/>
|
174
|
+
<key>text</key>
|
175
|
+
<string>{query}</string>
|
176
|
+
<key>title</key>
|
177
|
+
<string>Pennyworth String Capitalize</string>
|
178
|
+
</dict>
|
179
|
+
<key>type</key>
|
180
|
+
<string>alfred.workflow.output.notification</string>
|
181
|
+
<key>uid</key>
|
182
|
+
<string>849D465B-8D8C-4561-983A-9365179E77E6</string>
|
183
|
+
</dict>
|
184
|
+
<dict>
|
185
|
+
<key>config</key>
|
186
|
+
<dict>
|
187
|
+
<key>escaping</key>
|
188
|
+
<integer>63</integer>
|
189
|
+
<key>script</key>
|
190
|
+
<string>source ~/.bashrc
|
191
|
+
pennyworth -s -l {query}
|
192
|
+
</string>
|
193
|
+
<key>type</key>
|
194
|
+
<integer>0</integer>
|
195
|
+
</dict>
|
196
|
+
<key>type</key>
|
197
|
+
<string>alfred.workflow.action.script</string>
|
198
|
+
<key>uid</key>
|
199
|
+
<string>BD02C510-C052-4E25-A59F-0766FCACEAE1</string>
|
200
|
+
</dict>
|
201
|
+
<dict>
|
202
|
+
<key>config</key>
|
203
|
+
<dict>
|
204
|
+
<key>argumenttype</key>
|
205
|
+
<integer>0</integer>
|
206
|
+
<key>keyword</key>
|
207
|
+
<string>length</string>
|
208
|
+
<key>subtext</key>
|
209
|
+
<string>Answers the string length. Input sent to clipboard.</string>
|
210
|
+
<key>text</key>
|
211
|
+
<string>Pennyworth String Length</string>
|
212
|
+
<key>withspace</key>
|
213
|
+
<true/>
|
214
|
+
</dict>
|
215
|
+
<key>type</key>
|
216
|
+
<string>alfred.workflow.input.keyword</string>
|
217
|
+
<key>uid</key>
|
218
|
+
<string>85BF3157-4376-4EEF-822C-8787964193B7</string>
|
219
|
+
</dict>
|
220
|
+
<dict>
|
221
|
+
<key>config</key>
|
222
|
+
<dict>
|
223
|
+
<key>argumenttype</key>
|
224
|
+
<integer>0</integer>
|
225
|
+
<key>keyword</key>
|
226
|
+
<string>cap</string>
|
227
|
+
<key>subtext</key>
|
228
|
+
<string>Capitalizes the first letter of each word. Result sent to clipboard.</string>
|
229
|
+
<key>text</key>
|
230
|
+
<string>Pennyworth String Capitalize</string>
|
231
|
+
<key>withspace</key>
|
232
|
+
<true/>
|
233
|
+
</dict>
|
234
|
+
<key>type</key>
|
235
|
+
<string>alfred.workflow.input.keyword</string>
|
236
|
+
<key>uid</key>
|
237
|
+
<string>F03EB975-27A1-49C1-BB1D-42886955C024</string>
|
238
|
+
</dict>
|
239
|
+
<dict>
|
240
|
+
<key>config</key>
|
241
|
+
<dict>
|
242
|
+
<key>lastpathcomponent</key>
|
243
|
+
<false/>
|
244
|
+
<key>onlyshowifquerypopulated</key>
|
245
|
+
<false/>
|
246
|
+
<key>output</key>
|
247
|
+
<integer>0</integer>
|
248
|
+
<key>removeextension</key>
|
249
|
+
<false/>
|
250
|
+
<key>sticky</key>
|
251
|
+
<false/>
|
252
|
+
<key>text</key>
|
253
|
+
<string>{query}</string>
|
254
|
+
<key>title</key>
|
255
|
+
<string>Pennyworth String Length</string>
|
256
|
+
</dict>
|
257
|
+
<key>type</key>
|
258
|
+
<string>alfred.workflow.output.notification</string>
|
259
|
+
<key>uid</key>
|
260
|
+
<string>236E683B-9FBD-466E-A00B-B59D7B12AC68</string>
|
261
|
+
</dict>
|
262
|
+
<dict>
|
263
|
+
<key>config</key>
|
264
|
+
<dict>
|
265
|
+
<key>lastpathcomponent</key>
|
266
|
+
<false/>
|
267
|
+
<key>onlyshowifquerypopulated</key>
|
268
|
+
<false/>
|
269
|
+
<key>output</key>
|
270
|
+
<integer>0</integer>
|
271
|
+
<key>removeextension</key>
|
272
|
+
<false/>
|
273
|
+
<key>sticky</key>
|
274
|
+
<false/>
|
275
|
+
<key>text</key>
|
276
|
+
<string>{query}</string>
|
277
|
+
<key>title</key>
|
278
|
+
<string>Pennyworth String Downcase</string>
|
279
|
+
</dict>
|
280
|
+
<key>type</key>
|
281
|
+
<string>alfred.workflow.output.notification</string>
|
282
|
+
<key>uid</key>
|
283
|
+
<string>24649D39-1A7A-4AEC-9E24-FA20E51DD906</string>
|
284
|
+
</dict>
|
285
|
+
<dict>
|
286
|
+
<key>config</key>
|
287
|
+
<dict>
|
288
|
+
<key>argumenttype</key>
|
289
|
+
<integer>0</integer>
|
290
|
+
<key>keyword</key>
|
291
|
+
<string>down</string>
|
292
|
+
<key>subtext</key>
|
293
|
+
<string>Converts text to lowercase. Result sent to clipboard.</string>
|
294
|
+
<key>text</key>
|
295
|
+
<string>Pennyworth String Downcase</string>
|
296
|
+
<key>withspace</key>
|
297
|
+
<true/>
|
298
|
+
</dict>
|
299
|
+
<key>type</key>
|
300
|
+
<string>alfred.workflow.input.keyword</string>
|
301
|
+
<key>uid</key>
|
302
|
+
<string>CD056464-6D30-4A8A-8202-E7B7AB5836D8</string>
|
303
|
+
</dict>
|
304
|
+
<dict>
|
305
|
+
<key>config</key>
|
306
|
+
<dict>
|
307
|
+
<key>escaping</key>
|
308
|
+
<integer>62</integer>
|
309
|
+
<key>script</key>
|
310
|
+
<string>source ~/.bashrc
|
311
|
+
pennyworth -s -c {query}
|
312
|
+
</string>
|
313
|
+
<key>type</key>
|
314
|
+
<integer>0</integer>
|
315
|
+
</dict>
|
316
|
+
<key>type</key>
|
317
|
+
<string>alfred.workflow.action.script</string>
|
318
|
+
<key>uid</key>
|
319
|
+
<string>6F03BAE2-FF35-45AA-9A12-34556B0748AF</string>
|
320
|
+
</dict>
|
321
|
+
<dict>
|
322
|
+
<key>config</key>
|
323
|
+
<dict>
|
324
|
+
<key>lastpathcomponent</key>
|
325
|
+
<false/>
|
326
|
+
<key>onlyshowifquerypopulated</key>
|
327
|
+
<false/>
|
328
|
+
<key>output</key>
|
329
|
+
<integer>0</integer>
|
330
|
+
<key>removeextension</key>
|
331
|
+
<false/>
|
332
|
+
<key>sticky</key>
|
333
|
+
<false/>
|
334
|
+
<key>text</key>
|
335
|
+
<string>{query}</string>
|
336
|
+
<key>title</key>
|
337
|
+
<string>Pennyworth String Upcase</string>
|
338
|
+
</dict>
|
339
|
+
<key>type</key>
|
340
|
+
<string>alfred.workflow.output.notification</string>
|
341
|
+
<key>uid</key>
|
342
|
+
<string>44FEF82B-CA69-4786-9396-6C0518669386</string>
|
343
|
+
</dict>
|
344
|
+
</array>
|
345
|
+
<key>readme</key>
|
346
|
+
<string>Copyright © 2013 Red Alchemist.
|
347
|
+
|
348
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
349
|
+
|
350
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
351
|
+
|
352
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>
|
353
|
+
<key>uidata</key>
|
354
|
+
<dict>
|
355
|
+
<key>236E683B-9FBD-466E-A00B-B59D7B12AC68</key>
|
356
|
+
<dict>
|
357
|
+
<key>ypos</key>
|
358
|
+
<real>370</real>
|
359
|
+
</dict>
|
360
|
+
<key>24649D39-1A7A-4AEC-9E24-FA20E51DD906</key>
|
361
|
+
<dict>
|
362
|
+
<key>ypos</key>
|
363
|
+
<real>250</real>
|
364
|
+
</dict>
|
365
|
+
<key>44FEF82B-CA69-4786-9396-6C0518669386</key>
|
366
|
+
<dict>
|
367
|
+
<key>ypos</key>
|
368
|
+
<real>130</real>
|
369
|
+
</dict>
|
370
|
+
<key>698D046C-476A-4A8A-8111-F76DF141B21B</key>
|
371
|
+
<dict>
|
372
|
+
<key>ypos</key>
|
373
|
+
<real>250</real>
|
374
|
+
</dict>
|
375
|
+
<key>6F03BAE2-FF35-45AA-9A12-34556B0748AF</key>
|
376
|
+
<dict>
|
377
|
+
<key>ypos</key>
|
378
|
+
<real>10</real>
|
379
|
+
</dict>
|
380
|
+
<key>849D465B-8D8C-4561-983A-9365179E77E6</key>
|
381
|
+
<dict>
|
382
|
+
<key>ypos</key>
|
383
|
+
<real>10</real>
|
384
|
+
</dict>
|
385
|
+
<key>85BF3157-4376-4EEF-822C-8787964193B7</key>
|
386
|
+
<dict>
|
387
|
+
<key>ypos</key>
|
388
|
+
<real>370</real>
|
389
|
+
</dict>
|
390
|
+
<key>BD02C510-C052-4E25-A59F-0766FCACEAE1</key>
|
391
|
+
<dict>
|
392
|
+
<key>ypos</key>
|
393
|
+
<real>370</real>
|
394
|
+
</dict>
|
395
|
+
<key>CAD327F3-637E-4E8F-8E2A-EC47DC775A59</key>
|
396
|
+
<dict>
|
397
|
+
<key>ypos</key>
|
398
|
+
<real>130</real>
|
399
|
+
</dict>
|
400
|
+
<key>CD056464-6D30-4A8A-8202-E7B7AB5836D8</key>
|
401
|
+
<dict>
|
402
|
+
<key>ypos</key>
|
403
|
+
<real>250</real>
|
404
|
+
</dict>
|
405
|
+
<key>ED61F954-8B44-47F9-AD2D-C236868286D1</key>
|
406
|
+
<dict>
|
407
|
+
<key>ypos</key>
|
408
|
+
<real>130</real>
|
409
|
+
</dict>
|
410
|
+
<key>F03EB975-27A1-49C1-BB1D-42886955C024</key>
|
411
|
+
<dict>
|
412
|
+
<key>ypos</key>
|
413
|
+
<real>10</real>
|
414
|
+
</dict>
|
415
|
+
</dict>
|
416
|
+
<key>webaddress</key>
|
417
|
+
<string>http://www.redalchemist.com</string>
|
418
|
+
</dict>
|
419
|
+
</plist>
|
data/lib/pennyworth/version.rb
CHANGED
data/lib/pennyworth.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
# Dependencies
|
2
|
-
require
|
3
|
-
require
|
4
|
-
require
|
2
|
+
require "pennyworth/version"
|
3
|
+
require "pennyworth/kits/clipboard"
|
4
|
+
require "pennyworth/kits/string"
|
data.tar.gz.sig
ADDED
Binary file
|