From 27741b94ad843e52801cdb636cc076750a3f57d7f953876278e96f503912895a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Thu, 6 Feb 2025 14:15:09 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96:=20Automatic=20update=20to=201.3.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-concurrent-ruby?expand=0&rev=37 --- .gitattributes | 23 +++ .gitignore | 1 + concurrent-ruby-1.3.3.gem | 3 + concurrent-ruby-1.3.4.gem | 3 + concurrent-ruby-1.3.5.gem | 3 + gem2rpm.yml | 70 +++++++ rubygem-concurrent-ruby.changes | 331 ++++++++++++++++++++++++++++++++ rubygem-concurrent-ruby.spec | 57 ++++++ 8 files changed, 491 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 concurrent-ruby-1.3.3.gem create mode 100644 concurrent-ruby-1.3.4.gem create mode 100644 concurrent-ruby-1.3.5.gem create mode 100644 gem2rpm.yml create mode 100644 rubygem-concurrent-ruby.changes create mode 100644 rubygem-concurrent-ruby.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/concurrent-ruby-1.3.3.gem b/concurrent-ruby-1.3.3.gem new file mode 100644 index 0000000..7b06f70 --- /dev/null +++ b/concurrent-ruby-1.3.3.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f9cd28965c4dcf83ffd3ea7304f9323277be8525819cb18a3b61edcb56a7c6a +size 349696 diff --git a/concurrent-ruby-1.3.4.gem b/concurrent-ruby-1.3.4.gem new file mode 100644 index 0000000..3235126 --- /dev/null +++ b/concurrent-ruby-1.3.4.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4aa926339b0a86b5b5054a0a8c580163e6f5dcbdfd0f4bb916b1a2570731c32 +size 349696 diff --git a/concurrent-ruby-1.3.5.gem b/concurrent-ruby-1.3.5.gem new file mode 100644 index 0000000..d02f275 --- /dev/null +++ b/concurrent-ruby-1.3.5.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6 +size 350208 diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..01b0245 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,70 @@ +# --- +# ## 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 +# diff --git a/rubygem-concurrent-ruby.changes b/rubygem-concurrent-ruby.changes new file mode 100644 index 0000000..8ae3ab3 --- /dev/null +++ b/rubygem-concurrent-ruby.changes @@ -0,0 +1,331 @@ +------------------------------------------------------------------- +Mon Feb 3 09:30:07 UTC 2025 - Dan Čermák + +- 1.3.5: + +## What's Changed +* Remove dependency on logger by @eregon in https://github.com/ruby-concurrency/concurrent-ruby/pull/1062 +* Avoid error when member is present on ancestor class by @francesmcmullin in https://github.com/ruby-concurrency/concurrent-ruby/pull/1068 +* Set rake-compiler source and target to Java 8 by @headius in https://github.com/ruby-concurrency/concurrent-ruby/pull/1071 +* chore: fix typos by @chenrui333 in https://github.com/ruby-concurrency/concurrent-ruby/pull/1076 + +## New Contributors +* @francesmcmullin made their first contribution in https://github.com/ruby-concurrency/concurrent-ruby/pull/1068 +* @chenrui333 made their first contribution in https://github.com/ruby-concurrency/concurrent-ruby/pull/1076 + +**Full Changelog**: https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.3.4...v1.3.5 + + + +------------------------------------------------------------------- +Mon Nov 4 16:27:28 UTC 2024 - Dan Čermák + +- ## Release v1.3.4 (10 August 2024) + +* (#1060) Fix bug with return value of `Concurrent.available_processor_count` when `cpu.cfs_quota_us` is -1. +* (#1058) Add `Concurrent.cpu_shares` that is cgroups aware. + + +------------------------------------------------------------------- +Fri Jun 21 09:41:38 UTC 2024 - Dan Čermák + +- ## Release v1.3.3 (9 June 2024) + +* (#1053) Improve the speed of `Concurrent.physical_processor_count` on Windows. + +## Release v1.3.2, edge v0.7.1 (7 June 2024) + +concurrent-ruby: + +* (#1051) Remove dependency on `win32ole`. + +concurrent-ruby-edge: + +* (#1052) Fix dependency on `concurrent-ruby` to allow the latest release. + +## Release v1.3.1 (29 May 2024) + +* Release 1.3.0 was broken when pushed to RubyGems. 1.3.1 is a packaging fix. + +## Release v1.3.0 (28 May 2024) + +* (#1042) Align Java Executor Service behavior for `shuttingdown?`, `shutdown?` +* (#1038) Add `Concurrent.available_processor_count` that is cgroups aware. + + +------------------------------------------------------------------- +Mon Jan 29 13:53:32 UTC 2024 - Dan Čermák + +- ## Release v1.2.3 (16 Jan 2024) + +* See [the GitHub release](https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.2.3) for details. + + +------------------------------------------------------------------- +Thu Nov 2 15:42:32 UTC 2023 - Dan Čermák + +- 1.2.2: + +concurrent-ruby 1.2.2: + +* (#993) Fix arguments passed to `Concurrent::Map`'s `default_proc`. + +1.2.1: + +concurrent-ruby 1.2.1: + +* (#990) Add missing `require 'fiber'` for `FiberLocalVar`. +* (#989) Optimize `Concurrent::Map#[]` on CRuby by letting the backing Hash handle the `default_proc`. + + + +------------------------------------------------------------------- +Sun May 15 15:28:32 UTC 2022 - Manuel Schnitzer + +- updated to version 1.1.10 + + * (#951) Set the Ruby compatibility version at 2.2 + * (#939, #933) The `caller_runs` fallback policy no longer blocks reads from the job queue by worker threads + * (#938, #761, #652) You can now explicitly `prune_pool` a thread pool (Sylvain Joyeux) + * (#937, #757, #670) We switched the Yahoo stock API for demos to Alpha Vantage (Gustavo Caso) + * (#932, #931) We changed how `SafeTaskExecutor` handles local jump errors (Aaron Jensen) + * (#927) You can use keyword arguments in your initialize when using `Async` (Matt Larraz) + * (#926, #639) We removed timeout from `TimerTask` because it wasn't sound, and now it's a no-op with a warning (Jacob Atzen) + * (#919) If you double-lock a re-entrant read-write lock, we promote to locked for writing (zp yuan) + * (#915) `monotonic_time` now accepts an optional unit parameter, as Ruby's `clock_gettime` (Jean Boussier) + +------------------------------------------------------------------- +Thu Jun 24 17:12:01 UTC 2021 - Stephan Kulow + +updated to version 1.1.9 + see installed CHANGELOG.md + + ## Release v1.1.9 (5 Jun 2021) + + concurrent-ruby: + + * (#866) Child promise state not set to :pending immediately after #execute when parent has completed + * (#905, #872) Fix RubyNonConcurrentPriorityQueue#delete method + * (2df0337d) Make sure locks are not shared on shared when objects are dup/cloned + * (#900, #906, #796, #847, #911) Fix Concurrent::Set tread-safety issues on CRuby + * (#907) Add new ConcurrentMap backend for TruffleRuby + + +------------------------------------------------------------------- +Wed Jan 20 12:28:48 UTC 2021 - Stephan Kulow + +updated to version 1.1.8 + see installed CHANGELOG.md + + ## Release v1.1.8 (20 January 2021) + + * (#885) Fix race condition in TVar for stale reads + * (#884) RubyThreadLocalVar: Do not iterate over hash which might conflict with new pair addition + + +------------------------------------------------------------------- +Sat Aug 22 12:55:44 UTC 2020 - Manuel Schnitzer + +- updated to version 1.1.7 + + * Update rake-compiler-dock to add 2.7 build + +------------------------------------------------------------------- +Tue Mar 3 11:00:19 UTC 2020 - Manuel Schnitzer + +- updated to version 1.1.6 + + ## Release v1.1.6, edge v0.6.0 (10 Feb 2020) + + concurrent-ruby: + + * (#841) Concurrent.disable_at_exit_handlers! is no longer needed and was deprecated. + * (#841) AbstractExecutorService#auto_terminate= was deprecated and has no effect. + Set :auto_terminate option instead when executor is initialized. + + ## Release v1.1.6.pre1, edge v0.6.0.pre1 (26 Jan 2020) + + concurrent-ruby: + + * (#828) Allow to name executors, the name is also used to name their threads + * (#838) Implement #dup and #clone for structs + * (#821) Safer finalizers for thread local variables + * Documentation fixes + * (#814) Use Ruby's Etc.nprocessors if available + * (#812) Fix directory structure not to mess with packaging tools + * (#840) Fix termination of pools on JRuby + + concurrent-ruby-edge: + + * Add WrappingExecutor (#830) + +------------------------------------------------------------------- +Thu Mar 14 10:53:13 UTC 2019 - Stephan Kulow + +- updated to version 1.1.5 + see installed CHANGELOG.md + + ## Release v1.1.5, edge v0.5.0 (10 mar 2019) + + concurrent-ruby: + + * fix potential leak of context on JRuby and Java 7 + + concurrent-ruby-edge: + + * Add finalized Concurrent::Cancellation + * Add finalized Concurrent::Throttle + * Add finalized Concurrent::Promises::Channel + * Add new Concurrent::ErlangActor + +------------------------------------------------------------------- +Wed Dec 19 07:04:11 UTC 2018 - Stephan Kulow + +- updated to version 1.1.4 + see installed CHANGELOG.md + + ## Release v1.1.4 (14 Dec 2018) + + * (#780) Remove java_alias of 'submit' method of Runnable to let executor service work on java 11 + * (#776) Fix NameError on defining a struct with a name which is already taken in an ancestor + +------------------------------------------------------------------- +Mon Nov 12 17:44:27 UTC 2018 - mschnitzer@suse.com + +- updated to version 1.1.3 + + * (#775) fix partial require of the gem (although not officially supported) + + # From version 1.1.2 + * (#773) more defensive 1.9.3 support + +------------------------------------------------------------------- +Tue Nov 6 07:45:05 UTC 2018 - mschnitzer@suse.com + +- updated to version 1.1.1 + + * (#768) add support for 1.9.3 back + + ## Release v1.1.0, edge v0.4.0 (31 OCt 2018) (yanked) + + * (#768) yanked because of issues with removed 1.9.3 support + + ## Release v1.1.0.pre2, edge v0.4.0.pre2 (18 Sep 2018) + + concurrent-ruby: + + * fixed documentation and README links + * fix Set for TruffleRuby and Rubinius + * use properly supported TruffleRuby APIs + + concurrent-ruby-edge: + + * add Promises.zip_futures_over_on + + ## Release v1.1.0.pre1, edge v0.4.0.pre1 (15 Aug 2018) + + concurrent-ruby: + + * requires at least Ruby 2.0 + * [Promises](http://ruby-concurrency.github.io/concurrent-ruby/1.1.0/Concurrent/Promises.html) + are moved from `concurrent-ruby-edge` to `concurrent-ruby` + * Add support for TruffleRuby + * (#734) Fix Array/Hash/Set construction broken on TruffleRuby + * AtomicReference fixed + * CI stabilization + * remove sharp dependency edge -> core + * remove warnings + * documentation updates + * Exchanger is no longer documented as edge since it was already available in + `concurrent-ruby` + * (#644) Fix Map#each and #each_pair not returning enumerator outside of MRI + * (#659) Edge promises fail during error handling + * (#741) Raise on recursive Delay#value call + * (#727) #717 fix global IO executor on JRuby + * (#740) Drop support for CRuby 1.9, JRuby 1.7, Rubinius. + * (#737) Move AtomicMarkableReference out of Edge + * (#708) Prefer platform specific memory barriers + * (#735) Fix wrong expected exception in channel spec assertion + * (#729) Allow executor option in `Promise#then` + * (#725) fix timeout check to use timeout_interval + * (#719) update engine detection + * (#660) Add specs for Promise#zip/Promise.zip ordering + * (#654) Promise.zip execution changes + * (#666) Add thread safe set implementation + * (#651) #699 #to_s, #inspect should not output negative object IDs. + * (#685) Avoid RSpec warnings about raise_error + * (#680) Avoid RSpec monkey patching, persist spec results locally, use RSpec + v3.7.0 + * (#665) Initialize the monitor for new subarrays on Rubinius + * (#661) Fix error handling in edge promises + + concurrent-ruby-edge: + + * (#659) Edge promises fail during error handling + * Edge files clearly separated in `lib-edge` + * added ReInclude + +------------------------------------------------------------------- +Mon Mar 13 12:12:16 UTC 2017 - hvogel@suse.com + +- Update to 1.0.5 + see installed CHANGELOG.md and + https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.0.5 + +------------------------------------------------------------------- +Tue Dec 27 05:30:17 UTC 2016 - coolo@suse.com + +- updated to version 1.0.4 + see installed CHANGELOG.md + + ## Current Release v1.0.4 (27 Dec 2016) + + concurrent-ruby: + + * Nothing + + concurrent-ruby-edge: + + * New promises' API renamed, lots of improvements, edge bumped to 0.3.0 + * **Incompatible** with previous 0.2.3 version + * see https://github.com/ruby-concurrency/concurrent-ruby/pull/522 + + ## Release v1.0.3 (17 Dec 2016) + +------------------------------------------------------------------- +Sun Dec 18 05:31:47 UTC 2016 - coolo@suse.com + +- updated to version 1.0.3 + see installed CHANGELOG.md + + * Trigger execution of flattened delayed futures + * Avoid forking for processor_count if possible + * Semaphore Mutex and JRuby parity + * Adds Map#each as alias to Map#each_pair + * Fix uninitialized instance variables + * Make Fixnum, Bignum merger ready + * Allows Promise#then to receive an executor + * TimerSet now survives a fork + * Reject promise on any exception + * Allow ThreadLocalVar to be initialized with a block + * Support Alpha with `Concurrent::processor_count` + * Fixes format-security error when compiling ruby_193_compatible.h + * Concurrent::Atom#swap fixed: reraise the exceptions from block + +------------------------------------------------------------------- +Tue May 3 04:32:14 UTC 2016 - coolo@suse.com + +- updated to version 1.0.2 + see installed CHANGELOG.md + +------------------------------------------------------------------- +Sun Feb 28 05:33:11 UTC 2016 - coolo@suse.com + +- updated to version 1.0.1 + see installed CHANGELOG.md + +------------------------------------------------------------------- +Mon Dec 7 10:56:24 UTC 2015 - kgronlund@suse.com + +- initial package + diff --git a/rubygem-concurrent-ruby.spec b/rubygem-concurrent-ruby.spec new file mode 100644 index 0000000..2207c8f --- /dev/null +++ b/rubygem-concurrent-ruby.spec @@ -0,0 +1,57 @@ +# +# spec file for package rubygem-concurrent-ruby +# +# Copyright (c) 2025 SUSE LLC +# +# 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 https://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-concurrent-ruby +Version: 1.3.5 +Release: 0 +%define mod_name concurrent-ruby +%define mod_full_name %{mod_name}-%{version} +BuildRequires: %{ruby >= 2.3} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +URL: http://www.concurrent-ruby.com +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Modern concurrency tools for Ruby. Inspired by Erlang, Clojure, +License: MIT + +%description +Modern concurrency tools including agents, futures, promises, thread pools, +actors, supervisors, and more. +Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency +patterns. + +%prep + +%build + +%install +%gem_install \ + --doc-files="CHANGELOG.md LICENSE.txt README.md" \ + -f + +%gem_packages + +%changelog