tallty_import_export 1.1.3 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tallty_import_export/export.rb +8 -9
- data/lib/tallty_import_export/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c88cdd228b9e696c23fcc9d363f41a3f33234ded32d72f1b8a18c431b619466
|
4
|
+
data.tar.gz: e383cc130f3a07b517e99800c7310374d2c6138606a7b617195a94b7a217f67a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc542ab629693bc3f31d2aa06506b369df701b80116599600be86f00369bb1432192b1c248d0bdda2a248662e28a7909006b40d35a413a3048930c2e213871ee
|
7
|
+
data.tar.gz: 249c2248047c014de7e0075fa22b2aaedeea79716c766124dbe84d6b617d8cb404f6e08dba11938dd2b2cbd770af9c9d2c2ff07d818a44ceb50152b9892871fe
|
@@ -211,15 +211,14 @@ module TalltyImportExport
|
|
211
211
|
if r.is_a?(Array)
|
212
212
|
r.try(m) || r.try(:[], m.to_i)
|
213
213
|
else
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
r.try(
|
220
|
-
|
221
|
-
|
222
|
-
end || r.try(m)
|
214
|
+
data = r.try(:[], m) rescue nil
|
215
|
+
if data.nil?
|
216
|
+
data = r.try(:[], m.to_sym) rescue nil
|
217
|
+
end
|
218
|
+
if data.nil?
|
219
|
+
data = r.try(m) rescue nil
|
220
|
+
end
|
221
|
+
data
|
223
222
|
end
|
224
223
|
end
|
225
224
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tallty_import_export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- liyijie
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zip-zip
|