marcel 1.0.1 → 1.0.3
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.
- checksums.yaml +4 -4
- data/APACHE-LICENSE +202 -0
- data/README.md +74 -0
- data/lib/marcel/magic.rb +8 -7
- data/lib/marcel/mime_type/definitions.rb +24 -0
- data/lib/marcel/mime_type.rb +27 -33
- data/lib/marcel/tables.rb +1504 -1254
- data/lib/marcel/version.rb +3 -1
- data/lib/marcel.rb +2 -0
- metadata +6 -18
data/lib/marcel/version.rb
CHANGED
data/lib/marcel.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: marcel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Ward
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-02-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|
|
@@ -80,20 +80,6 @@ dependencies:
|
|
|
80
80
|
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: 1.9.1
|
|
83
|
-
- !ruby/object:Gem::Dependency
|
|
84
|
-
name: byebug
|
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
|
86
|
-
requirements:
|
|
87
|
-
- - "~>"
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: 10.0.2
|
|
90
|
-
type: :development
|
|
91
|
-
prerelease: false
|
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
-
requirements:
|
|
94
|
-
- - "~>"
|
|
95
|
-
- !ruby/object:Gem::Version
|
|
96
|
-
version: 10.0.2
|
|
97
83
|
description:
|
|
98
84
|
email:
|
|
99
85
|
- tom@basecamp.com
|
|
@@ -101,7 +87,9 @@ executables: []
|
|
|
101
87
|
extensions: []
|
|
102
88
|
extra_rdoc_files: []
|
|
103
89
|
files:
|
|
90
|
+
- APACHE-LICENSE
|
|
104
91
|
- MIT-LICENSE
|
|
92
|
+
- README.md
|
|
105
93
|
- lib/marcel.rb
|
|
106
94
|
- lib/marcel/magic.rb
|
|
107
95
|
- lib/marcel/mime_type.rb
|
|
@@ -121,14 +109,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
121
109
|
requirements:
|
|
122
110
|
- - ">="
|
|
123
111
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '2.
|
|
112
|
+
version: '2.3'
|
|
125
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
114
|
requirements:
|
|
127
115
|
- - ">="
|
|
128
116
|
- !ruby/object:Gem::Version
|
|
129
117
|
version: '0'
|
|
130
118
|
requirements: []
|
|
131
|
-
rubygems_version: 3.
|
|
119
|
+
rubygems_version: 3.5.3
|
|
132
120
|
signing_key:
|
|
133
121
|
specification_version: 4
|
|
134
122
|
summary: Simple mime type detection using magic numbers, filenames, and extensions
|