patron 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/ext/patron/session_ext.c +3 -3
- metadata +9 -4
data/VERSION.yml
CHANGED
data/ext/patron/session_ext.c
CHANGED
@@ -438,8 +438,8 @@ void Init_session_ext() {
|
|
438
438
|
rb_define_method(cSession, "handle_request", session_handle_request, 1);
|
439
439
|
rb_define_method(cSession, "enable_cookie_session", enable_cookie_session, 1);
|
440
440
|
|
441
|
-
rb_define_const(cRequest, "AuthBasic",
|
442
|
-
rb_define_const(cRequest, "AuthDigest", CURLAUTH_DIGEST);
|
443
|
-
rb_define_const(cRequest, "AuthAny", CURLAUTH_ANY);
|
441
|
+
rb_define_const(cRequest, "AuthBasic", INT2FIX(CURLAUTH_BASIC));
|
442
|
+
rb_define_const(cRequest, "AuthDigest", INT2FIX(CURLAUTH_DIGEST));
|
443
|
+
rb_define_const(cRequest, "AuthAny", INT2FIX(CURLAUTH_ANY));
|
444
444
|
|
445
445
|
}
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: patron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 1
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
9
|
+
- 7
|
10
|
+
version: 0.4.7
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Phillip Toland
|
@@ -14,7 +15,7 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-09-01 00:00:00 -05:00
|
18
19
|
default_executable:
|
19
20
|
dependencies: []
|
20
21
|
|
@@ -65,23 +66,27 @@ require_paths:
|
|
65
66
|
- ext
|
66
67
|
- ext
|
67
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
68
70
|
requirements:
|
69
71
|
- - ">="
|
70
72
|
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
71
74
|
segments:
|
72
75
|
- 0
|
73
76
|
version: "0"
|
74
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
75
79
|
requirements:
|
76
80
|
- - ">="
|
77
81
|
- !ruby/object:Gem::Version
|
82
|
+
hash: 3
|
78
83
|
segments:
|
79
84
|
- 0
|
80
85
|
version: "0"
|
81
86
|
requirements: []
|
82
87
|
|
83
88
|
rubyforge_project: patron
|
84
|
-
rubygems_version: 1.3.
|
89
|
+
rubygems_version: 1.3.7
|
85
90
|
signing_key:
|
86
91
|
specification_version: 3
|
87
92
|
summary: Patron HTTP client
|