api_scaffolding 1.1.4 → 1.1.5
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2fe2cb75afe5ae425ffec5b0c13b389fcc4d90ca5c5bef9be4003fda49a5d73b
|
|
4
|
+
data.tar.gz: a6ad3ee93e9aa84dd307b48bb40f7a1844fa4a8aaeb63ddca7cd4878d4225397
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 74bebb744c8fa2f4d16644fe1d8301758af36a5ad7911691b29e37c0376a8f195186c6ccc757bad38aca3284a41ef46ee4d94b46f4f3796612cb63b3fedac5fd
|
|
7
|
+
data.tar.gz: 6e6edf642cb0dc7fbcc80a83d386897a7651488f617f1f78626964395937407a3bdbf520e474d54176e45fc74e48555bc365781a75219067406ae470f9f7b259
|
|
@@ -59,7 +59,7 @@ module API<%= api_version_module_with_prefix %>
|
|
|
59
59
|
oauth2
|
|
60
60
|
<%- unless @no_params -%>
|
|
61
61
|
params do
|
|
62
|
-
use
|
|
62
|
+
use :attributes
|
|
63
63
|
end
|
|
64
64
|
<%- end -%>
|
|
65
65
|
<%- if @abilities_check -%>
|
|
@@ -105,7 +105,7 @@ module API<%= api_version_module_with_prefix %>
|
|
|
105
105
|
oauth2
|
|
106
106
|
<%- unless @no_params -%>
|
|
107
107
|
params do
|
|
108
|
-
use
|
|
108
|
+
use :attributes
|
|
109
109
|
end
|
|
110
110
|
<%- end -%>
|
|
111
111
|
<%- if @abilities_check -%>
|
|
@@ -8,7 +8,7 @@ module Params<%= api_version_module_with_prefix %>::<%= controller_class %>
|
|
|
8
8
|
optional :columns, type: [String], desc: 'Требуемый список колонок'
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
-
params
|
|
11
|
+
params :attributes do
|
|
12
12
|
<%- params_fields.each do |column| -%>
|
|
13
13
|
<%= parameter_line(column) %>
|
|
14
14
|
<%- end -%>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: api_scaffolding
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Павел Бабин
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-09-
|
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faker
|