custos_notifier 0.3.2 → 0.3.4

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 +4 -2
  2. metadata +6 -6
@@ -63,9 +63,11 @@ module CustosNotifier
63
63
  url = "#{ configuration.url }/notifications"
64
64
  notify_params = {
65
65
  :project => CustosNotifier.configuration.project,
66
- :api_key => CustosNotifier.configuration.api_key,
66
+ :api_key => CustosNotifier.configuration.api_key
67
+ }
68
+ notify_params["notification"] = {"title" => message, "customs" => parameters.inspect,
69
+ "stage" => CustosNotifier.configuration.stage
67
70
  }
68
- notify_params["notification"] = {"title" => message, "customs" => parameters.inspect}
69
71
  RestClient.post(url, notify_params)
70
72
  end
71
73
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: custos_notifier
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
4
+ hash: 27
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 2
10
- version: 0.3.2
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sebastian Nowak
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-01 00:00:00 +02:00
18
+ date: 2011-08-03 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  requirements: []
79
79
 
80
80
  rubyforge_project:
81
- rubygems_version: 1.3.7
81
+ rubygems_version: 1.6.1
82
82
  signing_key:
83
83
  specification_version: 3
84
84
  summary: Notifier for Custos service.