[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
113/229: gnu: ruby-octokit: Enable tests.
From: |
guix-commits |
Subject: |
113/229: gnu: ruby-octokit: Enable tests. |
Date: |
Tue, 28 Mar 2023 22:29:10 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 73d8e27822b1aa70c6d6edda4d18f78866ee7fc9
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jan 9 09:44:11 2023 -0500
gnu: ruby-octokit: Enable tests.
* gnu/packages/ruby.scm (ruby-octokit) [source]: Fetch from git.
[arguments]: Delete field.
[native-inputs]: New field.
---
gnu/packages/ruby.scm | 32 ++++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 343eab221a..8230324b6c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7941,17 +7941,29 @@ top of Faraday.")
(package
(name "ruby-octokit")
(version "6.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (rubygems-uri "octokit" version))
- (sha256
- (base32
- "03i37mdhwlm5y6piqaby0izrhda9m5ggbrmm62ww3ln2l86h78l2"))))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/octokit/octokit.rb")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "01njrd17bz28mlsa8hi9gad7s6d1d0vpyn0g66p3d42zgplr9qkq"))))
(build-system ruby-build-system)
- (arguments '(#:tests? #f)) ;no test suite in the gem release
- (propagated-inputs
- (list ruby-faraday ruby-sawyer))
+ (native-inputs
+ (list ruby-faraday-multipart
+ ruby-jwt
+ ruby-mime-types
+ ruby-multi-json
+ ruby-netrc
+ ruby-pry-byebug
+ ruby-rbnacl
+ ruby-rspec
+ ruby-simplecov
+ ruby-webmock
+ ruby-vcr-expat))
+ (propagated-inputs (list ruby-faraday ruby-sawyer))
(synopsis "Ruby toolkit for the GitHub API")
(description "Octokit wraps the GitHub API in a flat API client that
follows Ruby conventions and requires little knowledge of REST.")
- 93/229: gnu: Add ruby-concurrent-ruby-edge., (continued)
- 93/229: gnu: Add ruby-concurrent-ruby-edge., guix-commits, 2023/03/28
- 96/229: gnu: Add ruby-ruby2-keywords., guix-commits, 2023/03/28
- 97/229: gnu: Add ruby-faraday-net-http., guix-commits, 2023/03/28
- 99/229: gnu: ruby-octokit: Update to 6.1.0., guix-commits, 2023/03/28
- 101/229: gnu: ruby-sawyer: Update to 0.9.2., guix-commits, 2023/03/28
- 102/229: gnu: ruby-pry-byebug: Avoid depending on ruby-chandler., guix-commits, 2023/03/28
- 107/229: gnu: Add ruby-faraday-multipart., guix-commits, 2023/03/28
- 109/229: gnu: Add ruby-fileutils., guix-commits, 2023/03/28
- 111/229: gnu: ruby-bandwidth-iris: Fix indentation., guix-commits, 2023/03/28
- 112/229: gnu: ruby-bandwidth-iris: Update to 7.0.0., guix-commits, 2023/03/28
- 113/229: gnu: ruby-octokit: Enable tests.,
guix-commits <=
- 114/229: gnu: Add ruby-mapping., guix-commits, 2023/03/28
- 115/229: gnu: Add ruby-fiber-local., guix-commits, 2023/03/28
- 116/229: gnu: Add ruby-console., guix-commits, 2023/03/28
- 117/229: gnu: Add ruby-ruby-memcheck., guix-commits, 2023/03/28
- 118/229: gnu: Add ruby-msgpack., guix-commits, 2023/03/28
- 119/229: gnu: Add ruby-covered., guix-commits, 2023/03/28
- 120/229: gnu: Add ruby-samovar., guix-commits, 2023/03/28
- 122/229: gnu: Add ruby-reline., guix-commits, 2023/03/28
- 123/229: gnu: Add ruby-irb., guix-commits, 2023/03/28
- 124/229: gnu: Add ruby-debug., guix-commits, 2023/03/28