Skip to content

Commit 6b803f2

Browse files
committed
Bump version, update doc
1 parent 6fd8da7 commit 6b803f2

File tree

7 files changed

+23
-54
lines changed

7 files changed

+23
-54
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
## Current
22

3+
## Release v1.1.7 (6 August 2020)
4+
35
concurrent-ruby:
46

7+
* (#879) Consider falsy value on `Concurrent::Map#compute_if_absent` for fast non-blocking path
8+
* (#876) Reset Async queue on forking, makes Async fork-safe
9+
* (#856) Avoid running problematic code in RubyThreadLocalVar on MRI that occasionally results in segfault
510
* (#853) Introduce ThreadPoolExecutor without a Queue
611

712
## Release v1.1.6, edge v0.6.0 (10 Feb 2020)

docs/master/Concurrent.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ <h2>
301301
<dt id="VERSION-constant" class="">VERSION =
302302

303303
</dt>
304-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.1.6</span><span class='tstring_end'>&#39;</span></span></pre></dd>
304+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>1.1.7</span><span class='tstring_end'>&#39;</span></span></pre></dd>
305305

306306
<dt id="NULL_LOGGER-constant" class="">NULL_LOGGER =
307307
<div class="docstring">

docs/master/Concurrent/Async.html

+9-28
Original file line numberDiff line numberDiff line change
@@ -137,25 +137,6 @@ <h2>Basic Usage</h2>
137137
<span class='kw'>end</span>
138138
</code></pre>
139139

140-
<p>When defining a constructor it is critical that the first line be a call to
141-
<code>super</code> with no arguments. The <code>super</code> method initializes the background
142-
thread and other asynchronous components.</p>
143-
144-
<pre class="code ruby"><code class="ruby"><span class='kw'>class</span> <span class='const'>BackgroundLogger</span>
145-
<span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="../Concurrent.html" title="Concurrent (module)">Concurrent</a></span></span><span class='op'>::</span><span class='const'>Async</span>
146-
147-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_level'>level</span><span class='rparen'>)</span>
148-
<span class='kw'>super</span><span class='lparen'>(</span><span class='rparen'>)</span>
149-
<span class='ivar'>@logger</span> <span class='op'>=</span> <span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>STDOUT</span><span class='rparen'>)</span>
150-
<span class='ivar'>@logger</span><span class='period'>.</span><span class='id identifier rubyid_level'>level</span> <span class='op'>=</span> <span class='id identifier rubyid_level'>level</span>
151-
<span class='kw'>end</span>
152-
153-
<span class='kw'>def</span> <span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span><span class='id identifier rubyid_msg'>msg</span><span class='rparen'>)</span>
154-
<span class='ivar'>@logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span><span class='lparen'>(</span><span class='id identifier rubyid_msg'>msg</span><span class='rparen'>)</span>
155-
<span class='kw'>end</span>
156-
<span class='kw'>end</span>
157-
</code></pre>
158-
159140
<p>Mixing this module into a class provides each object two proxy methods:
160141
<code>async</code> and <code>await</code>. These methods are thread safe with respect to the
161142
enclosing object. The former proxy allows methods to be called
@@ -520,7 +501,7 @@ <h3 class="signature first" id="new-class_method">
520501
</pre>
521502
</td>
522503
<td>
523-
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby/concurrent/async.rb', line 239</span>
504+
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby/concurrent/async.rb', line 219</span>
524505

525506
</pre>
526507
</td>
@@ -627,12 +608,12 @@ <h3 class="signature first" id="async-instance_method">
627608
<pre class="lines">
628609

629610

630-
431
631-
432
632-
433</pre>
611+
411
612+
412
613+
413</pre>
633614
</td>
634615
<td>
635-
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby/concurrent/async.rb', line 431</span>
616+
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby/concurrent/async.rb', line 411</span>
636617

637618
<span class='kw'>def</span> <span class='id identifier rubyid_async'>async</span>
638619
<span class='ivar'>@__async_delegator__</span>
@@ -735,12 +716,12 @@ <h3 class="signature " id="await-instance_method">
735716
<pre class="lines">
736717

737718

738-
449
739-
450
740-
451</pre>
719+
429
720+
430
721+
431</pre>
741722
</td>
742723
<td>
743-
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby/concurrent/async.rb', line 449</span>
724+
<pre class="code"><span class="info file"># File 'lib/concurrent-ruby/concurrent/async.rb', line 429</span>
744725

745726
<span class='kw'>def</span> <span class='id identifier rubyid_await'>await</span>
746727
<span class='ivar'>@__await_delegator__</span>

docs/master/Concurrent/Future.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ <h3>Examples</h3>
177177
<span class='kw'>end</span>
178178
<span class='kw'>end</span>
179179

180-
<span class='id identifier rubyid_yahoo'>yahoo</span> <span class='op'>=</span> <span class='const'>Finance</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>YAHOO</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
180+
<span class='id identifier rubyid_yahoo'>yahoo</span> <span class='op'>=</span> <span class='const'>Ticker</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>YAHOO</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
181181
<span class='id identifier rubyid_future'>future</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../Concurrent.html" title="Concurrent (module)">Concurrent</a></span></span><span class='op'>::</span><span class='const'>Future</span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="#initialize-instance_method" title="Concurrent::Future#initialize (method)">new</a></span></span> <span class='lbrace'>{</span> <span class='id identifier rubyid_yahoo'>yahoo</span><span class='period'>.</span><span class='id identifier rubyid_update'>update</span><span class='period'>.</span><span class='id identifier rubyid_suggested_symbols'>suggested_symbols</span> <span class='rbrace'>}</span>
182182
<span class='id identifier rubyid_future'>future</span><span class='period'>.</span><span class='id identifier rubyid_add_observer'>add_observer</span><span class='lparen'>(</span><span class='const'>Ticker</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='rparen'>)</span>
183183
<span class='id identifier rubyid_future'>future</span><span class='period'>.</span><span class='id identifier rubyid_execute'>execute</span>

docs/master/file.CHANGELOG.html

+5
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,14 @@
5959

6060
<div id="content"><div id='filecontents'><h2>Current</h2>
6161

62+
<h2>Release v1.1.7 (6 August 2020)</h2>
63+
6264
<p>concurrent-ruby:</p>
6365

6466
<ul>
67+
<li>(#879) Consider falsy value on <code>Concurrent::Map#compute_if_absent</code> for fast non-blocking path</li>
68+
<li>(#876) Reset Async queue on forking, makes Async fork-safe</li>
69+
<li>(#856) Avoid running problematic code in RubyThreadLocalVar on MRI that occasionally results in segfault</li>
6570
<li>(#853) Introduce ThreadPoolExecutor without a Queue</li>
6671
</ul>
6772

docs/master/file.LICENSE.html

+1-23
Original file line numberDiff line numberDiff line change
@@ -57,29 +57,7 @@
5757
<div class="clear"></div>
5858
</div>
5959

60-
<div id="content"><div id='filecontents'><pre class="code ruby"><code class="ruby">Copyright (c) Jerry D&#39;Antonio -- released under the MIT license.
61-
62-
http://www.opensource.org/licenses/mit-license.php
63-
64-
Permission is hereby granted, free of charge, to any person obtaining a copy
65-
of this software and associated documentation files (the &quot;Software&quot;), to deal
66-
in the Software without restriction, including without limitation the rights
67-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
68-
copies of the Software, and to permit persons to whom the Software is
69-
furnished to do so, subject to the following conditions:
70-
71-
The above copyright notice and this permission notice shall be included in
72-
all copies or substantial portions of the Software.
73-
74-
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
77-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
78-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
79-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
80-
THE SOFTWARE.
81-
</code></pre>
82-
</div></div>
60+
<div id="content"><div id='filecontents'>Copyright (c) Jerry D&#39;Antonio -- released under the MIT license.<br/><br/>http://www.opensource.org/licenses/mit-license.php<br/><br/>Permission is hereby granted, free of charge, to any person obtaining a copy<br/>of this software and associated documentation files (the &quot;Software&quot;), to deal<br/>in the Software without restriction, including without limitation the rights<br/>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br/>copies of the Software, and to permit persons to whom the Software is<br/>furnished to do so, subject to the following conditions:<br/><br/>The above copyright notice and this permission notice shall be included in all<br/>copies or substantial portions of the Software.<br/><br/>THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br/>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br/>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br/>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br/>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br/>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE<br/>SOFTWARE.</div></div>
8361

8462
<div id="footer">
8563
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_blank">yard</a>.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Concurrent
2-
VERSION = '1.1.6'
2+
VERSION = '1.1.7'
33
end

0 commit comments

Comments
 (0)