Skip to content

Commit

Permalink
Change to fivemat output
Browse files Browse the repository at this point in the history
  • Loading branch information
halostatue committed Nov 11, 2015
1 parent b83af2c commit 21052e1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ spec = Hoe.spec 'mime-types' do
extra_dev_deps << ['rake', '~> 10.0']
extra_dev_deps << ['simplecov', '~> 0.7']
extra_dev_deps << ['coveralls', '~> 0.8']
extra_dev_deps << ['fivemat', '~> 1.3' ]
extra_dev_deps << ['minitest-rg', '~> 5.2']
end

task :support do
Expand Down
8 changes: 7 additions & 1 deletion mime-types.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["Austin Ziegler"]
s.date = "2015-09-14"
s.date = "2015-11-11"
s.description = "The mime-types library provides a library and registry for information about\nMIME content type definitions. It can be used to determine defined filename\nextensions for MIME types, or to use filename extensions to look up the likely\nMIME type definitions.\n\nMIME content types are used in MIME-compliant communications, as in e-mail or\nHTTP traffic, to indicate the type of content which is transmitted. The\nmime-types library provides the ability for detailed information about MIME\nentities (provided as an enumerable collection of MIME::Type objects) to be\ndetermined and used. There are many types defined by RFCs and vendors, so the\nlist is long but by definition incomplete; don't hesitate to add additional\ntype definitions. MIME type definitions found in mime-types are from RFCs, W3C\nrecommendations, the {IANA Media Types\nregistry}[https://www.iana.org/assignments/media-types/media-types.xhtml], and\nuser contributions. It conforms to RFCs 2045 and 2231.\n\nThis is release 2.6 with two new experimental features. The first new feature\nis a new default registry storage format that greatly reduces the initial\nmemory use of the mime-types library. This feature is enabled by requiring\n+mime/types/columnar+ instead of +mime/types+ with a small performance cost and\nno change in *total* memory use if certain methods are called (see {Columnar\nStore}[#label-Columnar+Store]). The second new feature is a logger interface\nthat conforms to the expectations of an ActiveSupport::Logger so that warnings\ncan be written to an application's log rather than the default location for\n+warn+. This interface may be used for other logging purposes in the future.\n\nmime-types 2.6 is the last planned version of mime-types 2.x, so deprecation\nwarnings are no longer cached but provided every time the method is called.\nmime-types 2.6 supports Ruby 1.9.2 or later."
s.email = ["halostatue@gmail.com"]
s.extra_rdoc_files = ["Contributing.rdoc", "History-Types.rdoc", "History.rdoc", "Licence.rdoc", "Manifest.txt", "README.rdoc", "docs/COPYING.txt", "docs/artistic.txt", "Contributing.rdoc", "History-Types.rdoc", "History.rdoc", "Licence.rdoc", "README.rdoc"]
Expand Down Expand Up @@ -36,6 +36,8 @@ Gem::Specification.new do |s|
s.add_development_dependency(%q<rake>, ["~> 10.0"])
s.add_development_dependency(%q<simplecov>, ["~> 0.7"])
s.add_development_dependency(%q<coveralls>, ["~> 0.8"])
s.add_development_dependency(%q<fivemat>, ["~> 1.3"])
s.add_development_dependency(%q<minitest-rg>, ["~> 5.2"])
s.add_development_dependency(%q<hoe>, ["~> 3.14"])
else
s.add_dependency(%q<minitest>, ["~> 5.8"])
Expand All @@ -50,6 +52,8 @@ Gem::Specification.new do |s|
s.add_dependency(%q<rake>, ["~> 10.0"])
s.add_dependency(%q<simplecov>, ["~> 0.7"])
s.add_dependency(%q<coveralls>, ["~> 0.8"])
s.add_dependency(%q<fivemat>, ["~> 1.3"])
s.add_dependency(%q<minitest-rg>, ["~> 5.2"])
s.add_dependency(%q<hoe>, ["~> 3.14"])
end
else
Expand All @@ -65,6 +69,8 @@ Gem::Specification.new do |s|
s.add_dependency(%q<rake>, ["~> 10.0"])
s.add_dependency(%q<simplecov>, ["~> 0.7"])
s.add_dependency(%q<coveralls>, ["~> 0.8"])
s.add_dependency(%q<fivemat>, ["~> 1.3"])
s.add_dependency(%q<minitest-rg>, ["~> 5.2"])
s.add_dependency(%q<hoe>, ["~> 3.14"])
end
end
3 changes: 2 additions & 1 deletion test/minitest_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
require 'fileutils'

gem 'minitest'
require 'minitest/autorun'
require 'fivemat/minitest/autorun'
require 'minitest/focus'
require 'minitest/rg'

module Minitest::MIMEDeprecated
def assert_deprecated name, message = 'and will be removed'
Expand Down

0 comments on commit 21052e1

Please sign in to comment.