json-schema-serializer 1.2.0 → 1.2.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 +4 -4
- data/.rubocop.yml +2 -0
- data/json-schema-serializer.gemspec +4 -10
- data/lib/json/schema/serializer.rb +1 -0
- data/lib/json/schema/serializer/version.rb +1 -1
- metadata +2 -2
- data/.prettierignore +0 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f207536a1ba36cfa5ed2e197638d815ab1eb24e71abd373889eefb86042c38f8
|
|
4
|
+
data.tar.gz: 052f1f62be3e4742036b7e7fa5088b28bef3460c1111527adf677774f144d461
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66c04803cfc518eac8d2db50948f7ccbd48fef7d9ac8e757dc81b625bb87d21c10edd9af0d41d7e74278354e5da658642d05a8a62f16aeb3b3ec5dda73eb32df
|
|
7
|
+
data.tar.gz: 53597adc44e4a90c81536b8edd629affdd9f7fbbbbee07cd3fd3f8f4d9accb94220ad1c9f00b1a34f9548ee8a154e3cc0938e76aded65960929824ff0a154c74
|
data/.rubocop.yml
CHANGED
|
@@ -12,16 +12,10 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.summary = "JSON Schema based serializer"
|
|
13
13
|
spec.homepage = "https://github.com/Narazaka/json-schema-serializer"
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
spec.metadata["source_code_uri"] = "https://github.com/Narazaka/json-schema-serializer.git"
|
|
20
|
-
spec.metadata["changelog_uri"] = "https://github.com/Narazaka/json-schema-serializer/blob/master/CHANGELOG.md"
|
|
21
|
-
else
|
|
22
|
-
raise "RubyGems 2.0 or newer is required to protect against " \
|
|
23
|
-
"public gem pushes."
|
|
24
|
-
end
|
|
15
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
|
16
|
+
spec.metadata["source_code_uri"] = "https://github.com/Narazaka/json-schema-serializer.git"
|
|
17
|
+
spec.metadata["changelog_uri"] = "https://github.com/Narazaka/json-schema-serializer/blob/master/CHANGELOG.md"
|
|
18
|
+
spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}"
|
|
25
19
|
|
|
26
20
|
# Specify which files should be added to the gem when it is released.
|
|
27
21
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
@@ -23,6 +23,7 @@ module JSON
|
|
|
23
23
|
default = try_hash(schema, :default)
|
|
24
24
|
format = try_hash(schema, :format)
|
|
25
25
|
obj = default if obj.nil?
|
|
26
|
+
|
|
26
27
|
if options[:inject_key]
|
|
27
28
|
inject_key = try_hash(schema, options[:inject_key])
|
|
28
29
|
injector = try_hash(options[:injectors], inject_key) if inject_key
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: json-schema-serializer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Narazaka
|
|
@@ -159,7 +159,6 @@ extra_rdoc_files: []
|
|
|
159
159
|
files:
|
|
160
160
|
- ".github/workflows/ruby.yml"
|
|
161
161
|
- ".gitignore"
|
|
162
|
-
- ".prettierignore"
|
|
163
162
|
- ".prettierrc"
|
|
164
163
|
- ".rspec"
|
|
165
164
|
- ".rubocop.yml"
|
|
@@ -182,6 +181,7 @@ metadata:
|
|
|
182
181
|
homepage_uri: https://github.com/Narazaka/json-schema-serializer
|
|
183
182
|
source_code_uri: https://github.com/Narazaka/json-schema-serializer.git
|
|
184
183
|
changelog_uri: https://github.com/Narazaka/json-schema-serializer/blob/master/CHANGELOG.md
|
|
184
|
+
documentation_uri: https://www.rubydoc.info/gems/json-schema-serializer/1.2.1
|
|
185
185
|
post_install_message:
|
|
186
186
|
rdoc_options: []
|
|
187
187
|
require_paths:
|
data/.prettierignore
DELETED