asana_exception_notifier 0.0.8 → 0.0.9
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 270fb8e7bd32785bf54a2ea5b5de61948da59f6a
|
4
|
+
data.tar.gz: 2a0cb808348810d7a2d7d7e2bedbabe61d9f498f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8bd4645473472235a3f43408769a0f1e1a21fde549ca154e4583ccb0aadf052f3238e2591a7e25f4b2c60531b22bc8f9c4b591d8be856980f51c406a3c725a1
|
7
|
+
data.tar.gz: 0a829955fe166f20c6ec27544c4eb13791f5bde19a3645ad573598a88359a855f9d8408a0bb4947eaad8f36c63b1ef81833fabba2988f5410a35593899526a65
|
@@ -69,7 +69,12 @@ module AsanaExceptionNotifier
|
|
69
69
|
#
|
70
70
|
# @api public
|
71
71
|
def logger
|
72
|
-
@logger ||= defined?(Rails)
|
72
|
+
@logger ||= ( defined?(Rails) && rails_logger.present? ? rails_logger : ExceptionNotifier.logger )
|
73
|
+
@logger = @logger.present? ? @logger : Logger.new(STDOUT)
|
74
|
+
end
|
75
|
+
|
76
|
+
def rails_logger
|
77
|
+
Rails.logger
|
73
78
|
end
|
74
79
|
|
75
80
|
def ensure_eventmachine_running(&block)
|
@@ -149,11 +154,6 @@ module AsanaExceptionNotifier
|
|
149
154
|
prefix_name
|
150
155
|
end
|
151
156
|
|
152
|
-
def parse_fieldset_value(options)
|
153
|
-
value = options[:value]
|
154
|
-
value.is_a?(Hash) ? value.reject! { |_new_key, new_value| new_value.is_a?(Hash) } : value
|
155
|
-
end
|
156
|
-
|
157
157
|
# Mount table for hash, using name and value and adding a name_value class
|
158
158
|
# to the generated table.
|
159
159
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asana_exception_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bogdanRada
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|