<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/method_source.git, branch master</title>
<subtitle>github.com: banister/method_source
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/'/>
<entry>
<title>Merge pull request #73 from yhirano55/cache_clearable</title>
<updated>2021-11-17T04:35:02+00:00</updated>
<author>
<name>John Mair</name>
<email>jrmair@gmail.com</email>
</author>
<published>2021-11-17T04:35:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=81d039c966ffd95d26e12eb2e205c0eb8377f49d'/>
<id>81d039c966ffd95d26e12eb2e205c0eb8377f49d</id>
<content type='text'>
Add MethodSource.clear_cache</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add MethodSource.clear_cache</pre>
</div>
</content>
</entry>
<entry>
<title>Add MethodSource.clear_cache</title>
<updated>2021-11-17T03:44:30+00:00</updated>
<author>
<name>Yoshiyuki Hirano</name>
<email>yhirano@me.com</email>
</author>
<published>2021-11-17T03:25:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=2d7ea4448bb2fd2b8fcfe153358a0e550e4973f0'/>
<id>2d7ea4448bb2fd2b8fcfe153358a0e550e4973f0</id>
<content type='text'>
We often need to clear cache.

For example, in web application development, when we changed source code, we would like the change applied to the app server without reboot.

In the case of a Rails application, this requires the following configuration:

```ruby
Rails.application.configure do
  config.to_prepare do
    MethodSource.instance_variable_set(:@lines_for_file, {})
  end
end
```

It seems so ugly, isn't it? So I feel we need to add `MethodSource.clear_cache` interface.

```diff
  Rails.application.configure do
    config.to_prepare do
-     MethodSource.instance_variable_set(:@lines_for_file, {})
+     MethodSource.clear_cache
    end
  end
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We often need to clear cache.

For example, in web application development, when we changed source code, we would like the change applied to the app server without reboot.

In the case of a Rails application, this requires the following configuration:

```ruby
Rails.application.configure do
  config.to_prepare do
    MethodSource.instance_variable_set(:@lines_for_file, {})
  end
end
```

It seems so ugly, isn't it? So I feel we need to add `MethodSource.clear_cache` interface.

```diff
  Rails.application.configure do
    config.to_prepare do
-     MethodSource.instance_variable_set(:@lines_for_file, {})
+     MethodSource.clear_cache
    end
  end
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #72 from stas/class_method_comment</title>
<updated>2021-11-03T03:17:29+00:00</updated>
<author>
<name>John Mair</name>
<email>jrmair@gmail.com</email>
</author>
<published>2021-11-03T03:17:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=e7ec1370b4c4283c2b6876977a0462a7634f7935'/>
<id>e7ec1370b4c4283c2b6876977a0462a7634f7935</id>
<content type='text'>
Allow fetching class/module comments</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow fetching class/module comments</pre>
</div>
</content>
</entry>
<entry>
<title>Allow fetching class/module comments.</title>
<updated>2021-11-03T00:36:59+00:00</updated>
<author>
<name>Stas SUȘCOV</name>
<email>stas@nerd.ro</email>
</author>
<published>2021-11-02T22:50:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=8e5a1520c80661c6997638b45e5050ff946d844d'/>
<id>8e5a1520c80661c6997638b45e5050ff946d844d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #66 from rafbm/patch-1</title>
<updated>2020-04-07T11:09:42+00:00</updated>
<author>
<name>Kyrylo Silin</name>
<email>silin@kyrylo.org</email>
</author>
<published>2020-04-07T11:09:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=836d7047ab5e7a1b2e7779e9a4b4fc2ba7f6cb1c'/>
<id>836d7047ab5e7a1b2e7779e9a4b4fc2ba7f6cb1c</id>
<content type='text'>
Add changelog to gemspec</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add changelog to gemspec</pre>
</div>
</content>
</entry>
<entry>
<title>Add changelog to gemspec</title>
<updated>2020-04-06T21:09:59+00:00</updated>
<author>
<name>Rafael Masson</name>
<email>rafbmasson@gmail.com</email>
</author>
<published>2020-04-06T21:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=d3807d17c7f3f517be9945c54c28e4b729ecb51b'/>
<id>d3807d17c7f3f517be9945c54c28e4b729ecb51b</id>
<content type='text'>
For a nice “Changelog” link in the https://rubygems.org/gems/method_source sidebar.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For a nice “Changelog” link in the https://rubygems.org/gems/method_source sidebar.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #64 from banister/release-1-0-0</title>
<updated>2020-03-19T13:11:01+00:00</updated>
<author>
<name>Kyrylo Silin</name>
<email>silin@kyrylo.org</email>
</author>
<published>2020-03-19T13:11:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=7fc63b84241a017992efd923d13eb2dd81e93411'/>
<id>7fc63b84241a017992efd923d13eb2dd81e93411</id>
<content type='text'>
Release v1.0.0</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Release v1.0.0</pre>
</div>
</content>
</entry>
<entry>
<title>Release v1.0.0</title>
<updated>2020-03-19T13:08:45+00:00</updated>
<author>
<name>Kyrylo Silin</name>
<email>silin@kyrylo.org</email>
</author>
<published>2020-03-19T13:08:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=b1411f8fed0c0d3225c4353c20c3d194daf00b6f'/>
<id>b1411f8fed0c0d3225c4353c20c3d194daf00b6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #63 from banister/travis-removal</title>
<updated>2020-03-18T16:17:12+00:00</updated>
<author>
<name>Kyrylo Silin</name>
<email>silin@kyrylo.org</email>
</author>
<published>2020-03-18T16:17:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=870764b408d9cb2696dfb0a757819261e0d4d729'/>
<id>870764b408d9cb2696dfb0a757819261e0d4d729</id>
<content type='text'>
Test solely on CircleCI, remove Travis</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test solely on CircleCI, remove Travis</pre>
</div>
</content>
</entry>
<entry>
<title>Test solely on CircleCI, remove Travis</title>
<updated>2020-03-18T16:15:30+00:00</updated>
<author>
<name>Kyrylo Silin</name>
<email>silin@kyrylo.org</email>
</author>
<published>2020-03-18T15:57:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/method_source.git/commit/?id=2f125b3f34f82e8e46838a12594c609bcb18be51'/>
<id>2f125b3f34f82e8e46838a12594c609bcb18be51</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
