https://github.com/cbeer/metadatacop
Metadata quality analyzer
https://github.com/cbeer/metadatacop
Last synced: about 2 months ago
JSON representation
Metadata quality analyzer
- Host: GitHub
- URL: https://github.com/cbeer/metadatacop
- Owner: cbeer
- Created: 2015-06-08T23:18:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-07T16:05:35.000Z (almost 10 years ago)
- Last Synced: 2024-04-26T18:22:11.594Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 160 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MetadataCop
MetadataCop is a metadata quality analyzer, in the same vein as [RuboCop](https://github.com/bbatsov/rubocop) and other static code analyzers.
## Installation
MetadataCop is distributed as a Ruby gem:
```console
$ gem install metadatacop
```## Basic Usage
Run MetadataCop against specific files:
```console
$ metadatacop -t mods path/to/my/mods.xml
```## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
1. Fork it ( https://github.com/cbeer/metadatacop/fork )
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. Create a new Pull Request