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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc7de882269bbcd967d39dc228c8598c19ad33e7
4
- data.tar.gz: 8782cd300dc40f2529a399fd3b51d09c8779d176
3
+ metadata.gz: 12f3d33f38d3feb903b7ba41c81bca5206c28b51
4
+ data.tar.gz: 797c0beaa295e6fcc3fbd05b1eb21332157565fe
5
5
  SHA512:
6
- metadata.gz: cd17d5428a0af91e36072e0fea231313aaf47623c70f1b1c90dfeade207b431b168177f69c3e5b5cb715b9a356f5b8ef4fd59a411f971ea486beb3cf1fe033ec
7
- data.tar.gz: eec65b716e9363b7518c5902880d18a3eab00b290aff1e20fddc66d4b1062f7451b03976ca301f9f7d8e864ec251c099481ebd237f05951714861478b1c28354
6
+ metadata.gz: f83d35b525f5bf4c3c1d7095573754f1d1eddf8337e9cdf9b54a9b75990c70f8dab21816203e7c859aa3de9bd42cc49092312d86b0fc325870a7458171ff647a
7
+ data.tar.gz: d31f68541bae368769b34397a4029469acbd190cb4456bff956acc012400f9cb6b6a109bafc7a7b3fdac4a6cd1411dec55d7b539397da2cb643f47057b7bf610
@@ -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
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: x86-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.
@@ -73,9 +73,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
73
  version: 1.9.3
74
74
  required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - ">="
76
+ - - ">"
77
77
  - !ruby/object:Gem::Version
78
- version: '0'
78
+ version: 1.3.1
79
79
  requirements: []
80
80
  rubyforge_project:
81
81
  rubygems_version: 2.4.8