bullet_train-super_scaffolding 1.1.7 → 1.1.8

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: dd6d322f764c7b1dec83c0740d014f0371688fc4529aec36c6907834c1d723fe
4
+ data.tar.gz: 5b589a31f1f811c78f50882d5800bad6883223693934a2f22b16a3574c58de7f
5
5
  SHA512:
6
- metadata.gz: 2a4d3987fe60c64c63c6594cc32619cc7da55370c238ee7c00622e4bdd84483984b3270f34e67c26c57ff0af94f6f88f63551cad81f0a446bed677ce6c99ed88
7
- data.tar.gz: 599379c337cacd95d01cdb6e54b05423dfc62b247a4aac8b4c64fc0e556e1440482fd7d9a96eae4d9369a840b2356a04e9ac494abf5dc4cfb6305918cbdf62fd
6
+ metadata.gz: b3c7eab5d90b3900563ba6b3117de6360e89769d014d87a4a50ee65906918200d53b9dbeffa903707b828007d9c61d34cc2b5f4c816e66ccc39ba87a1439cbf5
7
+ data.tar.gz: 0116eca05c6cfbd7677332ea5353a7db5a13e36fb4fa86555ad02ab5850811e1f6932ce07cbc803c6e489facb731ab7b9ebe38e26fe544af4caca07a15dc8e29
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.1.7"
3
+ VERSION = "1.1.8"
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 %>",
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.8
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