asana_exception_notifier 0.0.5 → 0.0.6

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: 520178c0df0b87ab02ee7a9e05b3c37f11570796
4
- data.tar.gz: cf6746459b95fd0db6f7e7ba5ad184790c0cebfe
3
+ metadata.gz: 6324de78b9f41b71b8e8d6384a772719f291decd
4
+ data.tar.gz: 23c376c63a84ca5d6c9161474b13d17ffae082c6
5
5
  SHA512:
6
- metadata.gz: 8323b25c7d23852e0be40cd00ce98c421544b66f28b5190a44fbafce960cbbbc850e147b28f4f272539361070cd6a410ac6faab265035acace0214a149854506
7
- data.tar.gz: 2c94dfe47678d0942c5a3035babcfbb87d46d20084d6ee6e5e99c023ac87a7c2fa994a1991136e2e4a9394703d7947aec77dbdbb6d28023c14155c978b7b9cef
6
+ metadata.gz: f50b8bc0c3eba11770f1689e31db4fc458026fdf7decfe1c796762c6717926d52869add49fe031effa01cc34d9d423cbdf73389d3b5db9289cb369fbe12fbe13
7
+ data.tar.gz: ba8cd7b6fbd9cad58dbe9223f1879bd20a94e535015acfa7a69c79d71a394d2dacda7dbcb1d1a7706b345736811493dca919e4b6b534535b9e56030b9e2477d6
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
  s.add_runtime_dependency 'sys-uname', '~> 1.0', '>= 1.0.2'
38
38
 
39
39
  s.add_development_dependency 'rspec', '~> 3.4', '>= 3.4'
40
- s.add_development_dependency 'simplecov', '~> 0.10', '>= 0.10'
40
+ s.add_development_dependency 'simplecov', '~> 0.11', '>= 0.10'
41
41
  s.add_development_dependency 'simplecov-summary', '~> 0.0.4', '>= 0.0.4'
42
42
  s.add_development_dependency 'coveralls', '~> 0.7', '>= 0.7'
43
43
  s.add_development_dependency 'rake', '~> 10.5', '>= 10.5'
@@ -44,6 +44,8 @@ module AsanaExceptionNotifier
44
44
  return unless io.respond_to?(:rewind)
45
45
  io.rewind
46
46
  io.read
47
+ rescue
48
+ io.inspect
47
49
  end
48
50
 
49
51
  def tempfile_details(tempfile)
@@ -127,7 +129,7 @@ module AsanaExceptionNotifier
127
129
  if value.is_a?(Hash)
128
130
  get_hash_rows(value, rows, key)
129
131
  else
130
- rows.push(["#{prefix}#{key}".inspect, escape(value.inspect)])
132
+ rows.push(["#{prefix}#{key}".inspect, escape(inspect_value(value).inspect)])
131
133
  end
132
134
  end
133
135
  rows
@@ -152,14 +154,6 @@ module AsanaExceptionNotifier
152
154
  value.is_a?(Hash) ? value.reject! { |_new_key, new_value| new_value.is_a?(Hash) } : value
153
155
  end
154
156
 
155
- def coerce_object_to_hash(object)
156
- hash = {}
157
- object.instance_variables.each do |name|
158
- hash[name.to_s[1..-1]] = object.instance_variable_get(name)
159
- end
160
- hash
161
- end
162
-
163
157
  # Mount table for hash, using name and value and adding a name_value class
164
158
  # to the generated table.
165
159
  #
@@ -17,7 +17,7 @@ module AsanaExceptionNotifier
17
17
  # minor release version
18
18
  MINOR = 0
19
19
  # tiny release version
20
- TINY = 5
20
+ TINY = 6
21
21
  # prelease version ( set this only if it is a prelease)
22
22
  PRE = nil
23
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asana_exception_notifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada
@@ -236,7 +236,7 @@ dependencies:
236
236
  requirements:
237
237
  - - "~>"
238
238
  - !ruby/object:Gem::Version
239
- version: '0.10'
239
+ version: '0.11'
240
240
  - - ">="
241
241
  - !ruby/object:Gem::Version
242
242
  version: '0.10'
@@ -246,7 +246,7 @@ dependencies:
246
246
  requirements:
247
247
  - - "~>"
248
248
  - !ruby/object:Gem::Version
249
- version: '0.10'
249
+ version: '0.11'
250
250
  - - ">="
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0.10'