summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Ziegler <austin@zieglers.ca>2019-09-04 20:55:28 -0400
committerAustin Ziegler <austin@zieglers.ca>2019-09-04 20:55:28 -0400
commit088dbaf1bfb43e7c7869ad1383ddd0fb4ab24b5a (patch)
treeeeb6ace29fb2bd02caa23123f3c201b44eaf69d8
parentfd0230eef88d397e72405424ab32a6f47331bc3e (diff)
downloadmime-types-088dbaf1bfb43e7c7869ad1383ddd0fb4ab24b5a.tar.gz
Prepare for mime-types 3.3
-rw-r--r--.gitignore1
-rw-r--r--.travis.yml8
-rw-r--r--Contributing.md2
-rw-r--r--History.md17
-rw-r--r--Licence.md2
-rw-r--r--lib/mime/type.rb2
6 files changed, 24 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index c065e9c..ee3ac9f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
-*.md
*.swp
*~
.rake_tasks~
diff --git a/.travis.yml b/.travis.yml
index 89ee288..983ea6c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,13 @@
---
language: ruby
rvm:
- - 2.6.0
- - 2.5.3
- - 2.4.5
+ - 2.6.4
+ - 2.5.6
+ - 2.4.7
- 2.3.8
- 2.2.10
- 2.1.10
- - jruby-9.2.5.0
+ - jruby-9.2.8.0
- jruby-9.1.17.0
- jruby-9.0.5.0
- jruby-head
diff --git a/Contributing.md b/Contributing.md
index 4914f81..746a1d7 100644
--- a/Contributing.md
+++ b/Contributing.md
@@ -115,6 +115,7 @@ Thanks to everyone else who has contributed to mime-types over the years:
* Hans de Graaff
* Henrik Hodne
* Janko Marohnić
+* Jean Boussier
* Jeremy Evans
* Juanito Fatas
* Jun Aruga
@@ -124,6 +125,7 @@ Thanks to everyone else who has contributed to mime-types over the years:
* Martin d'Allens
* Mauricio Linhares
* Nicolas Leger
+* Nicholas La Roux
* nycvotes-dev
* Postmodern
* Richard Hirner
diff --git a/History.md b/History.md
index 3072446..f76661b 100644
--- a/History.md
+++ b/History.md
@@ -1,3 +1,16 @@
+## 3.3 / 2019-09-04
+
+* 1 minor enhancement
+
+ * Jean Boussier reduced memory usage for Ruby versions 2.3 or higher by
+ interning various string values in each type. This is done with a
+ backwards-compatible call that _freezes_ the strings on older
+ versions of Ruby. [#141][]
+
+* Administrivia:
+
+ * Nicholas La Roux updated Travis build configurations. [#139][]
+
## 3.2.2 / 2018-08-12
* Hiroto Fukui removed a stray `debugger` statement that I had used in
@@ -50,7 +63,7 @@
* Documentation Changes:
* Supporting files are now Markdown instead of rdoc, except for the
- README.
+ README.
* The history file has been modified to remove all history prior to 3.0.
This history can be found in previous commits.
@@ -203,6 +216,8 @@
[#135]: https://github.com/mime-types/ruby-mime-types/pull/135
[#136]: https://github.com/mime-types/ruby-mime-types/issues/136
[#137]: https://github.com/mime-types/ruby-mime-types/pull/137
+[#139]: https://github.com/mime-types/ruby-mime-types/pull/139
+[#141]: https://github.com/mime-types/ruby-mime-types/pull/141
[Code-of-Conduct.md]: Code-of-Conduct_md.html
[Contributor Covenant]: http://contributor-covenant.org
[mime-types-data]: https://github.com/mime-types/mime-types-data
diff --git a/Licence.md b/Licence.md
index 318575c..5cbeeb4 100644
--- a/Licence.md
+++ b/Licence.md
@@ -1,6 +1,6 @@
## Licence
-* Copyright 2003–2018 Austin Ziegler and contributors.
+* Copyright 2003–2019 Austin Ziegler and contributors.
The software in this repository is made available under the MIT license.
diff --git a/lib/mime/type.rb b/lib/mime/type.rb
index 552a888..d48d958 100644
--- a/lib/mime/type.rb
+++ b/lib/mime/type.rb
@@ -57,7 +57,7 @@ class MIME::Type
end
# The released version of the mime-types library.
- VERSION = '3.2.2'
+ VERSION = '3.3'
include Comparable