smart_proxy_abrt 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4ebc27d34f0c54d710106814d4073249e0e39e6
4
- data.tar.gz: 528c8ddc06b0a5b459ca916fdd48cb2cc168284c
3
+ metadata.gz: df8fa42c5653d24dc901ba4fb3f0ed7825dc7360
4
+ data.tar.gz: 8c90a1213d9731990e7fe4b35eab8e6b199ea7a8
5
5
  SHA512:
6
- metadata.gz: 86d994cc3e406bd85a3a481f27c0f097dc785168a32a68aa57a2ab579f27359fc7b0d1590eb371f053b8143eeb3aacfc3e04f13dcbafb8da7788a961e4e95112
7
- data.tar.gz: ab61d26f1fde83361a9bdcf345b4bcb668c99fe54d3c41ef0872b2cb32f042fea5514e96b3bb4133f1eb26d6302b9b78182370890a55622a4761207cb427f35f
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 url[-1] != "/"
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.iso8601 + "-")
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
@@ -1,3 +1,3 @@
1
1
  module AbrtProxy
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  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
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-06 00:00:00.000000000 Z
11
+ date: 2014-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: satyr