faraday 0.8.2 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/faraday.gemspec +1 -2
- data/lib/faraday.rb +1 -1
- data/lib/faraday/adapter/net_http.rb +1 -0
- data/script/test +5 -1
- metadata +2 -3
- data/config.ru +0 -6
data/faraday.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
|
4
4
|
|
5
5
|
s.name = 'faraday'
|
6
|
-
s.version = '0.8.
|
6
|
+
s.version = '0.8.4'
|
7
7
|
|
8
8
|
s.summary = "HTTP/REST API client library."
|
9
9
|
# TODO: s.description
|
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
|
|
23
23
|
LICENSE.md
|
24
24
|
README.md
|
25
25
|
Rakefile
|
26
|
-
config.ru
|
27
26
|
faraday.gemspec
|
28
27
|
lib/faraday.rb
|
29
28
|
lib/faraday/adapter.rb
|
data/lib/faraday.rb
CHANGED
data/script/test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
# Runs the test suite against a local server spawned automatically in a
|
3
3
|
# thread. After tests are done, the server is shut down.
|
4
4
|
#
|
@@ -11,6 +11,7 @@
|
|
11
11
|
# $ script/test test/env_test.rb
|
12
12
|
# $ script/test excon typhoeus
|
13
13
|
|
14
|
+
require 'rubygems'
|
14
15
|
require 'bundler'
|
15
16
|
begin
|
16
17
|
Bundler.setup
|
@@ -21,6 +22,8 @@ rescue Bundler::GemNotFound
|
|
21
22
|
exit 1
|
22
23
|
end
|
23
24
|
|
25
|
+
$VERBOSE = true
|
26
|
+
|
24
27
|
host = '127.0.0.1'
|
25
28
|
logfile = 'log/test.log'
|
26
29
|
test_glob = 'test/**/*_test.rb'
|
@@ -49,6 +52,7 @@ thread = Thread.new do
|
|
49
52
|
end
|
50
53
|
require 'webrick'
|
51
54
|
log_io = File.open logfile, 'w'
|
55
|
+
log_io.sync = true
|
52
56
|
webrick_opts = {
|
53
57
|
:Port => port, :Logger => WEBrick::Log::new(log_io),
|
54
58
|
:AccessLog => [[log_io, "[%{X-Faraday-Adapter}i] %m %U -> %s %b"]]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faraday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multipart-post
|
@@ -85,7 +85,6 @@ files:
|
|
85
85
|
- LICENSE.md
|
86
86
|
- README.md
|
87
87
|
- Rakefile
|
88
|
-
- config.ru
|
89
88
|
- faraday.gemspec
|
90
89
|
- lib/faraday.rb
|
91
90
|
- lib/faraday/adapter.rb
|