attachment_magic 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -118,7 +118,7 @@ module AttachmentMagic
118
118
  end
119
119
 
120
120
  def self.extended(base)
121
- base.class_inheritable_accessor :attachment_options
121
+ base.class_attribute :attachment_options
122
122
  base.before_validation :set_size_from_temp_path
123
123
  base.after_save :after_process_attachment
124
124
  base.after_destroy :destroy_file
@@ -1,3 +1,3 @@
1
1
  module AttachmentMagic
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,49 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: attachment_magic
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
4
5
  prerelease:
5
- version: 0.2.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Thomas von Deyen
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-10-25 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-12-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: rails
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70152415421920 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
23
21
  version: 3.0.10
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: mimetype-fu
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70152415421920
25
+ - !ruby/object:Gem::Dependency
26
+ name: mimetype-fu
27
+ requirement: &70152415420680 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
29
+ requirements:
32
30
  - - ~>
33
- - !ruby/object:Gem::Version
31
+ - !ruby/object:Gem::Version
34
32
  version: 0.1.2
35
33
  type: :runtime
36
- version_requirements: *id002
37
- description: A Rails 3 Gem based on attachment_fu, but without the image processing fudge and multiple backend crap! Just simple file attachments with a little mime type magic ;)
38
- email:
34
+ prerelease: false
35
+ version_requirements: *70152415420680
36
+ description: A Rails 3 Gem based on attachment_fu, but without the image processing
37
+ fudge and multiple backend crap! Just simple file attachments with a little mime
38
+ type magic ;)
39
+ email:
39
40
  - tvdeyen@gmail.com
40
41
  executables: []
41
-
42
42
  extensions: []
43
-
44
43
  extra_rdoc_files: []
45
-
46
- files:
44
+ files:
47
45
  - .gitignore
48
46
  - Gemfile
49
47
  - Rakefile
@@ -53,30 +51,26 @@ files:
53
51
  - lib/attachment_magic/version.rb
54
52
  homepage: https://github.com/magiclabs/attachment_magic
55
53
  licenses: []
56
-
57
54
  post_install_message:
58
55
  rdoc_options: []
59
-
60
- require_paths:
56
+ require_paths:
61
57
  - lib
62
- required_ruby_version: !ruby/object:Gem::Requirement
58
+ required_ruby_version: !ruby/object:Gem::Requirement
63
59
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: "0"
68
- required_rubygems_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
65
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- version: "0"
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
74
70
  requirements: []
75
-
76
71
  rubyforge_project: attachment_magic
77
- rubygems_version: 1.8.11
72
+ rubygems_version: 1.8.10
78
73
  signing_key:
79
74
  specification_version: 3
80
75
  summary: A simple file attachment gem for Rails 3
81
76
  test_files: []
82
-