Bug#797972: add sprockets tests for rails engines

2015-09-16 Thread Pirate Praveen
On Thursday 17 September 2015 02:41 AM, Pirate Praveen wrote: > On Thursday 17 September 2015 01:41 AM, Pirate Praveen wrote: >> >> I have tried to implement it in gem2deb-testrunner (smoke-test branch >> of gem2deb) updated test-assets-package branch signature.asc Description: OpenPGP digital

Bug#797972: add sprockets tests for rails engines

2015-09-16 Thread Pirate Praveen
On Thursday 17 September 2015 01:41 AM, Pirate Praveen wrote: > > I have tried to implement it in gem2deb-testrunner (smoke-test branch > of gem2deb) > > http://anonscm.debian.org/cgit/pkg-ruby-extras/gem2deb.git/commit/?h=smoke-test&id=c4ccfad2fc3962b2cecea96a51206e469d6a8853 > > Can someone re

Bug#797972: add sprockets tests for rails engines

2015-09-16 Thread Pirate Praveen
I have tried to implement it in gem2deb-testrunner (smoke-test branch of gem2deb) http://anonscm.debian.org/cgit/pkg-ruby-extras/gem2deb.git/commit/?h=smoke-test&id=c4ccfad2fc3962b2cecea96a51206e469d6a8853 Can someone review it? May be using sprockets directly is better, but I could not get that

Bug#797972: add sprockets tests for rails engines

2015-09-06 Thread Pirate Praveen
On 2015, സെപ്റ്റംബർ 6 6:25:51 PM IST, Antonio Terceiro wrote: >On Sun, Sep 06, 2015 at 03:14:42PM +0530, Pirate Praveen wrote: >> @import always succeed and =require always fails. >> >> Copying debian-ruby for ideas. > >@import is only for css/sass ... you want =require. the fact that it >alwa

Bug#797972: add sprockets tests for rails engines

2015-09-06 Thread Antonio Terceiro
On Sun, Sep 06, 2015 at 03:14:42PM +0530, Pirate Praveen wrote: > @import always succeed and =require always fails. > > Copying debian-ruby for ideas. @import is only for css/sass ... you want =require. the fact that it always fails most probably means the package broken, or it's looking for the

Bug#797972: add sprockets tests for rails engines

2015-09-06 Thread Pirate Praveen
@import always succeed and =require always fails. Copying debian-ruby for ideas. On 2015, സെപ്റ്റംബർ 5 9:24:38 PM IST, Pirate Praveen wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >On Saturday 05 September 2015 05:23 PM, Pirate Praveen wrote: >> On Saturday 05 September 2015 03:15 P

Bug#797972: add sprockets tests for rails engines

2015-09-05 Thread Pirate Praveen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Saturday 05 September 2015 05:23 PM, Pirate Praveen wrote: > On Saturday 05 September 2015 03:15 PM, Pirate Praveen wrote: >> ok. Can you pass a javascript file sprockets? > > > I figured it out > > $ cat app.coffee @import favico.js #= require

Bug#797972: add sprockets tests for rails engines

2015-09-05 Thread Pirate Praveen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Saturday 05 September 2015 03:15 PM, Pirate Praveen wrote: > ok. Can you pass a javascript file sprockets? > I figured it out $ cat app.coffee @import favico.js #= require favico.js $ sprockets -r rails-assets-favico.js -I. app.coffee -BEG

Bug#797972: add sprockets tests for rails engines

2015-09-05 Thread Pirate Praveen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Friday 04 September 2015 05:47 PM, Antonio Terceiro wrote: > On Fri, Sep 04, 2015 at 10:18:15AM +0530, Pirate Praveen wrote: >> package: gem2deb version: 0.20.2 severity: wishlist >> >> A simple test like this can test if the asset is installed >

Bug#797972: add sprockets tests for rails engines

2015-09-04 Thread Antonio Terceiro
On Fri, Sep 04, 2015 at 10:18:15AM +0530, Pirate Praveen wrote: > package: gem2deb > version: 0.20.2 > severity: wishlist > > A simple test like this can test if the asset is installed correctly > > rails new foo > cd foo > echo "//= require asset >> app/assets/javascripts/application.js > bundle

Bug#797972: add sprockets tests for rails engines

2015-09-03 Thread Pirate Praveen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 package: gem2deb version: 0.20.2 severity: wishlist A simple test like this can test if the asset is installed correctly rails new foo cd foo echo "//= require asset >> app/assets/javascripts/application.js bundle exec rake assets:precompile there