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: 8acc63a34469d966513eb96900f147663b5c09b2
4
- data.tar.gz: 9796455e4d9421f2859c8d4538de6831da85bdca
3
+ metadata.gz: 270fb8e7bd32785bf54a2ea5b5de61948da59f6a
4
+ data.tar.gz: 2a0cb808348810d7a2d7d7e2bedbabe61d9f498f
5
5
  SHA512:
6
- metadata.gz: 6b29f619f486fcfe07dc78df306be981b00b7d7ecdfc8ca0cc267cad7e3f31d6966c595fc0ddb9d9f85c6adcfa96fd24103318d722e7c49d827b3bb4d0c0f7fe
7
- data.tar.gz: b7670074ed3d5862663e5b10035edc964655e1f801448a7347801c42514ccd57e6a710c4728d542775e204deb7e64415a2428aad159c291517b07a736f368594
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) ? Rails.logger : ExceptionNotifier.logger
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
  #
@@ -17,7 +17,7 @@ module AsanaExceptionNotifier
17
17
  # minor release version
18
18
  MINOR = 0
19
19
  # tiny release version
20
- TINY = 8
20
+ TINY = 9
21
21
  # prelease version ( set this only if it is a prelease)
22
22
  PRE = nil
23
23
 
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.8
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-05 00:00:00.000000000 Z
11
+ date: 2016-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport