bullet_train-super_scaffolding 1.1.13 → 1.1.15

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: 3edf2a69e9e1e2243f8e9d54fb91180322f4f8e46460b57039cf1b82df9dc4e1
4
- data.tar.gz: b8482850bdafe183ed3ccb472b3e79b522d4b1a571950a551cfca366063cc3d4
3
+ metadata.gz: 90e0c9cd798e3391dc36c6bd5f39150bd0b872a6dc0fa76c84d89eb5d5b5b495
4
+ data.tar.gz: d70665a97ff2196fe92f248a7876320d06f69543a6b4e7dba37479ae435ee2a8
5
5
  SHA512:
6
- metadata.gz: c57e1c8daa3af8784dbde21af9a92c6592911de0dc9a83678baddafdc370705ad8c5b093ca0a25366d70b46d3b9f378c5274f15ea9699d3b0f01031db0b0dbc5
7
- data.tar.gz: 378f35ff63371780683be35b07b4118326af793d0f2d28d79e59eaa9b429241b7ee51c959e93d48301a3a39e075e17d4c21d83addefaefa05926bafd60969ac9
6
+ metadata.gz: e199febf8bd9e1af051e1f14b5f57bea2467b17fb25e74d03f7254368ab21eb68e87ab3921a951b86d36ab7419379bf7cfabc48e8bc9fcd193d0b193a032d893
7
+ data.tar.gz: 5e896a12039574d9fe7d12d670a877ab60c91fc3daa36b61bbf6a55fac02f1e08d43c3ab5147c58e60be5148dda283cd1d6e03a993afb0abcf66f79eb5a8cb4a
@@ -74,7 +74,7 @@ en:
74
74
  <code>Scaffolding::AbsolutelyAbstract::CreativeConcept</code> is a model that exists by default in Bullet Train to serve as part of Super Scaffolding's template system.
75
75
  It also provides an example of what a scaffolded model looks like by default.
76
76
  Yes, the class has a very weird name, but the weird name serves an important purpose when we're generating code.
77
- For more details and instructions on how to hide this, see "<a href="https://tailwind.bullettrain.co/docs/super-scaffolding">Code Generation with Super Scaffolding</a>".
77
+ For more details and instructions on how to hide this, see "<a href="https://bullettrain.co/docs/super-scaffolding">Code Generation with Super Scaffolding</a>".
78
78
  show:
79
79
  section: "%{creative_concept_name}"
80
80
  header: Creative Concept Details
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.1.13"
3
+ VERSION = "1.1.15"
4
4
  end
5
5
  end
@@ -95,7 +95,7 @@ def show_usage
95
95
  puts " #{key}"
96
96
  end
97
97
  puts ""
98
- puts "Try \`bin/super-scaffold [type]` for usage examples.".blue
98
+ puts "Try `bin/super-scaffold [type]` for usage examples.".blue
99
99
  puts ""
100
100
  end
101
101
 
@@ -1466,23 +1466,19 @@ class Scaffolding::Transformer
1466
1466
 
1467
1467
  begin
1468
1468
  routes_manipulator.apply([routes_namespace])
1469
- rescue => e
1470
- puts "We weren't able to automatically add your `#{routes_namespace}` routes for you. In theory this should be very rare, so if you could reach out on Slack, you could probably provide context that will help us fix whatever the problem was. In the meantime, to add the routes manually, we've got a guide at https://blog.bullettrain.co/nested-namespaced-rails-routing-examples/ .".send(:yellow)
1471
- raise e
1469
+ Scaffolding::FileManipulator.write("config/routes.rb", routes_manipulator.lines)
1470
+ rescue => _
1471
+ add_additional_step :red, "We weren't able to automatically add your `#{routes_namespace}` routes for you. In theory this should be very rare, so if you could reach out on Slack, you could probably provide context that will help us fix whatever the problem was. In the meantime, to add the routes manually, we've got a guide at https://blog.bullettrain.co/nested-namespaced-rails-routing-examples/ ."
1472
1472
  end
1473
1473
 
1474
- Scaffolding::FileManipulator.write("config/routes.rb", routes_manipulator.lines)
1475
-
1476
1474
  unless cli_options["skip-api"]
1477
1475
  begin
1478
1476
  api_routes_manipulator = Scaffolding::RoutesFileManipulator.new("config/routes/api/#{BulletTrain::Api.current_version}.rb", child, parent, cli_options)
1479
1477
  api_routes_manipulator.apply([BulletTrain::Api.current_version.to_sym])
1480
- rescue => e
1481
- puts "We weren't able to automatically add your `api/#{BulletTrain::Api.current_version}` routes for you. In theory this should be very rare, so if you could reach out on Slack, you could probably provide context that will help us fix whatever the problem was. In the meantime, to add the routes manually, we've got a guide at https://blog.bullettrain.co/nested-namespaced-rails-routing-examples/ .".send(:yellow)
1482
- raise e
1478
+ Scaffolding::FileManipulator.write("config/routes/api/#{BulletTrain::Api.current_version}.rb", api_routes_manipulator.lines)
1479
+ rescue => _
1480
+ add_additional_step :red, "We weren't able to automatically add your `api/#{BulletTrain::Api.current_version}` routes for you. In theory this should be very rare, so if you could reach out on Slack, you could probably provide context that will help us fix whatever the problem was. In the meantime, to add the routes manually, we've got a guide at https://blog.bullettrain.co/nested-namespaced-rails-routing-examples/ ."
1483
1481
  end
1484
-
1485
- Scaffolding::FileManipulator.write("config/routes/api/#{BulletTrain::Api.current_version}.rb", api_routes_manipulator.lines)
1486
1482
  end
1487
1483
  end
1488
1484
 
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.13
4
+ version: 1.1.15
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-11-16 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard