Hello community,
here is the log from the commit of package rubygem-hitimes for openSUSE:Factory
checked in at 2019-06-19 21:00:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-hitimes (Old)
and /work/SRC/openSUSE:Factory/.rubygem-hitimes.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-hitimes"
Wed Jun 19 21:00:09 2019 rev:8 rq:705997 version:1.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-hitimes/rubygem-hitimes.changes
2018-07-18 22:49:58.543749577 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-hitimes.new.4811/rubygem-hitimes.changes
2019-06-19 21:00:10.870076796 +0200
@@ -1,0 +2,12 @@
+Sat Mar 2 15:22:14 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to version 1.3.1
+ see installed HISTORY.md
+
+ ## Version 1.3.1 2019-01-18
+
+ * Update jruby extension to not use global runtime state (thanks @kares)
(#70)
+ * Update travis CI config
+ * Update documentataion for Ruby 2.6
+
+-------------------------------------------------------------------
Old:
----
hitimes-1.3.0.gem
New:
----
hitimes-1.3.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-hitimes.spec ++++++
--- /var/tmp/diff_new_pack.ahZngX/_old 2019-06-19 21:00:11.438077305 +0200
+++ /var/tmp/diff_new_pack.ahZngX/_new 2019-06-19 21:00:11.442077309 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-hitimes
#
-# 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,12 +24,12 @@
#
Name: rubygem-hitimes
-Version: 1.3.0
+Version: 1.3.1
Release: 0
%define mod_name hitimes
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{rubydevel >= 1.9.3}
+BuildRequires: %{rubydevel >= 2.2.2}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
@@ -37,12 +37,11 @@
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: rubygem-hitimes-rpmlintrc
Source2: gem2rpm.yml
-Summary: [
A fast, high resolution timer library for recording peformance metrics. *
(http://github.com/copiousfreetime/hitimes) *
(http://github.com.org/copiousfreetime/hitimes) * email jeremy at
++++++ hitimes-1.3.0.gem -> hitimes-1.3.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/HISTORY.md new/HISTORY.md
--- old/HISTORY.md 2018-06-15 23:55:01.000000000 +0200
+++ new/HISTORY.md 2019-01-18 18:17:01.000000000 +0100
@@ -1,4 +1,10 @@
# Hitimes Changelog
+## Version 1.3.1 2019-01-18
+
+* Update jruby extension to not use global runtime state (thanks @kares) (#70)
+* Update travis CI config
+* Update documentataion for Ruby 2.6
+
## Version 1.3.0 2018-06-15
* Add api method `Hitimes.raw_instant` to expose raw OS instant value
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2018-06-15 23:55:01.000000000 +0200
+++ new/README.md 2019-01-18 18:17:01.000000000 +0100
@@ -2,6 +2,8 @@
[](https://travis-ci.org/copiousfreetime/hitimes)
+## Description
+
A fast, high resolution timer library for recording peformance metrics.
* [Homepage](http://github.com/copiousfreetime/hitimes)
@@ -159,14 +161,14 @@
The current officially supported versions of Ruby are:
-* MRI Ruby (all platforms) 2.2 - 2.4
-* JRuby 1.7.25, 9.0.5.0
+* MRI Ruby (all platforms) 2.3 - 2.6
+* JRuby 9.1.17.0, 9.2.X.X
Unofficially supported versions, these have been supported in the past when
they
were the primary rubies around. In all likelihood they still work, but are not
supported.
-* MRI Ruby (linux/mac/bsd/unix/etc) - everything from 1.8.7 to 2.1
+* MRI Ruby (linux/mac/bsd/unix/etc) - everything from 1.8.7 to 2.2
* MRI Ruby (windows) - 2.0 and up
* Ruby 1.8 and 1.9 for windows are supported in hitimes version 1.2.4 or
earlier
* JRuby - I think everything back to 1.4
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ext/hitimes/c/hitimes_instant_osx.c
new/ext/hitimes/c/hitimes_instant_osx.c
--- old/ext/hitimes/c/hitimes_instant_osx.c 2018-06-15 23:55:01.000000000
+0200
+++ new/ext/hitimes/c/hitimes_instant_osx.c 2019-01-18 18:17:01.000000000
+0100
@@ -4,7 +4,10 @@
#include <mach/mach.h>
#include <mach/mach_time.h>
-/* All this OSX code is adapted from
http://developer.apple.com/library/mac/#qa/qa1398/_index.html */
+/* All this OSX code is adapted from
+ * https://developer.apple.com/library/archive/qa/qa1398/_index.html
+ */
+
/*
* returns the conversion factor, this value is used to convert
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ext/hitimes/java/src/hitimes/Hitimes.java
new/ext/hitimes/java/src/hitimes/Hitimes.java
--- old/ext/hitimes/java/src/hitimes/Hitimes.java 2018-06-15
23:55:01.000000000 +0200
+++ new/ext/hitimes/java/src/hitimes/Hitimes.java 2019-01-18
18:17:01.000000000 +0100
@@ -3,20 +3,18 @@
import java.lang.Math;
import java.lang.System;
-import org.jruby.anno.JRubyClass;
-import org.jruby.anno.JRubyMethod;
-import org.jruby.anno.JRubyModule;
-import org.jruby.anno.JRubyConstant;
-import org.jruby.runtime.Visibility;
-
import org.jruby.Ruby;
import org.jruby.RubyClass;
import org.jruby.RubyException;
import org.jruby.RubyModule;
import org.jruby.RubyObject;
-
+import org.jruby.anno.JRubyClass;
+import org.jruby.anno.JRubyMethod;
+import org.jruby.anno.JRubyModule;
+import org.jruby.anno.JRubyConstant;
import org.jruby.exceptions.RaiseException;
-
+import org.jruby.runtime.ThreadContext;
+import org.jruby.runtime.Visibility;
import org.jruby.runtime.builtin.IRubyObject;
@@ -28,15 +26,14 @@
public static final double INSTANT_CONVERSION_FACTOR = 1000000000d;
- private static final Ruby __ruby__ = Ruby.getGlobalRuntime();
-
public static RubyClass hitimesIntervalClass;
+
/**
* Create the Hitimes module and add it to the Ruby runtime.
*/
public static RubyModule createHitimesModule( Ruby runtime ) {
RubyModule mHitimes = runtime.defineModule("Hitimes");
- mHitimes.defineConstant("INSTANT_CONVERSION_FACTOR",
__ruby__.newFloat(INSTANT_CONVERSION_FACTOR));
+ mHitimes.defineConstant("INSTANT_CONVERSION_FACTOR",
runtime.newFloat(INSTANT_CONVERSION_FACTOR));
mHitimes.defineAnnotatedMethods( Hitimes.class );
RubyClass cStandardError = runtime.getStandardError();
@@ -59,8 +56,8 @@
@JRubyMethod( name = "raw_instant", module = true )
- public static IRubyObject rawInstant(IRubyObject self) {
- return __ruby__.newFixnum( System.nanoTime() );
+ public static IRubyObject rawInstant(ThreadContext context, IRubyObject
self) {
+ return context.runtime.newFixnum( System.nanoTime() );
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/hitimes/version.rb new/lib/hitimes/version.rb
--- old/lib/hitimes/version.rb 2018-06-15 23:55:01.000000000 +0200
+++ new/lib/hitimes/version.rb 2019-01-18 18:17:01.000000000 +0100
@@ -4,5 +4,5 @@
#++
module Hitimes
- VERSION = "1.3.0"
+ VERSION = "1.3.1"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-06-15 23:55:01.000000000 +0200
+++ new/metadata 2019-01-18 18:17:01.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: hitimes
version: !ruby/object:Gem::Version
- version: 1.3.0
+ version: 1.3.1
platform: ruby
authors:
- Jeremy Hinegardner
autorequire:
bindir: bin
cert_chain: []
-date: 2018-06-15 00:00:00.000000000 Z
+date: 2019-01-18 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rake
@@ -108,10 +108,9 @@
- - "~>"
- !ruby/object:Gem::Version
version: '0.14'
-description:
"(https://travis-ci.org/copiousfreetime/hitimes.svg?branch=master)](https://travis-ci.org/copiousfreetime/hitimes)
- A fast, high resolution timer library for recording peformance metrics. *
(http://github.com/copiousfreetime/hitimes)
- * (http://github.com.org/copiousfreetime/hitimes) * email jeremy at
copiousfreetime
- dot org * `git clone url git://github.com/copiousfreetime/hitimes.git`"
+description: A fast, high resolution timer library for recording peformance
metrics.
+ * (http://github.com/copiousfreetime/hitimes) *
(http://github.com.org/copiousfreetime/hitimes)
+ * email jeremy at copiousfreetime dot org * `git clone url
git://github.com/copiousfreetime/hitimes.git`
email: [email protected]
executables: []
extensions:
@@ -182,18 +181,17 @@
requirements:
- - ">="
- !ruby/object:Gem::Version
- version: 1.9.3
+ version: 2.2.2
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubyforge_project:
-rubygems_version: 2.6.12
+rubygems_version: 3.0.1
signing_key:
specification_version: 4
-summary: "[](https://travis-ci.org/copiousfreetime/hitimes)"
+summary: A fast, high resolution timer library for recording peformance
metrics.
test_files:
- spec/hitimes_spec.rb
- spec/interval_spec.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tasks/this.rb new/tasks/this.rb
--- old/tasks/this.rb 2018-06-15 23:55:01.000000000 +0200
+++ new/tasks/this.rb 2019-01-18 18:17:01.000000000 +0100
@@ -28,7 +28,7 @@
@exclude_from_manifest = Regexp.union(/\.(git|DS_Store)/,
/^(doc|coverage|pkg|tmp|Gemfile(\.lock)?)/,
/^[^\/]+\.gemspec/,
-
/\.(swp|jar|bundle|so|rvmrc|travis.yml)$/,
+
/\.(swp|jar|bundle|so|rvmrc|travis.yml|byebug_history)$/,
/~$/)
@gemspecs = Hash.new
yield self if block_given?
@@ -146,7 +146,7 @@
spec.rdoc_options = [ "--main" , 'README.md',
"--markup", "tomdoc" ]
- spec.required_ruby_version = '>= 1.9.3'
+ spec.required_ruby_version = '>= 2.2.2'
end
end
@@ -178,9 +178,9 @@
(RUBY_PLATFORM == "java") ? 'java' : Gem::Platform::RUBY
end
- # Internal: Return the DESCRIPTION section of the README.rdoc file
+ # Internal: Return the Description section of the README.rdoc file
def description_section
- section_of( 'README.md', 'Hitimes')
+ section_of( 'README.md', 'Description')
end
# Internal: Return the summary text from the README