spud_reports 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,6 +25,7 @@ class JobsController < Spud::ApplicationController
25
25
  @job = SpudPrintJob.find(params[:id])
26
26
  if !@job.blank?
27
27
  @job.update_attributes(:status => 1)
28
+ File.delete(File.join(Rails.root,'public','report_jobs',@job.attachment_file_name))
28
29
  end
29
30
  render :status => 200,:text => nil
30
31
  end
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Reports
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70245881760440 !ruby/object:Gem::Requirement
16
+ requirement: &70177636707900 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70245881760440
24
+ version_requirements: *70177636707900
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: spud_core
27
- requirement: &70245881788700 !ruby/object:Gem::Requirement
27
+ requirement: &70177636722720 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -35,10 +35,10 @@ dependencies:
35
35
  version: 0.9.0
36
36
  type: :runtime
37
37
  prerelease: false
38
- version_requirements: *70245881788700
38
+ version_requirements: *70177636722720
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: paperclip
41
- requirement: &70245881796100 !ruby/object:Gem::Requirement
41
+ requirement: &70177636719880 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - ! '>='
@@ -46,10 +46,10 @@ dependencies:
46
46
  version: '0'
47
47
  type: :runtime
48
48
  prerelease: false
49
- version_requirements: *70245881796100
49
+ version_requirements: *70177636719880
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: rabl
52
- requirement: &70245881793260 !ruby/object:Gem::Requirement
52
+ requirement: &70177636718100 !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
55
  - - ! '>='
@@ -57,10 +57,10 @@ dependencies:
57
57
  version: '0'
58
58
  type: :runtime
59
59
  prerelease: false
60
- version_requirements: *70245881793260
60
+ version_requirements: *70177636718100
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rghost
63
- requirement: &70245881807980 !ruby/object:Gem::Requirement
63
+ requirement: &70177636730940 !ruby/object:Gem::Requirement
64
64
  none: false
65
65
  requirements:
66
66
  - - ! '>='
@@ -68,10 +68,10 @@ dependencies:
68
68
  version: '0'
69
69
  type: :runtime
70
70
  prerelease: false
71
- version_requirements: *70245881807980
71
+ version_requirements: *70177636730940
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: rghost_barcode
74
- requirement: &70245881805460 !ruby/object:Gem::Requirement
74
+ requirement: &70177636728500 !ruby/object:Gem::Requirement
75
75
  none: false
76
76
  requirements:
77
77
  - - ! '>='
@@ -79,10 +79,10 @@ dependencies:
79
79
  version: '0'
80
80
  type: :runtime
81
81
  prerelease: false
82
- version_requirements: *70245881805460
82
+ version_requirements: *70177636728500
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rghost_rails
85
- requirement: &70245881828200 !ruby/object:Gem::Requirement
85
+ requirement: &70177636727080 !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
88
88
  - - ! '>='
@@ -90,10 +90,10 @@ dependencies:
90
90
  version: '0'
91
91
  type: :runtime
92
92
  prerelease: false
93
- version_requirements: *70245881828200
93
+ version_requirements: *70177636727080
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: mysql2
96
- requirement: &70245881837680 !ruby/object:Gem::Requirement
96
+ requirement: &70177636724280 !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
99
  - - ! '>='
@@ -101,7 +101,7 @@ dependencies:
101
101
  version: '0'
102
102
  type: :development
103
103
  prerelease: false
104
- version_requirements: *70245881837680
104
+ version_requirements: *70177636724280
105
105
  description: Allows management of RGhost reports as well as remote print jobs.
106
106
  email:
107
107
  - destes@redwindsw.com
@@ -200,7 +200,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  segments:
202
202
  - 0
203
- hash: 4423706329032302804
203
+ hash: 2638290146940394425
204
204
  required_rubygems_version: !ruby/object:Gem::Requirement
205
205
  none: false
206
206
  requirements:
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  segments:
211
211
  - 0
212
- hash: 4423706329032302804
212
+ hash: 2638290146940394425
213
213
  requirements: []
214
214
  rubyforge_project:
215
215
  rubygems_version: 1.8.15