paperclipftp 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/paperclipftp.rb +1 -1
- metadata +3 -3
data/lib/paperclipftp.rb
CHANGED
@@ -14,7 +14,7 @@ module Paperclip
|
|
14
14
|
end
|
15
15
|
# it is better to share and keep ftp connection because otherwise some methods (like
|
16
16
|
# exists?, to_file etc) will open new connection each and every time without closing it - bad
|
17
|
-
unless base.class.respond_to?
|
17
|
+
unless base.class.respond_to?(:ftp_conn)
|
18
18
|
class << base.class; attr_accessor :ftp_conn; end
|
19
19
|
end
|
20
20
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclipftp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Damian Caruso
|