[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
63/229: gnu: Add ruby-delayed-job.
From: |
guix-commits |
Subject: |
63/229: gnu: Add ruby-delayed-job. |
Date: |
Tue, 28 Mar 2023 22:29:02 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 00bfae29008a0deccb4f5ce8de876dda2cbc3a25
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 8 09:28:07 2023 -0500
gnu: Add ruby-delayed-job.
* gnu/packages/ruby.scm (ruby-delayed-job): New variable.
---
gnu/packages/ruby.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index ee3e5da702..5432cf3d87 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5022,6 +5022,53 @@ URIs using the normal URI.parse method.")
you to merge elements inside a hash together recursively.")
(license license:expat)))
+(define-public ruby-delayed-job
+ (package
+ (name "ruby-delayed-job")
+ (version "4.1.11")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "delayed_job" version))
+ (sha256
+ (base32
+ "0s2xg72ljg4cwmr05zi67vcyz8zib46gvvf7rmrdhsyq387m2qcq"))))
+ (build-system ruby-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-bundler
+ (lambda _
+ (substitute* "Rakefile"
+ (("require 'bundler/setup'") "")
+ (("Bundler::GemHelper\\.install_tasks") ""))))
+ (add-after 'unpack 'disable-rubocop
+ (lambda _
+ (substitute* "Rakefile"
+ (("require 'rubocop/rake_task'") "")
+ (("RuboCop::RakeTask.new") ""))))
+ (add-after 'extract-gemspec 'remove-dependency-on-actionmailer
+ (lambda _
+ (substitute* "spec/helper.rb"
+ (("require 'action_mailer'") ""))
+ (substitute* "delayed_job.gemspec"
+ (("\"spec/performable_mailer_spec.rb\".freeze, ") ""))
+ (delete-file "spec/performable_mailer_spec.rb"))))))
+ (native-inputs
+ (list ruby-activerecord
+ ruby-rspec
+ ruby-simplecov
+ ruby-simplecov-lcov
+ ruby-zeitwerk))
+ (propagated-inputs
+ (list ruby-activesupport))
+ (synopsis "Asynchronous background tasks execution library")
+ (description "Delayed_job (or DJ) encapsulates the common pattern of
+asynchronously executing longer tasks in the background. It is a direct
+extraction from Shopify where the job table is responsible for a multitude of
+core tasks.")
+ (home-page "https://github.com/collectiveidea/delayed_job")
+ (license license:expat)))
+
(define-public ruby-git
(package
(name "ruby-git")
- 36/229: gnu: Add ruby-dalli., (continued)
- 36/229: gnu: Add ruby-dalli., guix-commits, 2023/03/28
- 43/229: gnu: ruby-cucumber-tag-expressions: Update to 5.0.1, fixing build., guix-commits, 2023/03/28
- 46/229: gnu: ruby-cucumber-html-formatter: Update to 20.2.1., guix-commits, 2023/03/28
- 51/229: gnu: ruby-gherkin: Rename to ruby-cucumber-gherkin., guix-commits, 2023/03/28
- 26/229: gnu: Add ruby-rubocop-rake., guix-commits, 2023/03/28
- 30/229: gnu: Add ruby-m., guix-commits, 2023/03/28
- 31/229: gnu: Add ruby-language-server-protocol., guix-commits, 2023/03/28
- 49/229: gnu: ruby-cucumber-expressions: Update to 16.1.2., guix-commits, 2023/03/28
- 52/229: gnu: ruby-cucumber: Update to 8.0.0., guix-commits, 2023/03/28
- 59/229: gnu: ruby-activemodel: Update to 7.0.4.3 and enable tests., guix-commits, 2023/03/28
- 63/229: gnu: Add ruby-delayed-job.,
guix-commits <=
- 53/229: gnu: Remove ruby-cucumber-create-meta., guix-commits, 2023/03/28
- 54/229: gnu: Add ruby-rake-manifest., guix-commits, 2023/03/28
- 57/229: gnu: ruby-railties: Update to 7.0.4.3., guix-commits, 2023/03/28
- 61/229: gnu: Add ruby-simplecov-lcov., guix-commits, 2023/03/28
- 68/229: gnu: Add ruby-xpath., guix-commits, 2023/03/28
- 72/229: gnu: Add ruby-selenium-webdriver., guix-commits, 2023/03/28
- 76/229: gnu: ruby-rack: Update home page URL., guix-commits, 2023/03/28
- 41/229: gnu: ruby-cucumber-messages: Update to 21.0.1., guix-commits, 2023/03/28
- 34/229: gnu: Add ruby-dotenv., guix-commits, 2023/03/28
- 47/229: gnu: ruby-cucumber-html-formatter: Honor #:tests? argument., guix-commits, 2023/03/28