diff options
-rw-r--r-- | gnu/packages/rails.scm | 54 |
1 files changed, 51 insertions, 3 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 691a1cb8de..a0ad9f7b52 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -218,14 +218,14 @@ API.") (define-public ruby-actionview (package (name "ruby-actionview") - (version "5.0.0") + (version "5.1.4") (source (origin (method url-fetch) (uri (rubygems-uri "actionview" version)) (sha256 (base32 - "10f9d1jl945vr0l4sfr8v7rf3lkdbq33f5yvnx36aa2vskz529m1")))) + "1hhpljazbc89fpfxdz72vxgsnv236sqk8n92ykk1hy1khs53jbrh")))) (build-system ruby-build-system) (arguments `(#:tests? #f)) ; tests not included @@ -236,7 +236,8 @@ API.") ("ruby-rails-dom-testing" ,ruby-rails-dom-testing) ("ruby-rails-html-sanitizer" - ,ruby-rails-html-sanitizer))) + ,ruby-rails-html-sanitizer) + ("ruby-erubi" ,ruby-erubi))) (synopsis "Simple, battle-tested conventions and helpers for building web pages.") (description @@ -547,3 +548,50 @@ API.") (home-page "https://github.com/rails/web-console") (license license:expat))) + +(define-public ruby-rails + (package + (name "ruby-rails") + (version "5.1.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "rails" version)) + (sha256 + (base32 + "1f4qdznh7cqc4233hwg61qhpj2mwz1m4g2djwzjqk1v78lh1khjw")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; No tests included in gem. TODO: download from GitHub so + ; tests can be run. + (propagated-inputs + `(("ruby-actioncable" ,ruby-actioncable) + ("ruby-actionmailer" ,ruby-actionmailer) + ("ruby-actionpack" ,ruby-actionpack) + ("ruby-actionview" ,ruby-actionview) + ("ruby-activejob" ,ruby-activejob) + ("ruby-activemodel" ,ruby-activemodel) + ("ruby-activerecord" ,ruby-activerecord) + ("ruby-activesupport" ,ruby-activesupport) + ("bundler" ,bundler) + ("ruby-railties" ,ruby-railties) + ("ruby-sprockets-rails" ,ruby-sprockets-rails) + ("ruby-spring" ,ruby-spring) + ("ruby-sqlite3" ,ruby-sqlite3) + ("ruby-puma" ,ruby-puma) + ("ruby-sass-rails" ,ruby-sass-rails) + ("ruby-uglifier" ,ruby-uglifier) + ("ruby-coffee-rails" ,ruby-coffee-rails) + ("ruby-jquery-rails" ,ruby-jquery-rails) + ("ruby-turbolinks" ,ruby-turbolinks) + ("ruby-jbuilder" ,ruby-jbuilder) + ("ruby-byebug" ,ruby-byebug) + ("ruby-web-console" ,ruby-web-console) + ("ruby-listen" ,ruby-listen-3.0) + ("ruby-spring-watcher-listen" ,ruby-spring-watcher-listen))) + (synopsis + "Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.") + (description + "Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.") + (home-page "http://www.rubyonrails.org") + (license license:expat))) |