PpmToGdl Documentation
Description
PpmToGdl provides both a command line application and a rake task
that is used to generate a .GDL file containing the PPMs parsed out
of the PrimaryParameters.xml file.
Installation
Add this line to your gemfile:
require 'ppmtogdl'
And then execute:
$ bundle install
or install it yourself as:
gem install ppmtogdl
Usage
Rake Task Usage
The rake task can be included in a rakefile by requiring ppmtogdl like so:
require 'ppmtogdl'
and called as:
PpmToGdlTask.new.execute( customer, srcPath, destPath )
Command Line Application
Usage info can be retrieved from the application by calling it with the -h or --help
options:
$ ppmtogdl --help
Notes
- Using a parameter of
all
for customer will generate GDL for all PPMs in the file.
Testing
PpmToGdl currently uses an outdated version of TestUnit for testing.
Tests can be found in the test
directory.
TODO
Update method naming convention to ruby standards.
Contributing
- Fork it ( https://github.com/jmcaffee/ppmtogdl/fork )
- Clone it (
git clone git@github.com:[my-github-username]/ppmtogdl.git
) - Create your feature branch (
git checkout -b my-new-feature
) - Create tests for your feature branch
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
LICENSE
PpmToGdl is licensed under the MIT license.
See LICENSE for
details.