meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
supermarin has quit [Read error: Connection reset by peer]
supermarin has joined #opal
Liothen has joined #opal
GitHub53 has joined #opal
<GitHub53> opal-rails/master 188e2a4 Elia Schito: Opal 0.6 is out!
<GitHub53> opal-rails/master aea2468 Elia Schito: Add the #opal_tag helper
<GitHub53> [opal-rails] elia pushed 2 new commits to master: http://git.io/UfKiKg
GitHub53 has left #opal [#opal]
GitHub35 has joined #opal
<GitHub35> [opal-rails] elia pushed 1 new commit to master: http://git.io/mxKHSQ
GitHub35 has left #opal [#opal]
<GitHub35> opal-rails/master 6d25fde Elia Schito: Update to latest ruby 2.1...
GitHub166 has joined #opal
<GitHub166> [opal-rails] elia pushed 1 new commit to master: http://git.io/vfTKCQ
<GitHub166> opal-rails/master 41c7d18 Elia Schito: Bump version...
GitHub166 has left #opal [#opal]
GitHub38 has joined #opal
GitHub38 has left #opal [#opal]
<GitHub38> [opal-rails] elia tagged v0.6.3 at 9e54cea: http://git.io/1ub3Cw
GitHub108 has joined #opal
<GitHub108> opal/gh-pages 30a7701 Elia Schito: v0.6.0
GitHub108 has left #opal [#opal]
<GitHub108> [opal] elia created gh-pages (+1 new commit): http://git.io/wjWhsQ
GitHub121 has joined #opal
<GitHub121> [opal] elia force-pushed gh-pages from 30a7701 to 2830ef4: http://git.io/_RvckA
<GitHub121> opal/gh-pages 2830ef4 Elia Schito: v0.6.0
GitHub121 has left #opal [#opal]
GitHub82 has joined #opal
<GitHub82> [opal] elia force-pushed gh-pages from 2830ef4 to 2d6d052: http://git.io/_RvckA
<GitHub82> opal/gh-pages 2d6d052 Elia Schito: v0.6.0
GitHub82 has left #opal [#opal]
elia has quit [Quit: Computer has gone to sleep.]
meh` has quit [Ping timeout: 244 seconds]
ryanstout has quit [Quit: ryanstout]
e_dub has joined #opal
Steve445 has joined #opal
ryanstout has joined #opal
fkchang has quit [Ping timeout: 264 seconds]
Steve445 has quit [Quit: Steve445]
Kilo`byte has quit [Ping timeout: 240 seconds]
Kilo`byte has joined #opal
lacrosse_ has quit [Ping timeout: 240 seconds]
kludge` has quit [Ping timeout: 240 seconds]
lacrosse_ has joined #opal
kludge` has joined #opal
brixen_ has joined #opal
[o__o] has quit [Ping timeout: 265 seconds]
Liothen has quit [Ping timeout: 265 seconds]
brixen has quit [Ping timeout: 265 seconds]
oldfartdeveloper has quit [Ping timeout: 265 seconds]
edub has joined #opal
e_dub has quit [*.net *.split]
lacrosse_ has quit [*.net *.split]
kludge` has quit [Ping timeout: 244 seconds]
Kilo`byte has quit [Ping timeout: 244 seconds]
supermar_ has joined #opal
supermarin has quit [Ping timeout: 244 seconds]
Kilo`byte has joined #opal
supermar_ has quit [*.net *.split]
lectrick__ has quit [*.net *.split]
adambeynon has quit [*.net *.split]
Todd has quit [*.net *.split]
ryanstout has quit [Quit: ryanstout]
ryanstout has joined #opal
<ryanstout> hello
<ryanstout> if anyone sees this, I keep running into this issue: https://github.com/opal/opal/issues/491
<ryanstout> any ideas on if this is fixable? I could take a shot, but it might take me a while to find my way around the lexer
Liothen has joined #opal
adambeynon has joined #opal
Todd has joined #opal
lacrosse_ has joined #opal
lectrick_ has joined #opal
oldfartdeveloper has joined #opal
kludge` has joined #opal
Liothen has quit [Changing host]
Liothen has joined #opal
[o__o] has joined #opal
antonishen has quit [Ping timeout: 245 seconds]
fkchang has joined #opal
antonishen has joined #opal
edub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
e_dub is now known as edub
elia has joined #opal
GitHub75 has joined #opal
GitHub75 has left #opal [#opal]
<GitHub75> opal/master 5be5dd8 Elia Schito: Merge pull request #513 from Nami-Doc/patch-1...
<GitHub75> opal/master 5f698a9 Nami-Doc: typos
<GitHub75> [opal] elia pushed 2 new commits to master: http://git.io/j-YogQ
dimon_ has joined #opal
fkchang has quit [Ping timeout: 240 seconds]
<elia> adambeynon, ping
<adambeynon> morning elia
<elia> hey :)
<elia> released opal-rails
<elia> also experimented on the gh-pages branch of opal
<elia> the idea is to export the build dir to that branch, not unlikely to what middleman's rake publish does
<elia> still I'm not sure how much stuff we can push (in terms of bytes)
<elia> (adambeynon)
<adambeynon> elia: ahhh, thats nice actually. the file sizes aren't huge
<adambeynon> also, having them staticly hosted makes it easier to use them inside the /try page
<adambeynon> (r.e. the tweet from yesterday)
<elia> right
<elia> plus bower
<elia> adambeynon, in preparation to real-requires an empty Kernel#require should be added, and calls should appear in js
<elia> I wasn't able to let the calls to require appear as regular method calls in the requires branch
<adambeynon> elia: I will have a look. the interception of require is very hacky right now. Going to try and make it feel more of a plugin
<adambeynon> as for handling the main file, or auto requiring it
<adambeynon> might get some luck looking at the requirejs plugin for sprockets
<adambeynon> or one of these newer es6 module transpilers that hook into sprockets
<adambeynon> they must be trying to do the same sort of thing for handling the main entry file
<adambeynon> as for rails, we could just recommend that application.js simply be the hook point
<elia> good call, I know almost nothing about es6 tho, my ref till now was sass
<elia> adambeynon, the current solution seems to detach a bit from sprockets and implement a custom importer/requirer plugged with sprockets paths and just telling sprockets what are the dependencies
dimon_ has quit [Ping timeout: 265 seconds]
<elia> #= depend_on foo
<elia> but having real method calls for require is powerful even without the "real requires" stuff, one could implement Kernel#require as he wishes
<elia> adambeynon, unrelated: any blockers for opalrb.org to go online now? (sill mentions opal-sprockets)
dimon_ has joined #opal
<adambeynon> elia: a few corrections and should be good to go
<elia>
<adambeynon> just playing with the "try" page to see if I can detect any stdlib requires and pull them in from those static ones you pushed to github
<adambeynon> luckily there are not any stdlib that require other stdlib dependencies, so it should be as simple as looping over any known stdlib files and adding a script tag
kludge` has quit [Ping timeout: 240 seconds]
<adambeynon> and, use a promise to keep meh happy ^_-
<adambeynon> elia: not been able to do much opal directly in last 4 weeks or so, I have been really tied down getting a new app ready. it is in opal anyway, so there are lots of fixes/improvements/additions for opal-jquery and vienna
<adambeynon> will try and merge them today, so those two can be bumped
<adambeynon> also lots of opal-activesupport additions
<elia> dhh will be happy :D
kludge` has joined #opal
meh` has joined #opal
dimon_ has quit [Ping timeout: 264 seconds]
dimaursu16 has joined #opal
dimaursu16 has quit [Ping timeout: 264 seconds]
edub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
Zackio has joined #opal
e_dub has quit [Ping timeout: 265 seconds]
e_dub has joined #opal
e_dub is now known as edub
edub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
e_dub is now known as edub
Kilo`byte has quit [Read error: Operation timed out]
Kilo`byte has joined #opal
edub has quit [Quit: It's a hard knock life]
<adambeynon> hi Zackio
<Zackio> Hey adambeynon :)
<adambeynon> I havent used the sinatra-asset-pipeline before, but im guessing it adds a middleware instance of sprockets to the sinatra stack?
<Zackio> I beleive so.
<Zackio> I understand if support of 3rd party libraries is not given. :P
kludge` has quit [Disconnected by services]
kludge` has joined #opal
<adambeynon> in the config.ru file (in the linked repo), you are starting a custom Opal::Server instance
<adambeynon> I dont think you need to do that
<adambeynon> we should be able to hook into the sprockets instance provided by sinatra-asset-pipeline
<Zackio> Okay, removed.
<adambeynon> Zackio: what we do with rails is use the one provided by the rails stack
<adambeynon> and we just add all the custom opal load paths into that instance
<adambeynon> that is how we do it in rails
<Zackio> Hmm.
<Zackio> ReferenceError: Opal is not defined
<adambeynon> that sinatra asset gem must expose its Sprockets instance somewhere
<Zackio> Yeah.
<adambeynon> ohh, we are getting closer ;)
<Zackio> Indeed. :)
<adambeynon> I assume that is a javasript error?
<Zackio> Yep
<adambeynon> ok, so all you are missing is a call to include the runtime
<adambeynon> in your app.js file, add a "require 'opal'" to the file
<adambeynon> in opal apps using sprockets, even the opal runtime must be explicitly required
<Zackio> ``Sprockets::FileNotFound''
<Zackio> Hmm.
<Zackio> (Where I put the require statement)
<adambeynon> so, we still need to add the opal load paths to the sprockets instance
<adambeynon> is the sprockets instance accessible?
<Zackio> Aww
<adambeynon> (I dont use sinatra much...)
<Zackio> In asset-pipeline?
<Zackio> One sec.
<adambeynon> looks like its available through `app.sprockets`
<Zackio> :D
<adambeynon> so, somewhere in an initializer/setup place, you need to add: `Opal.paths.each { |path| app.sprockets.append_path path }`
<adambeynon> Zackio: and if that works, I might add it as a tutorial on the website, as asset pipeline with sinatra seems a useful starting point
<Zackio> adambeynon: It works! :D
<Zackio> Thank you very much. :)
<Zackio> One problem, however, uglifier doesn't seem to work.
<Zackio> No biggy though. :P
fkchang has joined #opal
<Zackio> adambeynon: Hmm, actually, is there a way to uglify it? :P
e_dub has joined #opal
elia has quit [Ping timeout: 240 seconds]
DrShoggoth has joined #opal
dimaursu16 has joined #opal
supermarin has joined #opal
GitHub12 has joined #opal
<GitHub12> [opal] adambeynon pushed 1 new commit to master: http://git.io/P8cdWg
GitHub12 has left #opal [#opal]
<GitHub12> opal/master 8b5a84f Adam Beynon: Fix parsing of hash-arrows in hashes with symbol keys and no whitespace
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/20301973
<travis-ci> [travis-ci] opal/opal#1753 (master - 8b5a84f : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1753 (master - 8b5a84f : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/20301973
travis-ci has left #opal [#opal]
<fkchang> meh`: adambeynon checkout the visual debugger for webmachine-ruby, I definitely should do something like that https://github.com/seancribbs/webmachine-ruby#visual-debugger
<meh`> I'm not sure what's going on in that picture
GitHub6 has joined #opal
<GitHub6> opalrb.org/gh-pages 17cf128 Adam Beynon: Site updated to 547b23f
<GitHub6> [opalrb.org] adambeynon pushed 1 new commit to gh-pages: http://git.io/OOo0jw
GitHub6 has left #opal [#opal]
<adambeynon> meh`: ^^^ docs updated for 0.6.0
<adambeynon> going to add the link for browserstack
<meh`> awesome
<adambeynon> do they have a badge? or just a link?
<meh`> I have no clue :D
<adambeynon> lol, I'll look round a bit
<adambeynon> meh`: also, I have added a new page for templates
<adambeynon> erb/haml
<adambeynon> if you want a section on paggio, I can add it
<adambeynon> alternative/dsl html templates
<meh`> I'll think about it
<adambeynon> a lot of the sections, like rspec, need to be split into writing tests for apps vs. writing tests for libs
<meh`> yeah
chieft has joined #opal
elia has joined #opal
supermarin has quit [Remote host closed the connection]
supermarin has joined #opal
supermarin has quit [Remote host closed the connection]
supermarin has joined #opal
supermarin has quit [Read error: Connection reset by peer]
supermar_ has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
supermar_ has quit [Remote host closed the connection]
supermarin has joined #opal
supermarin has quit [Ping timeout: 240 seconds]
elia has joined #opal
DouweM has joined #opal
chieft has quit [Ping timeout: 264 seconds]
elia has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Quit: It's a hard knock life]
elia has joined #opal
DrShoggoth has quit [Quit: Leaving]
brixen_ is now known as brixen
DrShoggoth has joined #opal
DrShoggoth has quit [Quit: Leaving]
siruf has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
DouweM has quit [Ping timeout: 264 seconds]
elia has joined #opal