self-notifo 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/lib/self-notifo.rb CHANGED
@@ -31,13 +31,13 @@ class SelfNotifo
31
31
  end
32
32
 
33
33
  self.class.basic_auth username, api_secret
34
- send_notification(params) if Rails.env.test? || (Rails.env.test? && send_in_test)
34
+ send_notification(params) if !Rails.env.test? || (Rails.env.test? && send_in_test)
35
35
  end
36
36
 
37
37
  private
38
38
 
39
39
  def logger
40
- RAILS_DEFAULT_LOGGER
40
+ Rails.logger
41
41
  end
42
42
 
43
43
  def send_notification(params)
data/self-notifo.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{self-notifo}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gaelian Ditchburn"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 1
9
- version: 0.4.1
8
+ - 2
9
+ version: 0.4.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Gaelian Ditchburn