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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd6f8aeab4035fef308644c29775e3f2d93ec7ecd6c5e382d9757e11f472732a
4
- data.tar.gz: 79f7acfee2e37d1016cdb16f3abfa8b2b7910a771e2a97145be56fe1c81d75ff
3
+ metadata.gz: 6d48539865c96a17991bbceab6d3ff2b2d6db5e281448d9bd76dd5fc12a48cd2
4
+ data.tar.gz: 79bcc6970d5f1774fc6a45162ba28222e72eeb37110e4d61eef96a50faeea4ff
5
5
  SHA512:
6
- metadata.gz: 3652bd791955a3c634735c1fb886a54a98aff2ad2b828d7a6dfb6c70d4bf13de7698aae13f1f610eb2796efc009e57314329d1b97e9fcf46c19dff7b82d08a2e
7
- data.tar.gz: 7db724bccd63070bb30228d36319d3d8fb79b10a6c75888463f0feb902cd9677303d67542460b3ea1f867c54ead962e6956650690153d37e67ad00a3c9ec98c0
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
- ### Test Dependencies
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
- This task will install any missing dependencies, run the tests/specs, and
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
@@ -37,6 +37,7 @@ Thanks to everyone else who has contributed to mime-types over the years:
37
37
  - Martin d'Allens
38
38
  - Masato Nakamura
39
39
  - Mauricio Linhares
40
+ - Nana Kugayama
40
41
  - Nicholas La Roux
41
42
  - Nicolas Leger
42
43
  - nycvotes-dev
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/master/History.md
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.0"]
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 SimpleCov::Formatter::MultiFormatter.new([SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::LcovFormatter, SimpleCov::Formatter::SimpleFormatter])
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
@@ -4,7 +4,7 @@
4
4
  module MIME
5
5
  class Types
6
6
  # The released version of the mime-types library.
7
- VERSION = "3.6.1"
7
+ VERSION = "3.6.2"
8
8
  end
9
9
 
10
10
  class Type
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.1
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-18 00:00:00.000000000 Z
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.0'
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.0'
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/master/History.md
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"