logjam_agent 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logjam_agent/railtie.rb +2 -1
- data/lib/logjam_agent/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: 9e74ba9f0ea165f7aaac6b3829ca0cf88f4f82f8
|
4
|
+
data.tar.gz: c99b71bd5e08f7f09e0257cb8cb0048333d34067
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 205690b2bec4aeb697703dab42c47aa1c1a19ea38be5743a90c56a1b399c67c4913b940a06ec8e03343cb55df4d86752165630f11c43155f9257588829b46050
|
7
|
+
data.tar.gz: 1b66fa1f15db4053683abd857ef6da01c9815a86bd2898dc052658a2c5c88084050f5447d81db082bb47993a706814958a7ffa1a83fd9d9106b473c423feae7e
|
data/lib/logjam_agent/railtie.rb
CHANGED
@@ -70,7 +70,8 @@ module LogjamAgent
|
|
70
70
|
# ignore asset requests in development
|
71
71
|
LogjamAgent.ignore_asset_requests = Rails.env.development?
|
72
72
|
|
73
|
-
|
73
|
+
revision_file = File.join(app.root, 'REVISION')
|
74
|
+
LogjamAgent.application_revision = File.exist?(revision_file) ? File.read(revision_file) : `git rev-parse HEAD 2>/dev/null`.chomp rescue ""
|
74
75
|
|
75
76
|
# disable logjam request forwarding by default in test environment
|
76
77
|
LogjamAgent.disable! if Rails.env.test?
|
data/lib/logjam_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.24.
|
4
|
+
version: 0.24.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Kaes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|