No commit activity in last 3 years
No release in over 3 years
Parliamentary Grom decorator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.14
~> 10.0
~> 3.0
~> 0.51
~> 0.12
~> 0.8
~> 3.0
~> 2.3
 Project Readme

Parliament::Grom::Decorators

parliament-grom-decorators is a gem created by the Parliamentary Digital Service to allow Grom::Node objects to be extended with alias methods.

NOTE: This gem is in active development and is likely to change at short notice. It is not recommended that you use this in any production environment.

Requirements

parliament-grom-decorators requires the following:

Installation

gem 'parliament-grom-decorators'

Usage

This gem's main function is to extend Grom::Node objects with alias methods.

Note: Comprehensive class documentation can be found on rubydocs.

Getting Started with Development

To clone the repository and set up the dependencies, run the following:

git clone https://github.com/ukparliament/parliament-grom-decorators.git
cd parliament-grom-decorators
bundle install

Running the tests

We use RSpec as our testing framework and tests can be run using:

bundle exec rake

Contributing

If you wish to submit a bug fix or feature, you can create a pull request and it will be merged pending a code review.

  1. Fork the repository
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Ensure your changes are tested using Rspec
  6. Create a new Pull Request