adambeynon 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 http://irclog.whitequark.org/opal
<e_dub> adambeynon_, was running "rake dist" to build opal.js and opal-parser.js and it kept dying on me with "Broken pipe" but finally found it. It was dying because i didnt have uglifyjs installed. For some reason your rescue clause wasnt working and I didn't get the much more helpful error message there. It was only looking at the source that allowed me to find that and install uglify and get it building
<e_dub> just thought i would mention
fkchang has quit [Ping timeout: 252 seconds]
barry_ has quit [Remote host closed the connection]
barry_ has joined #opal
barry_ has quit [Ping timeout: 272 seconds]
Liothen has quit [Remote host closed the connection]
Liothen has joined #opal
fkchang has joined #opal
barry_ has joined #opal
barry_ has quit [Ping timeout: 260 seconds]
unbracketed has joined #opal
<meh`> fkchang, now the css block is aware of the component element class/id
<meh`> still have to do inheritance properly tho
<meh`> but it has made code a lot better already
<meh`> https://github.com/meh/gwentoo/blob/master/app/component/tab.rb buncha cleaner, if only github didn't replace tabs with 8 fucking spaces
[o__o] has joined #opal
meh` has quit [Ping timeout: 265 seconds]
[o__o] has left #opal [#opal]
[o__o] has joined #opal
<unbracketed> gh479
<[o__o]> Error parsing color gem: https://github.com/opal/opal/issues/479
<unbracketed> [o__o]: help
<[o__o]> Available plugins: logger, help, bangmotivate, github (https://botbot.me/freenode/opal/help/)
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
barry_ has joined #opal
barry_ has quit [Ping timeout: 260 seconds]
unbracketed has quit [Quit: Computer has gone to sleep.]
Liothen has quit [Quit: System of a down……]
barry_ has joined #opal
barry_ has quit [Ping timeout: 260 seconds]
ryanstout has quit [Quit: ryanstout]
e_dub has quit [Ping timeout: 240 seconds]
ryanstewart has quit [Read error: Connection reset by peer]
ryanstewart has joined #opal
e_dub has joined #opal
fkchang has quit [Ping timeout: 246 seconds]
marcandre has quit [Remote host closed the connection]
epitron has quit [Quit: WeeChat 0.4.3-dev]
barry_ has joined #opal
barry_ has quit [Ping timeout: 260 seconds]
ryanstewart has quit [Ping timeout: 240 seconds]
ryanstewart has joined #opal
dfranciosi has joined #opal
barry_ has joined #opal
wmnnd has joined #opal
barry_ has quit [Ping timeout: 265 seconds]
barry_ has joined #opal
wmnnd has quit [Quit: wmnnd]
elia has joined #opal
barry_ has quit []
kludge` has quit [Ping timeout: 272 seconds]
kludge` has joined #opal
GitHub162 has joined #opal
GitHub162 has left #opal [#opal]
<GitHub162> [opalrb.org] adambeynon pushed 1 new commit to master: http://git.io/5q2gog
<GitHub162> opalrb.org/master 893d494 Adam Beynon: Add guide to sinatra + opal apps
GitHub132 has joined #opal
GitHub132 has left #opal [#opal]
<GitHub132> opal/master 6f956f5 jibi: Use "//#" instead of "//@" deprecated syntax for sourceMappingURL
<GitHub132> [opal] adambeynon pushed 2 new commits to master: http://git.io/4iwf9g
<GitHub132> opal/master d2057ac Adam Beynon: Merge pull request #471 from jibi/source-maps-fix...
GitHub83 has joined #opal
<GitHub83> opal/master cb33850 Adam Beynon: Add sourceMappingURL syntax change to changelog
GitHub83 has left #opal [#opal]
<GitHub83> [opal] adambeynon pushed 1 new commit to master: http://git.io/0WQCgg
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1666 (master - d2057ac : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16584790
travis-ci has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16584849
<travis-ci> [travis-ci] opal/opal#1667 (master - cb33850 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
GitHub39 has joined #opal
GitHub39 has left #opal [#opal]
<GitHub39> [opal-haml] adambeynon closed pull request #1: Fix README (master...master) http://git.io/iH6Ohw
GitHub81 has joined #opal
<GitHub81> [opal-haml] adambeynon pushed 1 new commit to master: http://git.io/yrCbPQ
GitHub81 has left #opal [#opal]
<GitHub81> opal-haml/master 39632b8 Adam Beynon: Implicitly require 'opal-haml' when a haml template is required
GitHub190 has joined #opal
<GitHub190> opal-haml/master 5102fae Adam Beynon: Fix README
<GitHub190> [opal-haml] adambeynon pushed 1 new commit to master: http://git.io/IlEklg
GitHub190 has left #opal [#opal]
GitHub67 has joined #opal
GitHub67 has left #opal [#opal]
<GitHub67> opal-haml/master b36d83a Adam Beynon: Clarify some details in README
<GitHub67> [opal-haml] adambeynon pushed 1 new commit to master: http://git.io/L1lw0g
GitHub59 has joined #opal
GitHub59 has left #opal [#opal]
<GitHub59> [opal] adambeynon pushed 1 new commit to master: http://git.io/5gknSg
<GitHub59> opal/master 7765739 Adam Beynon: Implicitly require `erb` from stdlib when including erb templates
dfranciosi has quit [Remote host closed the connection]
meh` has joined #opal
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1668 (master - 7765739 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16587511
travis-ci has left #opal [#opal]
DouweM has joined #opal
dfranciosi has joined #opal
<meh`> adambeynon_, ping
e_dub has quit [Ping timeout: 246 seconds]
e_dub has joined #opal
<adambeynon_> meh`: yo yo
<meh`> adambeynon_, can opal-parser.js be included before opal.js?
<adambeynon_> meh`: nope. The parser relies on the runtime
<adambeynon_> meh`: why do you need the parser first?
<meh`> adambeynon_, I don't like having opal-parser.rb in the stdlib
<meh`> if opal-parser was requirable before opal I could do a check to define the eval and whatnot
<meh`> I'm gonna add the opal-parser stuff in the corelib, and do a check on the eval
<meh`> I'll keep it in its own file
<meh`> so you can avoid requiring it in mopal
<adambeynon_> meh`: wait, I don't follow
<elia> me neither
<meh`> adambeynon_, I want eval and various string evals to be available as soon as you add opal-parser.js
<adambeynon_> meh`: they are now
<adambeynon_> Well, eval is
<meh`> don't you need to require opal-parser from the stdlib?
<meh`> or is it included in the compilation?
<adambeynon_> Yes. If the parser isn't added then all the eval methods should just work with blocks
<adambeynon_> Then opal-parser redefines the methods with string support
<meh`> adambeynon_, that's what I mean, I want the checks to be at runtime rather than having to include it by hand
<adambeynon_> It's worth noting that the compiler doesn't currently support eval a string of code on a given object, it always evals on top level object
<adambeynon_> I.e. Instance_eval can't currently work without fixing compiler
<meh`> adambeynon_, for instance_eval
<meh`> won't a proc { #{string} } work?
<meh`> it returns the proc
<meh`> so it's doable (testing with opal -c)
<meh`> what I'm trying to convey is, I don't like core things to be separated, I'd rather have a runtime check if opal-parser has been required than having to require 'opal-parser'
<adambeynon_> I still don't follow. Either way, you still have to manually require opal-parser before you can eval code
marcandre has joined #opal
<elia> this is the only eval defined, and also the only one accepting strings
<meh`> elia, yes, that's what I want to merge in the core
<meh`> and cleanup
<meh`> mh
<meh`> wait, okay I get it now
<meh`> disregard that
wmnnd has joined #opal
Liothen has joined #opal
<elia> adambeynon_, you should update the topic for the logger, botbot is much better: https://botbot.me/freenode/opal/
<elia> :)
<elia> [o__o], help
<elia> [o__o]: help
<[o__o]> Available plugins: logger, help, bangmotivate, github (https://botbot.me/freenode/opal/help/)
<adambeynon_> elia: ahhhh. I was wondering what that thing was :)
<elia> discovered it on the #uwsgi channel :)
<elia> adambeynon_, i think it's also capable of stuff like "be back in 10min"
<elia> !m adambeynon_
<[o__o]> You're doing good work, adambeynon_!
<elia> [o__o]: help logger
<[o__o]> Logs all activity.
elia has quit [Quit: Computer has gone to sleep.]
<adambeynon_> gh123
<[o__o]> Proc expansion with &: https://github.com/opal/opal/issues/123
<adambeynon_> oo, that is nice
<meh`> adambeynon_, can I keep bikeshedding about opal-paser?
<meh`> I just find the name extremely ugly and unintuitive
<meh`> what about require 'eval'?
<adambeynon_> require 'parser' ?
<meh`> still doesn't convey what it does
<meh`> its main purpose is evalling
<meh`> and parser sounds like a way more common file in people's code
<meh`> eval not that much
<adambeynon_> meh`: how often are you actually including the compiler in your opal code?
<meh`> adambeynon_, never
<meh`> adambeynon_, this bikeshedding is part of the opal-parser cleanup
<meh`> require 'eval' is clearer in purpose
<meh`> you're including Kernel.eval and BasicObject.instance_eval with a string
GitHub188 has joined #opal
<GitHub188> opal-activesupport/master 1f24442 Adam Beynon: Make dependencies more liberal for opal
<GitHub188> [opal-activesupport] adambeynon pushed 1 new commit to master: http://git.io/8FKD7A
GitHub188 has left #opal [#opal]
<adambeynon_> I don't like "eval"
<adambeynon_> as its rare enough, isnt opal-parser fine?
<adambeynon_> it would only introduce annoyance in fixing opal-node, the spec runners and other bits n bobs
<meh`> adambeynon_, I don't think rarity is a good argument, opal-parser doesn't convey anything
<meh`> adambeynon_, yeah but this is the time for this kind of breaking change
<meh`> if your problem is having to change that code, I can do those changes
<adambeynon_> my issue with it, is that any "nicer" name would be a single word, like "eval", "compile" or "parser"
<adambeynon_> and those could clash with user dev files
<adambeynon_> maybe not eval as much
<adambeynon_> but its possible
<meh`> eval sounds very unlikely to me, what would it be for?
GitHub110 has joined #opal
<GitHub110> opal/master 7451fb5 Adam Beynon: Regexp.escape should also escape '(' character
GitHub110 has left #opal [#opal]
<GitHub110> [opal] adambeynon pushed 1 new commit to master: http://git.io/JRs_zg
GitHub128 has joined #opal
<GitHub128> vienna/master a157318 Adam Beynon: Ensure dependencies get required
<GitHub128> [vienna] adambeynon pushed 1 new commit to master: http://git.io/Razkqg
GitHub128 has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/vienna#133 (master - a157318 : Adam Beynon): The build has errored.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/vienna/builds/16606084
travis-ci has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16605641
<travis-ci> [travis-ci] opal/opal#1669 (master - 7451fb5 : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
dfranciosi has quit [Remote host closed the connection]
<meh`> adambeynon_, ping
<adambeynon_> meh`: hi
<meh`> adambeynon_, I'm getting an error requiring opal-parser
<meh`> Could not find asset: racc/parser.rb
<adambeynon_> meh`: what's your setup? Sprockets?
<meh`> adambeynon_, opal -e or opal-repl
<adambeynon_> meh`: ah. They still use Builder, which is going to be removed very soon. I think it struggles because the parser requires racc with an extension
<meh`> anything I can do?
e_dub has quit [Ping timeout: 245 seconds]
<adambeynon_> meh`: well, Builder is going to go. I keep meaning to rewrite the repl using sprockets
<adambeynon_> or just delegate it to opal-node
<meh`> any other way I can test my changes?
e_dub has joined #opal
<adambeynon_> well, the specs go through sprockets, so if there are testable changes, you could add specs for them
<adambeynon_> meh`: what have you changed?
<adambeynon_> instance_eval ?
<meh`> yes
<meh`> and module_eval
<adambeynon_> some specs should do the trick
<adambeynon_> the specs already use opal-parser
<adambeynon_> so if they all pass then its safe to assume the parser still works
ryanstout has joined #opal
<meh`> I still feel like eval is a better name
<meh`> it's all *eval
<meh`> I'll open a discussion pull reuqest
<meh`> or opal/eval even
<meh`> adambeynon_, anything against opal/eval.rb?
<adambeynon_> meh`: I prefer just keeping it as opal-parser
<meh`> adambeynon_, but -parser means absolutely nothing
<meh`> what have Kernel#eval, Module#module_eval and BasicObject#instance_eval to do with a parser?
<adambeynon_> it does match the resulting filename better: opal-parser.js
<meh`> the resulting file name is going to change with it
<meh`> adambeynon_, seriously, if you didn't know what opal-parser were, would you understand what it's for?
<meh`> and even in the bundler world a-b means a/b
GitHub2 has joined #opal
<GitHub2> opal/master 2e2aa1e meh: Cleanup BasicObject#instance_eval
<GitHub2> [opal] meh pushed 2 new commits to master: http://git.io/XzVY8Q
GitHub2 has left #opal [#opal]
<GitHub2> opal/master a67018a meh: Cleanup Module#module_eval
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1670 (master - a67018a : meh): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16611944
GitHub187 has joined #opal
GitHub187 has left #opal [#opal]
<GitHub187> [opal] adambeynon pushed 1 new commit to master: http://git.io/6L_A5g
<GitHub187> opal/master a287de3 Adam Beynon: Docs are now on website
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1671 (master - a287de3 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16613590
travis-ci has left #opal [#opal]
fkchang has joined #opal
<meh`> fkchang, CSS inheritance is done :D
DrShoggoth has joined #opal
elia has joined #opal
<fkchang> meh`: nice
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
<elia> vienna no more: https://github.com/opal/vienna
<elia> adambeynon_, ^^^
<adambeynon_> "There's a single fileserver offline that we're working to restore access to. "
<adambeynon_> Let's hope that's where Vienna is stored then :p
<elia> let's hope they restore it
<elia> adambeynon_, it's back :)
<elia> btw I found it because heroku failed during a deploy
wmnnd has quit [Quit: wmnnd]
DrShoggoth has quit [Quit: Leaving]