diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-02-16 01:34:33 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-06-20 20:40:01 +0200 |
| commit | 6b0d5f8c582d8a9ed62c4e048d1cceb684b799dc (patch) | |
| tree | cbd04ee466e2fe8c174c8593f273a847fa0626fc /gnu/packages | |
| parent | 6dda9f8ff66b0d3481c711819f15842af0c4d907 (diff) | |
gnu: Remove ruby-gimme.
* gnu/packages/ruby.scm (ruby-gimme): Delete variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/ruby.scm | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 28f51d29cef..85124c25b18 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -2254,65 +2254,6 @@ for performance optimizations in Ruby code.") | |||
| 2254 | (propagated-inputs '()) | 2254 | (propagated-inputs '()) |
| 2255 | (native-inputs '())))) | 2255 | (native-inputs '())))) |
| 2256 | 2256 | ||
| 2257 | (define-public ruby-gimme | ||
| 2258 | (let ((revision "1") | ||
| 2259 | (commit "4e71f0236f1271871916dd403261d26533db34c0")) | ||
| 2260 | (package | ||
| 2261 | (name "ruby-gimme") | ||
| 2262 | (version (git-version "0.5.0" revision commit)) | ||
| 2263 | (source | ||
| 2264 | (origin | ||
| 2265 | (method git-fetch) | ||
| 2266 | (uri (git-reference | ||
| 2267 | (url "https://github.com/searls/gimme") | ||
| 2268 | (commit commit))) | ||
| 2269 | (file-name (git-file-name name version)) | ||
| 2270 | (sha256 | ||
| 2271 | (base32 | ||
| 2272 | "0hrd32ygvf3i7h47ak8f623cz8ns9q7g60nnnvvlnywbggjaz3h6")))) | ||
| 2273 | (build-system ruby-build-system) | ||
| 2274 | (native-inputs | ||
| 2275 | (list ruby-coveralls ruby-cucumber ruby-pry ruby-simplecov | ||
| 2276 | ruby-rspec-given)) | ||
| 2277 | (arguments | ||
| 2278 | `(;; The cucumber task fails with error: "index 3 out of matches | ||
| 2279 | ;; (IndexError)", apparently due to our newer Cucumber version. | ||
| 2280 | ;; TODO: Try the "default" task with a future release. | ||
| 2281 | #:test-target "spec" | ||
| 2282 | #:phases | ||
| 2283 | (modify-phases %standard-phases | ||
| 2284 | (add-after 'extract-gemspec 'prepare-for-tests | ||
| 2285 | (lambda _ | ||
| 2286 | ;; Delete failing tests (possibly due to our newer rspec | ||
| 2287 | ;; version). | ||
| 2288 | (delete-file "spec/gimme/gives_class_methods_spec.rb") | ||
| 2289 | (delete-file "spec/gimme/rspec_adapter_spec.rb") | ||
| 2290 | (delete-file "spec/gimme/verifies_class_methods_spec.rb") | ||
| 2291 | ;; Fix duplicate version requirements and de-register files. | ||
| 2292 | (delete-file "Gemfile") | ||
| 2293 | (delete-file "Gemfile.lock") | ||
| 2294 | (substitute* "gimme.gemspec" | ||
| 2295 | ((".*\"Gemfile\".*") "") | ||
| 2296 | ((".*\"Gemfile\\.lock\",.*") "") | ||
| 2297 | ((".*(rspec|cucumber).*\">= 0\".*") "") | ||
| 2298 | (("\"spec/gimme/gives_class_methods_spec.rb\",") "") | ||
| 2299 | (("\"spec/gimme/rspec_adapter_spec.rb\",") "") | ||
| 2300 | (("\"spec/gimme/verifies_class_methods_spec.rb\",") "") | ||
| 2301 | ;; All of these gems relate to development, and are | ||
| 2302 | ;; unnecessary when running the tests. | ||
| 2303 | ((".*(add|gem).*guard-.*") "") | ||
| 2304 | ((".*(add|gem).*jeweler.*") "") | ||
| 2305 | ((".*(add|gem).*pry.*") "") | ||
| 2306 | ((".*(add|gem).*growl.*") "") | ||
| 2307 | ((".*(add|gem).*rb-fsevent.*") ""))))))) | ||
| 2308 | (synopsis "Lightweight test double library for Ruby") | ||
| 2309 | (description "Gimme is a very lightweight test double library for Ruby, | ||
| 2310 | based on Mockito (a mocking framework for Java). It is an opinionated (but | ||
| 2311 | not noisy) means to facilitate test-driving by enabling the authors to specify | ||
| 2312 | only what they care about.") | ||
| 2313 | (home-page "https://github.com/searls/gimme") | ||
| 2314 | (license license:expat)))) | ||
| 2315 | |||
| 2316 | (define-public ruby-stud | 2257 | (define-public ruby-stud |
| 2317 | (package | 2258 | (package |
| 2318 | (name "ruby-stud") | 2259 | (name "ruby-stud") |
