custos_notifier 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/custos_notifier.rb +2 -0
  2. metadata +4 -3
@@ -58,6 +58,8 @@ module CustosNotifier
58
58
  # Send custom notification to Custos service. Any messages can be sent to service in
59
59
  # <tt>message</tt> param. Second parameter is optional and could be anything you want.
60
60
  def custom_notify(message, parameters = {})
61
+ return if ["development", "test"].include? configuration.stage.downcase
62
+
61
63
  url = "#{ configuration.url }/notifications"
62
64
  notify_params = {
63
65
  :project => CustosNotifier.configuration.project,
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: custos_notifier
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- version: "0.3"
9
+ - 1
10
+ version: 0.3.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Sebastian Nowak
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2011-07-05 00:00:00 +02:00
18
+ date: 2011-07-14 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency