Bradley Whited
Bradley Whited
I thought that it would be an easy fix, but actually, it will require parsing the version numbers like issue [#445](https://github.com/postmodern/chruby/issues/445). In fact, these 2 issues could be merged into...
> Note: the rubies that `chruby` see could be any valid directory name, so it might be e.g. `foo-bar`, so there isn't always a version. > I'm not sure what's...
As a current workaround, I do this: ```Ruby require 'cri' module CriColorExt @@color = true def color=(color) @@color = color end def color?(io) return @@color end end Cri::Platform.singleton_class.prepend(CriColorExt) ``` Then,...
I think just a simple `{n}` would be nice that `StringFormatter` would look for. To make it backwards compatible, just add an option in Command that is set to `false`...
I made a gem with a rake task that will gsub this text in the generated `doc/index.html` (and `doc/file.README.html`). https://github.com/esotericpig/yard_ghurt You can see how I use it in my Rakefile:...
> I found the problem here: https://github.com/ruby/rake/blob/master/lib/rake/task.rb#L338-L344 In my case, the task name has "!" like "pause!" which is a valid task name but in the description I can't use...
This works on my system. How is `Rake::TestTask` defined in your `Rakefile`? What version of `rake` and `minitest`?
As a side note, YAML also calls it `symbolize_names`, so probably YAML (Psych) would also need to be updated. ```ruby YAML.safe_load(data,symbolize_names: true) ``` So at the very least, JSON and...
Because of this, tiny-utf8 won't compile with Emscripten for Wasm. It looks like we can just change it to a normal for-loop with an index, correct? ```c++ template bool starts_with(...
It's hacky, but just as the other commenter mentioned, I do this now, and it works: ```javascript function try_unlock_orientation() { if(screen.orientation && screen.orientation.unlock) { try { screen.orientation.unlock(); } catch(e) {...