attachment_magick 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- attachment_magick (0.2.5)
4
+ attachment_magick (0.2.7)
5
5
  dragonfly (>= 0.9.4)
6
6
  jquery-rails (>= 0.2.7)
7
7
  marcosinger-auto_html (>= 1.3.4)
@@ -22,5 +22,5 @@ module AttachmentMagick
22
22
  false
23
23
  end
24
24
 
25
- end if defined? ActiveRecord::Persistence
25
+ end if AttachmentMagick.configuration.orms.include?("ActiveRecord")
26
26
  end
@@ -41,5 +41,5 @@ module AttachmentMagick
41
41
  def set_content_type
42
42
  self.content_type = MIME::Types.type_for(self.file_name.to_s).to_s
43
43
  end
44
- end
44
+ end if AttachmentMagick.configuration.orms.include?("Mongoid")
45
45
  end
@@ -1,3 +1,3 @@
1
1
  module AttachmentMagick
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attachment_magick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: dragonfly
18
- requirement: &2153526700 !ruby/object:Gem::Requirement
18
+ requirement: &2156952800 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 0.9.4
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2153526700
26
+ version_requirements: *2156952800
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack-cache
29
- requirement: &2153526200 !ruby/object:Gem::Requirement
29
+ requirement: &2156952300 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: '1.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2153526200
37
+ version_requirements: *2156952300
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: jquery-rails
40
- requirement: &2153525740 !ruby/object:Gem::Requirement
40
+ requirement: &2156951840 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 0.2.7
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *2153525740
48
+ version_requirements: *2156951840
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: marcosinger-auto_html
51
- requirement: &2153525280 !ruby/object:Gem::Requirement
51
+ requirement: &2156951380 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,7 +56,7 @@ dependencies:
56
56
  version: 1.3.4
57
57
  type: :runtime
58
58
  prerelease: false
59
- version_requirements: *2153525280
59
+ version_requirements: *2156951380
60
60
  description:
61
61
  email:
62
62
  - markaum@gmail.com