commit rubygem-mini_mime for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-mini_mime for openSUSE:Factory checked in at 2019-07-16 08:41:41 Comparing /work/SRC/openSUSE:Factory/rubygem-mini_mime (Old) and /work/SRC/openSUSE:Factory/.rubygem-mini_mime.new.1887 (New) Package is "rubygem-mini_mime" Tue Jul 16 08:41:41 2019 rev:3 rq:715395 version:1.0.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-mini_mime/rubygem-mini_mime.changes 2018-08-18 00:03:57.471049395 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-mini_mime.new.1887/rubygem-mini_mime.changes 2019-07-16 08:41:41.235030696 +0200 @@ -1,0 +2,7 @@ +Mon Jul 15 07:20:52 UTC 2019 - Manuel Schnitzer + +- updated to version 1.0.2 + + * Update mime types from upstream + +--- Old: mini_mime-1.0.1.gem New: mini_mime-1.0.2.gem Other differences: -- ++ rubygem-mini_mime.spec ++ --- /var/tmp/diff_new_pack.9TZVV3/_old 2019-07-16 08:41:41.955030309 +0200 +++ /var/tmp/diff_new_pack.9TZVV3/_new 2019-07-16 08:41:41.955030309 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-mini_mime # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-mini_mime -Version:1.0.1 +Version:1.0.2 Release:0 %define mod_name mini_mime %define mod_full_name %{mod_name}-%{version} ++ mini_mime-1.0.1.gem -> mini_mime-1.0.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2018-08-14 07:42:02.0 +0200 +++ new/.travis.yml 2019-07-08 11:42:04.0 +0200 @@ -1,24 +1,15 @@ language: ruby -sudo: false -cache: bundler - -before_install: gem install bundler -v 1.13.6 rvm: - - 1.8.7 - - 1.9.2 - - 1.9.3 - - 2.0.0 - - 2.1.10 - - 2.2.7 - - 2.3.4 - - 2.4.1 + - 2.3 + - 2.4 + - 2.5 + - 2.6 - ruby-head - jruby - jruby-9.0.5.0 - jruby-9.1.6.0 - jruby-head - - rbx-2 matrix: allow_failures: @@ -26,5 +17,4 @@ - rvm: jruby-9.0.5.0 - rvm: jruby-9.1.6.0 - rvm: jruby-head -- rvm: rbx-2 fast_finish: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG new/CHANGELOG --- old/CHANGELOG 2018-08-14 07:42:02.0 +0200 +++ new/CHANGELOG 2019-07-08 11:42:04.0 +0200 @@ -1,3 +1,7 @@ +08-07-2019 + - Version 1.0.2 + - Update mime types from upstream + 14-08-2018 - Version 1.0.1 - Update mime types from upstream diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile --- old/Gemfile 2018-08-14 07:42:02.0 +0200 +++ new/Gemfile 2019-07-08 11:42:04.0 +0200 @@ -4,3 +4,5 @@ gemspec gem "mime-types", "~> 3" if RUBY_VERSION > '2' +gem "memory_profiler" +gem "benchmark-ips" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2018-08-14 07:42:02.0 +0200 +++ new/README.md 2019-07-08 11:42:04.0 +0200 @@ -34,46 +34,63 @@ ``` +## Configuration + +If you'd like to add your own mime types, try using custom database files: + +``` +MiniMime::Configuration.ext_db_path = "path_to_file_extension_db" +MiniMime::Configuration.content_type_db_path = "path_to_content_type_db" +``` + +Check out the [default databases](lib/db) for proper formatting and structure hints. + ## Performance -MiniMime is optimised to minimize memory usage. It keeps a cache of 100 mime type lookups (and 100 misses). There are benchmarks in the [bench directory](https://github.com/discourse/mini_mime/bench/bench.rb) +MiniMime is optimised to minimize memory usage. It keeps a cache of 100 mime type lookups (and 100 misses). There are benchmarks in the [bench directory](https://github.com/discourse/mini_mime/blob/master/bench/bench.rb) ``` Memory stats for requiring mime/types/columnar -Total allocated: 9869358 bytes (109796 objects) -Total retained: 3138198 bytes (31165 objects) +Total allocated: 8712144 bytes (98242 objects) +Total retained: 3372545 bytes (33599 objects) Memory stats
commit rubygem-mini_mime for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-mini_mime for openSUSE:Factory checked in at 2018-08-18 00:03:56 Comparing /work/SRC/openSUSE:Factory/rubygem-mini_mime (Old) and /work/SRC/openSUSE:Factory/.rubygem-mini_mime.new (New) Package is "rubygem-mini_mime" Sat Aug 18 00:03:56 2018 rev:2 rq:629490 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-mini_mime/rubygem-mini_mime.changes 2018-01-10 23:30:54.616011551 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-mini_mime.new/rubygem-mini_mime.changes 2018-08-18 00:03:57.471049395 +0200 @@ -1,0 +2,8 @@ +Tue Aug 14 06:50:58 UTC 2018 - mschnit...@suse.com + +- updated to version 1.0.1 + + * Update mime types from upstream + * Add lookup_by_extension to the public API + +--- Old: mini_mime-1.0.0.gem New: mini_mime-1.0.1.gem Other differences: -- ++ rubygem-mini_mime.spec ++ --- /var/tmp/diff_new_pack.6YqcQ4/_old 2018-08-18 00:03:58.307051894 +0200 +++ /var/tmp/diff_new_pack.6YqcQ4/_new 2018-08-18 00:03:58.311051906 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-mini_mime # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,14 +24,14 @@ # Name: rubygem-mini_mime -Version:1.0.0 +Version:1.0.1 Release:0 %define mod_name mini_mime %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 5 -BuildRequires: %{ruby} BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 Url:https://github.com/discourse/mini_mime Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml ++ mini_mime-1.0.0.gem -> mini_mime-1.0.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG new/CHANGELOG --- old/CHANGELOG 2017-11-08 02:41:07.0 +0100 +++ new/CHANGELOG 2018-08-14 07:42:02.0 +0200 @@ -1,3 +1,8 @@ +14-08-2018 + - Version 1.0.1 + - Update mime types from upstream + - Add lookup_by_extension to the public API + 08-11-2017 - Version 1.0.0 - Other than the version number, no difference from 0.1.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE.txt new/LICENSE.txt --- old/LICENSE.txt 2017-11-08 02:41:07.0 +0100 +++ new/LICENSE.txt 2018-08-14 07:42:02.0 +0200 @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 TODO: Write your name +Copyright (c) 2016 Discourse Construction Kit, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2017-11-08 02:41:07.0 +0100 +++ new/README.md 2018-08-14 07:42:02.0 +0200 @@ -49,22 +49,22 @@ Warming up -- cached content_type lookup MiniMime 52.136k i/100ms -content_type lookup Mime::Types +content_type lookup MIME::Types 32.701k i/100ms Calculating - cached content_type lookup MiniMime 641.305k (± 3.2%) i/s - 3.232M in 5.045630s -content_type lookup Mime::Types +content_type lookup MIME::Types 361.041k (± 1.5%) i/s - 1.831M in 5.073290s Warming up -- uncached content_type lookup MiniMime 3.333k i/100ms -content_type lookup Mime::Types +content_type lookup MIME::Types 33.177k i/100ms Calculating - uncached content_type lookup MiniMime 33.660k (± 1.7%) i/s -169.983k in 5.051415s -content_type lookup Mime::Types +content_type lookup MIME::Types 364.931k (± 2.8%) i/s - 1.825M in 5.004112s ``` @@ -93,4 +93,3 @@ ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT). - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bench/bench.rb new/bench/bench.rb --- old/bench/bench.rb 2017-11-08 02:41:07.00
commit rubygem-mini_mime for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-mini_mime for openSUSE:Factory checked in at 2018-01-10 23:30:49 Comparing /work/SRC/openSUSE:Factory/rubygem-mini_mime (Old) and /work/SRC/openSUSE:Factory/.rubygem-mini_mime.new (New) Package is "rubygem-mini_mime" Wed Jan 10 23:30:49 2018 rev:1 rq:555943 version:1.0.0 Changes: New Changes file: --- /dev/null 2018-01-05 12:14:39.755488130 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-mini_mime.new/rubygem-mini_mime.changes 2018-01-10 23:30:54.616011551 +0100 @@ -0,0 +1,21 @@ +--- +Fri Nov 17 09:53:35 UTC 2017 - mschnit...@suse.com + +- updated to version 1.0.0 + + Other than the version number, no difference from 0.1.4 + +--- +Mon Aug 28 05:27:03 UTC 2017 - co...@suse.com + +- updated to version 0.1.4 + see installed CHANGELOG + + 11-08-2017 +- Version 0.1.4 +- Return preferred extension when looking up by content type + +--- +Fri Jun 16 22:51:11 UTC 2017 - mrueck...@suse.de + +- initial package New: gem2rpm.yml mini_mime-1.0.0.gem rubygem-mini_mime.changes rubygem-mini_mime.spec Other differences: -- ++ rubygem-mini_mime.spec ++ # # spec file for package rubygem-mini_mime # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # # This file was generated with a gem2rpm.yml and not just plain gem2rpm. # All sections marked as MANUAL, license headers, summaries and descriptions # can be maintained in that file. Please consult this file before editing any # of those fields # Name: rubygem-mini_mime Version:1.0.0 Release:0 %define mod_name mini_mime %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 5 BuildRequires: %{ruby} BuildRequires: %{rubygem gem2rpm} Url:https://github.com/discourse/mini_mime Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:A lightweight mime type lookup toy License:MIT Group: Development/Languages/Ruby %description A lightweight mime type lookup toy. %prep %build %install %gem_install \ --doc-files="CHANGELOG LICENSE.txt README.md" \ -f %gem_packages %changelog ++ gem2rpm.yml ++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm # :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: . # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # :sources: