bullet_train-super_scaffolding 1.1.8 → 1.1.10

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: dd6d322f764c7b1dec83c0740d014f0371688fc4529aec36c6907834c1d723fe
4
- data.tar.gz: 5b589a31f1f811c78f50882d5800bad6883223693934a2f22b16a3574c58de7f
3
+ metadata.gz: 3a171f4aefd9c6db04356efc8f487b2092232f8d2d912d977d4cdafc960017fd
4
+ data.tar.gz: eebe41554796b43c421dd8bcec48feada93eb3b1139e965f32580fb1783ced08
5
5
  SHA512:
6
- metadata.gz: b3c7eab5d90b3900563ba6b3117de6360e89769d014d87a4a50ee65906918200d53b9dbeffa903707b828007d9c61d34cc2b5f4c816e66ccc39ba87a1439cbf5
7
- data.tar.gz: 0116eca05c6cfbd7677332ea5353a7db5a13e36fb4fa86555ad02ab5850811e1f6932ce07cbc803c6e489facb731ab7b9ebe38e26fe544af4caca07a15dc8e29
6
+ metadata.gz: be433900749c9a05d339867c7b2e1d8eb76dee09b7a5c6577a579326abaacb4aa482ce1b5541f174c4167815571a239c276ff2dbbab101847d53ea9d066f96f7
7
+ data.tar.gz: e3213f8de2018f14b497d5f6f3875a161479d31079b4611eaf13a39d3c7876dcfa1d02da2ca61e9a2bacdd1409ce00916850c6a1e6a390926b69c782931502b5
@@ -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 @@
1
- json.data do
2
- json.array! @tangible_things, partial: "api/v1/scaffolding/completely_concrete/tangible_things/tangible_thing", as: :tangible_thing
3
- end
4
-
5
- render_pagination(json)
1
+ json.array! @tangible_things, partial: "api/v1/scaffolding/completely_concrete/tangible_things/tangible_thing", as: :tangible_thing
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.1.8"
3
+ VERSION = "1.1.10"
4
4
  end
5
5
  end
@@ -1086,6 +1086,10 @@ class Scaffolding::Transformer
1086
1086
  #
1087
1087
 
1088
1088
  unless cli_options["skip-api"]
1089
+ # We always want to suppress this error for this file, since it doesn't exist by default. We reset this below.
1090
+ suppress_could_not_find_state = suppress_could_not_find
1091
+ self.suppress_could_not_find = true
1092
+
1089
1093
  # It's OK that this won't be found most of the time.
1090
1094
  scaffold_add_line_to_file(
1091
1095
  "./app/views/api/v1/open_api/scaffolding/completely_concrete/tangible_things/_components.yaml.erb",
@@ -1101,6 +1105,8 @@ class Scaffolding::Transformer
1101
1105
  "<%# 🚅 super scaffolding will insert new parameter above this line. %>",
1102
1106
  prepend: true
1103
1107
  )
1108
+
1109
+ self.suppress_could_not_find = suppress_could_not_find_state
1104
1110
  end
1105
1111
 
1106
1112
  #
@@ -1363,7 +1369,7 @@ class Scaffolding::Transformer
1363
1369
  # add children to the show page of their parent.
1364
1370
  scaffold_add_line_to_file(
1365
1371
  "./app/views/api/#{BulletTrain::Api.current_version}/open_api/index.yaml.erb",
1366
- "<%= automatic_paths_for Scaffolding::CompletelyConcrete::TangibleThing %>",
1372
+ "<%= automatic_paths_for Scaffolding::CompletelyConcrete::TangibleThing, Scaffolding::AbsolutelyAbstract::CreativeConcept %>",
1367
1373
  "<%# 🚅 super scaffolding will insert new paths above this line. %>",
1368
1374
  prepend: true
1369
1375
  )
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.8
4
+ version: 1.1.10
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-10-14 00:00:00.000000000 Z
11
+ date: 2022-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard