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.
parliament-grom-decorators requires the following:
gem 'parliament-grom-decorators'
This gem's main function is to extend Grom::Node objects with alias methods.
Note: Comprehensive class documentation can be found on rubydocs.
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
We use RSpec as our testing framework and tests can be run using:
bundle exec rake
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.
- Fork the repository
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Ensure your changes are tested using Rspec
- Create a new Pull Request