Name: drone-ruby
Owner: drone.io
Description: Ruby client for the Drone API
Created: 2016-02-16 18:05:58.0
Updated: 2018-04-24 02:02:42.0
Pushed: 2016-04-11 15:51:36.0
Homepage: null
Size: 34
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Ruby client for the Drone API
To install this simple rubygem you can add gem "droneio"
to your Gemfile or
s.add_runtime_dependency "droneio", ">= 1.0.0"
to your Gemspec, as this gem
doesn't provide any bin script it doesn't make sense to install it standalone.
You can use this library as a client to communicate with any Drone instance
running on version >= 0.4
. Below you can see some examples for the usage.
If you want to know more details about the available methods, please take a look at the documentation.
In order to write plugins for Drone based on Ruby you can use the Plugin class to parse the defined payload that plugins need to accept. Below you can see an example how you can use this functionality within your plugin.
e::Plugin.new(STDIN) do |payload|
ts "Plugin execution for #{payload.repo.full_name}"
ts "You are providing those arguments: #{payload.vargs}"
If you want to know more details about the available methods, please take a look at the documentation.
Fork -> Patch -> Spec -> Push -> Pull Request
Apache-2.0
right (c) 2016 Drone.io Developers