appsignal 0.6.4 → 0.6.5
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 +8 -8
- data/CHANGELOG.md +3 -0
- data/lib/appsignal/transaction/transaction_formatter.rb +4 -1
- data/lib/appsignal/transmitter.rb +4 -2
- data/lib/appsignal/version.rb +1 -1
- data/spec/appsignal/transaction/transaction_formatter_spec.rb +1 -0
- data/spec/support/helpers/transaction_helpers.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmExMjg1NjdlMjdlZGQ5MWViMGUwYjI3ZDc5OTViYTgyNTcwYWExZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmYzOTA3NmQ0NDRiMDEzNjVlMmNiZTFhN2U2M2VjODhmODRmNzY3Ng==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjcwNDg1NmU2MDc1NGEwNTc5ZmM5ZjQwNDI5Njk1M2Y0NWNhOTVlY2FkMDBl
|
10
|
+
NDkwZDYwZGE1NDBhNGU3MjBmNDI2NjBiMjk3NGM0OGFjNWJiM2VkNGNmNjkx
|
11
|
+
OTE5ZGJjZjYxMTI4ZGFkYjNiN2U1ODJjYzFiYzRlYWZmOGRhNDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWI3NTI4NWEwZWI5MzhhODM1OTQ3NGMwZDM1YTU2NTk3ZjQyZDEyNDIyNTcw
|
14
|
+
N2I3OGYyMDM0Y2FmOGU1Y2VmMGZjZGM4MzVmOGVhNGI1NzUyZjhiYjYzYTEz
|
15
|
+
NzIzYzQwYzc3ZGFmYzNhMmNlZDAxNTk4Yzg0NGE5OGU0MTNmMDg=
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,7 @@ module Appsignal
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def to_hash
|
15
|
+
|
15
16
|
merge_process_action_event_with_log_entry! if process_action_event
|
16
17
|
if exception?
|
17
18
|
add_exception_to_hash!
|
@@ -41,8 +42,10 @@ module Appsignal
|
|
41
42
|
hash[:log_entry].merge!(process_action_event.to_appsignal_hash)
|
42
43
|
hash[:log_entry].tap do |o|
|
43
44
|
o.merge!(o.delete(:payload))
|
44
|
-
o
|
45
|
+
o.delete(:action)
|
46
|
+
o.delete(:controller)
|
45
47
|
o.delete(:name)
|
48
|
+
o[:action] = action
|
46
49
|
end
|
47
50
|
end
|
48
51
|
|
@@ -38,8 +38,10 @@ module Appsignal
|
|
38
38
|
Net::HTTP::Post.new(uri.request_uri).tap do |request|
|
39
39
|
request['Content-Type'] = CONTENT_TYPE
|
40
40
|
request['Content-Encoding'] = CONTENT_ENCODING
|
41
|
-
request.body = Zlib::Deflate.
|
42
|
-
|
41
|
+
request.body = Zlib::Deflate.deflate(
|
42
|
+
Appsignal.json.encode(payload),
|
43
|
+
Zlib::BEST_SPEED
|
44
|
+
)
|
43
45
|
end
|
44
46
|
end
|
45
47
|
|
data/lib/appsignal/version.rb
CHANGED
@@ -12,6 +12,7 @@ describe Appsignal::TransactionFormatter do
|
|
12
12
|
|
13
13
|
context "with a regular request" do
|
14
14
|
let(:transaction) { regular_transaction }
|
15
|
+
before { transaction.truncate! }
|
15
16
|
|
16
17
|
its(:keys) { should =~ [:request_id, :log_entry, :failed] }
|
17
18
|
its([:request_id]) { should == '1' }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appsignal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-09-
|
15
|
+
date: 2013-09-27 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rails
|