appsignal-mongo 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +6 -3
- data/lib/appsignal/mongo/instrumentation.rb +1 -1
- data/lib/appsignal/mongo/version.rb +1 -1
- metadata +7 -1
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
AppSignal Mongo
|
2
2
|
===============
|
3
3
|
|
4
|
-
`appsignal-mongo` allows AppSignal clients to gain insight in database queries
|
4
|
+
`appsignal-mongo` allows AppSignal clients to gain insight in database queries
|
5
5
|
that use the [10gen-supported driver for MongoDB](
|
6
6
|
https://github.com/mongodb/mongo-ruby-driver),
|
7
7
|
for instance [Mongoid 2.x](http://github.com/mongoid/mongoid)
|
@@ -9,9 +9,12 @@ for instance [Mongoid 2.x](http://github.com/mongoid/mongoid)
|
|
9
9
|
For more information, visit:
|
10
10
|
|
11
11
|
* [AppSignal website](http://appsignal.com)
|
12
|
-
* [AppSignal
|
12
|
+
* [AppSignal docs](http://docs.appsignal.com/tweaks-in-your-code/integration-gems.html)
|
13
|
+
* [AppSignal client gem](https://github.com/appsignal/appsignal)
|
14
|
+
|
15
|
+
[<img src="https://travis-ci.org/appsignal/appsignal-mongo.png?branch=master"/>](http://travis-ci.org/appsignal/appsignal-mongo)
|
13
16
|
|
14
17
|
Licence
|
15
18
|
=======
|
16
19
|
|
17
|
-
See [LICENCE](https://github.com/
|
20
|
+
See [LICENCE](https://github.com/appsignal/appsignal-mongo/blob/master/LICENSE)
|
@@ -7,7 +7,7 @@ module Appsignal
|
|
7
7
|
|
8
8
|
def instrument_with_appsignal_instrumentation(name, payload={}, &block)
|
9
9
|
ActiveSupport::Notifications.instrument(
|
10
|
-
EVENT_NAME, name => payload) do
|
10
|
+
EVENT_NAME, name => Marshal.load(Marshal.dump(payload))) do
|
11
11
|
instrument_without_appsignal_instrumentation(name, payload, &block)
|
12
12
|
end
|
13
13
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appsignal-mongo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -149,12 +149,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
149
149
|
- - ! '>='
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '0'
|
152
|
+
segments:
|
153
|
+
- 0
|
154
|
+
hash: 2442974179887413600
|
152
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
156
|
none: false
|
154
157
|
requirements:
|
155
158
|
- - ! '>='
|
156
159
|
- !ruby/object:Gem::Version
|
157
160
|
version: '0'
|
161
|
+
segments:
|
162
|
+
- 0
|
163
|
+
hash: 2442974179887413600
|
158
164
|
requirements: []
|
159
165
|
rubyforge_project:
|
160
166
|
rubygems_version: 1.8.25
|