newrelic-elasticsearch 0.3.0 → 0.3.1

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
- SHA1:
3
- metadata.gz: 7abede7f3332880961be9fb6acbdb8b6d0af071d
4
- data.tar.gz: 1be66c7223437a74a2eefbd91bea092c91d1ccd3
2
+ SHA256:
3
+ metadata.gz: eb2626e3e6227e5f91d889a0b3b278171d0d80430dc35425c2a7f4c203a678f1
4
+ data.tar.gz: 5fb637c483d07512b7fc3f9e72c8c126069becab265db0420861e378d065731f
5
5
  SHA512:
6
- metadata.gz: 534d3a00821174ffc9998382e3bbb326d7fbb739058a2857779fe88a1353ddff2bf129a40a03fc5df3a2b2797d9c29bcab6a13c47e457aea399b8973c746992e
7
- data.tar.gz: 15db3bf3d9e5af7904564dbed4045f1ff6f570f9cf38623cc6979c313d1abce8cd0bdedaecf2856ca726740d32e1081ef3986e092bcf18e2c9b35a71e55ad9bd
6
+ metadata.gz: 50c13eeb1e0a788ca34797feb89f9c1b697f5ac2ddb6208a98d276e2f0c4dad3764dc4122c5d4bbe53c353cc670db484391da78f11942a05fde098f197b89cbb
7
+ data.tar.gz: 4b46cdb852c80bf7d421a1bf7149830981bb249a3d7fd0dbdb4d8043de6be350d76ac684eff8ea592856e3abd311bbdb3749760ca078e7d8c757b9970dbbac3c
@@ -1,3 +1,5 @@
1
+ require "cgi"
2
+
1
3
  class NewRelic::ElasticsearchOperationResolver
2
4
  module Inflector
3
5
  refine String do
@@ -136,7 +138,7 @@ class NewRelic::ElasticsearchOperationResolver
136
138
  end
137
139
 
138
140
  def path_components
139
- @path_components ||= path.split('/').reject { |s| s.empty? }
141
+ @path_components ||= CGI::unescape(path).split('/').reject { |s| s.empty? }
140
142
  end
141
143
 
142
144
  def operands
@@ -1,5 +1,5 @@
1
1
  module NewRelic
2
2
  module Elasticsearch
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Prater
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-21 00:00:00.000000000 Z
11
+ date: 2018-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  requirements: []
132
132
  rubyforge_project:
133
- rubygems_version: 2.6.14
133
+ rubygems_version: 2.7.6
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: Provides NewRelic datastore instrumentation for Elasticsearch