concurrent-ruby-ext 1.0.2-x64-mingw32 → 1.0.3.pre3-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87df07a3928e7d456d92c1eb92ddef40f62ba535
4
- data.tar.gz: 16c3bac1bdec53f3b8e096cb1f8d4e1400e09c0a
3
+ metadata.gz: 32b57c58a307c3ac9888c1ae7b093b0a8bfe3f78
4
+ data.tar.gz: 85e89827846957fed7d0e069c06718a0ee39f34b
5
5
  SHA512:
6
- metadata.gz: 9b1172e8b7a902bc31fc3695a85069dd1bf8b628a03bcc58a9628f1703ecf61b654237afc39a28c3ea4a9018745b2c81534c7f366a7748eda68cb84aba1abff8
7
- data.tar.gz: bda22fabcb0add3a7ff742f5d0c8ce3a32ce10a901d22083fdfc5e3f96141e4f47ee7761dca8348029019e48a689b28d24b2e59e6c7237d98713013b06d3f3ad
6
+ metadata.gz: a32ed7751e554108966c74ca3d41a93a6bca05273a70f9992a5f1c07964e98a8776f13a86c2866b0a090d8a3ec91ba9b18c93b7a42e6d97c267857d74e3cbcb7
7
+ data.tar.gz: 8f9594b8a8215d574b3027e1abfadb4bd5b81d5755ec0306d1acf09e8b1636edfeebbb3c9e60a5eeac592e777c008147a2975eb2b32717846fbbf969e5d7da4c
@@ -5,7 +5,7 @@
5
5
 
6
6
  #define UNLIMITED_ARGUMENTS (-1)
7
7
 
8
- static inline void rb_error_arity(int argc, int min, int max)
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
- rb_raise(rb_eTypeError, err_mess);
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
Binary file
Binary file
Binary file
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.2
4
+ version: 1.0.3.pre3
5
5
  platform: x64-mingw32
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-05-02 00:00:00.000000000 Z
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.2
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.2
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.
@@ -72,9 +72,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
72
  version: 1.9.3
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ">="
75
+ - - ">"
76
76
  - !ruby/object:Gem::Version
77
- version: '0'
77
+ version: 1.3.1
78
78
  requirements: []
79
79
  rubyforge_project:
80
80
  rubygems_version: 2.4.8