upload_cache 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/upload_cache.rb +2 -11
- data/upload_cache.gemspec +1 -1
- metadata +4 -4
data/lib/upload_cache.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'tmpdir'
|
|
|
5
5
|
require 'map'
|
|
6
6
|
|
|
7
7
|
class UploadCache
|
|
8
|
-
Version = '1.2.
|
|
8
|
+
Version = '1.2.1'
|
|
9
9
|
|
|
10
10
|
Readme = <<-__
|
|
11
11
|
NAME
|
|
@@ -315,18 +315,9 @@ end
|
|
|
315
315
|
|
|
316
316
|
Upload_cache = UploadCache unless defined?(Upload_cache)
|
|
317
317
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
if defined?(Rails.env)
|
|
321
|
-
|
|
318
|
+
if defined?(Rails)
|
|
322
319
|
if defined?(Rails.root) and Rails.root
|
|
323
320
|
UploadCache.url = '/system/uploads/cache'
|
|
324
321
|
UploadCache.root = File.join(Rails.root, 'public', UploadCache.url)
|
|
325
322
|
end
|
|
326
|
-
|
|
327
|
-
unless Rails.env.production?
|
|
328
|
-
if defined?(unloadable)
|
|
329
|
-
unloadable(UploadCache)
|
|
330
|
-
end
|
|
331
|
-
end
|
|
332
323
|
end
|
data/upload_cache.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: upload_cache
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2011-12-
|
|
12
|
+
date: 2011-12-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: uuidtools
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70325209538240 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70325209538240
|
|
25
25
|
description: ! 'description: upload_cache kicks the ass'
|
|
26
26
|
email: ara.t.howard@gmail.com
|
|
27
27
|
executables: []
|