pennyworth 0.1.0 → 0.2.0
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.
- data/CHANGELOG.rdoc +11 -0
- data/README.rdoc +4 -4
- data/lib/pennyworth/kit.rb +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/apple_say/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/cache_flush/icon.png +0 -0
- data/lib/pennyworth/templates/alfred/extensions/scripts/{directory_size → cache_flush}/info.plist +9 -5
- data/lib/pennyworth/templates/alfred/extensions/scripts/{directory_size → cache_flush}/kudos.plist +0 -0
- data/lib/pennyworth/templates/alfred/extensions/scripts/edit_bash_file/info.plist +4 -3
- data/lib/pennyworth/templates/alfred/extensions/scripts/edit_file/info.plist +4 -3
- data/lib/pennyworth/templates/alfred/extensions/scripts/{edit_dotfile → edit_home_file}/icon.png +0 -0
- data/lib/pennyworth/templates/alfred/extensions/scripts/{edit_dotfile → edit_home_file}/info.plist +6 -5
- data/lib/pennyworth/templates/alfred/extensions/scripts/{edit_dotfile → edit_home_file}/kudos.plist +0 -0
- data/lib/pennyworth/templates/alfred/extensions/scripts/mem_purge/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_chrome/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_opera/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_safari/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/{mac_serial → osx_serial}/icon.png +0 -0
- data/lib/pennyworth/templates/alfred/extensions/scripts/{mac_serial → osx_serial}/info.plist +6 -2
- data/lib/pennyworth/templates/alfred/extensions/scripts/{mac_serial → osx_serial}/kudos.plist +0 -0
- data/lib/pennyworth/templates/alfred/extensions/scripts/restart_rails/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/string_capitalize/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/string_downcase/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/string_length/info.plist +1 -1
- data/lib/pennyworth/templates/alfred/extensions/scripts/string_upcase/info.plist +1 -1
- data/lib/pennyworth/version.rb +1 -1
- metadata +51 -27
- data/lib/pennyworth/templates/alfred/extensions/scripts/directory_size/icon.png +0 -0
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
= v0.2.0
|
2
|
+
|
3
|
+
* Cleaned up doc.
|
4
|
+
* Renamed MacOS X to OSX.
|
5
|
+
* Added the cache_flush script extension.
|
6
|
+
* Removed the directory_size script extension.
|
7
|
+
* Added parameter specifications for all extensions.
|
8
|
+
* Replaced the edit_dotfile extension with the edit_home_file extension.
|
9
|
+
* Switched to default editor for edit extensions so that TextMate isn't explicitly called.
|
10
|
+
* Fixed spec with call to pbcopy.
|
11
|
+
|
1
12
|
= v0.1.0
|
2
13
|
|
3
14
|
* Initial version.
|
data/README.rdoc
CHANGED
@@ -10,15 +10,15 @@ packaged as part of this gem, references back to the Ruby CLI. Output is provide
|
|
10
10
|
* Adds Ruby support to Alfred.
|
11
11
|
* Adds the launch_browsers file extension.
|
12
12
|
* Adds the apple_say script extension.
|
13
|
-
* Adds the
|
13
|
+
* Adds the cache_flush script extension.
|
14
14
|
* Adds the edit_bash_file script extension.
|
15
|
-
* Adds the edit_dotfile script extension.
|
16
15
|
* Adds the edit_file script extension.
|
17
|
-
* Adds the
|
16
|
+
* Adds the edit_home_file script extension.
|
18
17
|
* Adds the mem_purge script extension.
|
19
18
|
* Adds the open_url_in_chrome script extension.
|
20
19
|
* Adds the open_url_in_opera script extension.
|
21
20
|
* Adds the open_url_in_safari script extension.
|
21
|
+
* Adds the osx_serial script extension.
|
22
22
|
* Adds the restart_rails script extension.
|
23
23
|
* Adds the string_capitalize script extension.
|
24
24
|
* Adds the string_downcase script extension.
|
@@ -27,7 +27,7 @@ packaged as part of this gem, references back to the Ruby CLI. Output is provide
|
|
27
27
|
|
28
28
|
= Requirements
|
29
29
|
|
30
|
-
1.
|
30
|
+
1. OSX[http://www.apple.com/osx]
|
31
31
|
2. Alfred[http://www.alfredapp.com]
|
32
32
|
3. {Alfred Powerpack}[http://www.alfredapp.com/purchase].
|
33
33
|
4. Growl[http://growl.info].
|
data/lib/pennyworth/kit.rb
CHANGED
data/lib/pennyworth/templates/alfred/extensions/scripts/{directory_size → cache_flush}/info.plist
RENAMED
@@ -7,8 +7,10 @@
|
|
7
7
|
<key>category</key>
|
8
8
|
<string>SCRIPTS</string>
|
9
9
|
<key>command</key>
|
10
|
-
<string>
|
11
|
-
</string>
|
10
|
+
<string>dscacheutil -flushcache
|
11
|
+
echo "Cache Flushed."</string>
|
12
|
+
<key>disabled</key>
|
13
|
+
<false/>
|
12
14
|
<key>escapequery</key>
|
13
15
|
<true/>
|
14
16
|
<key>escapequerybackquotes</key>
|
@@ -24,14 +26,16 @@
|
|
24
26
|
<key>growloutputsticky</key>
|
25
27
|
<false/>
|
26
28
|
<key>keyword</key>
|
27
|
-
<string>
|
29
|
+
<string>flush</string>
|
28
30
|
<key>logging</key>
|
29
31
|
<false/>
|
32
|
+
<key>parameter</key>
|
33
|
+
<integer>1</integer>
|
30
34
|
<key>silent</key>
|
31
35
|
<true/>
|
32
36
|
<key>subtitle</key>
|
33
|
-
<string>
|
37
|
+
<string>Flushes the local cache.</string>
|
34
38
|
<key>title</key>
|
35
|
-
<string>
|
39
|
+
<string>Cache Flush</string>
|
36
40
|
</dict>
|
37
41
|
</plist>
|
data/lib/pennyworth/templates/alfred/extensions/scripts/{directory_size → cache_flush}/kudos.plist
RENAMED
File without changes
|
@@ -7,7 +7,8 @@
|
|
7
7
|
<key>category</key>
|
8
8
|
<string>SCRIPTS</string>
|
9
9
|
<key>command</key>
|
10
|
-
<string>
|
10
|
+
<string>source ~/.bashrc
|
11
|
+
$EDITOR ~/.bashrc</string>
|
11
12
|
<key>disabled</key>
|
12
13
|
<false/>
|
13
14
|
<key>escapequery</key>
|
@@ -29,11 +30,11 @@
|
|
29
30
|
<key>logging</key>
|
30
31
|
<false/>
|
31
32
|
<key>parameter</key>
|
32
|
-
<integer>
|
33
|
+
<integer>1</integer>
|
33
34
|
<key>silent</key>
|
34
35
|
<true/>
|
35
36
|
<key>subtitle</key>
|
36
|
-
<string>Edit Bash file
|
37
|
+
<string>Edit a Bash file with default editor.</string>
|
37
38
|
<key>title</key>
|
38
39
|
<string>Edit Bash File</string>
|
39
40
|
</dict>
|
@@ -7,7 +7,8 @@
|
|
7
7
|
<key>category</key>
|
8
8
|
<string>SCRIPTS</string>
|
9
9
|
<key>command</key>
|
10
|
-
<string>
|
10
|
+
<string>source ~/.bashrc
|
11
|
+
$EDITOR {query}</string>
|
11
12
|
<key>disabled</key>
|
12
13
|
<false/>
|
13
14
|
<key>escapequery</key>
|
@@ -29,11 +30,11 @@
|
|
29
30
|
<key>logging</key>
|
30
31
|
<false/>
|
31
32
|
<key>parameter</key>
|
32
|
-
<integer>
|
33
|
+
<integer>3</integer>
|
33
34
|
<key>silent</key>
|
34
35
|
<true/>
|
35
36
|
<key>subtitle</key>
|
36
|
-
<string>Edit
|
37
|
+
<string>Edit any file with default editor.</string>
|
37
38
|
<key>title</key>
|
38
39
|
<string>Edit File</string>
|
39
40
|
</dict>
|
data/lib/pennyworth/templates/alfred/extensions/scripts/{edit_dotfile → edit_home_file}/icon.png
RENAMED
File without changes
|
data/lib/pennyworth/templates/alfred/extensions/scripts/{edit_dotfile → edit_home_file}/info.plist
RENAMED
@@ -7,7 +7,8 @@
|
|
7
7
|
<key>category</key>
|
8
8
|
<string>SCRIPTS</string>
|
9
9
|
<key>command</key>
|
10
|
-
<string>
|
10
|
+
<string>source ~/.bashrc
|
11
|
+
$EDITOR ~/{query}</string>
|
11
12
|
<key>disabled</key>
|
12
13
|
<false/>
|
13
14
|
<key>escapequery</key>
|
@@ -25,16 +26,16 @@
|
|
25
26
|
<key>growloutputsticky</key>
|
26
27
|
<false/>
|
27
28
|
<key>keyword</key>
|
28
|
-
<string>
|
29
|
+
<string>ehome</string>
|
29
30
|
<key>logging</key>
|
30
31
|
<false/>
|
31
32
|
<key>parameter</key>
|
32
|
-
<integer>
|
33
|
+
<integer>3</integer>
|
33
34
|
<key>silent</key>
|
34
35
|
<true/>
|
35
36
|
<key>subtitle</key>
|
36
|
-
<string>Edit
|
37
|
+
<string>Edit your home with default editor.</string>
|
37
38
|
<key>title</key>
|
38
|
-
<string>Edit
|
39
|
+
<string>Edit Home File</string>
|
39
40
|
</dict>
|
40
41
|
</plist>
|
data/lib/pennyworth/templates/alfred/extensions/scripts/{edit_dotfile → edit_home_file}/kudos.plist
RENAMED
File without changes
|
File without changes
|
data/lib/pennyworth/templates/alfred/extensions/scripts/{mac_serial → osx_serial}/info.plist
RENAMED
@@ -8,6 +8,8 @@
|
|
8
8
|
<string>SCRIPTS</string>
|
9
9
|
<key>command</key>
|
10
10
|
<string>ioreg -l | grep IOPlatformSerialNumber</string>
|
11
|
+
<key>disabled</key>
|
12
|
+
<false/>
|
11
13
|
<key>escapequery</key>
|
12
14
|
<true/>
|
13
15
|
<key>escapequerybackquotes</key>
|
@@ -26,11 +28,13 @@
|
|
26
28
|
<string>serial</string>
|
27
29
|
<key>logging</key>
|
28
30
|
<false/>
|
31
|
+
<key>parameter</key>
|
32
|
+
<integer>1</integer>
|
29
33
|
<key>silent</key>
|
30
34
|
<true/>
|
31
35
|
<key>subtitle</key>
|
32
|
-
<string>Displays the
|
36
|
+
<string>Displays the OSX serial number.</string>
|
33
37
|
<key>title</key>
|
34
|
-
<string>
|
38
|
+
<string>OSX Serial Number</string>
|
35
39
|
</dict>
|
36
40
|
</plist>
|
data/lib/pennyworth/templates/alfred/extensions/scripts/{mac_serial → osx_serial}/kudos.plist
RENAMED
File without changes
|
data/lib/pennyworth/version.rb
CHANGED
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: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,33 +9,43 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
21
|
+
version: '0.14'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.14'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: thor_plus
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
31
36
|
- !ruby/object:Gem::Version
|
32
|
-
version: '0.
|
37
|
+
version: '0.4'
|
33
38
|
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0.4'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: rake
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
63
|
name: rspec
|
49
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
@@ -54,10 +69,15 @@ dependencies:
|
|
54
69
|
version: '0'
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
79
|
name: aruba
|
60
|
-
requirement:
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
61
81
|
none: false
|
62
82
|
requirements:
|
63
83
|
- - ! '>='
|
@@ -65,7 +85,12 @@ dependencies:
|
|
65
85
|
version: '0'
|
66
86
|
type: :development
|
67
87
|
prerelease: false
|
68
|
-
version_requirements:
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
69
94
|
description: Enhances and extends Alfred with Ruby support. See the README for further
|
70
95
|
details.
|
71
96
|
email: brooke@redalchemist.com
|
@@ -85,21 +110,18 @@ files:
|
|
85
110
|
- lib/pennyworth/templates/alfred/extensions/scripts/apple_say/icon.png
|
86
111
|
- lib/pennyworth/templates/alfred/extensions/scripts/apple_say/info.plist
|
87
112
|
- lib/pennyworth/templates/alfred/extensions/scripts/apple_say/kudos.plist
|
88
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/
|
89
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/
|
90
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/
|
113
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/cache_flush/icon.png
|
114
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/cache_flush/info.plist
|
115
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/cache_flush/kudos.plist
|
91
116
|
- lib/pennyworth/templates/alfred/extensions/scripts/edit_bash_file/icon.png
|
92
117
|
- lib/pennyworth/templates/alfred/extensions/scripts/edit_bash_file/info.plist
|
93
118
|
- lib/pennyworth/templates/alfred/extensions/scripts/edit_bash_file/kudos.plist
|
94
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/edit_dotfile/icon.png
|
95
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/edit_dotfile/info.plist
|
96
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/edit_dotfile/kudos.plist
|
97
119
|
- lib/pennyworth/templates/alfred/extensions/scripts/edit_file/icon.png
|
98
120
|
- lib/pennyworth/templates/alfred/extensions/scripts/edit_file/info.plist
|
99
121
|
- lib/pennyworth/templates/alfred/extensions/scripts/edit_file/kudos.plist
|
100
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/
|
101
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/
|
102
|
-
- lib/pennyworth/templates/alfred/extensions/scripts/
|
122
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/edit_home_file/icon.png
|
123
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/edit_home_file/info.plist
|
124
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/edit_home_file/kudos.plist
|
103
125
|
- lib/pennyworth/templates/alfred/extensions/scripts/mem_purge/icon.png
|
104
126
|
- lib/pennyworth/templates/alfred/extensions/scripts/mem_purge/info.plist
|
105
127
|
- lib/pennyworth/templates/alfred/extensions/scripts/mem_purge/kudos.plist
|
@@ -112,6 +134,9 @@ files:
|
|
112
134
|
- lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_safari/icon.png
|
113
135
|
- lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_safari/info.plist
|
114
136
|
- lib/pennyworth/templates/alfred/extensions/scripts/open_url_in_safari/kudos.plist
|
137
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/osx_serial/icon.png
|
138
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/osx_serial/info.plist
|
139
|
+
- lib/pennyworth/templates/alfred/extensions/scripts/osx_serial/kudos.plist
|
115
140
|
- lib/pennyworth/templates/alfred/extensions/scripts/restart_rails/icon.png
|
116
141
|
- lib/pennyworth/templates/alfred/extensions/scripts/restart_rails/info.plist
|
117
142
|
- lib/pennyworth/templates/alfred/extensions/scripts/restart_rails/kudos.plist
|
@@ -132,8 +157,7 @@ files:
|
|
132
157
|
- README.rdoc
|
133
158
|
- CHANGELOG.rdoc
|
134
159
|
- LICENSE.rdoc
|
135
|
-
-
|
136
|
-
YmluL3Blbm55d29ydGg=
|
160
|
+
- bin/pennyworth
|
137
161
|
homepage: http://www.redalchemist.com
|
138
162
|
licenses:
|
139
163
|
- MIT
|
@@ -155,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
179
|
version: '0'
|
156
180
|
requirements: []
|
157
181
|
rubyforge_project:
|
158
|
-
rubygems_version: 1.8.
|
182
|
+
rubygems_version: 1.8.24
|
159
183
|
signing_key:
|
160
184
|
specification_version: 3
|
161
185
|
summary: Enhances and extends Alfred with Ruby support.
|
Binary file
|