esquema 0.1.0 → 0.1.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/README.md +3 -7
- data/esquema.gemspec +1 -1
- data/lib/esquema/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e8324bb76d58095f92b42debd64164b92ea4b710ed6e4a8245727f0f37738ecc
|
|
4
|
+
data.tar.gz: cff598345220aa3ca29a30cf3020f27f4bcc093a660137203a564ec2adf2318a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b875bf9a00edbf26515c261e96e512cf8b940a48a613d35d1b461380c96528777c8a4522403d2ae1a907876c4e635033e453bec2356d708f554105c9533aeb3b
|
|
7
|
+
data.tar.gz: cdfcc607f90a1695d96aacbc0af3a07e646843a6bd0ebd221adf27105356fd61e6d75e1946826c893fedfde48990788547caf9ebbae522785f665c7b5154d186
|
data/README.md
CHANGED
|
@@ -50,16 +50,12 @@ Calling `User.json_schema` will return the JSON Schema for the User model:
|
|
|
50
50
|
|
|
51
51
|
## Installation
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
install the gem by executing:
|
|
54
54
|
|
|
55
|
-
$
|
|
55
|
+
$ gem install esquema
|
|
56
56
|
|
|
57
|
-
If bundler is not being used to manage dependencies, install the gem by executing:
|
|
58
57
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
Execute the following command to install the gem and generate the configuration file:
|
|
58
|
+
Run the following command to install the gem and generate the configuration file:
|
|
63
59
|
|
|
64
60
|
```bash
|
|
65
61
|
rails generate esquema:install
|
data/esquema.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = "Generate json-schema from ActiveRecord models."
|
|
12
12
|
spec.description = "Generate json-schema from ActiveRecord models."
|
|
13
|
-
spec.homepage = "https://esquema
|
|
13
|
+
spec.homepage = "https://github.com/sergiobayona/esquema"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
spec.required_ruby_version = ">= 2.6.0"
|
|
16
16
|
|
data/lib/esquema/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: esquema
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergio Bayona
|
|
@@ -77,12 +77,12 @@ files:
|
|
|
77
77
|
- lib/esquema/version.rb
|
|
78
78
|
- lib/generators/esquema/install/install_generator.rb
|
|
79
79
|
- lib/generators/esquema/install/templates/esquema_initializer.rb
|
|
80
|
-
homepage: https://esquema
|
|
80
|
+
homepage: https://github.com/sergiobayona/esquema
|
|
81
81
|
licenses:
|
|
82
82
|
- MIT
|
|
83
83
|
metadata:
|
|
84
84
|
allowed_push_host: https://rubygems.org
|
|
85
|
-
homepage_uri: https://esquema
|
|
85
|
+
homepage_uri: https://github.com/sergiobayona/esquema
|
|
86
86
|
source_code_uri: https://github.com/sergiobayona/esquema
|
|
87
87
|
changelog_uri: https://github.com/sergiobayona/esquema/blob/main/CHANGELOG.md
|
|
88
88
|
post_install_message:
|