minimal mime type library https://github.com/discourse/mini_mime
Go to file
Sam 3b845b29d0 Initial commit 2016-12-13 18:39:26 +11:00
bin Initial commit 2016-12-13 18:39:26 +11:00
lib Initial commit 2016-12-13 18:39:26 +11:00
test Initial commit 2016-12-13 18:39:26 +11:00
.gitignore Initial commit 2016-12-13 18:39:26 +11:00
.travis.yml Initial commit 2016-12-13 18:39:26 +11:00
CODE_OF_CONDUCT.md Initial commit 2016-12-13 18:39:26 +11:00
Gemfile Initial commit 2016-12-13 18:39:26 +11:00
LICENSE.txt Initial commit 2016-12-13 18:39:26 +11:00
README.md Initial commit 2016-12-13 18:39:26 +11:00
Rakefile Initial commit 2016-12-13 18:39:26 +11:00
mini_mime.gemspec Initial commit 2016-12-13 18:39:26 +11:00

README.md

MiniMime

Minimal mime type implementation for use with the mail and rest-client gem

Installation

Add this line to your application's Gemfile:

gem 'mini_mime'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mini_mime

Usage

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test 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.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mini_mime. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.