honeycomb-rails 0.7.2 → 0.8.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 533c50b666c1fcedea44b6c995cbf9b355c5f77797a75ab3453ec3d8f0b16bee
|
4
|
+
data.tar.gz: 1ca9b5003000633990a29fdee9c953ad229e27d52eada2e2d4b38dca9ea8e232
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 476b8657c45a060dccf94228e4b02782c22a62047ee5da2c08e0330b93e8c48a4b9a019daab2cbfab00dcf52d87ae2798cd4bd2fce11503f59548fbf6f999577
|
7
|
+
data.tar.gz: 3ebdf878c27405f7e11cb5f840862d4c0fb9ed4b76813b4bda4df86a16e1fd977b8be27cfaf2f2110956762aa8b9320421f420408181bdf80a2a734693c4c61d
|
@@ -8,10 +8,18 @@ module HoneycombRails
|
|
8
8
|
class Railtie < ::Rails::Railtie
|
9
9
|
initializer 'honeycomb.action_controller_extensions', after: :action_controller do
|
10
10
|
::ActionController::Base.include(Extensions::ActionController::InstanceMethods)
|
11
|
+
|
12
|
+
if defined?(::ActionController::API) # Rails 5 and above
|
13
|
+
::ActionController::API.include(Extensions::ActionController::InstanceMethods)
|
14
|
+
end
|
11
15
|
end
|
12
16
|
|
13
17
|
initializer 'honeycomb.action_controller_overrides', after: :action_controller do
|
14
18
|
::ActionController::Base.include(Overrides::ActionControllerInstrumentation)
|
19
|
+
|
20
|
+
if defined?(::ActionController::API) # Rails 5 and above
|
21
|
+
::ActionController::API.include(Overrides::ActionControllerInstrumentation)
|
22
|
+
end
|
15
23
|
end
|
16
24
|
|
17
25
|
# set up libhoney after application initialization so that any config in
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: honeycomb-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Stokes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-08-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: libhoney
|