Mike Manewitz Posted January 2 Share Posted January 2 Hello! I've been using this as a smart search to look up Ruby gems and thought it might be helpful to other Alfred users. It's extremely light and has no dependencies. There is some overlap with Will Farrell's Package Managers workflow where we both use the 'gem' keyword but I haven't used that one. https://github.com/manewitz/rubygems-alfred Screenshots in the README. Thanks so much! Let me know if you need anything from me or if I can tighten this up. Mike Link to comment Share on other sites More sharing options...
Vero Posted January 11 Share Posted January 11 @Mike Manewitz Thank you for submitting your workflow - and welcome to the forum The workflow works, and we'd be happy to include it. If you're open to tweaking the workflow a little first, here's what I suggest: Make the keyword configurable via the User Configuration (there are lots of examples in the Gallery already if you want to see how the keyword argument is set) Connect both the gem and gems keywords to the same Open URL so that it's a little tidier and there's only one URL to change in the future if it needs to be updated Does that sound alright? Link to comment Share on other sites More sharing options...
vitor Posted January 11 Share Posted January 11 @Mike Manewitz Do note that by making the keyword configurable, you also remove the need for the second one, simplifying the workflow further without losing functionality. Point 2 in the page @Vero linked also helps with this particular case. Link to comment Share on other sites More sharing options...
Mike Manewitz Posted January 11 Author Share Posted January 11 Excellent! Thanks for the feedback. I'll make those tweaks and push an update. Link to comment Share on other sites More sharing options...
Mike Manewitz Posted January 11 Author Share Posted January 11 @Vero I took a crack at parameterizing the URL and path as well as adding the user-configurable keywords. For my own usage, I wanted 2 keywords (one for opening directly by name, one for searching). When you type "gem", you see both search and open options in the results and you can either arrow down or type s to search, which feels intuitive to me. Let me know how this looks: https://github.com/manewitz/rubygems-alfred/releases/download/v2/rubygems.alfredworkflow Link to comment Share on other sites More sharing options...
vitor Posted January 12 Share Posted January 12 Nice improvements, the difference is palpable! It will be live soon at http://alfred.app/workflows/manewitz/rubygems/ Small note: I see you’ve made a release a week ago but changed the download attachment recently. It doesn’t matter this time because it’s going to be the first version in the Gallery, but for future changes please do new releases, so we can properly detect an update and make it available in the Gallery. Again, doesn’t matter this time, just something to keep in mind for the future. Thank you again for the quick improvements. Link to comment Share on other sites More sharing options...
Mike Manewitz Posted January 12 Author Share Posted January 12 Gotcha. I'm new at making releases and thought I created a new one (v2). I'll brush up on that if I end up updating. I'm going to button up another one for searching. Cheers! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now