concurrent-ruby-ext 1.0.2 → 1.0.3.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/concurrent/ruby_193_compatible.h +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f623ccba0b0a251e091cf0b32c74151607fd839
|
4
|
+
data.tar.gz: b280398a08fa594dacc2a36b73ab39f0ae56e386
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d740730c64a28c1dd5ec352306a95c136ef314aa8f072404e6b4cd4fd4025af5fa017bf5d1d17d0cce7482c5bac0a8214e94f5fe08f52db3f4e3776570467e1
|
7
|
+
data.tar.gz: 537d097eb2bfde00714575aedcde6e33d450347b990c4f235ba3ddbcd626d1d169ce162bb365a00f74ed858fd28e1d2098e2508977017845c550273bc550c9b4
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#define UNLIMITED_ARGUMENTS (-1)
|
7
7
|
|
8
|
-
static inline
|
8
|
+
static inline VALUE rb_error_arity(int argc, int min, int max)
|
9
9
|
{
|
10
10
|
VALUE err_mess = 0;
|
11
11
|
if (min == max) {
|
@@ -17,12 +17,12 @@ static inline void rb_error_arity(int argc, int min, int max)
|
|
17
17
|
else {
|
18
18
|
err_mess = rb_sprintf("wrong number of arguments (%d for %d..%d)", argc, min, max);
|
19
19
|
}
|
20
|
-
|
20
|
+
return rb_exc_new3(rb_eTypeError, err_mess);
|
21
21
|
}
|
22
22
|
|
23
23
|
#define rb_check_arity(argc, min, max) do { \
|
24
24
|
if (((argc) < (min)) || ((argc) > (max) && (max) != UNLIMITED_ARGUMENTS)) \
|
25
|
-
rb_error_arity(argc, min, max); \
|
25
|
+
rb_exc_raise(rb_error_arity(argc, min, max)); \
|
26
26
|
} while(0)
|
27
27
|
|
28
28
|
#endif
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concurrent-ruby-ext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerry D'Antonio
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: concurrent-ruby
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.0.
|
20
|
+
version: 1.0.3.pre3
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.0.
|
27
|
+
version: 1.0.3.pre3
|
28
28
|
description: |2
|
29
29
|
C extensions to optimize the concurrent-ruby gem when running under MRI.
|
30
30
|
Please see http://concurrent-ruby.com for more information.
|
@@ -70,9 +70,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: 1.9.3
|
71
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.3.1
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
78
|
rubygems_version: 2.6.4
|