Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Enhances and extends Alfred with Ruby support.

branch: master


Gem Version Code Climate GPA Gemnasium Status Travis CI Status Coverage Status

Enhances and extends Alfred by providing a Ruby command line interface (CLI).


  • Adds Ruby support to Alfred.
  • Adds the following Alfred Workflows:
    • Pennyworth String Upcase
    • Pennyworth String Length
    • Pennyworth String Downcase
    • Pennyworth String Capitalize


  1. OSX.
  2. Alfred (Version 2.x.x or higher).
  3. Alfred Powerpack.
  4. rbenv.
  5. Any of the following Ruby VMs:


For a secure install, type the following from the command line (recommended):

gem cert --add <(curl -Ls
gem install pennyworth --trust-policy HighSecurity

...or, for an insecure install, type the following (not recommended):

gem install pennyworth

You can configure common settings for future gem builds by creating the following file:


...using the following settings (for example):

 :alfred_settings_root: "/Users/bkuhlmann/Dropbox/Cache/Alfred/Alfred.alfredpreferences"


From the command line, type: pennyworth

pennyworth -e, [edit]     # Edit gem settings in default editor (assumes $EDITOR environment variable).
pennyworth -h, [help]     # Show this message.
pennyworth -i, [install]  # Install Alfred Workflows.
pennyworth -s, [string]   # Manipulate strings.
pennyworth -v, [version]  # Show version.

For string options, type: pennyworth help string

-d, [--downcase=one two three]    # Downcase a string.
-u, [--upcase=one two three]      # Upcase a string.
-c, [--capitalize=one two three]  # Capitalize words in a string.
-l, [--length=one two three]      # Answer the length of a string.

While the command line options are nice, the real power comes from running the following command:

pennyworth -i

...which installs the Alfred Workflows to support this gem. You can use the Alfred commands provided by each workflow instead of the CLI. Check each workflows documentation for details by opening Alfred preferences and clicking on the Workflows tab. Each workflow associated with this gem is prefixed with Pennyworth.


To test, do the following:

  1. cd to the gem root.
  2. bundle install
  3. bundle exec rspec spec


Read Semantic Versioning for details. Briefly, it means:

  • Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes.
  • Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes.
  • Major (X.y.z) - Incremented for any backwards incompatible public API changes.


Read CONTRIBUTING for details.


Developed by Brooke Kuhlmann at Red Alchemist


Copyright (c) 2012 Red Alchemist. Read the LICENSE for details.


Read the CHANGELOG for details. Built with Gemsmith.

Something went wrong with that request. Please try again.