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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6324de78b9f41b71b8e8d6384a772719f291decd
|
4
|
+
data.tar.gz: 23c376c63a84ca5d6c9161474b13d17ffae082c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
#
|
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.
|
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.
|
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.
|
249
|
+
version: '0.11'
|
250
250
|
- - ">="
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: '0.10'
|