gnu: ruby-nokogiri-diff: Update to 0.2.0-1.a38491e4.

* gnu/packages/ruby.scm (ruby-nokogiri-diff): Update to 0.2.0-1.a38491e4.
This commit is contained in:
Ben Woodcroft 2017-08-06 16:52:40 +10:00
parent 5071f17b29
commit 5b0c223ae3
No known key found for this signature in database
GPG Key ID: 2A6AD9F4AAC20DF6
1 changed files with 27 additions and 22 deletions

View File

@ -2905,29 +2905,34 @@ tree-like structures. It is similar to Ruby's built-in @code{TSort} module.")
(license license:expat)))) (license license:expat))))
(define-public ruby-nokogiri-diff (define-public ruby-nokogiri-diff
(package ;; Use a newer than released snapshot so that rspec-2 is not required.
(name "ruby-nokogiri-diff") (let ((commit "a38491e4d8709b7406f2cae11a50226d927d06f5"))
(version "0.2.0") (package
(source (origin (name "ruby-nokogiri-diff")
(method url-fetch) (version (string-append "0.2.0-1." (string-take commit 8)))
(uri (rubygems-uri "nokogiri-diff" version)) (source (origin
(sha256 (method git-fetch)
(base32 (uri (git-reference
"0njr1s42war0bj1axb2psjvk49l74a8wzr799wckqqdcb6n51lc1")))) (url "https://github.com/postmodern/nokogiri-diff.git")
(build-system ruby-build-system) (commit commit)))
(propagated-inputs (file-name (string-append name "-" version "-checkout"))
`(("ruby-tdiff" ,ruby-tdiff) (sha256
("ruby-nokogiri" ,ruby-nokogiri))) (base32
(native-inputs "1ah2sfjh9n1p0ln2wkqzfl448ml7j4zfy6dhp1qgzq2m41php6rf"))))
`(("ruby-rspec-2" ,ruby-rspec-2) (build-system ruby-build-system)
("ruby-yard" ,ruby-yard) (propagated-inputs
("ruby-rubygems-tasks" ,ruby-rubygems-tasks))) `(("ruby-tdiff" ,ruby-tdiff)
(synopsis "Calculate the differences between two XML/HTML documents") ("ruby-nokogiri" ,ruby-nokogiri)))
(description (native-inputs
"@code{Nokogiri::Diff} adds the ability to calculate the `(("ruby-rspec" ,ruby-rspec)
("ruby-yard" ,ruby-yard)
("ruby-rubygems-tasks" ,ruby-rubygems-tasks)))
(synopsis "Calculate the differences between two XML/HTML documents")
(description
"@code{Nokogiri::Diff} adds the ability to calculate the
differences (added or removed nodes) between two XML/HTML documents.") differences (added or removed nodes) between two XML/HTML documents.")
(home-page "https://github.com/postmodern/nokogiri-diff") (home-page "https://github.com/postmodern/nokogiri-diff")
(license license:expat))) (license license:expat))))
(define-public ruby-rack (define-public ruby-rack
(package (package