ethon 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/ethon/curls/functions.rb +1 -1
- data/lib/ethon/version.rb +1 -1
- data/spec/ethon/easy/callbacks_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjM5ODkzYjQyY2Y3ZDJhMWFiNWE0YzU2Yjk0NTAxMmIzYTEwNDFkZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTg2YThmNTFmNjI5ZDUwMjU3MGMxNGZjMjI2Yzk5ZTAxZmYwZmQzOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmU0Y2ZlMDJmYmM4MjYyMWEwN2QyNTA2ODg5NmY4ZTBhZGExMGI3ZDM5MjFi
|
10
|
+
NmZlZTkxMzgzOWZkNTFhMzUwNzVlZTFmYTI4YmJiZDFiNmYxMTdlMTViMWIw
|
11
|
+
YWMxM2MzNTRiMzkyNDRjZjFhYWQ2NmRkZDFmN2Y1ZDRmY2E5NjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDgwNzllZTcwOTNiMjNkYjNlNmFhOWZlZjE2YWM0MGEzZmQwMGU1NGUxZmQx
|
14
|
+
MDQ1OTkwMjdkMGM2NmFmNDI1ZGI4ZWRjNWYwNmQzYTFmY2IwMDdlNWExNjg2
|
15
|
+
ZDdkNGU0NTNhYTYxNzA1ZTA1M2IxN2M1MDU2MWQwNGVhODc4MDM=
|
@@ -21,7 +21,7 @@ module Ethon
|
|
21
21
|
base.attach_function :easy_setopt_off_t, :curl_easy_setopt, [:pointer, :easy_option, :int64], :easy_code
|
22
22
|
base.instance_variable_set(:@blocking, true)
|
23
23
|
base.attach_function :easy_perform, :curl_easy_perform, [:pointer], :easy_code
|
24
|
-
base.attach_function :easy_strerror, :curl_easy_strerror, [:
|
24
|
+
base.attach_function :easy_strerror, :curl_easy_strerror, [:easy_code], :string
|
25
25
|
base.attach_function :easy_escape, :curl_easy_escape, [:pointer, :pointer, :int], :pointer
|
26
26
|
base.attach_function :easy_reset, :curl_easy_reset, [:pointer], :void
|
27
27
|
|
data/lib/ethon/version.rb
CHANGED
@@ -30,7 +30,7 @@ describe Ethon::Easy::Callbacks do
|
|
30
30
|
|
31
31
|
describe "#body_write_callback" do
|
32
32
|
let(:body_write_callback) { easy.instance_variable_get(:@body_write_callback) }
|
33
|
-
let(:stream) { double(read_string
|
33
|
+
let(:stream) { double(:read_string => "") }
|
34
34
|
context "when body returns not :abort" do
|
35
35
|
it "returns number bigger than 0" do
|
36
36
|
expect(body_write_callback.call(stream, 1, 1, nil) > 0).to be(true)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ethon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hans Hasselberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|