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/
_whitelogger has joined #opal
adambeynon_ has joined #opal
pmarreck has joined #opal
boberetezeke-clo has joined #opal
ceej has joined #opal
pmarreck has quit [Changing host]
boberetezeke-clo has quit [Changing host]
ceej has quit [Changing host]
adambeynon_ is now known as adambeynon
_whitelogger_ has joined #opal
pmarreck_ has joined #opal
boberetezeke-clo has joined #opal
ceej has joined #opal
davispuh has quit [Ping timeout: 240 seconds]
ryanstout has joined #opal
e_dub has joined #opal
ryanstout has left #opal [#opal]
<ceej> so I just updated to the beta 0.7 and the parser craps out on everything. Is there something else you need to do with the lastest version?
<ceej> I’m getting errors like `parse error on value "bnVsbA" (tIDENTIFIER) :(file):24`
meh` has quit [Ping timeout: 246 seconds]
elia has joined #opal
elia has quit [Client Quit]
larsam has joined #opal
elia has joined #opal
<adambeynon> ceej: have you gist of the file that isn't compiling?
GitHub6 has joined #opal
<GitHub6> [opal-rspec] adambeynon pushed 2 new commits to master: http://git.io/BqpArQ
<GitHub6> opal-rspec/master fc9c1a6 Adam Beynon: Use vendor gems
<GitHub6> opal-rspec/master c46aba1 Adam Beynon: Use rspec dependencies as git submodules
GitHub6 has left #opal [#opal]
GitHub182 has joined #opal
<GitHub182> [opal-rspec] adambeynon pushed 1 new commit to master: http://git.io/wiKysg
GitHub182 has left #opal [#opal]
<GitHub182> opal-rspec/master 95b6e0b Adam Beynon: Remove 'rake build' task
GitHub147 has joined #opal
<GitHub147> opal-rspec/master 26479a7 Adam Beynon: Add travis script
<GitHub147> [opal-rspec] adambeynon pushed 2 new commits to master: http://git.io/fIcrcQ
<GitHub147> opal-rspec/master 56614ca Adam Beynon: travis
GitHub147 has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> opal/opal-rspec#7 (master - 56614ca : Adam Beynon): The build has errored.
travis-ci has left #opal [#opal]
GitHub82 has joined #opal
<GitHub82> opal-rspec/master a253c6e Adam Beynon: 1.8.7 support in Gemfile
<GitHub82> [opal-rspec] adambeynon pushed 1 new commit to master: http://git.io/SUwEZw
GitHub82 has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> opal/opal-rspec#8 (master - a253c6e : Adam Beynon): The build failed.
travis-ci has left #opal [#opal]
GitHub19 has joined #opal
<GitHub19> opal-rspec/master c0d513e Adam Beynon: Hwyl fawr 1.8.7
GitHub19 has left #opal [#opal]
<GitHub19> [opal-rspec] adambeynon pushed 1 new commit to master: http://git.io/vZElxA
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> opal/opal-rspec#9 (master - c0d513e : Adam Beynon): The build was fixed.
<adambeynon> \o/
GitHub162 has joined #opal
<GitHub162> [opal-rspec] adambeynon pushed 1 new commit to master: http://git.io/nU3GAQ
<GitHub162> opal-rspec/master fed39a1 Adam Beynon: Built gem should include rspec dependencies
GitHub162 has left #opal [#opal]
GitHub131 has joined #opal
<GitHub131> [opal-rspec] adambeynon pushed 1 new commit to master: http://git.io/hsadzw
<GitHub131> opal-rspec/master 1603a8c Adam Beynon: Remove debug line
GitHub131 has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> opal/opal-rspec#11 (master - 1603a8c : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
GitHub150 has joined #opal
<GitHub150> [opal-rspec] adambeynon pushed 1 new commit to master: http://git.io/u0RPNg
GitHub150 has left #opal [#opal]
<GitHub150> opal-rspec/master 5b4f6cd Adam Beynon: Some cleanup
<adambeynon> elia: random thought, do you think we could do any form of caching between compiles? Im noticing that recompiling rspec everytime takes a while. We could have an [optional] directory, like sprockets/rails does, for caching files. then only recompile them if the timestamp is newer than the compiled file
<adambeynon> maybe a post 0.7 idea
travis-ci has joined #opal
<travis-ci> opal/opal-rspec#12 (master - 5b4f6cd : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
<adambeynon> but rspec is quite a monolithic beast to keep compiling
<elia> adambeynon, I thought about treating js compilation like gem extension and compile at install time
<elia> adambeynon, but the most sensible thing to do IMO is to pass a cache object to the builder
<elia> cache key needs to keep in account all compiler options
<elia> and cache compilation results
<adambeynon> ahh yes, like we did with sprockets
<elia> yep, and that, I think, goes back to reusing their new format which takes care of that
<elia> but of course in the meanwhile we can inject a cache in the current builder
<elia> and use sprockets or rails one when in that env
<adambeynon> sweet
<elia> the only method I'd require from the cache object is fetch(cache_key, &actual_computation_if_key_is_missing)
<elia> and basic impl is of course def fetch(_key) yield end
meh` has joined #opal
<adambeynon> elia: sounds good
<adambeynon> I did have another thought about letting Opal::Server take a sprockets instance as an #initialize option
<adambeynon> we could then pass the rails sprockets instance to opal-rspec for faster spec runs inside phantomjs
GitHub28 has joined #opal
GitHub28 has left #opal [#opal]
<GitHub28> [opal] adambeynon pushed 1 new commit to master: http://git.io/FKcbKQ
<GitHub28> opal/master 0b08307 Adam Beynon: Allow Server.sprockets to be set as initializer option
travis-ci has joined #opal
<travis-ci> opal/opal#2023 (master - 0b08307 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
<elia> adambeynon, that would –probably– allow for better integration with sprockets
<elia> lately I was thinking that having both Opal::Server and Opal::Environment looks a bit overkill
<elia> making opal just attach itself to sprockets sounds nice
Moon4u has joined #opal
f-3r has joined #opal
e_dub has quit [Quit: ZZZzzz…]
Moon4u has quit [Quit: Page closed]
e_dub has joined #opal
meh` has quit [Ping timeout: 240 seconds]
<adambeynon> elia: do you use the /opal_spec route from opal-rails?
<elia> sometimes
<elia> why?
<adambeynon> the way it is currently setup is that there can be duplicates of files if a foo_spec.rb requires anything.
<adambeynon> e.g. if I have foo_spec.rb and bar_spec.rb, and both require “spec_helper”, then spec_helper will be required twice
<adambeynon> until now I have been using a custom controller to fix it to suit myself, but I was wondering if you hit that problem
<adambeynon> elia: also, on a very different note, any objections to adding empty fileutils (and some other) files to opal/stdlib? rspec requires them, and having to stub them seems a bit of a pain
<adambeynon> especially now since we are no longer precompiling, we need to stub them at a global level
<elia> adambeynon, go for it, and fix the opal_spec controller
<elia> never got that problem, but also never been able to test heavily
<adambeynon> If its ok with you, I think I want to do something similar to qunit, where it still bundles all the files, but you can choose what to run via a simple select control
DavidEGrayson has joined #opal
DavidEGrayson has quit [Client Quit]
larsam has quit [Read error: Connection reset by peer]
<GitHub120> opal-jquery/master 78bf5ac Adam Beynon: Some cleanup
<GitHub120> [opal-jquery] adambeynon pushed 1 new commit to master: http://git.io/LIFZbQ
GitHub120 has left #opal [#opal]
GitHub120 has joined #opal
ryanstout has joined #opal
<ceej> adambeynon: I’ll have to spend some time looking as there’s a lot of files/code not just one file
<ryanstout> +1 for caching. Having gotten used to having it in sprockets, it will be hard to see longer load times.
elia has quit [Quit: Computer has gone to sleep.]
<ryanstout> in volt, things reload every time you save, so I end up just changing one file here and there a lot
ryanstout has quit [Quit: ryanstout]
e_dub has quit [Quit: ZZZzzz…]
_whitelogger_ has quit [Ping timeout: 260 seconds]
_whitelogger_ has joined #opal
Kilo`byte has quit [Ping timeout: 240 seconds]
Kilo`byte has joined #opal
_whitelogger_ has joined #opal
_whitelogger__ has joined #opal
e_dub has joined #opal
<ceej> would it be possible to make tilt optional and not required if you’re not using sprocket…..
meh` has joined #opal
<ceej> I’m not sure the require_relative is being use right… http://i.imgur.com/rI0swGP.png should it just be looking for the file scrivener/validations and not the full path, otherwise it won’t be able to find files in gems like https://github.com/cj/scrivener/blob/master/lib/scrivener.rb#L1
<ceej> I opened up tickets for both
<ceej> I think my other parsing issue are due to this `Remove const_missing option from compiler. All constant lookups are now strict.`
<ceej> yee, cause I’m getting errors on lines like this if ($scope.get('RUBY_ENGINE')['$==']("opal")) {};
<ceej> k, fixed it… it was a require order thing that broke due to the const_missing being removed
larsam has joined #opal
j_mcnally has joined #opal
BlazeRiv has joined #opal
BlazeRiv has left #opal [#opal]
<adambeynon> ceej: I will take a look at them in a bit
pmarreck_ is now known as pmarreck
GitHub179 has joined #opal
<GitHub179> opal-spec/master a190d22 Adam Beynon: Add simple #expect method to example groups
<GitHub179> [opal-spec] adambeynon pushed 1 new commit to master: http://git.io/7AEOeA
GitHub179 has left #opal [#opal]
ryanstout has joined #opal
<ceej> adambeynon: thank you
_whitelogger__ has quit [Ping timeout: 260 seconds]
_whitelogger__ has joined #opal
GitHub165 has joined #opal
<GitHub165> [opal-spec] adambeynon pushed 1 new commit to master: http://git.io/XQWAIg
<GitHub165> opal-spec/master 915b962 Adam Beynon: Tidy up some specs
GitHub165 has left #opal [#opal]
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
_whitelogger__ has joined #opal
GitHub51 has left #opal [#opal]
<GitHub51> [opal-jquery] cj opened pull request #56: added missing method serializeArray (master...serialize_array) http://git.io/D7Itog
GitHub51 has joined #opal
<ceej> adambeynon: also created a pull request for opal-jquery https://github.com/opal/opal-jquery/pull/56
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
_whitelogger__ has joined #opal
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
_whitelogger__ has joined #opal
_whitelogger__ has joined #opal
_whitelogger__ has joined #opal
GitHub145 has joined #opal
<GitHub145> [opal-spec] adambeynon pushed 1 new commit to master: http://git.io/sbDafg
GitHub145 has left #opal [#opal]
<GitHub145> opal-spec/master 68f749e Adam Beynon: Improve dsl
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
elia has joined #opal
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
_whitelogger__ has joined #opal
_whitelogger__ has quit [Excess Flood]
elia has quit [Quit: Computer has gone to sleep.]
_whitelogger__ has joined #opal
elia has joined #opal
_whitelogger__ has joined #opal
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
_whitelogger__ has joined #opal
ryanstout has quit [Quit: ryanstout]
e_dub has joined #opal
<e_dub> wrong window heh
e_dub has joined #opal
<e_dub> ur mom says hi
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
_whitelogger__ has quit [Excess Flood]
_whitelogger__ has joined #opal
f-3r has quit [Ping timeout: 260 seconds]
j_mcnally has quit [Ping timeout: 245 seconds]