diff --git a/.gitignore b/.gitignore index cc55151..90d5a3d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /hitimes-1.2.2.gem +/hitimes-1.2.3.gem diff --git a/rubygem-hitimes.spec b/rubygem-hitimes.spec index 9319c44..fe75bc0 100644 --- a/rubygem-hitimes.spec +++ b/rubygem-hitimes.spec @@ -2,8 +2,8 @@ %global gem_name hitimes Name: rubygem-%{gem_name} -Version: 1.2.2 -Release: 2%{?dist} +Version: 1.2.3 +Release: 1%{?dist} Summary: A fast, high resolution timer library for recording performance metrics Group: Development/Languages License: ISC @@ -18,7 +18,11 @@ Provides: rubygem(%{gem_name}) = %{version} %description Hitimes is a fast, high resolution timer library for recording performance metrics. It uses the appropriate low method calls for each system to get the -highest granularity time increments possible. +highest granularity time increments possible. It currently supports any of the +following systems: * any system with the POSIX call `clock_gettime()` * Mac OS +X * Windows * JRuby Using Hitimes can be faster than using a series of +`Time.new` calls, and it will have a much higher granularity. It is definitely +faster than using `Process.times`. %package doc Summary: Documentation for %{name} @@ -48,7 +52,7 @@ cp -pa .%{gem_dir}/* \ mkdir -p %{buildroot}%{gem_extdir_mri}/%{gem_name} -cp -a .%{gem_extdir_mri}/%{gem_name}/2.2/%{gem_name}.so %{buildroot}%{gem_extdir_mri}/%{gem_name}/%{gem_name}.so +cp -a .%{gem_extdir_mri}/%{gem_name}/2.3/%{gem_name}.so %{buildroot}%{gem_extdir_mri}/%{gem_name}/%{gem_name}.so cp -a .%{gem_extdir_mri}/gem.build_complete %{buildroot}%{gem_extdir_mri}/ rm -rf %{buildroot}/%{gem_instdir}/{ext/,Rakefile} @@ -67,7 +71,6 @@ popd %{gem_extdir_mri} %{gem_spec} %exclude %{gem_cache} -%exclude %{gem_instdir}/.travis.yml %files doc %doc %{gem_docdir} @@ -80,8 +83,10 @@ popd %{gem_instdir}/examples/ %changelog -* Mon Jan 11 2016 Pavel Valena - 1.2.2-2 +* Mon Jan 11 2016 Pavel Valena - 1.2.3-1 - Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3 +- Update to 1.2.3 +- Removed .travis.yml * Wed Feb 18 2015 Josef Stribny - 1.2.2-1 - Update to 1.2.2 diff --git a/sources b/sources index e4783e4..449186f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4190c960fe257c6f644a06dfa2f9614e hitimes-1.2.2.gem +a2750dd9364f99a74c49be6b39f1324f hitimes-1.2.3.gem