[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] ruby-spring
From: |
Ben Woodcroft |
Subject: |
Re: [Patch] ruby-spring |
Date: |
Wed, 1 Jun 2016 22:49:36 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
On 01/06/16 01:36, Matthew Jordan wrote:
This is dependent on ruby-debug-inspector patch.
I'm more supportive of this being in a new rails.scm file than
ruby-debug-inspector. I made some changes to your patch. Here's the
diff, WDYT?
I think it could still do with an improved synopsis and description at
least. Would you like to do this and submit a properly formatted patch
please?
Thanks.
+
+(define-public ruby-spring
+ (package
+ (name "ruby-spring")
+ (version "1.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ ;; Fetch from github as the gem does not contain testing code.
+ (uri (string-append
+ "https://github.com/rails/spring/archive/v"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0czc4mkwfngcqmna49a0l98f6wlhdq2i8gwr63lrmk90d9k25x1n"))))
+ (build-system ruby-build-system)
+ (arguments
+ `(#:test-target "test:unit"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'remove-bump
+ (lambda _
+ (substitute* "spring.gemspec"
+ (("gem.add_development_dependency 'bump'") ""))
+ (substitute* "Rakefile"
+ (("require \\\"bump/tasks\\\"") ""))
+ #t)))))
+ (native-inputs
+ `(("bundler" ,bundler)
+ ("ruby-activesupport" ,ruby-activesupport)))
+ (synopsis
+ "Preloads your application so things like console, rake and tests
run faster")
+ (description
+ "Preloads your application so things like console, rake and tests
run faster")
+ (home-page "https://github.com/rails/spring")
+ (license license:expat)))
- Re: [Patch] ruby-spring,
Ben Woodcroft <=