spud_reports 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/jobs_controller.rb +1 -1
- data/lib/spud_reports/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3900da8c1dd1372818ad7898652af06c6bd282c8
|
4
|
+
data.tar.gz: fdd971f55d1cb560e595b85561895483c406b800
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c454e93c2d486fe51c1b0201655a9ea169a5c3b9f6e248d52a38d8bc2ce87ca74a2c96ebfe216a9705ca39737a345203c0c5b8fbf38cd5e94373007c460ac080
|
7
|
+
data.tar.gz: 4c7b2f9c05a62fd4ea320cccfde1932f25687b47cdb0b02edd0f87432c77907f05c37d43c9e6374a0c4487b60d285a4873bd34fbccd5a65d81c7174583a745df
|
@@ -11,7 +11,7 @@ class JobsController < Spud::ApplicationController
|
|
11
11
|
puts("Checking job count on printer")
|
12
12
|
job_count = 0
|
13
13
|
printer.active_jobs.all.each do |job|
|
14
|
-
if File.exist?(File.join(Rails.root,'public','report_jobs'
|
14
|
+
if File.exist?(File.join(Rails.root,'public','report_jobs',job.attachment_file_name))
|
15
15
|
job_count += 1
|
16
16
|
else
|
17
17
|
job.update_attributes(:status => 1)
|
data/lib/spud_reports/version.rb
CHANGED