[DRE-commits] [ruby-rails-assets-diaspora-jsxc] 01/01: use assets:precompile and rails

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Sep 6 17:39:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-rails-assets-diaspora-jsxc.

commit 28f7f5762d3292a7ffeb63b70754330b00700cb3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sun Sep 6 23:09:16 2015 +0530

    use assets:precompile and rails
---
 debian/changelog        |  1 +
 debian/tests/smoke-test | 14 ++++++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5136da4..533e259 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-rails-assets-diaspora-jsxc (0.1.4~alpha.1-1) UNRELEASED; urgency=medium
   * New upstream alpha release
   * Change dependency (ruby-rails-assets-jquery-colorbox -> 
     ruby-rails-assets-colorbox)
+  * Add a smoke test (test if sprockets can find the assets)
 
  -- Pirate Praveen <praveen at debian.org>  Fri, 04 Sep 2015 13:40:32 +0530
 
diff --git a/debian/tests/smoke-test b/debian/tests/smoke-test
index 97c62bd..7d8f812 100755
--- a/debian/tests/smoke-test
+++ b/debian/tests/smoke-test
@@ -5,10 +5,16 @@ set -ex
 
 cd $ADTTMP
 
-cat > foo.coffee <<EOF
- at import diaspora_jsxc
-#= require diaspora_jsxc
+rails new foo
+cd foo
+
+cat >> app/assets/javascripts/application.js <<EOF
+# =require diaspora_jsxc
 EOF
 
-sprockets -rrails -rrails-assets-diaspora_jsxc -I. foo.coffee
+cat >> Gemfile <<EOF
+gem 'rails-assets-diaspora_jsxc'
+EOF
 
+bundle install --local
+bundle exec rake assets:precompile

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-diaspora-jsxc.git



More information about the Pkg-ruby-extras-commits mailing list