1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RubotyAdvent Calendar 2014

Day 8

Ruboty | Ruboty の gem を検索する ruboty-search_plugin を作成しました #ruboty

Posted at

Ruboty | Ruboty の gem を検索する ruboty-search_plugin を作成しました #ruboty

概要

Ruboty の gem を検索する ruboty-search_plugin を作成しました

Advent Calendar の 昨日の記事 との差がわかりにくいですが、
昨日のはただの ruby の gem 。
今日のは 昨日紹介した gem を wrap した Ruboty Plugin です。

用途

「ruboty-」で始まる gem の情報を調べたいとき。

  • どんな plugin があるか調べる
  • どんな plugin の人気があるか調べる
  • どの author の plugin の人気があるか調べる
  • ランダムに1つの plugin の情報を表示してみる

Installation

Add this line to your application's Gemfile:

gem 'ruboty-search_plugin'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruboty-search_plugin

Commands

Command Pattern Description
info /search_plugin info (?<gem_name>.+)\z/ get ruboty-plugin info
random /search_plugin random\z/ get ruboty-plugin info at random
ranking /search_plugin ranking (?<limit>\d+)\z/ get ruboty-plugin ranking
author_ranking /search_plugin author_ranking (?<limit>\d+)\z/ get ruboty-plugin author_ranking

Usage

info

  • get ruboty-plugin info
>ruboty search_plugin info ruboty-megen
>name:ruboty-megen
>desc:ruboty-megen generate ruboty README.md template.
>downloads:378
>rubygems_uri:http://rubygems.org/gems/ruboty-megen
>homepage_uri:https://github.com/tbpgr/ruboty-megen

random

  • get ruboty-plugin info at random
>ruboty search_plugin random
>name:ruboty-attendance
>desc:System of attendance by ruboty.
>downloads:345
>rubygems_uri:http://rubygems.org/gems/ruboty-attendance
>homepage_uri:
>ruboty search_plugin random
>name:ruboty-gcal
>desc:Google Calendar API Wrapper for ruboty
>downloads:128
>rubygems_uri:http://rubygems.org/gems/ruboty-gcal
>homepage_uri:https://github.com/nekova/ruboty-gcal

ranking

  • get ruboty-plugin ranking
>ruboty search_plugin ranking 3
>no:1,name:ruboty-redis,downloads:881
>no:2,name:ruboty-lgtm,downloads:836
>no:3,name:ruboty-twitter,downloads:634

author_ranking

  • get ruboty-plugin author_ranking
>ruboty search_plugin author_ranking 3
>no:1,author:block_given?,downloads:4674
>no:2,author:Ryo Nakamura,downloads:2021
>no:3,author:negipo,downloads:836

ENV

Name Description
-- --

Dependency

Name Description
ruboty-sonar gem ruboty-sonar gem

参照

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?