Sam Ruby

Results 79 comments of Sam Ruby
trafficstars

Ruby2JS support reworked for Sprockets 4.0 registers both `.rb` and `.js.rb` extensions: https://github.com/ruby2js/ruby2js/blob/master/lib/ruby2js/sprockets.rb#L37

demo now supports a `ruby` search argument, for example: https://whimsy.apache.org/ruby2js/functions?ruby=a.last I'm not sure how best to integrate that into the demo with arbitrary length inputs. JSFiddle, for example, has a...

Any chance for more reproduction instructions and/or stack traceback? More background: prior to Ruby 2.7, it was possible to set $SAFE and rely on taintness checks to safely do evals....

I'm not seeing this with whimsy agenda, roster, or secretary workbench.

Found the problem with roster/committers; will follow up on dev@whimsical.

Thread: https://lists.apache.org/thread.html/r493797df4e2d734b54c226d3b0927ab19cff71be9737644916dd0063%40%3Cdev.whimsical.apache.org%3E

I'm traveling so I'm not in a position to test this in a rails context, but backtics can be used to evaluate a ruby expression and place the result in...

Any chance we can get a small-ish test case? I'm traveling at the moment, so I may not get to this until early next week...but a test case may help...

That was helpful, and I hopefully pushed a fix: https://github.com/rubys/ruby2js/commit/07ea961e459ce345dba36c0e47bb949e27ed12ce. I'm not closing this issue just yet; please verify that this addresses your problem. Note: backtick operators will insert the...

@rubydesign why '.rbs'? I would prefer '.rb' as many editors will recognize this extension and perform syntax highlighting. Any objection to my changing this?