mime-types 3.6.1 → 3.6.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/CONTRIBUTING.md +2 -13
- data/CONTRIBUTORS.md +1 -0
- data/README.md +1 -1
- data/Rakefile +10 -4
- data/lib/mime/types/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d48539865c96a17991bbceab6d3ff2b2d6db5e281448d9bd76dd5fc12a48cd2
|
4
|
+
data.tar.gz: 79bcc6970d5f1774fc6a45162ba28222e72eeb37110e4d61eef96a50faeea4ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72aaaf23f926bd1ec8b4d978b8878d0c4b2a8b9083600ebbd051328c3f6cc3b15bbdb73be20cd87b9b3e49c83f29a63b8c54fad6026e4dc9dbaac052554f84f3
|
7
|
+
data.tar.gz: 503bef89f86cf2cfbbbc5d76f642289ad011ca0c98ebef86e855be599efc3b90e59e3d4b984d4a17f59298ccf2b30c267ced17ee0b11ba905c9e732af51dd6f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 3.6.2 / 2025-03-25
|
4
|
+
|
5
|
+
- Updated the reference to the changelog in the README, fixing RubyGems metadata
|
6
|
+
on the next release. Fixed in [#189][pull-189] by nna774.
|
7
|
+
|
3
8
|
## 3.6.1 / 2025-03-15
|
4
9
|
|
5
10
|
- Restructure project structure to be more consistent with mime-types-data.
|
@@ -367,6 +372,7 @@ there are some validation changes and updated code with formatting.
|
|
367
372
|
[pull-178]: https://github.com/mime-types/ruby-mime-types/pull/178
|
368
373
|
[pull-179]: https://github.com/mime-types/ruby-mime-types/pull/179
|
369
374
|
[pull-180]: https://github.com/mime-types/ruby-mime-types/pull/180
|
375
|
+
[pull-189]: https://github.com/mime-types/ruby-mime-types/pull/189
|
370
376
|
[pull-79]: https://github.com/mime-types/ruby-mime-types/pull/79
|
371
377
|
[pull-84]: https://github.com/mime-types/ruby-mime-types/pull/84
|
372
378
|
[pull-85]: https://github.com/mime-types/ruby-mime-types/pull/85
|
data/CONTRIBUTING.md
CHANGED
@@ -40,7 +40,7 @@ contributions.
|
|
40
40
|
|
41
41
|
The mime-types registry is managed in [mime-types-data][mtd].
|
42
42
|
|
43
|
-
|
43
|
+
## Test Dependencies
|
44
44
|
|
45
45
|
mime-types uses Ryan Davis's [Hoe][Hoe] to manage the release process, and it
|
46
46
|
adds a number of rake tasks. You will mostly be interested in `rake`, which runs
|
@@ -51,10 +51,7 @@ I have provided the simplest possible Gemfile pointing to the (generated)
|
|
51
51
|
`mime-types.gemspec` file. This will permit you to do `bundle install` to get
|
52
52
|
the development dependencies.
|
53
53
|
|
54
|
-
|
55
|
-
generate the RDoc.
|
56
|
-
|
57
|
-
You can run tests with code coverage analysis by running `rake test:coverage`.
|
54
|
+
You can run tests with code coverage analysis by running `rake coverage`.
|
58
55
|
|
59
56
|
## Benchmarks
|
60
57
|
|
@@ -67,13 +64,6 @@ built-in benchmark library:
|
|
67
64
|
|
68
65
|
- `rake benchmark:load`
|
69
66
|
|
70
|
-
There are two allocation tracing benchmarks (for normal and columnar loads).
|
71
|
-
These can only be run on Ruby 2.1 or better and requires the
|
72
|
-
[allocation\_tracer][allocation-tracer] gem (not installed by default).
|
73
|
-
|
74
|
-
- `rake benchmark:allocations`
|
75
|
-
- `rake benchmark:allocations:columnar`
|
76
|
-
|
77
67
|
There are two loaded object count benchmarks (for normal and columnar loads).
|
78
68
|
These use `ObjectSpace.count_objects`.
|
79
69
|
|
@@ -96,7 +86,6 @@ Here's the most direct way to get your work merged into the project:
|
|
96
86
|
- Create a pull request against mime-types/ruby-mime-types and describe what
|
97
87
|
your change does and the why you think it should be merged.
|
98
88
|
|
99
|
-
[allocation-tracer]: https://github.com/ko1/allocation_tracer
|
100
89
|
[hoe]: https://github.com/seattlerb/hoe
|
101
90
|
[minitest]: https://github.com/seattlerb/minitest
|
102
91
|
[mtd]: https://github.com/mime-types/mime-types-data
|
data/CONTRIBUTORS.md
CHANGED
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
- code :: https://github.com/mime-types/ruby-mime-types/
|
6
6
|
- rdoc :: http://rdoc.info/gems/mime-types/
|
7
7
|
- changelog ::
|
8
|
-
https://github.com/mime-types/ruby-mime-types/blob/
|
8
|
+
https://github.com/mime-types/ruby-mime-types/blob/main/CHANGELOG.md
|
9
9
|
- continuous integration ::
|
10
10
|
{<img src="https://github.com/mime-types/ruby-mime-types/actions/workflows/ci.yml/badge.svg" alt="Build Status" />}[https://github.com/mime-types/ruby-mime-types/actions/workflows/ci.yml]
|
11
11
|
- test coverage ::
|
data/Rakefile
CHANGED
@@ -34,12 +34,20 @@ spec = Hoe.spec "mime-types" do
|
|
34
34
|
extra_dev_deps << ["minitest-autotest", "~> 1.0"]
|
35
35
|
extra_dev_deps << ["minitest-focus", "~> 1.0"]
|
36
36
|
extra_dev_deps << ["minitest-hooks", "~> 1.4"]
|
37
|
-
extra_dev_deps << ["rake", ">= 10.0", "< 14
|
37
|
+
extra_dev_deps << ["rake", ">= 10.0", "< 14"]
|
38
|
+
extra_dev_deps << ["rdoc", ">= 0.0"]
|
38
39
|
extra_dev_deps << ["standard", "~> 1.0"]
|
39
40
|
end
|
40
41
|
|
41
42
|
Minitest::TestTask.create :test
|
42
43
|
Minitest::TestTask.create :coverage do |t|
|
44
|
+
formatters = <<-RUBY.split($/).join(" ")
|
45
|
+
SimpleCov::Formatter::MultiFormatter.new([
|
46
|
+
SimpleCov::Formatter::HTMLFormatter,
|
47
|
+
SimpleCov::Formatter::LcovFormatter,
|
48
|
+
SimpleCov::Formatter::SimpleFormatter
|
49
|
+
])
|
50
|
+
RUBY
|
43
51
|
t.test_prelude = <<-RUBY.split($/).join("; ")
|
44
52
|
require "simplecov"
|
45
53
|
require "simplecov-lcov"
|
@@ -52,7 +60,7 @@ Minitest::TestTask.create :coverage do |t|
|
|
52
60
|
SimpleCov.start "test_frameworks" do
|
53
61
|
enable_coverage :branch
|
54
62
|
primary_coverage :branch
|
55
|
-
formatter
|
63
|
+
formatter #{formatters}
|
56
64
|
end
|
57
65
|
RUBY
|
58
66
|
end
|
@@ -182,5 +190,3 @@ task :console do
|
|
182
190
|
abort
|
183
191
|
end
|
184
192
|
end
|
185
|
-
|
186
|
-
# vim: syntax=ruby
|
data/lib/mime/types/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mime-types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Austin Ziegler
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-25 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: mime-types-data
|
@@ -144,7 +144,7 @@ dependencies:
|
|
144
144
|
version: '10.0'
|
145
145
|
- - "<"
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version: '14
|
147
|
+
version: '14'
|
148
148
|
type: :development
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -154,7 +154,21 @@ dependencies:
|
|
154
154
|
version: '10.0'
|
155
155
|
- - "<"
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: '14
|
157
|
+
version: '14'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: rdoc
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0.0'
|
165
|
+
type: :development
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0.0'
|
158
172
|
- !ruby/object:Gem::Dependency
|
159
173
|
name: standard
|
160
174
|
requirement: !ruby/object:Gem::Requirement
|
@@ -237,7 +251,7 @@ metadata:
|
|
237
251
|
homepage_uri: https://github.com/mime-types/ruby-mime-types/
|
238
252
|
bug_tracker_uri: https://github.com/mime-types/ruby-mime-types/issues
|
239
253
|
source_code_uri: https://github.com/mime-types/ruby-mime-types/
|
240
|
-
changelog_uri: https://github.com/mime-types/ruby-mime-types/blob/
|
254
|
+
changelog_uri: https://github.com/mime-types/ruby-mime-types/blob/main/CHANGELOG.md
|
241
255
|
rubygems_mfa_required: 'true'
|
242
256
|
rdoc_options:
|
243
257
|
- "--main"
|