forest_liana 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c11b5cecdb14ff095685446cbdb6346b96534eb5
|
4
|
+
data.tar.gz: 457335b95720e68384dda19612f9d94a20dd76c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c00d67b506add56e5123e889c455f7840d211475786031da97126428c23f0f8183a058fa48121a02442e7778494a2637bf8e135fa425c2d46f1f8dc6c0de7c7
|
7
|
+
data.tar.gz: 62d79e39740e79d6e4b27bf803e80d3a00601ee2f61e4b5e1e9ffe1b5c159975a43a26b2da8628ad7ee1d59b7e445b4ac8fecc90bf11df075d1b04ff0c291492
|
@@ -18,7 +18,7 @@ module ForestLiana
|
|
18
18
|
format.csv { render_csv(getter, @association.klass) }
|
19
19
|
end
|
20
20
|
rescue => error
|
21
|
-
FOREST_LOGGER.error "Association Index error: #{error}"
|
21
|
+
FOREST_LOGGER.error "Association Index error: #{error}\n#{format_stacktrace(error)}"
|
22
22
|
internal_server_error
|
23
23
|
end
|
24
24
|
end
|
@@ -35,7 +35,7 @@ module ForestLiana
|
|
35
35
|
head :no_content
|
36
36
|
end
|
37
37
|
rescue => error
|
38
|
-
FOREST_LOGGER.error "Association Update error: #{error}"
|
38
|
+
FOREST_LOGGER.error "Association Update error: #{error}"\n#{error.backtrace}
|
39
39
|
internal_server_error
|
40
40
|
end
|
41
41
|
end
|
@@ -47,7 +47,7 @@ module ForestLiana
|
|
47
47
|
|
48
48
|
head :no_content
|
49
49
|
rescue => error
|
50
|
-
FOREST_LOGGER.error "Association Associate error: #{error}"
|
50
|
+
FOREST_LOGGER.error "Association Associate error: #{error}\n#{format_stacktrace(error)}"
|
51
51
|
internal_server_error
|
52
52
|
end
|
53
53
|
end
|
@@ -59,7 +59,7 @@ module ForestLiana
|
|
59
59
|
|
60
60
|
head :no_content
|
61
61
|
rescue => error
|
62
|
-
FOREST_LOGGER.error "Association Associate error: #{error}"
|
62
|
+
FOREST_LOGGER.error "Association Associate error: #{error}\n#{format_stacktrace(error)}"
|
63
63
|
internal_server_error
|
64
64
|
end
|
65
65
|
end
|
@@ -23,7 +23,7 @@ module ForestLiana
|
|
23
23
|
format.csv { render_csv(getter, @resource) }
|
24
24
|
end
|
25
25
|
rescue => error
|
26
|
-
FOREST_LOGGER.error "Records Index error: #{error}"
|
26
|
+
FOREST_LOGGER.error "Records Index error: #{error}\n#{format_stacktrace(error)}"
|
27
27
|
internal_server_error
|
28
28
|
end
|
29
29
|
end
|
@@ -36,7 +36,7 @@ module ForestLiana
|
|
36
36
|
render serializer: nil, json:
|
37
37
|
serialize_model(get_record(getter.record), include: includes(getter))
|
38
38
|
rescue => error
|
39
|
-
FOREST_LOGGER.error "Record Show error: #{error}"
|
39
|
+
FOREST_LOGGER.error "Record Show error: #{error}\n#{format_stacktrace(error)}"
|
40
40
|
internal_server_error
|
41
41
|
end
|
42
42
|
end
|
@@ -57,7 +57,7 @@ module ForestLiana
|
|
57
57
|
creator.record.errors), status: 400
|
58
58
|
end
|
59
59
|
rescue => error
|
60
|
-
FOREST_LOGGER.error "Record Create error: #{error}"
|
60
|
+
FOREST_LOGGER.error "Record Create error: #{error}\n#{format_stacktrace(error)}"
|
61
61
|
internal_server_error
|
62
62
|
end
|
63
63
|
end
|
@@ -78,7 +78,7 @@ module ForestLiana
|
|
78
78
|
updater.record.errors), status: 400
|
79
79
|
end
|
80
80
|
rescue => error
|
81
|
-
FOREST_LOGGER.error "Record Update error: #{error}"
|
81
|
+
FOREST_LOGGER.error "Record Update error: #{error}\n#{format_stacktrace(error)}"
|
82
82
|
internal_server_error
|
83
83
|
end
|
84
84
|
end
|
@@ -88,7 +88,7 @@ module ForestLiana
|
|
88
88
|
@resource.destroy(params[:id])
|
89
89
|
head :no_content
|
90
90
|
rescue => error
|
91
|
-
FOREST_LOGGER.error "Record Destroy error: #{error}"
|
91
|
+
FOREST_LOGGER.error "Record Destroy error: #{error}\n#{format_stacktrace(error)}"
|
92
92
|
internal_server_error
|
93
93
|
end
|
94
94
|
end
|
data/lib/forest_liana/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forest_liana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sandro Munda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|