<adambeynon>
hi elia, in the Rakefile we have :mspec_node and :mspec tasks
<adambeynon>
is there a difference between them?
<elia>
adambeynon: sure, mspec task runs with sprockets and phantomjs
<elia>
msec_node runs on (surprise!) node via bin/opal
<elia>
ideally I’d like to make the mspec gem work as intended someday
<adambeynon>
yeah, would be nice to get that working
<elia>
adambeynon: also the mspec_node setup is much simpler, and I’d like to get rid of some of the stuff we can live without from mspec/rake_task & co
<elia>
on the other hand exercising both phantomjs (a browser) and sprockets (our most used file backend) has its value
<adambeynon>
this is true. was just curious more than anything
<adambeynon>
think it could be time for another round of beta releases
<adambeynon>
our milestone issues list is also dwindling
<elia>
:+1
<elia>
<adambeynon>
elia: oh yeah, not that I like them as such, but opal-jquery should probably have all the event shortcut methods built in as well
<adambeynon>
#submit(), #click() etc
<adambeynon>
might need wrapping, as we customize the events a bit (like #on has to)
<elia>
adambeynon: can it be done via method_missing?
f-3r has joined #opal
j_mcnally has joined #opal
<adambeynon>
elia: playing with CliRunners::Server, and it causes problems if there is html inside the javascript (e.g. html tags inside strings)
<adambeynon>
do you mind If i alter it slightly so the js can be served up as a javascript file?
<adambeynon>
then just add a script tag to the current html
<elia>
adambeynon: no kidding, you can do whatever you want!
meh` has joined #opal
<adambeynon>
elia: lol, sure. Was just making sure it wasn’t going to break anything ;)
<adambeynon>
trying to get the opal-rspec rake task working on top of the cli runners
<adambeynon>
save a bit of code duplication..
<elia>
<adambeynon>
elia: also, I think it may be a good idea to try and remove Opal::Environment
<adambeynon>
its only there to add the custom sprockets paths
<elia>
builder has injectable path_reader that relies on sprockets when used inside processor
<adambeynon>
ahhhhhh, I see
<adambeynon>
that makes sense
<adambeynon>
ohh, so the Hike based one is used otherwise?
<elia>
yes
<elia>
it’s kinda an entagled design, one day or the other I’ll try to clean it up :\
<elia>
*entangled
<adambeynon>
elia: well, it still results that Opal::Environment was only useful for building static applications, as we had to use rails’ sprocket instance and manually copy load paths anyway
<elia>
yes, agree, maybe I’ll try to add back the spec on path_reader having loaded opal.paths later
<adambeynon>
sure
<adambeynon>
Off out for some foood
<adambeynon>
I’ll have a ponder
<adambeynon>
bbl
<elia>
:)
j_mcnally has quit [Ping timeout: 255 seconds]
e_dub has joined #opal
f-3r has quit [Ping timeout: 244 seconds]
boberetezeke has joined #opal
boberetezeke has quit [Read error: Connection reset by peer]
boberetezeke1 has joined #opal
boberetezeke1 has quit [Ping timeout: 244 seconds]