attribute_imagifiable 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "attribute_imagifiable"
7
- gem.version = "0.0.4"
7
+ gem.version = "0.0.5"
8
8
  gem.authors = ["Stefan Wienert", "Akos Toth"]
9
9
  gem.email = ["stefan.wienert@pludoni.de"]
10
10
  gem.description = %q{Using paperclip to generate images from sensible attributes like e-mails and telephone numbers, in order to reduce crawler's success}
@@ -14,7 +14,7 @@ module AttributeImagifiable
14
14
  @_imagifiable_attributes[attribute] = options[:as]
15
15
 
16
16
  if (not column_names.include? "#{options[:as]}_file_name") or !self.instance_methods.include?(options[:as])
17
- raise ArgumentError.new "Add #{options[:as]} Paperclip attribute before using attribute_imagifiable"
17
+ $stderr.puts "Add #{options[:as]} Paperclip attribute before using attribute_imagifiable"
18
18
  end
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: attribute_imagifiable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: