resque-reports 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTcxNTEyM2E0ZWM4ODVlNGJiZmQwNmY1M2IwMTIyMzkwMWRkYjU5Mg==
4
+ NGI4MGEyNzY1NmNlOTM5YmY4YzY2MGNhMzQ1NDExZWYwMDE5MTRmYw==
5
5
  data.tar.gz: !binary |-
6
- NGEyNmI5MTdlYzcwYjhjYjhiNzdmZWQ4YTk4MjRjNTRlZjM1MGMyOA==
6
+ ZTQyNzM2NmZiODU0NzkyYzE0MmUxNDkzYWUzYjVlMzQwOGFiYzI2Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjQyZDNlODY5YzBhZTQzMzVkZjAzOTBkMjM5NTMxOTljMjVhYmU3MTJiODBj
10
- YjllMWZhMWEzZmI0MDU0Y2Y2YzM0ZGY0ZTgzYjc5YWQ0M2NlNjgyNjliZmUz
11
- Zjk2MDNiMDkwY2ZkYjFiOWRjZGJlMzVjMTUxZjVkZTQ4ZDQ1YmM=
9
+ NzNkOTVlZDgzZjE1MTE3NjFkMTU1MjAwMDVmNDQyYTVkZjk5YmVjZjU1MmVm
10
+ MzBlNWNjZmRmYzBkMTg0MWRjMjk5OTQzNjU4NmVmZjRkZjdhNzY1YTc5YTg2
11
+ ODI5MDIyNDI2YTI3ZDJkMzE2ZWE1ODdkMDgzMjBmYzQ4ZGVmZTU=
12
12
  data.tar.gz: !binary |-
13
- N2E5ZWE1MTNiNzY1MDdlMGIxOWY2MjRiMWZjOGMyMjUzNTI4MDJkMzQ4NDdk
14
- MmU5MDBkMWZmODQxOTMwNzEyZDJhZWExMjQ1OTI3YWViYjhlZTJkZTRkZWEw
15
- NzkyMWQ0YmVhZGMwZDA2ZTIxNTBhOGQxNDg4ODg5MjEzNzcwYzQ=
13
+ NThmYmQzYTM4YWFmYmUzNmIyMDg5MGMwYzcxYmFhYTIzOWY2OGZlZTYxZTEw
14
+ MmRkMjFhZTExMzIyMzJhMzkwMzMxMWQ2NzMwODk4YTU3YzFjZDFlYTI2YTdi
15
+ OGM0ZmE0ZjdhNjg5MTFiN2ExZmI0OGE3MTg3NDA3N2M5NWM0YmE=
@@ -54,8 +54,10 @@ module Resque
54
54
  def with_tempfile
55
55
  yield(tempfile = Tempfile.new(Digest::MD5.hexdigest(@filename), :encoding => @coding))
56
56
  ensure
57
- tempfile.close unless tempfile.closed?
58
- tempfile.try(:unlink)
57
+ if tempfile
58
+ tempfile.close unless tempfile.closed?
59
+ tempfile.unlink
60
+ end
59
61
  end
60
62
 
61
63
  def prepare_cache_dir
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  module Resque
3
3
  module Reports
4
- VERSION = '0.4.3'
4
+ VERSION = '0.4.4'
5
5
  end
6
6
  end
7
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey D.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-26 00:00:00.000000000 Z
11
+ date: 2015-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: resque-integration
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.2.2
154
+ rubygems_version: 2.4.7
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: resque-reports