mongoid-paperclip 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,11 @@ end
12
12
  module Paperclip
13
13
  class << self
14
14
  def logger
15
- Mongoid::Config.logger
15
+ if Mongoid::Config.logger.present?
16
+ Mongoid::Config.logger
17
+ else
18
+ Rails.logger
19
+ end
16
20
  end
17
21
  end
18
22
  end
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |gem|
4
4
 
5
5
  gem.name = 'mongoid-paperclip'
6
- gem.version = '0.0.4'
6
+ gem.version = '0.0.5'
7
7
  gem.platform = Gem::Platform::RUBY
8
8
  gem.authors = 'Michael van Rooijen'
9
9
  gem.email = 'meskyanichi@gmail.com'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mongoid-paperclip
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael van Rooijen
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-03 00:00:00 +01:00
13
+ date: 2011-06-25 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  requirements: []
62
62
 
63
63
  rubyforge_project:
64
- rubygems_version: 1.5.2
64
+ rubygems_version: 1.6.2
65
65
  signing_key:
66
66
  specification_version: 3
67
67
  summary: Mongoid::Paperclip enables you to use Paperclip with the Mongoid ODM for MongoDB.