mongoid-paperclip 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mongoid_paperclip.rb +5 -3
- data/mongoid-paperclip.gemspec +1 -1
- metadata +29 -37
data/lib/mongoid_paperclip.rb
CHANGED
@@ -73,9 +73,11 @@ module Mongoid
|
|
73
73
|
|
74
74
|
##
|
75
75
|
# Include Paperclip and Paperclip::Glue for compatibility
|
76
|
-
include
|
77
|
-
|
78
|
-
|
76
|
+
unless self.ancestors.include?(::Paperclip)
|
77
|
+
include ::Paperclip
|
78
|
+
include ::Paperclip::Glue
|
79
|
+
end
|
80
|
+
|
79
81
|
##
|
80
82
|
# Invoke Paperclip's #has_attached_file method and passes in the
|
81
83
|
# arguments specified by the user that invoked Mongoid::Paperclip#has_mongoid_attached_file
|
data/mongoid-paperclip.gemspec
CHANGED
metadata
CHANGED
@@ -1,69 +1,61 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid-paperclip
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.6
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.5
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Michael van Rooijen
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-08-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: paperclip
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70268852719080 !ruby/object:Gem::Requirement
|
20
17
|
none: false
|
21
|
-
requirements:
|
18
|
+
requirements:
|
22
19
|
- - ~>
|
23
|
-
- !ruby/object:Gem::Version
|
20
|
+
- !ruby/object:Gem::Version
|
24
21
|
version: 2.3.6
|
25
22
|
type: :runtime
|
26
|
-
|
27
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70268852719080
|
25
|
+
description: Mongoid::Paperclip enables you to use Paperclip with the Mongoid ODM
|
26
|
+
for MongoDB.
|
28
27
|
email: meskyanichi@gmail.com
|
29
28
|
executables: []
|
30
|
-
|
31
29
|
extensions: []
|
32
|
-
|
33
30
|
extra_rdoc_files: []
|
34
|
-
|
35
|
-
files:
|
31
|
+
files:
|
36
32
|
- .gitignore
|
37
33
|
- README.md
|
38
34
|
- lib/mongoid_paperclip.rb
|
39
35
|
- mongoid-paperclip.gemspec
|
40
|
-
has_rdoc: true
|
41
36
|
homepage: https://github.com/meskyanichi/mongoid-paperclip
|
42
37
|
licenses: []
|
43
|
-
|
44
38
|
post_install_message:
|
45
39
|
rdoc_options: []
|
46
|
-
|
47
|
-
require_paths:
|
40
|
+
require_paths:
|
48
41
|
- lib
|
49
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
42
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
43
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
49
|
none: false
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version:
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
61
54
|
requirements: []
|
62
|
-
|
63
55
|
rubyforge_project:
|
64
|
-
rubygems_version: 1.6
|
56
|
+
rubygems_version: 1.8.6
|
65
57
|
signing_key:
|
66
58
|
specification_version: 3
|
67
|
-
summary: Mongoid::Paperclip enables you to use Paperclip with the Mongoid ODM for
|
59
|
+
summary: Mongoid::Paperclip enables you to use Paperclip with the Mongoid ODM for
|
60
|
+
MongoDB.
|
68
61
|
test_files: []
|
69
|
-
|