fluoride-collector 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fluoride-collector/middleware.rb +2 -0
- data/lib/fluoride-collector/storage/s3.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b076225bd065f00b4ea805aa4309278defe30ce
|
4
|
+
data.tar.gz: 80720eed104bacbf011a389d7eab584c2e175129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 844567fb03c1f2e0c96961684fe175fcb3771117c1ae3c181b10765cfb80533eba8df56bb4bed8977d60d15d5cba9db2500f8a2914cfb64f07477dccd7962ad6
|
7
|
+
data.tar.gz: 3b8fe2c421216754f5de65075e7c6ab1ff92fe169aaf2defcca112923d72ecffd5d400f548fba6d467e86fddd3406fa1498485bb63a86055f54381179e1d269e
|
@@ -18,6 +18,7 @@ module Fluoride
|
|
18
18
|
@config.persister(collection_type, record).write
|
19
19
|
rescue Exception => ex
|
20
20
|
#leave only footprints
|
21
|
+
# :nocov:
|
21
22
|
begin
|
22
23
|
if $stderr.respond_to? :puts
|
23
24
|
$stderr.puts ex.inspect
|
@@ -25,6 +26,7 @@ module Fluoride
|
|
25
26
|
end
|
26
27
|
rescue Exception
|
27
28
|
end
|
29
|
+
# :nocov:
|
28
30
|
end
|
29
31
|
|
30
32
|
def clean_hash(hash)
|
@@ -11,11 +11,18 @@ module Fluoride
|
|
11
11
|
class Storage
|
12
12
|
class S3 < Storage
|
13
13
|
attr_reader :response
|
14
|
+
|
15
|
+
# :nocov:
|
14
16
|
def write
|
15
17
|
http.start do
|
16
18
|
@response = http.request(put_request)
|
17
19
|
end
|
20
|
+
rescue
|
21
|
+
$stderr.puts http.ca_path
|
22
|
+
$stderr.puts Dir.new(http.ca_path).to_a
|
23
|
+
raise
|
18
24
|
end
|
25
|
+
# :nocov:
|
19
26
|
|
20
27
|
def http
|
21
28
|
@http ||=
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluoride-collector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Judson Lester
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-06-
|
12
|
+
date: 2014-06-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |2
|
15
15
|
Part of the Fluoride suite - tools for making your black box a bit whiter
|
@@ -60,7 +60,7 @@ rdoc_options:
|
|
60
60
|
- --main
|
61
61
|
- doc/README
|
62
62
|
- --title
|
63
|
-
- fluoride-collector-0.0.
|
63
|
+
- fluoride-collector-0.0.7 Documentation
|
64
64
|
require_paths:
|
65
65
|
- lib/
|
66
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|