Skip to content

Instantly share code, notes, and snippets.

@pacoguzman
Forked from rgo/ubiquity.tmp-4.js
Created August 15, 2009 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pacoguzman/168379 to your computer and use it in GitHub Desktop.
Save pacoguzman/168379 to your computer and use it in GitHub Desktop.
// Tip: You can go to any result in preview by pressiong ctrl+alt+[result number]
CmdUtils.makeSearchCommand({
name: ["rails","rails-search"],
homepage: "http://rafagarcia.net/",
author: { name: "Rafa Garcia", email: "rgo@aspgems.com"},
license: "GPL",
url: "http://apidock.com/rails/search/?query={QUERY}",
description: _("Searches Ruby on Rails terms in Apidock.com"),
icon: "http://apidock.com/images/rails_icon_16.png",
parser: {
container: "div.result",
title: "span.result_title",
maxResults: 8
},
});
CmdUtils.makeSearchCommand({
name: ["ruby","ruby-search"],
homepage: "http://rafagarcia.net/",
author: { name: "Rafa Garcia", email: "rgo@aspgems.com"},
license: "GPL",
url: "http://apidock.com/ruby/search/?query={QUERY}",
description: _("Searches Ruby terms in Apidock.com"),
icon: "http://apidock.com/images/ruby_icon_16.png",
parser: {
container: "div.result",
title: "span.result_title",
maxResults: 8
},
});
CmdUtils.makeSearchCommand({
name: ["rspec","rspec-search"],
homepage: "http://rafagarcia.net/",
author: { name: "Rafa Garcia", email: "rgo@aspgems.com"},
license: "GPL",
url: "http://apidock.com/rspec/search/?query={QUERY}",
description: _("Searches RSpec terms in Apidock.com"),
icon: "http://apidock.com/images/rspec_icon_16.png",
parser: {
container: "div.result",
title: "span.result_title",
maxResults: 8
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment