summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@debian.org>2025-11-13 11:37:31 -0600
committergit-ubuntu importer <ubuntu-devel-discuss@lists.ubuntu.com>2025-11-13 22:45:05 +0000
commit275fbd5eb4edb93b512cada4b27e45b8df2c2425 (patch)
treec92e77ca5ca8eacbac25660876d66dd418c16e99
parent4227fb64bb2afaa4ce51d5b0c02d2ea41a63f2ed (diff)
Imported using git-ubuntu import.
Notes
Notes: * Team upload. * Use gemwatch.debian.net in watch. * New upstream release. * Drop {XS,XB}-Ruby-Versions from control. * Use ${ruby:Depends} for runtime dependencies. * Update Standards-Version to 4.7.2, no changes needed. * Update debhelper-compat to 13, no changes needed.
-rw-r--r--debian/changelog12
-rw-r--r--debian/control8
-rw-r--r--debian/gbp.conf4
-rw-r--r--debian/salsa-ci.yml3
-rw-r--r--debian/watch4
-rw-r--r--lib/stud/interval.rb7
-rw-r--r--metadata.yml85
-rw-r--r--stud.gemspecbin0 -> 1725 bytes
8 files changed, 28 insertions, 95 deletions
diff --git a/debian/changelog b/debian/changelog
index 34d72e8..9f74804 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,15 @@
+ruby-stud (0.0.23-1) unstable; urgency=medium
+
+ * Team upload.
+ * Use gemwatch.debian.net in watch.
+ * New upstream release.
+ * Drop {XS,XB}-Ruby-Versions from control.
+ * Use ${ruby:Depends} for runtime dependencies.
+ * Update Standards-Version to 4.7.2, no changes needed.
+ * Update debhelper-compat to 13, no changes needed.
+
+ -- Simon Quigley <tsimonq2@debian.org> Thu, 13 Nov 2025 11:37:31 -0600
+
ruby-stud (0.0.22-2) unstable; urgency=medium
* Team upload.
diff --git a/debian/control b/debian/control
index 8567208..4167daa 100644
--- a/debian/control
+++ b/debian/control
@@ -3,20 +3,18 @@ Section: ruby
Priority: optional
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Tim Potter <tpot@hp.com>
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
gem2deb,
ruby-insist,
ruby-rspec
-Standards-Version: 3.9.8
+Standards-Version: 4.7.2
Vcs-Git: https://salsa.debian.org/ruby-team/ruby-stud.git
Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-stud
Homepage: https://github.com/jordansissel/ruby-stud
-XS-Ruby-Versions: all
Package: ruby-stud
Architecture: all
-XB-Ruby-Versions: ${ruby:Versions}
-Depends: ruby:any | ruby-interpreter,
+Depends: ${ruby:Depends},
${misc:Depends},
${shlibs:Depends}
Description: reusable common code to enhance Ruby's stdlib library
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..6b65fe0
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+debian-branch = debian/latest
+upstream-branch = upstream/latest
+pristine-tar = True
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
index 33c3a64..7b5d2f7 100644
--- a/debian/salsa-ci.yml
+++ b/debian/salsa-ci.yml
@@ -1,4 +1,3 @@
---
include:
- - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
+ - https://salsa.debian.org/ruby-team/meta/raw/master/salsa-ci.yml
diff --git a/debian/watch b/debian/watch
index cc14c5e..8ae074e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
-version=3
-https://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/stud .*/stud-(.*).tar.gz
+version=4
+https://gemwatch.debian.net/stud .*/stud-(.*).tar.gz
diff --git a/lib/stud/interval.rb b/lib/stud/interval.rb
index 3922074..1b651f4 100644
--- a/lib/stud/interval.rb
+++ b/lib/stud/interval.rb
@@ -41,7 +41,12 @@ module Stud
def self.stop!(target = Thread.current)
# setting/getting threalocal var is thread safe in JRuby
target[STUD_STOP_REQUESTED] = true
- target.wakeup
+ begin
+ target.wakeup
+ rescue ThreadError => e
+ # The thread is dead, so there's nothing to do.
+ # There's no race-free way to detect this sadly
+ end
nil
end
diff --git a/metadata.yml b/metadata.yml
deleted file mode 100644
index 3dde3f0..0000000
--- a/metadata.yml
+++ /dev/null
@@ -1,85 +0,0 @@
---- !ruby/object:Gem::Specification
-name: stud
-version: !ruby/object:Gem::Version
- version: 0.0.22
-platform: ruby
-authors:
-- Jordan Sissel
-autorequire:
-bindir: bin
-cert_chain: []
-date: 2015-09-17 00:00:00.000000000 Z
-dependencies:
-- !ruby/object:Gem::Dependency
- name: rspec
- requirement: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: '0'
- type: :development
- prerelease: false
- version_requirements: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: '0'
-- !ruby/object:Gem::Dependency
- name: insist
- requirement: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: '0'
- type: :development
- prerelease: false
- version_requirements: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: '0'
-description: small reusable bits of code I'm tired of writing over and over. A library
- form of my software-patterns github repo.
-email: jls@semicomplete.com
-executables: []
-extensions: []
-extra_rdoc_files: []
-files:
-- CHANGELIST
-- LICENSE
-- README.md
-- lib/stud/buffer.rb
-- lib/stud/interval.rb
-- lib/stud/pool.rb
-- lib/stud/secret.rb
-- lib/stud/task.rb
-- lib/stud/temporary.rb
-- lib/stud/trap.rb
-- lib/stud/try.rb
-- lib/stud/with.rb
-homepage: https://github.com/jordansissel/ruby-stud
-licenses: []
-metadata: {}
-post_install_message:
-rdoc_options: []
-require_paths:
-- lib
-- lib
-required_ruby_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: '0'
-required_rubygems_version: !ruby/object:Gem::Requirement
- requirements:
- - - ">="
- - !ruby/object:Gem::Version
- version: '0'
-requirements: []
-rubyforge_project:
-rubygems_version: 2.4.6
-signing_key:
-specification_version: 4
-summary: stud - common code techniques
-test_files: []
-has_rdoc:
diff --git a/stud.gemspec b/stud.gemspec
new file mode 100644
index 0000000..2e1f5bf
--- /dev/null
+++ b/stud.gemspec
Binary files differ