General

Profile

v0dro (Sameer Deshmukh)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 5 8 13

Activity

09/25/2018

04:03 AM Ruby Feature #15156 (Third Party's Issue): Have a 'c_headers' specifier in Gem::Specification.
Currently if one Ruby gem depends on the C extension of another Ruby gem, the only way
find the header of that gem is to run a `Gem::Specification.find_by_name` in the extconf.rb
of the gem needing the header and then adding the folder...
v0dro (Sameer Deshmukh)

09/11/2018

11:01 PM Ruby Feature #15074: Create 'official' C API documentation on ruby-doc.org
@hsbt what do you think about writing the docs within C API files like `ruby.h`, `intern.h` and `extension.h` itself so that ruby-doc.org can run doxygen on them to generate the relevant documents? It will keep the documentation up-to-da... v0dro (Sameer Deshmukh)
12:38 AM Ruby Feature #15074: Create 'official' C API documentation on ruby-doc.org
Alright. I think its a matter of adding the extension.rdoc file to the ruby-doc.org sources and then push changes to extension.rdoc in the core ruby repo. v0dro (Sameer Deshmukh)
01:16 AM Ruby Feature #15092: Provide step count in Range constructor
OK I'm convinced this is probably a bad idea since `step` returns an `ArithmeticSequence`
and is not a property of `Range`.
Closing the issue.
v0dro (Sameer Deshmukh)

09/09/2018

03:37 AM Ruby Feature #15092: Provide step count in Range constructor
v0dro (Sameer Deshmukh) wrote:
> I would like to propose making changes to the Range constructor so that a user can specify
> ...
The array will return `[1,4,7,10]`. Sorry for previous mistake.
v0dro (Sameer Deshmukh)
03:36 AM Ruby Feature #15092: Provide step count in Range constructor
> Wouldn't the result be [1, 4, 7, 10, 13]?
Ah yes. My bad. Editing the description. Thank you.
v0dro (Sameer Deshmukh)
02:59 AM Ruby Feature #15092: Provide step count in Range constructor
Advantages of changing the constructor:
* Makes it easy to read test code for someone new to Ruby.
* Consistency in specifying step count in constructor (simple and straightforward way) and using
the shorter syntax (idiomatic Ruby way...
v0dro (Sameer Deshmukh)
02:28 AM Ruby Feature #15092 (Rejected): Provide step count in Range constructor

I would like to propose making changes to the Range constructor so that a user can specify
a `step` count along with `start` and `stop`. Since Ruby 2.6 will introduce a `step` property
in Ranges anyway I think this will be a useful a...
v0dro (Sameer Deshmukh)
03:04 AM Ruby Feature #15093 (Open): Retrive Array elements with infinite ranges specified by Float::INFINITY
Currently in Ruby head (2.6) the following gives an error:
~~~ ruby
2.6-head :001 > a = [1,2,3,4]
# => [1, 2, 3, 4]
2.6-head :002 > a[0..Float::INFINITY]
#Traceback (most recent call last):
# 2: from /home/sameer/.rvm/rubie...
v0dro (Sameer Deshmukh)
02:31 AM Ruby Feature #15074: Create 'official' C API documentation on ruby-doc.org
Alright. So as a first step can you please tell me how it would be possible to create
this page for the C API? Or maybe start with the wiki?
I can send a PR with some preliminary docs once you approve a course of action.
v0dro (Sameer Deshmukh)

Also available in: Atom