<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/sample, branch ruby_2_7</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Fixed misspellings</title>
<updated>2019-12-20T00:32:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-12-20T00:19:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=db166290088fb7d39d01f68b9860253893d4f1a7'/>
<id>db166290088fb7d39d01f68b9860253893d4f1a7</id>
<content type='text'>
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unneeded exec bits from some files</title>
<updated>2019-11-09T12:36:30+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2019-11-08T14:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f48655d04d463a89b7ac15bc3942ec6c574c6cd9'/>
<id>f48655d04d463a89b7ac15bc3942ec6c574c6cd9</id>
<content type='text'>
I noticed that some files in rubygems were executable, and I could think
of no reason why they should be.

In general, I think ruby files should never have the executable bit set
unless they include a shebang, so I run the following command over the
whole repo:

```bash
find . -name '*.rb' -type f -executable -exec bash -c 'grep -L "^#!" $1 || chmod -x $1' _ {} \;
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I noticed that some files in rubygems were executable, and I could think
of no reason why they should be.

In general, I think ruby files should never have the executable bit set
unless they include a shebang, so I run the following command over the
whole repo:

```bash
find . -name '*.rb' -type f -executable -exec bash -c 'grep -L "^#!" $1 || chmod -x $1' _ {} \;
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a typo [ci skip]</title>
<updated>2019-11-01T09:33:58+00:00</updated>
<author>
<name>Kazuhiro NISHIYAMA</name>
<email>zn@mbf.nifty.com</email>
</author>
<published>2019-09-30T09:03:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cc8116b03e89b9c5fca5ace90a8141cff58d549b'/>
<id>cc8116b03e89b9c5fca5ace90a8141cff58d549b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix sample/drb/http0serv.rb</title>
<updated>2019-08-25T17:56:47+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-08-25T17:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=71d97a5ef80a23b0bb1005570ed059580981a467'/>
<id>71d97a5ef80a23b0bb1005570ed059580981a467</id>
<content type='text'>
Previously, trying to use this would result in:

undefined method `uri' for #&lt;DRb::HTTP0::ServerSide:0x00000aec9f1637f8&gt; (NoMethodError)

Also, use a relative require to load sample/drb/http0.rb.

Fixes [Bug #13431]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, trying to use this would result in:

undefined method `uri' for #&lt;DRb::HTTP0::ServerSide:0x00000aec9f1637f8&gt; (NoMethodError)

Also, use a relative require to load sample/drb/http0.rb.

Fixes [Bug #13431]
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop duplicated sample code (#2389) [ci skip]</title>
<updated>2019-08-19T09:43:23+00:00</updated>
<author>
<name>Kenichi Kamiya</name>
<email>kachick1@gmail.com</email>
</author>
<published>2019-08-19T09:43:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8882986d9701ef8be4cdd87e64a30321f1738cee'/>
<id>8882986d9701ef8be4cdd87e64a30321f1738cee</id>
<content type='text'>
* Drop duplicated sample code

* Drop another style sample

https://github.com/ruby/ruby/pull/2389#issuecomment-522489520

* Update sample list
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Drop duplicated sample code

* Drop another style sample

https://github.com/ruby/ruby/pull/2389#issuecomment-522489520

* Update sample list
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused variable to suppress warning (#2388) [ci skip]</title>
<updated>2019-08-19T09:16:45+00:00</updated>
<author>
<name>Kenichi Kamiya</name>
<email>kachick1@gmail.com</email>
</author>
<published>2019-08-19T09:16:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9b330200f8e180ca393cac25f811f6194990aaa4'/>
<id>9b330200f8e180ca393cac25f811f6194990aaa4</id>
<content type='text'>
```
sample/observ.rb:30: warning: assigned but unused variable - clock
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
sample/observ.rb:30: warning: assigned but unused variable - clock
```</pre>
</div>
</content>
</entry>
<entry>
<title>Update a sample code (#2387)</title>
<updated>2019-08-19T09:00:29+00:00</updated>
<author>
<name>Kenichi Kamiya</name>
<email>kachick1@gmail.com</email>
</author>
<published>2019-08-19T09:00:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cda8664471b5c2adb9d1ea9563ac38378621d0fd'/>
<id>cda8664471b5c2adb9d1ea9563ac38378621d0fd</id>
<content type='text'>
Kernel#inspect does not call #to_s now

To follow https://github.com/ruby/ruby/commit/fd7dc23d281f38a71fa7f9c32812cd468c4b1788</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kernel#inspect does not call #to_s now

To follow https://github.com/ruby/ruby/commit/fd7dc23d281f38a71fa7f9c32812cd468c4b1788</pre>
</div>
</content>
</entry>
<entry>
<title>Accurate a sample to show having some ext (#2385)</title>
<updated>2019-08-19T08:30:59+00:00</updated>
<author>
<name>Kenichi Kamiya</name>
<email>kachick1@gmail.com</email>
</author>
<published>2019-08-19T08:30:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=605d2ce9b98c4306505c8be05483e3d296db5f1e'/>
<id>605d2ce9b98c4306505c8be05483e3d296db5f1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean sample code biorhythm (#2375)</title>
<updated>2019-08-17T06:03:00+00:00</updated>
<author>
<name>Kenichi Kamiya</name>
<email>kachick1@gmail.com</email>
</author>
<published>2019-08-17T06:03:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9d20d2b0f5096fab210464f9e16d876f9c5d319f'/>
<id>9d20d2b0f5096fab210464f9e16d876f9c5d319f</id>
<content type='text'>
* Standardize to load date libary code

&gt; git grep 'require .date.' | wc -l
179
&gt; git grep 'require .date\.rb' | wc -l
1

* Simplify
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Standardize to load date libary code

&gt; git grep 'require .date.' | wc -l
179
&gt; git grep 'require .date\.rb' | wc -l
1

* Simplify
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify a sample code (#2374)</title>
<updated>2019-08-17T05:56:57+00:00</updated>
<author>
<name>Kenichi Kamiya</name>
<email>kachick1@gmail.com</email>
</author>
<published>2019-08-17T05:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=72adc6cffbc41988aee728d74ab0bed2c5159948'/>
<id>72adc6cffbc41988aee728d74ab0bed2c5159948</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
