bullet_train-super_scaffolding 1.2.24 → 1.2.25

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: 9f4ffbfcc8e0e61cd31d5910262e32b9e5419d9dd1c6ebc7ac2141d34b1c4c3a
4
+ data.tar.gz: 427ab7a96aca625339302ff677d05138846dc951951c21e9ce9300fb36d6850f
5
5
  SHA512:
6
- metadata.gz: 84e31edef419d8823fb05118b04ca19176096c61f75cecda63f6118d28e36e73c3a4e78e632e0ffe623bc23e77567ab3d751aa46233ec46daef4e5561e969079
7
- data.tar.gz: da74218bcc3b6fbc74974f69890bd312081687bc7db43bcce3376a892c007529d4dbd75a4056bd7e2f697576c07fd3630255c2b4aa16310ededff9abe361554a
6
+ metadata.gz: 8c0f46fc79f18f8b4eb4038ba99357dc62a1fc7c2768c8d957950f238c33fc10e7de605b2e5b3fe58cc721c477b65403055970bb3fa7e1060c6d528e413bb634
7
+ data.tar.gz: 308c6395258f9de26ed72ac625efbdb1f561363e53596220027d54abe14812a765a91ca98994d8cfd83aa9c9205090e1a4ed1067b460262b06695fa1526e77fa
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.2.24"
3
+ VERSION = "1.2.25"
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.25
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-11 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"