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?

Current status: the bug dashboard works and I probably won't update this unless I need to add more functionality to the dashboard. Weary is a great little DSL, though.

##How to use

You probably shouldn't. This gem doesn't support much of the Redmine API. lUse ActiveResource instead. But if you must, 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

redmine_weary's People

Contributors

jmahoney avatar mikepenhall avatar

Watchers

 avatar

Forkers

mikepenhall

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.