curb 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of curb might be problematic. Click here for more details.

Files changed (3) hide show
  1. data/ext/curb.h +3 -3
  2. data/ext/curb_easy.c +1 -1
  3. metadata +44 -22
data/ext/curb.h CHANGED
@@ -20,11 +20,11 @@
20
20
  #include "curb_macros.h"
21
21
 
22
22
  // These should be managed from the Rake 'release' task.
23
- #define CURB_VERSION "0.7.4"
24
- #define CURB_VER_NUM 704
23
+ #define CURB_VERSION "0.7.5"
24
+ #define CURB_VER_NUM 705
25
25
  #define CURB_VER_MAJ 0
26
26
  #define CURB_VER_MIN 7
27
- #define CURB_VER_MIC 4
27
+ #define CURB_VER_MIC 5
28
28
  #define CURB_VER_PATCH 0
29
29
 
30
30
 
@@ -2317,7 +2317,7 @@ static VALUE ruby_curl_easy_set_nosignal(VALUE self, VALUE onoff) {
2317
2317
 
2318
2318
  Data_Get_Struct(self, ruby_curl_easy, rbce);
2319
2319
 
2320
- curl_easy_setopt(rbce->curl, CURLOPT_NOSIGNAL, FIX2INT(onoff));
2320
+ curl_easy_setopt(rbce->curl, CURLOPT_NOSIGNAL, (Qtrue == onoff) ? 1 : 0);
2321
2321
 
2322
2322
  return onoff;
2323
2323
  }
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: curb
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 9
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 7
8
- - 4
9
- version: 0.7.4
9
+ - 5
10
+ version: 0.7.5
10
11
  platform: ruby
11
12
  authors:
12
13
  - Ross Bamford
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-06-04 00:00:00 -04:00
19
+ date: 2010-06-06 00:00:00 -04:00
19
20
  default_executable:
20
21
  dependencies: []
21
22
 
@@ -34,21 +35,38 @@ files:
34
35
  - Rakefile
35
36
  - doc.rb
36
37
  - ext/extconf.rb
37
- - lib/curl.rb
38
38
  - lib/curb.rb
39
+ - lib/curl.rb
39
40
  - ext/curb.c
40
- - ext/curb_upload.c
41
- - ext/curb_postfield.c
42
41
  - ext/curb_easy.c
43
- - ext/curb_multi.c
44
42
  - ext/curb_errors.c
45
- - ext/curb_errors.h
46
- - ext/curb_multi.h
43
+ - ext/curb_multi.c
44
+ - ext/curb_postfield.c
45
+ - ext/curb_upload.c
47
46
  - ext/curb.h
48
47
  - ext/curb_easy.h
48
+ - ext/curb_errors.h
49
+ - ext/curb_macros.h
50
+ - ext/curb_multi.h
49
51
  - ext/curb_postfield.h
50
52
  - ext/curb_upload.h
51
- - ext/curb_macros.h
53
+ - tests/alltests.rb
54
+ - tests/bug_curb_easy_blocks_ruby_threads.rb
55
+ - tests/bug_curb_easy_post_with_string_no_content_length_header.rb
56
+ - tests/bug_instance_post_differs_from_class_post.rb
57
+ - tests/bug_multi_segfault.rb
58
+ - tests/bug_postfields_crash.rb
59
+ - tests/bug_postfields_crash2.rb
60
+ - tests/bug_require_last_or_segfault.rb
61
+ - tests/bugtests.rb
62
+ - tests/helper.rb
63
+ - tests/mem_check.rb
64
+ - tests/require_last_or_segfault_script.rb
65
+ - tests/tc_curl_download.rb
66
+ - tests/tc_curl_easy.rb
67
+ - tests/tc_curl_multi.rb
68
+ - tests/tc_curl_postfield.rb
69
+ - tests/unittests.rb
52
70
  has_rdoc: true
53
71
  homepage: http://curb.rubyforge.org/
54
72
  licenses: []
@@ -61,41 +79,45 @@ require_paths:
61
79
  - lib
62
80
  - ext
63
81
  required_ruby_version: !ruby/object:Gem::Requirement
82
+ none: false
64
83
  requirements:
65
84
  - - ">="
66
85
  - !ruby/object:Gem::Version
86
+ hash: 3
67
87
  segments:
68
88
  - 0
69
89
  version: "0"
70
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
+ none: false
71
92
  requirements:
72
93
  - - ">="
73
94
  - !ruby/object:Gem::Version
95
+ hash: 3
74
96
  segments:
75
97
  - 0
76
98
  version: "0"
77
99
  requirements: []
78
100
 
79
101
  rubyforge_project: curb
80
- rubygems_version: 1.3.6
102
+ rubygems_version: 1.3.7
81
103
  signing_key:
82
104
  specification_version: 3
83
105
  summary: Ruby libcurl bindings
84
106
  test_files:
85
- - tests/bugtests.rb
86
- - tests/mem_check.rb
87
- - tests/bug_require_last_or_segfault.rb
88
- - tests/helper.rb
89
- - tests/tc_curl_postfield.rb
107
+ - tests/alltests.rb
108
+ - tests/bug_curb_easy_blocks_ruby_threads.rb
109
+ - tests/bug_curb_easy_post_with_string_no_content_length_header.rb
90
110
  - tests/bug_instance_post_differs_from_class_post.rb
91
111
  - tests/bug_multi_segfault.rb
92
- - tests/alltests.rb
93
112
  - tests/bug_postfields_crash.rb
94
- - tests/require_last_or_segfault_script.rb
95
113
  - tests/bug_postfields_crash2.rb
96
- - tests/unittests.rb
97
- - tests/tc_curl_multi.rb
98
- - tests/bug_curb_easy_post_with_string_no_content_length_header.rb
114
+ - tests/bug_require_last_or_segfault.rb
115
+ - tests/bugtests.rb
116
+ - tests/helper.rb
117
+ - tests/mem_check.rb
118
+ - tests/require_last_or_segfault_script.rb
99
119
  - tests/tc_curl_download.rb
100
120
  - tests/tc_curl_easy.rb
101
- - tests/bug_curb_easy_blocks_ruby_threads.rb
121
+ - tests/tc_curl_multi.rb
122
+ - tests/tc_curl_postfield.rb
123
+ - tests/unittests.rb