Giter Club home page Giter Club logo

redmine_weary's Introduction

#redmine_weary - a ruby client for the Redmine REST API

This is a fairly simple wrapper for the Redmine REST API. My main reasons for developing it were to create a fancy dashboard for my employer's internal bug tracker and to have a play with weary, a nifty framework/DSL for working with RESTful APIs. Yes, I know I could have used ActiveResource, but where's the fun in that?

redmine_weary is still very much a work in progress—at this point you can only really get a list of issues and a small amount of related information.

##How to use

The following code sets up the gem:

require 'redmine_weary'
RedmineWeary.configure do |config|
  config.endpoint = 'http://example.com'
  config.api_key = 'MYAPIKEY'
end
require 'redmine_weary/client'

After that you can do stuff with issues. e.g. get a count of all the issues

RedmineWeary::Issue.count

##Thanks

Many thanks to the developers of Redmine and to Mark Wunsch for developing Weary and providing solid code from which I could blatantly steal.

Code Climate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.