honeycomb-beeline 2.4.0 → 2.4.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
2
  SHA256:
3
- metadata.gz: eaa9bbe8dbe9bfb0de78101ff1809ed07b87535b4d8abc19468d3285cbd60300
4
- data.tar.gz: b31e267934ac0edf772eddfee5e3cd0be333c7469ae267fa706b670da15d5453
3
+ metadata.gz: b0f7fd0a816bb7817900181d110a0f95d63b3191aeca362bbe0aadbc18609d7a
4
+ data.tar.gz: '0702890fe4606c12f68ee032578a8b6f896fcc17c454794f23b3f0705a762c5a'
5
5
  SHA512:
6
- metadata.gz: 6b294598dae62f56f1ebfef7c00d8c13fd2558976797c60bb3f95c75ad68ff7f0fef77888d1e2f7c622689c080a73448e6c41f2ba436ef255d888126915839f6
7
- data.tar.gz: b3b4b6746f630198c69b8c324004d088878000022654008fe6a8c88d88828424aad0646d5bd0fc6c0b122774acd98775f10bddcc84d311ef7330859d21ced655
6
+ metadata.gz: 96266118829b42c517e4a20e5d42b7d6bea65d8d5d65dd750c78d9825517070f7d1c15167c1dd6d5502be585c9621229369fa036e0c84fa8482cf109b91fcad7
7
+ data.tar.gz: 9a9ced838db3c0b5948555042b80a1876270e36de75c69b490c8bf55c9150b32c59aa7d2db6e61bd845d131aa83e644e8116f12f8d266957b628a3672f79de54
@@ -0,0 +1,13 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler" # See documentation for possible values
9
+ directory: "/gemfiles/" # Location of package manifests
10
+ schedule:
11
+ interval: "weekly"
12
+ reviewers:
13
+ - "honeycombio/integrations-team"
@@ -0,0 +1,16 @@
1
+ name: Apply project labels
2
+
3
+ on:
4
+ - issues
5
+ - label
6
+ - pull_request_target
7
+ - pull_request
8
+
9
+ jobs:
10
+ apply-labels:
11
+ runs-on: ubuntu-latest
12
+ name: Apply common project labels
13
+ steps:
14
+ - uses: honeycombio/integrations-labels@v1
15
+ with:
16
+ github-token: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # beeline-ruby changelog
2
2
 
3
+ ## 2.4.1 2021-06-01
4
+
5
+ ### Fixes
6
+
7
+ - Updates Redis event-field filter to handle string keys in options in
8
+ addition to symbol keys. (#147) [@cupakromer](https://github.com/cupakromer)
9
+
10
+ ### Maintenance
11
+
12
+ - Expanded on the Rails 5.2 example. (#141) [@robbkidd](https://github.com/robbkidd)
13
+ - Added a test case for current behavior of event emitted for an
14
+ exception raised in Rails. (@132) [@vreynolds](https://github.com/vreynolds)
15
+
3
16
  ## 2.4.0 2021-01-07
4
17
  ### Added
5
18
  - Add support for HTTP Accept-Encoding header (#125) [@irvingreid](https://github.com/irvingreid)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- honeycomb-beeline (2.4.0)
4
+ honeycomb-beeline (2.4.1)
5
5
  libhoney (~> 1.14, >= 1.14.2)
6
6
 
7
7
  GEM
@@ -29,6 +29,7 @@ GEM
29
29
  docile (1.3.2)
30
30
  domain_name (0.5.20190701)
31
31
  unf (>= 0.0.5, < 1.0.0)
32
+ excon (0.82.0)
32
33
  ffi (1.12.2)
33
34
  ffi-compiler (1.0.1)
34
35
  ffi (>= 1.0.0)
@@ -42,13 +43,14 @@ GEM
42
43
  http-cookie (1.0.3)
43
44
  domain_name (~> 0.5)
44
45
  http-form_data (2.3.0)
45
- http-parser (1.2.1)
46
+ http-parser (1.2.3)
46
47
  ffi-compiler (>= 1.0, < 2.0)
47
48
  iniparse (1.5.0)
48
49
  jaro_winkler (1.5.4)
49
50
  json (2.3.1)
50
- libhoney (1.14.5)
51
+ libhoney (1.18.0)
51
52
  addressable (~> 2.0)
53
+ excon
52
54
  http (>= 2.0, < 5.0)
53
55
  method_source (0.9.2)
54
56
  overcommit (0.46.0)
@@ -3,7 +3,7 @@
3
3
  module Honeycomb
4
4
  module Beeline
5
5
  NAME = "honeycomb-beeline".freeze
6
- VERSION = "2.4.0".freeze
6
+ VERSION = "2.4.1".freeze
7
7
  USER_AGENT_SUFFIX = "#{NAME}/#{VERSION}".freeze
8
8
  end
9
9
  end
@@ -159,7 +159,17 @@ module Honeycomb
159
159
  # * :logger - just some Ruby object, not useful
160
160
  # * :_parsed - implementation detail
161
161
  def ignore?(option)
162
- %i[url password logger _parsed].include?(option)
162
+ # Redis options may be symbol or string keys.
163
+ #
164
+ # This normalizes `option` using `to_sym` as benchmarking on Ruby MRI
165
+ # v2.6.6 and v2.7.3 has shown that was faster compared to `to_s`.
166
+ # However, `nil` does not support `to_sym`. This uses a guard clause to
167
+ # handle the `nil` case because this is still faster than safe
168
+ # navigation. Also this lib still supports Ruby 2.2.0; which does not
169
+ # include safe navigation.
170
+ return true unless option
171
+
172
+ %i[url password logger _parsed].include?(option.to_sym)
163
173
  end
164
174
 
165
175
  def format(cmd)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeycomb-beeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Holman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-07 00:00:00.000000000 Z
11
+ date: 2021-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libhoney
@@ -238,6 +238,8 @@ files:
238
238
  - ".circleci/setup-rubygems.sh"
239
239
  - ".editorconfig"
240
240
  - ".github/CODEOWNERS"
241
+ - ".github/dependabot.yml"
242
+ - ".github/workflows/apply-labels.yml"
241
243
  - ".gitignore"
242
244
  - ".overcommit.yml"
243
245
  - ".rspec"
@@ -304,7 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
304
306
  - !ruby/object:Gem::Version
305
307
  version: '0'
306
308
  requirements: []
307
- rubygems_version: 3.0.3
309
+ rubygems_version: 3.0.3.1
308
310
  signing_key:
309
311
  specification_version: 4
310
312
  summary: Instrument your Ruby apps with Honeycomb