logstash-output-sentry 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d73e9557eb60015f472332b61f32e288f4f8b9a4
4
- data.tar.gz: 6dcfda94126f45d97dfca5871f2612f99c8c08c9
3
+ metadata.gz: 5fbd3f132b66680c108ab7b2b7400e94bb064ce3
4
+ data.tar.gz: 3dd93276fecc4535390e30a07a85214560ad07cd
5
5
  SHA512:
6
- metadata.gz: a70cb4ed11f81caeb9fdbc6d8648ab961c5ca41a04b27a66e54288c9b110f56e6e3923737a8931cca4acb4889a9d7d1365a8765a126798d61725b343e6123947
7
- data.tar.gz: 86887aa98d9a6b328647c6d4e8b6bf16dc36a89ca11fde27fa1cfad655d564fbaaa187e901cd7f23f5ca94db3dffeb886cc4ca0c77522d4eac58cb42a83cb005
6
+ metadata.gz: f3a39b6fbe6cce00f9ede05d93b2d0d1ce0d193468c0e252131b4eecc2071783b1a7d6edb929b6d3deb16eee8c2abcd00ba3cfb4cc1b7b4531a14222ccc1c409
7
+ data.tar.gz: 03eb192d705d4cefe7d1483e77960d355626898bb7921ff0440d694bd7274235a26f7825932f5e966a5ef0c70ab39e095789fe2eaf151d820ba856d7e41bed6f
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.2
4
+ - Fix string templating for key, url, secret and project_id fields
5
+
3
6
  ## 0.4.1
4
7
  - Fixing versions for development dependencies.
5
8
 
@@ -124,10 +124,10 @@ class LogStash::Outputs::Sentry < LogStash::Outputs::Base
124
124
  auth_header = "Sentry sentry_version=5," +
125
125
  "sentry_client=raven_logstash/0.4.0," +
126
126
  "sentry_timestamp=#{timestamp.to_i}," +
127
- "sentry_key=#{@key}," +
128
- "sentry_secret=#{@secret}"
127
+ "sentry_key=#{event.sprintf(@key)}," +
128
+ "sentry_secret=#{event.sprintf(@secret)}"
129
129
 
130
- url = "#{@url}/#{@project_id}/store/"
130
+ url = "#{event.sprintf(@url)}/#{event.sprintf(@project_id)}/store/"
131
131
 
132
132
  require 'http'
133
133
  response = HTTP.post(url, :body => packet.to_json, :headers => {:"X-Sentry-Auth" => auth_header})
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-sentry'
3
- s.version = '0.4.1'
3
+ s.version = '0.4.2'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = 'This output plugin sends messages to any sentry server.'
6
6
  s.description = 'This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install logstash-output-sentry. This gem is not a stand-alone program.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-sentry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Matos Odut
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-23 00:00:00.000000000 Z
12
+ date: 2018-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: logstash-core-plugin-api