trophonius 1.4.5.2 → 1.4.5.4
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 +4 -4
- data/lib/trophonius_connection.rb +1 -1
- data/lib/trophonius_request.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5423635ca9e7c80d1880ae65a0dec526eb4eb7ba3b56c96ed58937c07c3a0481
|
4
|
+
data.tar.gz: 1db6ebebe107ba8c46e962f1ac79a46eaf22a4e82dc89831f623c8eee20593bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4532263579437b372761bd83e5c98a0bcdec5ac7552d0201056e5ce28d9c4f37cc0ad8f7f4505ccf221e62177a9498665d917bfc89c0501a30d89376b16f6f35
|
7
|
+
data.tar.gz: 27cf9b5dfa0ee4098116b76bb1390f400bbf85415d5f0e23b2bd278da52e495ff3a07cecb0a48d34f1397434fd655a5f6f1367f48019d52c90e25cce4de1aa22
|
@@ -173,7 +173,7 @@ module Trophonius
|
|
173
173
|
if Trophonius.config.layout_name != '' && test_connection == false
|
174
174
|
false
|
175
175
|
else
|
176
|
-
last_connection.nil? ? false :
|
176
|
+
last_connection.nil? ? false : test_connection
|
177
177
|
end
|
178
178
|
end
|
179
179
|
end
|
data/lib/trophonius_request.rb
CHANGED
@@ -37,6 +37,8 @@ module Trophonius
|
|
37
37
|
begin
|
38
38
|
JSON.parse(temp.response_body)
|
39
39
|
rescue Exception => e
|
40
|
+
puts e
|
41
|
+
puts e.backtrace
|
40
42
|
Error.throw_error('1631')
|
41
43
|
end
|
42
44
|
end
|
@@ -111,7 +113,9 @@ module Trophonius
|
|
111
113
|
)
|
112
114
|
begin
|
113
115
|
make_request(url, "Bearer #{get_token}", 'get', '{}')['response']['fieldMetaData'].map { |field| field['name'] }
|
114
|
-
rescue
|
116
|
+
rescue StandardError => e
|
117
|
+
puts e
|
118
|
+
puts e.backtrace
|
115
119
|
Error.throw_error('1631')
|
116
120
|
end
|
117
121
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trophonius
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.5.
|
4
|
+
version: 1.4.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kempen Automatisering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
98
|
+
rubygems_version: 3.3.16
|
99
99
|
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Link between Ruby (on Rails) and FileMaker.
|