kelredd-mailer 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mailer.rb +1 -1
  2. data/lib/mailer/version.rb +1 -1
  3. metadata +1 -1
data/lib/mailer.rb CHANGED
@@ -132,7 +132,7 @@ module Mailer
132
132
 
133
133
  def self.log(level, msg)
134
134
  if(msg)
135
- if !@@config.production? && MAILER_LOG_AS_PUTS
135
+ if !@@config.production? && defined?(MAILER_LOG_AS_PUTS) && MAILER_LOG_AS_PUTS
136
136
  puts "[#{level.to_s.upcase}]: [mailer] #{msg}" if Mailer.config.development?
137
137
  elsif @@config.logger && @@config.logger.respond_to?(level)
138
138
  @@config.logger.send(level.to_s, msg)
@@ -3,7 +3,7 @@ module Mailer
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 0
6
+ TINY = 1
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding