bullet_train-super_scaffolding 1.2.24 → 1.2.26

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44a9369ea0000eef01eee082a9b73655325a43167be28a51352a4841ecceef36
4
- data.tar.gz: b959244d160b4ec8379f8b18e72e988692855dd6c498e1c6421e761ca9a58e2a
3
+ metadata.gz: 4e3445d1137447f279b259c48282f3cbe215d26976dbaba0db196c544e3e656a
4
+ data.tar.gz: 7594848ba5f17b1fb16db8ce40d6e26db628d5f6b92240bf19b00cd1e6ff3d0a
5
5
  SHA512:
6
- metadata.gz: 84e31edef419d8823fb05118b04ca19176096c61f75cecda63f6118d28e36e73c3a4e78e632e0ffe623bc23e77567ab3d751aa46233ec46daef4e5561e969079
7
- data.tar.gz: da74218bcc3b6fbc74974f69890bd312081687bc7db43bcce3376a892c007529d4dbd75a4056bd7e2f697576c07fd3630255c2b4aa16310ededff9abe361554a
6
+ metadata.gz: a38ac9c4a556546a7201ce6ed05d75bdde3ae88501a2765a53461c7a4c0203fac0d4bc351b018940f7d136635c492be1da737423695e81e39ee2a369629deda6
7
+ data.tar.gz: 91b5d1886ceddd41643725dde9de5fc31221fa40050f3be7a2dc5d44c1fbeb04dc3384eee93143703d85fd06cca993f936f04aa1cd2519421d2e5d96ad5f4b8c
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.2.24"
3
+ VERSION = "1.2.26"
4
4
  end
5
5
  end
@@ -1429,7 +1429,7 @@ class Scaffolding::Transformer
1429
1429
 
1430
1430
  unless cli_options["skip-model"]
1431
1431
  # find the database migration that defines this relationship.
1432
- migration_file_name = `grep "create_table :#{class_names_transformer.table_name} do |t|" db/migrate/*`.split(":").first
1432
+ migration_file_name = `grep "create_table :#{class_names_transformer.table_name}.*do |t|$" db/migrate/*`.split(":").first
1433
1433
  unless migration_file_name.present?
1434
1434
  raise "No migration file seems to exist for creating the table `#{class_names_transformer.table_name}`.\n" \
1435
1435
  "Please run the following command first and try Super Scaffolding again:\n" \
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-super_scaffolding
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.24
4
+ version: 1.2.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -126,7 +126,6 @@ files:
126
126
  - app/views/account/scaffolding/completely_concrete/tangible_things/new.html.erb
127
127
  - app/views/account/scaffolding/completely_concrete/tangible_things/show.html.erb
128
128
  - app/views/api/v1/open_api/scaffolding/absolutely_abstract/creative_concepts/_paths.yaml.erb
129
- - app/views/api/v1/open_api/scaffolding/completely_concrete/tangible_things/_paths.yaml.erb
130
129
  - app/views/api/v1/scaffolding/absolutely_abstract/creative_concepts/_creative_concept.json.jbuilder
131
130
  - app/views/api/v1/scaffolding/absolutely_abstract/creative_concepts/index.json.jbuilder
132
131
  - app/views/api/v1/scaffolding/absolutely_abstract/creative_concepts/show.json.jbuilder
@@ -192,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
191
  - !ruby/object:Gem::Version
193
192
  version: '0'
194
193
  requirements: []
195
- rubygems_version: 3.4.6
194
+ rubygems_version: 3.3.7
196
195
  signing_key:
197
196
  specification_version: 4
198
197
  summary: Bullet Train Super Scaffolding
@@ -1,93 +0,0 @@
1
- /scaffolding/absolutely_abstract/creative_concepts/{absolutely_abstract_creative_concept_id}/completely_concrete/tangible_things:
2
- get:
3
- tags:
4
- - "Scaffolding/Completely Concrete/Tangible Things"
5
- summary: "List Tangible Things"
6
- operationId: listScaffoldingCompletelyConcreteTangibleThings
7
- parameters:
8
- - name: absolutely_abstract_creative_concept_id
9
- in: path
10
- required: true
11
- schema:
12
- type: string
13
- responses:
14
- "404":
15
- description: "Not Found"
16
- "200":
17
- description: "OK"
18
- content:
19
- application/json:
20
- schema:
21
- type: object
22
- properties:
23
- data:
24
- type: array
25
- items:
26
- $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
27
- has_more:
28
- type: boolean
29
- post:
30
- tags:
31
- - "Scaffolding/Completely Concrete/Tangible Things"
32
- summary: "Create Tangible Thing"
33
- operationId: createScaffoldingCompletelyConcreteTangibleThings
34
- parameters:
35
- - name: absolutely_abstract_creative_concept_id
36
- in: path
37
- required: true
38
- schema:
39
- type: string
40
- responses:
41
- "404":
42
- description: "Not Found"
43
- "201":
44
- description: "Created"
45
- content:
46
- application/json:
47
- schema:
48
- $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters"
49
- /scaffolding/completely_concrete/tangible_things/{id}:
50
- get:
51
- tags:
52
- - "Scaffolding/Completely Concrete/Tangible Things"
53
- summary: "Fetch Tangible Thing"
54
- operationId: getScaffoldingCompletelyConcreteTangibleThings
55
- parameters:
56
- - $ref: "#/components/parameters/id"
57
- responses:
58
- "404":
59
- description: "Not Found"
60
- "200":
61
- description: "OK"
62
- content:
63
- application/json:
64
- schema:
65
- $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
66
- put:
67
- tags:
68
- - "Scaffolding/Completely Concrete/Tangible Things"
69
- summary: "Update Tangible Thing"
70
- operationId: updateScaffoldingCompletelyConcreteTangibleThings
71
- parameters:
72
- - $ref: "#/components/parameters/id"
73
- responses:
74
- "404":
75
- description: "Not Found"
76
- "200":
77
- description: "OK"
78
- content:
79
- application/json:
80
- schema:
81
- $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters"
82
- delete:
83
- tags:
84
- - "Scaffolding/Completely Concrete/Tangible Things"
85
- summary: "Remove Tangible Thing"
86
- operationId: removeScaffoldingCompletelyConcreteTangibleThings
87
- parameters:
88
- - $ref: "#/components/parameters/id"
89
- responses:
90
- "404":
91
- description: "Not Found"
92
- "200":
93
- description: "OK"