raygun4ruby 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -2
- data/lib/raygun/middleware/javascript_exception_tracking.rb +4 -2
- data/lib/raygun/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1b2d4b0893569016193338e74716ee400aa22318
|
|
4
|
+
data.tar.gz: c95e698b2376c2592dc19b341a3c82ca213d64bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7ac04cea20753d0e5618af7d8676c8ce48648932de4311d5dc38d311b942f9677e352c3739bb21591b61aeb40859aa1f34af8698a7257a6d27b25a60cba1462
|
|
7
|
+
data.tar.gz: e1374a86dc5768b89fc10e32548dc6f6beb22b9560b35d9d81b0aee467f53f945cd6c1bc865816fef72fea52db37e2ab64fce8f758b89dced6fb9fd9a53b60b3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
## 3.1.1 (16/01/2019):
|
|
2
|
+
Bugfix:
|
|
3
|
+
- Don't attempt to modify response unless JS api key is present
|
|
4
|
+
- Don't attempt to modify response unless it responds to indexing ([])
|
|
5
|
+
- See PR ([#140](https://github.com/MindscapeHQ/raygun4ruby/pull/140))
|
|
6
|
+
|
|
1
7
|
## 3.1.0 (15/01/2019):
|
|
2
8
|
|
|
3
|
-
|
|
4
|
-
- Ability to automatically configure Raygun4JS on the client side by injecting it into outbound HTML pages. Thanks @MikeRogers0 for this ([#138](https://github.com/MindscapeHQ/raygun4ruby/pull/138)
|
|
9
|
+
Feature:
|
|
10
|
+
- Ability to automatically configure Raygun4JS on the client side by injecting it into outbound HTML pages. Thanks @MikeRogers0 for this ([#138](https://github.com/MindscapeHQ/raygun4ruby/pull/138))
|
|
5
11
|
|
|
6
12
|
## 3.0.0 (18/12/2018):
|
|
7
13
|
Breaking changes:
|
|
@@ -16,8 +16,10 @@ module Raygun::Middleware
|
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
def inject_javascript_to_response(response)
|
|
19
|
-
response
|
|
20
|
-
|
|
19
|
+
if Raygun.configuration.js_api_key.present? && response.respond_to?('[]')
|
|
20
|
+
response[0].gsub!('</head>', "#{js_tracker.head_html}</head>")
|
|
21
|
+
response[0].gsub!('</body>', "#{js_tracker.body_html}</body>")
|
|
22
|
+
end
|
|
21
23
|
|
|
22
24
|
response
|
|
23
25
|
end
|
data/lib/raygun/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: raygun4ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mindscape
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-01-
|
|
12
|
+
date: 2019-01-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|