GithubHelp home page GithubHelp logo

kirkonrails / ruport Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruport/ruport

0.0 2.0 0.0 2.46 MB

Ruby Reports : Making your reporting life suck less, through Ruby

Home Page: http://rubyreports.org

License: Other

Ruby 100.00%

ruport's Introduction

What Ruport Is

Ruby Reports (Ruport) is an extensible reporting system.

It aims to be as lightweight as possible while still providing core support for data aggregation and manipulation as well as multi-format rendering of reports.

Ruport provides tools for using a number of data sources, including CSV files, ActiveRecord models, and raw SQL connections via RubyDBI (through ruport-util).

Data manipulation is easy as there are standard structures that support record, table, and grouping operations. These all can be extended to implement custom behavior as needed.

For common tasks, Ruport provides formatters for CSV, HTML, PDF, and text- based reports. However, the real power lies in building custom report controllers and formatters. The base formatting libraries provide a number of helper functions that will let you build complex reports while maintaining a DRY and consistent interface.

To get a quick feel for what you can accomplish with Ruport, take a look at a few simple examples provided on our web site.

rubyreports.org/examples.html

Since Ruport’s core support is intentionally minimalistic, you may be looking for some higher level support for specific needs such as graphing, invoices, report mailing support, etc. For this, you may wish to take a look at the ruport-util package, which contains some generally useful tools and libraries to extend Ruport’s capabilities.

Installation

To install ruport via rubygems:

sudo gem install ruport

Check to see if it installed properly:

ruby -rubygems -e "require 'ruport'; puts Ruport::VERSION"

If you get an error, please let us know on our mailing list.

Dependencies

Formatting

Ruport relies on PDF::Writer and FasterCSV for its formatting support. If you want to make use of textile helpers, you’ll also need RedCloth.

Database interaction

If you wish to use Ruport to report against a rails project, a camping project, or do standalone acts_as_reportable reports, you’ll need ActiveRecord and the acts_as_reportable gem.

If you want to use Ruport::Query for raw SQL support, you’ll need to install ruport-util, RubyDBI and whatever database drivers you might need.

Resources

Our developers have published a free-content book about all things Ruport, including complete coverage of acts_as_reportable and some of ruport-util’s features. This book serves as the definitive guide to Ruport, so all users should become acquainted with it:

http://ruportbook.com

The next best way to get help and make suggestions is the Ruport mailing list. This software is on the move, so the list is the most reliable way of getting up to date information.

If you are looking to dig a little deeper, there are a couple more resources that may be helpful to you.

Hacking

If you’d like to contribute code to Ruport, please join our development mailing list, and let us know what you’d like to do!

groups.google.com/group/ruport-dev

The main Git repository is on GitHub: github.com/ruport/ruport

It also may be worthwhile to join this list if you plan on running edge versions of Ruport, as this is where we make announcements about major breakage in trunk.

We are very responsive to contributors, and review every patch we receive fairly quickly. Most contributors who successfully get a patch or two applied are given write access to the repositories and invited to join Ruport’s development team. Since we view every user as potential contributor, this approach works well for us.

So if you want to help out with Ruport, we’ll happy accept your efforts!

ruport's People

Contributors

odaeus avatar map7 avatar wpiekutowski avatar maximkulkin avatar bradediger avatar darrenboyd avatar practicingruby avatar

Watchers

Kirk Quesnelle avatar James Cloos avatar

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.