bullet_train-super_scaffolding 1.2.23 → 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: 3ae4d41c90779494af4d4427d5276c90caca051037eafc0efd2257640a4d620a
4
- data.tar.gz: adc894551f63c86d432fc9c1bffda8accd68e2392a7f31c3b6ff6a7d51e724bf
3
+ metadata.gz: 9f4ffbfcc8e0e61cd31d5910262e32b9e5419d9dd1c6ebc7ac2141d34b1c4c3a
4
+ data.tar.gz: 427ab7a96aca625339302ff677d05138846dc951951c21e9ce9300fb36d6850f
5
5
  SHA512:
6
- metadata.gz: b688d18806f6a0d91cd1f239ac1826d2c772f88cb0dee70e9a7eca16deae595a9848fe03c31de7c970c1b3272ba35acda00c22a5318bbfee6434b278b75a2b80
7
- data.tar.gz: 3ef0799686ac18e00730eb174856d4152ed0b73d9dab9629c8b2d9546682347b1d5fb285b656b22fc37ca361c2640bc2a218157aec62fc349b993f58554fcd97
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.23"
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.23
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-01 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
@@ -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"