From: "Thompson, David" <dthompson2@worcester.edu>
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH 1/2] gnu: Add ruby-docile.
Date: Sat, 19 Sep 2015 08:37:56 -0400 [thread overview]
Message-ID: <CAJ=RwfZTdTMc0QY2as13jX6hoD7ZYi3DQiKZ6ESXroHyKp1jFg@mail.gmail.com> (raw)
In-Reply-To: <55f8ead0.Z1d0B3i+1iokByoa%pjotr.public12@thebird.nl>
On Wed, Sep 16, 2015 at 12:06 AM, Pjotr Prins <pjotr.public12@thebird.nl> wrote:
> * gnu/packages/ruby.scm (ruby-docile): New variable.
> ---
> gnu/packages/ruby.scm | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 7dc46b6..539b00b 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -1125,6 +1125,28 @@ into a single method call.")
> (home-page "http://rack.github.io/")
> (license license:expat)))
>
> +(define-public ruby-docile
> + (package
> + (name "ruby-docile")
> + (version "1.1.5")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (rubygems-uri "docile" version))
> + (sha256
> + (base32
> + "0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx"))))
> + (build-system ruby-build-system)
> + (arguments
> + '(#:tests? #f)) ; needs github-markup, among others
> + (synopsis "Docile turns any Ruby object into a DSL")
> + (description "Turn any Ruby object into a DSL. Especially useful
> +with the Builder pattern. Docile is a small, self-contained Ruby
> +library, that let's you map a DSL (domain specific language) to your
> +Ruby objects in a snap.")
A lot of times, the upstream description of software reads like an
advertisement or doesn't well define their terms, so we need to come
up with an appropriate description ourselves. I changed the synopsis
and description as follows:
(synopsis "Ruby EDSL helper library")
(description "Docile is a Ruby library that provides an interface for
creating embedded domain specific languages (EDSLs) that manipulate existing
Ruby classes.")
> + (home-page "https://ms-ati.github.io/docile/")
> + (license license:expat)))
> +
> (define-public ruby-gherkin3
> (package
> (name "ruby-gherkin3")
> @@ -1147,3 +1169,4 @@ It is intended to replace Gherkin 2 and be used by all Cucumber
> implementations to parse '.feature' files.")
> (home-page "https://github.com/cucumber/gherkin3")
> (license license:expat)))
> +
I removed this extraneous whitespace change.
> --
> 2.4.3
>
>
Pushed. Thanks.
- Dave
prev parent reply other threads:[~2015-09-19 12:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-16 4:06 [PATCH 1/2] gnu: Add ruby-docile Pjotr Prins
2015-09-16 9:39 ` Ricardo Wurmus
2015-09-17 5:19 ` Pjotr Prins
2015-09-19 12:37 ` Thompson, David [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ=RwfZTdTMc0QY2as13jX6hoD7ZYi3DQiKZ6ESXroHyKp1jFg@mail.gmail.com' \
--to=dthompson2@worcester.edu \
--cc=guix-devel@gnu.org \
--cc=pjotr.public12@thebird.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.