bullet_train-super_scaffolding 1.1.7 → 1.1.9

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: 0f560b6ee92c6f1ac338add5358fff80f4a9a24197197faf63797887518ebe79
4
- data.tar.gz: 108b6bf7570f40b13a319ef4577aa77eed003bec2e15877946786f3c683dc057
3
+ metadata.gz: 5757550e765c797bad32aaea6112c0cc7252df6303d609d39e77029d06712808
4
+ data.tar.gz: ff5bdc4e53e79af2fe45f13ae5b7111e3295d83a9b749044cde4544138931ded
5
5
  SHA512:
6
- metadata.gz: 2a4d3987fe60c64c63c6594cc32619cc7da55370c238ee7c00622e4bdd84483984b3270f34e67c26c57ff0af94f6f88f63551cad81f0a446bed677ce6c99ed88
7
- data.tar.gz: 599379c337cacd95d01cdb6e54b05423dfc62b247a4aac8b4c64fc0e556e1440482fd7d9a96eae4d9369a840b2356a04e9ac494abf5dc4cfb6305918cbdf62fd
6
+ metadata.gz: 9d21775efaaecfe326d749478d1710b1d62219c125222754000f8a6864c0c954fd3019154d0bb6d1cc65bc96b8a26ad5dbd602df9464e93d5f9f9a118d97e419
7
+ data.tar.gz: e4ee14ad18f88e986bc4024c52c3b0421d6591283a0feefd6594d6fd1222fd4f337b2912b0528bb406ba8b44a21ed6caeb3b9d548620ca7272a4e2486c1c23c7
@@ -22,8 +22,8 @@
22
22
  properties:
23
23
  data:
24
24
  type: array
25
- items:
26
- $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Attributes"
25
+ items:
26
+ $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
27
27
  has_more:
28
28
  type: boolean
29
29
  post:
@@ -45,7 +45,7 @@
45
45
  content:
46
46
  application/json:
47
47
  schema:
48
- $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Parameters"
48
+ $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters"
49
49
  /scaffolding/completely_concrete/tangible_things/{id}:
50
50
  get:
51
51
  tags:
@@ -62,7 +62,7 @@
62
62
  content:
63
63
  application/json:
64
64
  schema:
65
- $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Attributes"
65
+ $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
66
66
  put:
67
67
  tags:
68
68
  - "Scaffolding/Completely Concrete/Tangible Things"
@@ -78,7 +78,7 @@
78
78
  content:
79
79
  application/json:
80
80
  schema:
81
- $ref: "#/components/schemas/Scaffolding::CompletelyConcrete::TangibleThing::Parameters"
81
+ $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters"
82
82
  delete:
83
83
  tags:
84
84
  - "Scaffolding/Completely Concrete/Tangible Things"
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.1.7"
3
+ VERSION = "1.1.9"
4
4
  end
5
5
  end
@@ -1086,6 +1086,7 @@ class Scaffolding::Transformer
1086
1086
  #
1087
1087
 
1088
1088
  unless cli_options["skip-api"]
1089
+ # It's OK that this won't be found most of the time.
1089
1090
  scaffold_add_line_to_file(
1090
1091
  "./app/views/api/v1/open_api/scaffolding/completely_concrete/tangible_things/_components.yaml.erb",
1091
1092
  "<%= attribute :#{name} %>",
@@ -1093,6 +1094,7 @@ class Scaffolding::Transformer
1093
1094
  prepend: true
1094
1095
  )
1095
1096
 
1097
+ # It's OK that this won't be found most of the time.
1096
1098
  scaffold_add_line_to_file(
1097
1099
  "./app/views/api/v1/open_api/scaffolding/completely_concrete/tangible_things/_components.yaml.erb",
1098
1100
  "<%= parameter :#{name} %>",
@@ -1284,7 +1286,6 @@ class Scaffolding::Transformer
1284
1286
  "./app/controllers/account/scaffolding/completely_concrete/tangible_things_controller.rb",
1285
1287
  "./app/views/account/scaffolding/completely_concrete/tangible_things",
1286
1288
  "./app/views/api/v1/scaffolding/completely_concrete/tangible_things",
1287
- "./app/views/api/v1/open_api/scaffolding/completely_concrete/tangible_things",
1288
1289
  ("./config/locales/en/scaffolding/completely_concrete/tangible_things.en.yml" unless cli_options["skip-locales"]),
1289
1290
  ("./app/controllers/api/v1/scaffolding/completely_concrete/tangible_things_controller.rb" unless cli_options["skip-api"]),
1290
1291
  ("./test/controllers/api/v1/scaffolding/completely_concrete/tangible_things_controller_test.rb" unless cli_options["skip-api"])
@@ -1354,7 +1355,7 @@ class Scaffolding::Transformer
1354
1355
  # add children to the show page of their parent.
1355
1356
  scaffold_add_line_to_file(
1356
1357
  "./app/views/api/#{BulletTrain::Api.current_version}/open_api/index.yaml.erb",
1357
- "<%= components_for Scaffolding::CompletelyConcrete::TangibleThing %>",
1358
+ "<%= automatic_components_for Scaffolding::CompletelyConcrete::TangibleThing %>",
1358
1359
  "<%# 🚅 super scaffolding will insert new components above this line. %>",
1359
1360
  prepend: true
1360
1361
  )
@@ -1362,7 +1363,7 @@ class Scaffolding::Transformer
1362
1363
  # add children to the show page of their parent.
1363
1364
  scaffold_add_line_to_file(
1364
1365
  "./app/views/api/#{BulletTrain::Api.current_version}/open_api/index.yaml.erb",
1365
- "<%= paths_for Scaffolding::CompletelyConcrete::TangibleThing %>",
1366
+ "<%= automatic_paths_for Scaffolding::CompletelyConcrete::TangibleThing, Scaffolding::AbsolutelyAbstract::CreativeConcept %>",
1366
1367
  "<%# 🚅 super scaffolding will insert new paths above this line. %>",
1367
1368
  prepend: true
1368
1369
  )
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.1.7
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-17 00:00:00.000000000 Z
11
+ date: 2022-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard