action_reporter 1.0.1 → 1.0.2

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: 635a23e3496c3d18ed4cc254a9777896835b332529bfd8c9ed762fc7b20f3c76
4
- data.tar.gz: 72c4f80f6b4d8a37d561f18431860534be34db8696fff9ce31cc92f03e64bbe4
3
+ metadata.gz: '0569ae232aed54ea4777b366d95fef80a4058d02a2c22bccdf1a56614282ff99'
4
+ data.tar.gz: 22317e6ea26f6a06f1626a7812ed65dbee279b9b45f6485166cb0c2bc0da7bf1
5
5
  SHA512:
6
- metadata.gz: 973437e5b1b7201d439c96f2fb4d28ac12c585e6ff634130ef77e9909f22160cb30cd632947fe8d00426d878dc72e746f9703101a4aeb65d41869d88a18e637a
7
- data.tar.gz: b93644614f0657b6386639d4bdc73546d5105fd49688a91b34c17123ad1ea706f84f2ec06d231b9adce0bfebfb70924b56188a46350f64e2ae53d2ccf81c8c02
6
+ metadata.gz: 34c9ca0d8dfed3925742e698a2f013aebdda61bbad8f6a63e5751e42cb56c57d605b67965fa612dee07e2d84d467fd749abe3d460ad4ad9a921568817f9bfdb8
7
+ data.tar.gz: 00b99d87c2ece2ba07779ab176b063e7ef862466f4f7354905da3272b8a7b622b7775f7e92cb144615c4759667be7d98ae2f704cbcfc94c5c198f22bda3ac6e3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.2
2
+
3
+ * Add ruby version support for versions lower than 3.2.0
4
+
1
5
  # 1.0.1
2
6
 
3
7
  * Fix scoutapm reset_context method
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "action_reporter"
3
- s.version = "1.0.1"
3
+ s.version = "1.0.2"
4
4
 
5
5
  s.license = "MIT"
6
6
 
@@ -24,6 +24,6 @@ Gem::Specification.new do |s|
24
24
  # s.bindir = "bin"
25
25
  # s.executables = ["action_reporter"]
26
26
 
27
- s.required_ruby_version = ">= 3.2.0"
27
+ s.required_ruby_version = ">= 1.9.3"
28
28
  s.require_path = "lib"
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module ActionReporter
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
@@ -52,7 +52,8 @@ module ActionReporter
52
52
  end
53
53
 
54
54
  def transform_context(context)
55
- ActionReporter::Utils.deep_transform_values(context.except(:audited_user)) do |value|
55
+ filtered_context = context.reject { |k, _| k == :audited_user }
56
+ ActionReporter::Utils.deep_transform_values(filtered_context) do |value|
56
57
  if value.respond_to?(:to_global_id)
57
58
  value.to_global_id.to_s
58
59
  else
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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Makarov
@@ -47,7 +47,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
47
  requirements:
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 3.2.0
50
+ version: 1.9.3
51
51
  required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="