zephyr 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/zephyr.rb +2 -2
- data/zephyr.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.4
|
data/lib/zephyr.rb
CHANGED
@@ -268,7 +268,7 @@ class Zephyr
|
|
268
268
|
http_end = Time.now.to_f
|
269
269
|
|
270
270
|
if defined?(Rails)
|
271
|
-
Rails.logger.info "[zephyr]
|
271
|
+
Rails.logger.info "[zephyr:#{$$}:#{Time.now.to_f}] \"%s %s\" %s %0.4f" % [
|
272
272
|
method.to_s.upcase, uri(path_components).to_s, response.code, (http_end - http_start)
|
273
273
|
]
|
274
274
|
end
|
@@ -290,7 +290,7 @@ class Zephyr
|
|
290
290
|
response_body = response.timed_out? || response.code == 0 ? "Exceeded #{timeout}ms" : response.body
|
291
291
|
failed_request = FailedRequest.new(method, expect, response.code, response_headers.to_hash, response_body, response.timed_out?)
|
292
292
|
if defined?(Rails)
|
293
|
-
Rails.logger.error "[zephyr]: #{ failed_request }"
|
293
|
+
Rails.logger.error "[zephyr:#{$$}:#{Time.now.to_f}]: #{ failed_request }"
|
294
294
|
end
|
295
295
|
raise failed_request
|
296
296
|
end
|
data/zephyr.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{zephyr}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Knopp"]
|
12
|
-
s.date = %q{2011-10-
|
12
|
+
s.date = %q{2011-10-10}
|
13
13
|
s.description = %q{Simple HTTP client using Typheous, derived from the Riak client}
|
14
14
|
s.email = %q{matt.knopp@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zephyr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 4
|
10
|
+
version: 1.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Knopp
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-10 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|