[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
217/229: gnu: Add ruby-truthy.
From: |
guix-commits |
Subject: |
217/229: gnu: Add ruby-truthy. |
Date: |
Tue, 28 Mar 2023 22:29:26 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit a911dbbdc7896153fc87093465690e54011d78c1
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 17 23:34:18 2023 -0400
gnu: Add ruby-truthy.
* gnu/packages/ruby.scm (ruby-truthy): New variable.
---
gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e6d1ca4490..60be5c4932 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -14219,6 +14219,32 @@ and stability,
(home-page "https://github.com/macournoyer/thin")
(license license:ruby)))
+(define-public ruby-truthy
+ (package
+ (name "ruby-truthy")
+ (version "1.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "truthy" version))
+ (sha256
+ (base32
+ "19silgd65j3qwfk5w891p9wcmzdmi9ddm2kg5zbvvqn2h9lkfzmd"))))
+ (build-system ruby-build-system)
+ (arguments (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (substitute* "spec/spec_helper.rb"
+ (("require 'spec'")
+ "require 'rspec'"))
+ (invoke "rspec")))))))
+ (native-inputs (list ruby-rspec))
+ (synopsis "Object truthiness-related Ruby library")
+ (description "This library makes it easier to discover the truth values of
+various Ruby objects.")
+ (home-page "https://github.com/ymendel/truthy")
+ (license license:expat)))
+
(define-public ruby-skinny
(package
(name "ruby-skinny")
- 134/229: gnu: Add ruby-capybara., (continued)
- 134/229: gnu: Add ruby-capybara., guix-commits, 2023/03/28
- 160/229: gnu: ruby-sprockets-rails: Update to 3.4.2., guix-commits, 2023/03/28
- 171/229: gnu: Add ruby-dotenv-rails., guix-commits, 2023/03/28
- 173/229: gnu: Add ruby-pleaserun., guix-commits, 2023/03/28
- 177/229: gnu: ruby-minitest: Update to 5.18.0., guix-commits, 2023/03/28
- 183/229: gnu: ruby-slim: Update to 5.1.0., guix-commits, 2023/03/28
- 192/229: gnu: ruby-shoulda-matchers: Honor #:tests?., guix-commits, 2023/03/28
- 198/229: gnu: Add ruby-rspec-stubbed-env., guix-commits, 2023/03/28
- 204/229: gnu: ruby-hashie: Update to 5.0.0 and enable tests., guix-commits, 2023/03/28
- 208/229: gnu: ruby-omniauth-oauth2: Update to 1.8.0., guix-commits, 2023/03/28
- 217/229: gnu: Add ruby-truthy.,
guix-commits <=
- 218/229: gnu: ruby-coveralls: Propagate ruby-simplecov and enable tests., guix-commits, 2023/03/28
- 224/229: Revert "lint: Append "/info/refs" to git-reference-url.", guix-commits, 2023/03/28
- 227/229: services: fstrim: Fix schedule ungexp., guix-commits, 2023/03/28
- 228/229: gnu: geeqie: Update to 2.0.1., guix-commits, 2023/03/28
- 210/229: gnu: ruby-single-cov: Update to 1.9.1., guix-commits, 2023/03/28
- 168/229: gnu: Add ruby-turbo-rails., guix-commits, 2023/03/28
- 181/229: gnu: ruby-protobuf: Update to 3.10.3., guix-commits, 2023/03/28
- 185/229: gnu: ruby-web-console: Update to 4.2.0., guix-commits, 2023/03/28
- 186/229: gnu: Add ruby-minitest-profile., guix-commits, 2023/03/28
- 197/229: gnu: jekyll: Update to 4.3.2 and enable tests., guix-commits, 2023/03/28