multi_json 1.14.0 → 1.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/multi_json/options_cache.rb +2 -2
- data/lib/multi_json/version.rb +1 -1
- metadata +9 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4177b19f8193cf97c820d97c1781aa1f80640af156550dc3d3ef85d7429acfe6
|
4
|
+
data.tar.gz: 9b3e63206fe2a296f26182e06e5ca16860017032bdfe9a6ff4f5d3c489069df7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d850277f4d5b015dfe158227b20f0a7c78f41aee81fe54a256a64add52dbc597ed30404ed0e9ae168a9d173f497e897669c4bfe923cd28af1b9a94df4a90f53
|
7
|
+
data.tar.gz: a6725acebf16b259cd04557c2c2ceb18a78c1fcab530897bc47eaa162e3e1bc7b62f6a74e490400b5cb76567dbde859f1521b75bb8b6a6c8edbbfa3824782fd0
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,11 @@
|
|
1
|
+
1.14.1
|
2
|
+
------
|
3
|
+
|
4
|
+
* [Fix a warning in Ruby 2.7](https://github.com/intridea/multi_json/commit/26a94ab8c78a394cc237e2ea292c1de4f6ed30d7)
|
5
|
+
|
1
6
|
1.14.0
|
2
7
|
------
|
3
8
|
|
4
|
-
* [Fix a warning in Ruby 2.7](https://github.com/intridea/multi_json/commit/5d8febdbebc428882811b90d514f3628617a61d5)
|
5
9
|
* [Support Oj 3.x gem](https://github.com/intridea/multi_json/commit/5d8febdbebc428882811b90d514f3628617a61d5)
|
6
10
|
|
7
11
|
1.13.1
|
@@ -7,9 +7,9 @@ module MultiJson
|
|
7
7
|
@load_cache = {}
|
8
8
|
end
|
9
9
|
|
10
|
-
def fetch(type, key)
|
10
|
+
def fetch(type, key, &block)
|
11
11
|
cache = instance_variable_get("@#{type}_cache")
|
12
|
-
cache.key?(key) ? cache[key] : write(cache, key, &
|
12
|
+
cache.key?(key) ? cache[key] : write(cache, key, &block)
|
13
13
|
end
|
14
14
|
|
15
15
|
private
|
data/lib/multi_json/version.rb
CHANGED
@@ -2,7 +2,7 @@ module MultiJson
|
|
2
2
|
class Version
|
3
3
|
MAJOR = 1 unless defined? MultiJson::Version::MAJOR
|
4
4
|
MINOR = 14 unless defined? MultiJson::Version::MINOR
|
5
|
-
PATCH =
|
5
|
+
PATCH = 1 unless defined? MultiJson::Version::PATCH
|
6
6
|
PRE = nil unless defined? MultiJson::Version::PRE
|
7
7
|
|
8
8
|
class << self
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multi_json
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bleigh
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-10-
|
14
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|
@@ -75,10 +75,15 @@ files:
|
|
75
75
|
- lib/multi_json/parse_error.rb
|
76
76
|
- lib/multi_json/vendor/okjson.rb
|
77
77
|
- lib/multi_json/version.rb
|
78
|
-
homepage:
|
78
|
+
homepage: https://github.com/intridea/multi_json
|
79
79
|
licenses:
|
80
80
|
- MIT
|
81
|
-
metadata:
|
81
|
+
metadata:
|
82
|
+
bug_tracker_uri: https://github.com/intridea/multi_json/issues
|
83
|
+
changelog_uri: https://github.com/intridea/multi_json/blob/v1.14.1/CHANGELOG.md
|
84
|
+
documentation_uri: https://www.rubydoc.info/gems/multi_json/1.14.1
|
85
|
+
source_code_uri: https://github.com/intridea/multi_json/tree/v1.14.1
|
86
|
+
wiki_uri: https://github.com/intridea/multi_json/wiki
|
82
87
|
post_install_message:
|
83
88
|
rdoc_options: []
|
84
89
|
require_paths:
|