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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NmNjNTQxNTQxNzI0YTBkMjgyNjYwOWU0YTZjYWIzMDcyYTYyYTdlNw==
4
+ ZjM5ODkzYjQyY2Y3ZDJhMWFiNWE0YzU2Yjk0NTAxMmIzYTEwNDFkZA==
5
5
  data.tar.gz: !binary |-
6
- YTFlM2RhMTE2ZWUxYzY1YzhhMzY2OTEwMGY5ZWMyNGMwNmM4OTViMA==
6
+ MTg2YThmNTFmNjI5ZDUwMjU3MGMxNGZjMjI2Yzk5ZTAxZmYwZmQzOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YWEzMGY4NTlhZWM5MGRmOTkyNGE2ZjNkOTVjMjBhMjVjODJjM2Q1MjAzMGZj
10
- ZWMyOWIyZjUxNzE3YTBiZDA3N2Q0OWNlNWQwZjFiNmI5M2Y2NDZjOTY5NDQ4
11
- ZjM2M2FjMDkwNzczMDQwYjhkMTkxM2U5MmM4MzNjODU2YmFiZDI=
9
+ MmU0Y2ZlMDJmYmM4MjYyMWEwN2QyNTA2ODg5NmY4ZTBhZGExMGI3ZDM5MjFi
10
+ NmZlZTkxMzgzOWZkNTFhMzUwNzVlZTFmYTI4YmJiZDFiNmYxMTdlMTViMWIw
11
+ YWMxM2MzNTRiMzkyNDRjZjFhYWQ2NmRkZDFmN2Y1ZDRmY2E5NjQ=
12
12
  data.tar.gz: !binary |-
13
- OWMxNDk4NWIyZjAxZGNmNjRmMWViMTEzNGI5MGFhNzIwODFiYjYwMGU4NzE0
14
- NDYxNjg1NjBlYjk0YzdmNWQ3NGU5ODU5YzcwODdkNDA1MjA1YzBkYTAwZTFh
15
- MGE0ZDY5ODM2ZGUzNmIzMDI4YzVlZWFiYjIyZTc0ZWVjYWU5ODY=
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, [:int], :string
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
@@ -1,5 +1,5 @@
1
1
  module Ethon
2
2
 
3
3
  # Ethon version.
4
- VERSION = '0.7.1'
4
+ VERSION = '0.7.2'
5
5
  end
@@ -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.1
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: 2014-07-01 00:00:00.000000000 Z
11
+ date: 2015-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi