jsonschema_serializer 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 395b1b884c0ae4cb6a7482c829874658d73b4263
4
- data.tar.gz: d336c0f04228e6e9d9eed216587186f15c26b677
3
+ metadata.gz: b5ff79bf4ed3d32004617cd27553db4d78259564
4
+ data.tar.gz: af09ee9cb24e9d22ab131be621fb6eced08c72dd
5
5
  SHA512:
6
- metadata.gz: a3c34d1b59ba6ff2b94f266627bb78273a41fcab30f4f7e3f391f0ef51abcda8c8a74087de5fce94dc1830ccd396feabc8c0786b2fd2ed067d0e2c1e8e4fd775
7
- data.tar.gz: 7b05406b0c4ff3ee5d73c1dcb64935c750e80b3bd8563fface0a5ce3d762cf542d39f66c31f302a2de97e9eb966b7dfd5448c7ba05e28e24ff84d49a888d328d
6
+ metadata.gz: 2042a3ee18d60c3f8a88279d2013099a0f12e15935882fb91ebb01d5633b2a624ba9d6c1a0653489f1e3dab5cfd41c2b217be16ec98e7a1b366f444dbd84a261
7
+ data.tar.gz: c8e60dd65ddecfafe0195cb5bf05d2d7605f4d6d5aaf775b967942fc5f59de7a224068c6f4b5346a93dacd419fe5bf801a2a4ec1145148fec97df56ce78ad775
@@ -14,7 +14,7 @@ Metrics/LineLength:
14
14
  Max: 90
15
15
 
16
16
  Style/Documentation:
17
- Enabled: true
17
+ Enabled: false
18
18
 
19
19
  Style/FrozenStringLiteralComment:
20
20
  Enabled: false
@@ -14,13 +14,15 @@ Gem::Specification.new do |spec|
14
14
  The goal behind this gem is to generate JsonSchema.
15
15
  This can be done using thanks to a Builder class or
16
16
  an ActiveRecord serialization module.
17
+ The project is still at an early stage so all PR or feature request will
18
+ be welcome on the Github repo
17
19
  EOT
18
20
  spec.homepage = "https://github.com/mberlanda/jsonschema_serializer"
19
21
  spec.licenses = ['MIT']
20
22
 
21
23
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
22
24
  # to allow pushing to a single host or delete this section to allow pushing to any host.
23
- spec.metadata = { "source_code_uri" => "https://github.com/mberlanda/jsonschema_serialize" }
25
+ spec.metadata = { "source_code_uri" => "https://github.com/mberlanda/jsonschema_serializer" }
24
26
  # if spec.respond_to?(:metadata)
25
27
  # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
26
28
  # else
@@ -5,14 +5,10 @@ require_relative 'builder'
5
5
  # ActiveRecord classes with the minimum effort
6
6
 
7
7
  module JsonschemaSerializer
8
- # :no-rdoc:
9
8
  module ActiveRecord
10
- # :no-rdoc:
11
9
  def self.included(klass)
12
10
  klass.extend(ClassMethods)
13
11
  end
14
-
15
- # :no-rdoc:
16
12
  module ClassMethods
17
13
  # Serialize an ActiveRecord class into a
18
14
  # JsonschemaSerializer::Builder object
@@ -1,7 +1,6 @@
1
1
  require 'json'
2
2
 
3
3
  module JsonschemaSerializer
4
- # :no-rdoc:
5
4
  class Builder
6
5
  class << self
7
6
  def build
@@ -1,4 +1,3 @@
1
- # :no-rdoc:
2
1
  module JsonschemaSerializer
3
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
4
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonschema_serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauro Berlanda
@@ -56,6 +56,8 @@ description: |2
56
56
  The goal behind this gem is to generate JsonSchema.
57
57
  This can be done using thanks to a Builder class or
58
58
  an ActiveRecord serialization module.
59
+ The project is still at an early stage so all PR or feature request will
60
+ be welcome on the Github repo
59
61
  email:
60
62
  - mauro.berlanda@gmail.com
61
63
  executables: []
@@ -82,7 +84,7 @@ homepage: https://github.com/mberlanda/jsonschema_serializer
82
84
  licenses:
83
85
  - MIT
84
86
  metadata:
85
- source_code_uri: https://github.com/mberlanda/jsonschema_serialize
87
+ source_code_uri: https://github.com/mberlanda/jsonschema_serializer
86
88
  post_install_message:
87
89
  rdoc_options:
88
90
  - "--title"