appsignal 1.0.1 → 1.0.2.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/ext/agent.yml +7 -7
- data/lib/appsignal/event_formatter/active_record/instantiation_formatter.rb +13 -0
- data/lib/appsignal/integrations/rake.rb +2 -0
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/event_formatter/active_record/instantiation_formatter_spec.rb +23 -0
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04e179e04f9119affdabab7e154ab0d94eccdae2
|
4
|
+
data.tar.gz: 34329272cbf71e9bc7ef73b069726b09418ce985
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e89d5c9c46c28a154b29da185f9b9b95b8a1a40b399d4ad8c4b680775d663590a4a9bdd650c20a8cf9b3f3b176e4c85751923585661df123f703969340413ea1
|
7
|
+
data.tar.gz: cb99c5936fc50cbc0fa168b46ebd8fb55f7c879c8a228735266c1bcc35450e88c4c2ebdebf87938995ea4a09ef269b58e2e4004e4399f1d53520757851e055f2
|
data/CHANGELOG.md
CHANGED
data/ext/agent.yml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
|
-
version:
|
2
|
+
version: 72b3ea5
|
3
3
|
triples:
|
4
4
|
x86_64-linux:
|
5
|
-
checksum:
|
6
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
5
|
+
checksum: 7e542558f427462a004fb50602d88bae75de9d3f210d1ee8ab23ee66d246e190
|
6
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/72b3ea5/appsignal-agent-x86_64-linux-static.tar.gz
|
7
7
|
lib_filename: libappsignal.a
|
8
8
|
i686-linux:
|
9
|
-
checksum:
|
10
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
9
|
+
checksum: 14e8937e93707d78302f04d4c02a5f969a1910f0187e8192a6a82c38493e2926
|
10
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/72b3ea5/appsignal-agent-i686-linux-static.tar.gz
|
11
11
|
lib_filename: libappsignal.a
|
12
12
|
x86_64-darwin:
|
13
|
-
checksum:
|
14
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
13
|
+
checksum: 684ce250db2e717937e2099d74358c2bfde8d911e9d98788ba483e652f0e8945
|
14
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/72b3ea5/appsignal-agent-x86_64-darwin-static.tar.gz
|
15
15
|
lib_filename: libappsignal.a
|
data/lib/appsignal/version.rb
CHANGED
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Appsignal::EventFormatter::ActiveRecord::InstantiationFormatter do
|
4
|
+
let(:klass) { Appsignal::EventFormatter::ActiveRecord::InstantiationFormatter }
|
5
|
+
let(:formatter) { klass.new }
|
6
|
+
|
7
|
+
it "should register request.net_http" do
|
8
|
+
Appsignal::EventFormatter.registered?('instantiation.active_record', klass).should be_true
|
9
|
+
end
|
10
|
+
|
11
|
+
describe "#format" do
|
12
|
+
let(:payload) do
|
13
|
+
{
|
14
|
+
record_count: 1,
|
15
|
+
class_name: 'User'
|
16
|
+
}
|
17
|
+
end
|
18
|
+
|
19
|
+
subject { formatter.format(payload) }
|
20
|
+
|
21
|
+
it { should == ['User', nil] }
|
22
|
+
end
|
23
|
+
end
|
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: 1.0.1
|
4
|
+
version: 1.0.2.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01-
|
12
|
+
date: 2016-01-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
@@ -152,6 +152,7 @@ files:
|
|
152
152
|
- lib/appsignal/config.rb
|
153
153
|
- lib/appsignal/event_formatter.rb
|
154
154
|
- lib/appsignal/event_formatter/action_view/render_formatter.rb
|
155
|
+
- lib/appsignal/event_formatter/active_record/instantiation_formatter.rb
|
155
156
|
- lib/appsignal/event_formatter/active_record/sql_formatter.rb
|
156
157
|
- lib/appsignal/event_formatter/moped/query_formatter.rb
|
157
158
|
- lib/appsignal/event_formatter/net_http/request_formatter.rb
|
@@ -175,6 +176,7 @@ files:
|
|
175
176
|
- lib/appsignal/integrations/mongo_ruby_driver.rb
|
176
177
|
- lib/appsignal/integrations/padrino.rb
|
177
178
|
- lib/appsignal/integrations/railtie.rb
|
179
|
+
- lib/appsignal/integrations/rake.rb
|
178
180
|
- lib/appsignal/integrations/resque.rb
|
179
181
|
- lib/appsignal/integrations/sinatra.rb
|
180
182
|
- lib/appsignal/js_exception_transaction.rb
|
@@ -205,6 +207,7 @@ files:
|
|
205
207
|
- spec/lib/appsignal/cli_spec.rb
|
206
208
|
- spec/lib/appsignal/config_spec.rb
|
207
209
|
- spec/lib/appsignal/event_formatter/action_view/render_formatter_spec.rb
|
210
|
+
- spec/lib/appsignal/event_formatter/active_record/instantiation_formatter_spec.rb
|
208
211
|
- spec/lib/appsignal/event_formatter/active_record/sql_formatter_spec.rb
|
209
212
|
- spec/lib/appsignal/event_formatter/moped/query_formatter_spec.rb
|
210
213
|
- spec/lib/appsignal/event_formatter/net_http/request_formatter_spec.rb
|
@@ -271,9 +274,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
271
274
|
version: '1.9'
|
272
275
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
273
276
|
requirements:
|
274
|
-
- - "
|
277
|
+
- - ">"
|
275
278
|
- !ruby/object:Gem::Version
|
276
|
-
version:
|
279
|
+
version: 1.3.1
|
277
280
|
requirements: []
|
278
281
|
rubyforge_project:
|
279
282
|
rubygems_version: 2.2.5
|
@@ -287,6 +290,7 @@ test_files:
|
|
287
290
|
- spec/lib/appsignal/cli_spec.rb
|
288
291
|
- spec/lib/appsignal/config_spec.rb
|
289
292
|
- spec/lib/appsignal/event_formatter/action_view/render_formatter_spec.rb
|
293
|
+
- spec/lib/appsignal/event_formatter/active_record/instantiation_formatter_spec.rb
|
290
294
|
- spec/lib/appsignal/event_formatter/active_record/sql_formatter_spec.rb
|
291
295
|
- spec/lib/appsignal/event_formatter/moped/query_formatter_spec.rb
|
292
296
|
- spec/lib/appsignal/event_formatter/net_http/request_formatter_spec.rb
|