quick_file 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/quick_file/upload.rb +2 -2
- data/lib/quick_file/version.rb +1 -1
- metadata +73 -45
data/lib/quick_file/upload.rb
CHANGED
@@ -112,7 +112,7 @@ module QuickFile
|
|
112
112
|
def process!
|
113
113
|
return unless cached?
|
114
114
|
self.state = STATES[:processing]
|
115
|
-
save
|
115
|
+
self.save
|
116
116
|
begin
|
117
117
|
puts "#{processes.size} processes"
|
118
118
|
processes.each do |style_name, opts|
|
@@ -128,7 +128,7 @@ module QuickFile
|
|
128
128
|
end
|
129
129
|
end
|
130
130
|
self.state = STATES[:processed]
|
131
|
-
rescue
|
131
|
+
rescue Exception => e
|
132
132
|
puts e.message
|
133
133
|
self.errors << "PROCESS: #{e.message}"
|
134
134
|
self.state = STATES[:error]
|
data/lib/quick_file/version.rb
CHANGED
metadata
CHANGED
@@ -1,56 +1,74 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: quick_file
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 4
|
10
|
+
version: 1.0.4
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Alan Graham
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-05-05 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rmagick
|
16
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
24
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
22
32
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
26
35
|
name: fog
|
27
|
-
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
38
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
33
46
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
37
49
|
name: mime-types
|
38
|
-
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
52
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
59
|
+
version: "0"
|
44
60
|
type: :runtime
|
45
|
-
|
46
|
-
version_requirements: *70262344735160
|
61
|
+
version_requirements: *id003
|
47
62
|
description: A file upload library for use with MongoDB and S3
|
48
|
-
email:
|
63
|
+
email:
|
49
64
|
- alangraham5@gmail.com
|
50
65
|
executables: []
|
66
|
+
|
51
67
|
extensions: []
|
68
|
+
|
52
69
|
extra_rdoc_files: []
|
53
|
-
|
70
|
+
|
71
|
+
files:
|
54
72
|
- .gitignore
|
55
73
|
- Gemfile
|
56
74
|
- Rakefile
|
@@ -58,28 +76,38 @@ files:
|
|
58
76
|
- lib/quick_file/upload.rb
|
59
77
|
- lib/quick_file/version.rb
|
60
78
|
- quick_file.gemspec
|
61
|
-
homepage:
|
79
|
+
homepage: ""
|
62
80
|
licenses: []
|
81
|
+
|
63
82
|
post_install_message:
|
64
83
|
rdoc_options: []
|
65
|
-
|
84
|
+
|
85
|
+
require_paths:
|
66
86
|
- lib
|
67
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
88
|
none: false
|
69
|
-
requirements:
|
70
|
-
- -
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
|
73
|
-
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 3
|
93
|
+
segments:
|
94
|
+
- 0
|
95
|
+
version: "0"
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
74
97
|
none: false
|
75
|
-
requirements:
|
76
|
-
- -
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
hash: 3
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
version: "0"
|
79
105
|
requirements: []
|
106
|
+
|
80
107
|
rubyforge_project: quick_file
|
81
|
-
rubygems_version: 1.8.
|
108
|
+
rubygems_version: 1.8.17
|
82
109
|
signing_key:
|
83
110
|
specification_version: 3
|
84
111
|
summary: A file upload library
|
85
112
|
test_files: []
|
113
|
+
|