stopgap_13632 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/README.md +13 -5
- data/ext/stopgap_13632/extconf.rb +1 -1
- data/stopgap_13632.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44ee9b50cd417ca7a1419e13460b1572f84b23fd
|
4
|
+
data.tar.gz: d72d9f81d079fe3e6155a44b442f9f563ce1fd0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 589c41c6eb3537d32572c98e641a3067dc2c33f2feb1632715a9cebb5c9f599e88d1dc3af946b46d5c8c1e9e0a8bee92bb437bb92287a3380a3827a43f02552c
|
7
|
+
data.tar.gz: e625402005258122929a59777fe0942af01ff8886f6c2d4344f0bd3c5a92f8d39cd2fbde9765568b5af3dde3bda59007afaae80394f9f79d492bde57b2fee9fe
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,12 +1,17 @@
|
|
1
1
|
[![Build Status](https://secure.travis-ci.org/NickolasVashchenko/stopgap_13632.svg)](http://travis-ci.org/NickolasVashchenko/stopgap_13632)
|
2
|
+
Appveyor does not support 2.4.1 anymore:
|
2
3
|
[![Build Status](https://ci.appveyor.com/api/projects/status/cqgu4tce6of44c9x?svg=true)](https://ci.appveyor.com/api/projects/status/cqgu4tce6of44c9x?svg=true)
|
3
4
|
|
5
|
+
## Disclaimer
|
6
|
+
As on 24.10.2017 this bug has been fixed in 2.3.5, 2.4.2 and 2.5.x
|
7
|
+
The best way to fix this bug is to update your interpreter.
|
8
|
+
*Also, this gem is not fit for ARM processor architecture.*
|
9
|
+
|
4
10
|
## Description
|
5
|
-
A gem with a temporary stopgap workaround for MRI Ruby
|
6
|
-
|
7
|
-
The mentioned versions are currently most recent ones.
|
11
|
+
A gem with a temporary stopgap workaround for MRI Ruby for the bug https://bugs.ruby-lang.org/issues/13632 until the proper fix gets backported.
|
12
|
+
There are 4 versions affected 2.2.7, 2.2.8, 2.2.9, 2.3.4, 2.4.1.
|
8
13
|
|
9
|
-
##
|
14
|
+
## What does this bug look like?
|
10
15
|
You're getting a similar exception erratically in a presence of many threads:
|
11
16
|
```ruby
|
12
17
|
Traceback (most recent call last):
|
@@ -17,7 +22,7 @@ test2.rb:9:in `sysopen': stream closed in another thread (IOError)
|
|
17
22
|
## Installation and usage
|
18
23
|
In Gemfile:
|
19
24
|
```ruby
|
20
|
-
if %w(2.2.7 2.2.8 2.3.4 2.4.1).include? RUBY_VERSION
|
25
|
+
if %w(2.2.7 2.2.8 2.2.9 2.3.4 2.4.1).include? RUBY_VERSION
|
21
26
|
gem "stopgap_13632", "~> 1.0", :platforms => ["mri", "mingw", "x64_mingw"]
|
22
27
|
end
|
23
28
|
|
@@ -34,6 +39,9 @@ end
|
|
34
39
|
```
|
35
40
|
It will unblock the thread and allow it to proceed.
|
36
41
|
|
42
|
+
## Change log
|
43
|
+
1.1.2: Added ruby 2.2.9 support
|
44
|
+
|
37
45
|
## Contributing
|
38
46
|
```bash
|
39
47
|
rake compile
|
@@ -4,7 +4,7 @@ extension_name = 'stopgap_13632'
|
|
4
4
|
|
5
5
|
dir_config(extension_name)
|
6
6
|
|
7
|
-
BROKEN_VERSIONS = %w(2.2.7 2.2.8 2.3.4 2.4.1)
|
7
|
+
BROKEN_VERSIONS = %w(2.2.7 2.2.8 2.2.9 2.3.4 2.4.1)
|
8
8
|
if (BROKEN_VERSIONS.include? RUBY_VERSION)
|
9
9
|
$defs << '-DBROKEN_RUBY'
|
10
10
|
$defs << "-DVERSION_#{RUBY_VERSION.gsub('.', '_')}"
|
data/stopgap_13632.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'stopgap_13632'
|
3
|
-
s.version = '1.1.
|
3
|
+
s.version = '1.1.2'
|
4
4
|
s.authors = ['Nikolay Vashchenko']
|
5
5
|
s.description = 'Temporary stopgap workaround for MRI Ruby versions 2.2.7, 2.2.8, 2.3.4, 2.4.1 for the bug https://bugs.ruby-lang.org/issues/13632 until it gets backported'
|
6
6
|
s.summary = 'Temporary solution for https://bugs.ruby-lang.org/issues/13632'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stopgap_13632
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikolay Vashchenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.6.14
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Temporary solution for https://bugs.ruby-lang.org/issues/13632
|