action_reporter 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d04726ad07e0a3930895a3f5f50c570cee75636ba92aa13d142f1d45c84c2812
4
- data.tar.gz: 12a7b129dda548f8dca465a2d406b8d6982c4bc34fd8259edafe57451c8cfe07
3
+ metadata.gz: 635a23e3496c3d18ed4cc254a9777896835b332529bfd8c9ed762fc7b20f3c76
4
+ data.tar.gz: 72c4f80f6b4d8a37d561f18431860534be34db8696fff9ce31cc92f03e64bbe4
5
5
  SHA512:
6
- metadata.gz: 35b4f4953e373d8c45d29a250dc0e0d4ee53b4a6aab4121c779ecc1090d669059c26da764562ff360e5f6e540ced4b8de9d347cfa10dc8e71650ac816ead214b
7
- data.tar.gz: 65ea44fc78c36bb0227ad930ff737060b1c6188ebb237a6d5adbc1b13504a91886cd38a7694a64ce1205973525af93e5d95f02e79376f10207271fb95c0d7c1b
6
+ metadata.gz: 973437e5b1b7201d439c96f2fb4d28ac12c585e6ff634130ef77e9909f22160cb30cd632947fe8d00426d878dc72e746f9703101a4aeb65d41869d88a18e637a
7
+ data.tar.gz: b93644614f0657b6386639d4bdc73546d5105fd49688a91b34c17123ad1ea706f84f2ec06d231b9adce0bfebfb70924b56188a46350f64e2ae53d2ccf81c8c02
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ # 1.0.1
2
+
3
+ * Fix scoutapm reset_context method
4
+ * Update README notes
5
+
1
6
  # 1.0.0
2
7
 
3
8
  * Initial version
data/README.md CHANGED
@@ -37,11 +37,11 @@ Put this in your `config/initializers/action_reporter.rb` file:
37
37
 
38
38
  ```ruby
39
39
  ActionReporter.enabled_reporters = [
40
- ActionReporter::Reporters::RailsReporter.new,
41
- # ActionReporter::Reporters::AuditedReporter.new,
42
- # ActionReporter::Reporters::SentryReporter.new,
43
- # ActionReporter::Reporters::HoneybadgerReporter.new,
44
- # ActionReporter::Reporters::ScoutApmReporter.new
40
+ ActionReporter::RailsReporter.new,
41
+ # ActionReporter::AuditedReporter.new,
42
+ # ActionReporter::SentryReporter.new,
43
+ # ActionReporter::HoneybadgerReporter.new,
44
+ # ActionReporter::ScoutApmReporter.new
45
45
  ]
46
46
  ```
47
47
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "action_reporter"
3
- s.version = "1.0.0"
3
+ s.version = "1.0.1"
4
4
 
5
5
  s.license = "MIT"
6
6
 
@@ -10,5 +10,14 @@ module ActionReporter
10
10
  def transform_context?
11
11
  true
12
12
  end
13
+
14
+ def notify(*)
15
+ end
16
+
17
+ def context(*)
18
+ end
19
+
20
+ def reset_context
21
+ end
13
22
  end
14
23
  end
@@ -8,16 +8,7 @@ module ActionReporter
8
8
  end
9
9
 
10
10
  def context(args)
11
- if args[:audited_user].present?
12
- ScoutApmContext.add_user(
13
- audited_user_global_id: args[:audited_user].to_global_id
14
- )
15
- end
16
11
  ScoutApmContext.add(args)
17
12
  end
18
-
19
- def reset_context
20
- ScoutApmContext.clear!
21
- end
22
13
  end
23
14
  end
@@ -1,3 +1,3 @@
1
1
  module ActionReporter
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_reporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Makarov