aboutsummaryrefslogtreecommitdiffstats
path: root/SharedSupport/Default Bundles/MD5 Hash.spBundle
diff options
context:
space:
mode:
authorabhibeckert <abhi@abhibeckert.com>2011-06-23 21:06:57 +0000
committerabhibeckert <abhi@abhibeckert.com>2011-06-23 21:06:57 +0000
commit78a304974670b5feb06a7eea78ef9d1140d6d296 (patch)
tree5a55d39e74b20b6ea567d62b94332d48291b0001 /SharedSupport/Default Bundles/MD5 Hash.spBundle
parent9c8ba940ee76281963d197fe79a79a02fd2812f9 (diff)
downloadsequelpro-78a304974670b5feb06a7eea78ef9d1140d6d296.tar.gz
sequelpro-78a304974670b5feb06a7eea78ef9d1140d6d296.tar.bz2
sequelpro-78a304974670b5feb06a7eea78ef9d1140d6d296.zip
add MD5 and SHA1 hash bundles (#415)
Diffstat (limited to 'SharedSupport/Default Bundles/MD5 Hash.spBundle')
-rw-r--r--SharedSupport/Default Bundles/MD5 Hash.spBundle/command.plist29
1 files changed, 29 insertions, 0 deletions
diff --git a/SharedSupport/Default Bundles/MD5 Hash.spBundle/command.plist b/SharedSupport/Default Bundles/MD5 Hash.spBundle/command.plist
new file mode 100644
index 00000000..6ad3635d
--- /dev/null
+++ b/SharedSupport/Default Bundles/MD5 Hash.spBundle/command.plist
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>category</key>
+ <string>Hash</string>
+ <key>command</key>
+ <string>#!/usr/bin/ruby
+
+require 'digest/md5'
+
+print Digest::MD5.hexdigest(gets)
+</string>
+ <key>input</key>
+ <string>selectedtext</string>
+ <key>input_fallback</key>
+ <string>entirecontent</string>
+ <key>keyEquivalent</key>
+ <string></string>
+ <key>name</key>
+ <string>MD5</string>
+ <key>output</key>
+ <string>replaceselection</string>
+ <key>scope</key>
+ <string>inputfield</string>
+ <key>uuid</key>
+ <string>8CAA33B3-D168-47FC-A9BE-EA5A8576E380</string>
+</dict>
+</plist>