aws-sdk-core 2.1.5 → 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-core/json.rb +3 -3
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54b407bdb17f322f2b25d8ccbcaccc317fb182f5
|
4
|
+
data.tar.gz: 44222c367e970b769991226aefd268bb793a2c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41cd7dbbf8ee5259adf48958fc283539a475128c70068953ff981dee039e2dad535109df0ce112dbee3b2ff7700368ff90ba4edb410fcfe5f6b49a64bece7cc0
|
7
|
+
data.tar.gz: d284806817f0623121f5fab398e8a2d4e3268d45b8f945ac41a83d013c4a05ea9d9200dedb07d4a5fa6caa705bb841a0ec2a84ae19a67cda0522a1f5630d5bec
|
data/lib/aws-sdk-core/json.rb
CHANGED
@@ -33,20 +33,20 @@ module Aws
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def dump(value)
|
36
|
-
ENGINE.dump(value, ENGINE_DUMP_OPTIONS)
|
36
|
+
ENGINE.dump(value, *ENGINE_DUMP_OPTIONS)
|
37
37
|
end
|
38
38
|
|
39
39
|
private
|
40
40
|
|
41
41
|
def oj_engine
|
42
42
|
require 'oj'
|
43
|
-
[Oj, { mode: :compat }, Oj::ParseError]
|
43
|
+
[Oj, [{ mode: :compat }], Oj::ParseError]
|
44
44
|
rescue LoadError
|
45
45
|
false
|
46
46
|
end
|
47
47
|
|
48
48
|
def json_engine
|
49
|
-
[JSON,
|
49
|
+
[JSON, [], JSON::ParserError]
|
50
50
|
end
|
51
51
|
|
52
52
|
end
|
data/lib/aws-sdk-core/version.rb
CHANGED