Skip to content

Instabug/phabricator-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phabricator-ruby Build Status

Installation

Add this line to your application's Gemfile:

gem 'phabricator'

And then execute:

$ bundle

Or install it yourself as:

$ gem install phabricator

Usage

Configuration

You can configure Phabricator to use a specific host, user, and cert. Otherwise, it will fall back to whatever is in your ~/.arcrc file.

Phabricator.configure do |c|
  c.host = 'secure.phabricator.com'
  c.user = 'amber'
  c.cert = '<CERT>'
end

Projects

# Find the project given a project name.
Phabricator::Project.find_by_name('Project')

Tasks

# Create a Maniphest task.
Phabricator::Maniphest::Task.create('title')

# Create a Maniphest task with more detail.
Phabricator::Maniphest::Task.create('title', 'description', ['Project'], 'normal')

Contributing

Patches welcome! (:

For a list of Conduit methods available, see http://secure.phabricator.com/conduit/.

About

Wrapper around Phabricator's Conduit API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%