smart_proxy_abrt 0.0.4 → 0.0.5
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df8fa42c5653d24dc901ba4fb3f0ed7825dc7360
|
|
4
|
+
data.tar.gz: 8c90a1213d9731990e7fe4b35eab8e6b199ea7a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 78d8ea31d80fe41f6cc79a1de8f06a1f87bd650d5e692487f57c8df927d3b00cfe65a6e974c0ffb9a88637882cf3728ce424f5a0a81912d13a6b596095f51ebb
|
|
7
|
+
data.tar.gz: 58648ba8d92b9dce46e95a91ec8ddafb3e9e98f86f0cf94dedfae8e9c16a6edeebf1c7df8f1458d3133b8884e15459aef805c115d43d6486edf107359cf5b4be
|
|
@@ -47,7 +47,7 @@ module AbrtProxy
|
|
|
47
47
|
"message" => "Report queued" }
|
|
48
48
|
if Proxy::SETTINGS.foreman_url
|
|
49
49
|
foreman_url = Proxy::SETTINGS.foreman_url
|
|
50
|
-
foreman_url += "/" if
|
|
50
|
+
foreman_url += "/" if foreman_url[-1] != "/"
|
|
51
51
|
foreman_url += "hosts/#{cn}/abrt_reports"
|
|
52
52
|
response["reported_to"] = [{ "reporter" => "Foreman",
|
|
53
53
|
"type" => "url",
|
|
@@ -174,7 +174,7 @@ module AbrtProxy
|
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
# rename it
|
|
177
|
-
final_fname = unique_filename("ureport-" + DateTime.now.
|
|
177
|
+
final_fname = unique_filename("ureport-" + DateTime.now.strftime("%FT%T") + "-")
|
|
178
178
|
File.link temp_fname, final_fname
|
|
179
179
|
File.unlink temp_fname
|
|
180
180
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_proxy_abrt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Milata
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-10-
|
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: satyr
|