content_type 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/ext/content_type.c +2 -0
  2. metadata +2 -2
data/ext/content_type.c CHANGED
@@ -15,6 +15,8 @@ VALUE file_content_type_wrap(VALUE self, VALUE path);
15
15
  VALUE file_content_type(VALUE self);
16
16
  VALUE file_singleton_content_type(VALUE self, VALUE path);
17
17
 
18
+ bool content_type_file_ext(VALUE self, char *ext);
19
+
18
20
  // http://www.webdeveloper.com/forum/showthread.php?t=162526
19
21
  const char *content_type_ext_overrides[][2] = {
20
22
  { "docm", "application/vnd.ms-word.document.macroEnabled.12" },
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 0
8
- - 1
9
- version: 2.0.1
8
+ - 2
9
+ version: 2.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Turnbull