mime-types
The mime-types library provides a library and registry for information about MIME content type definitions. It can be used to determine defined filename extensions for MIME types, or to use filename extensions to look up the likely MIME type definitions. Version 3.0 is a major release that requires Ruby 2.0 compatibility and removes deprecated functions. The columnar registry format introduced in 2.6 has been made the primary format; the registry data has been extracted from this library and put into [mime-types-data][data]. Additionally, mime-types is now licensed exclusively under the MIT licence and there is a code of conduct in effect. There are a number of other smaller changes described in the History file.
3.7.0
49 个版本
安装
gem install mime-types
gem 'mime-types'
版本列表
3.7.0
2025-05-07
3.7.0.pre2
2025-04-07
3.7.0.pre1
2025-04-04
3.6.2
2025-03-25
3.6.1
2025-03-18
3.6.0
2024-10-02
3.6.0.beta1
2024-09-22
3.5.2
2024-01-02
3.5.1
2023-08-22
3.5.0
2023-08-07
3.4.1
2021-11-16
3.4.0
2021-11-15
3.3.1
2019-12-26
3.3
2019-09-05
3.2.2
2018-08-13
3.2.1
2018-08-12
3.2
2018-08-12
3.1
2016-05-22
3.0
2015-11-21
2.99.3
2016-09-11
2.99.2
2016-05-21
2.99.1
2016-02-22
2.99
2015-11-21
2.6.2
2015-09-14
2.6.1
2015-05-25
2.6
2015-05-25
2.5
2015-04-25
2.4.3
2014-10-21
2.4.2
2014-10-15
2.4.1
2014-10-07
2.3
2014-05-23
2.2
2014-03-14
2.1
2014-01-26
2.0
2013-10-28
1.25.1
2013-11-24
1.25
2013-08-30
1.24
2013-08-14
1.23
2013-04-21
1.22
2013-03-30
1.21
2013-02-09
1.20.1
2013-02-04
1.20
2013-02-04
1.19
2012-06-21
1.18
2012-03-21
1.17.2
2011-10-26
1.17.1
2011-10-24
1.17
2011-10-24
1.16
2009-03-02
1.15
2006-02-12