dazzl-tv/validates_timeliness-mongoid

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# ValidatesTimeliness::Mongoid
  [![RSpec](https://github.com/dazzl-tv/validates_timeliness-mongoid/actions/workflows/rspec.yml/badge.svg)](https://github.com/dazzl-tv/validates_timeliness-mongoid/actions/workflows/rspec.yml)
  [![Linter](https://github.com/dazzl-tv/validates_timeliness-mongoid/actions/workflows/linter.yml/badge.svg)](https://github.com/dazzl-tv/validates_timeliness-mongoid/actions/workflows/linter.yml)
  [![Gem Version](https://badge.fury.io/rb/validates_timeliness-mongoid.svg)](https://badge.fury.io/rb/validates_timeliness-mongoid)
  [![Docs](https://inch-ci.org/github/dazzl-tv/validates_timeliness-mongoid.svg)](https://inch-ci.org/github/dazzl-tv/validates_timeliness-mongoid)
  [![Maintainability](https://api.codeclimate.com/v1/badges/595cfa11bc8c663fa14a/maintainability)](https://codeclimate.com/github/dazzl-tv/validates_timeliness-mongoid/maintainability)
  [![Test Coverage](https://api.codeclimate.com/v1/badges/595cfa11bc8c663fa14a/test_coverage)](https://codeclimate.com/github/dazzl-tv/validates_timeliness-mongoid/test_coverage)
  [![Known Vulnerabilities](https://snyk.io/test/github/dazzl-tv/validates_timeliness-mongoid/badge.svg)](https://snyk.io/test/github/dazzl-tv/validates_timeliness-mongoid)

This the extracted mongoid adapter code from the validates_timeliness gem.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'validates_timeliness-mongoid'
```

And then execute:

```
$ bundle
```

Or install it yourself as:

```
$ gem install validates_timeliness-mongoid
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also 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`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/adzpa/validates_timeliness-mongoid.