bullet_train 1.6.6 → 1.6.7

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: 34e95175a433a61c20b034424ccae74ccc5def7450c0c6d9816a0280230f679f
4
- data.tar.gz: edc6deef3ee07f3063c737e39be15179526da94e6b96a5c86deefad8f45b6363
3
+ metadata.gz: 6b55df5c6125bda6c222d08d76c04eccda1bbded6e923c67c9ed483ff48b9dc4
4
+ data.tar.gz: e136630990d62556c4bc9177ebbb8c577ca17a8ffca11ca31c2417ca030260e1
5
5
  SHA512:
6
- metadata.gz: 5b9c78763e65bc237dee7e401f8c25239a524b636389807007ca13c1e3f6ed3d7cbcde167ccd4b1955d6e682f8603d6fbc0d37162a2597ef3e4f2daa103cb859
7
- data.tar.gz: 46a0a83713afaad259d6875359f892c62027e2aca1aeddd7c533570d4c9b8f9343491134aec8ebce94eaabfc55510467e476a36f9f59dcfb93768582f3b7bd05
6
+ metadata.gz: 0a48d0926e48c287e32ddb77f1f93f5b057f51053c8d47c63b7d7a480cd2911573f16c1ccf78a768cf606837bc7e00954456a70375ee74a96fcbbd3215f3fe58
7
+ data.tar.gz: 76439c50ef936ced98a730f04158a356f5f33c70d476b6396bd34f25c2c7be77c6b1a535988fdbea02a81f9b7080492f522c471a6febf4575d930d50743cf1c5
@@ -19,7 +19,6 @@ If you're using Bullet Train for the first time, begin by learning these five im
19
19
  2. Use `bin/super-scaffold crud-field` to add a new field to a model you've already scaffolded:
20
20
 
21
21
  ```
22
- rails g migration add_description_to_projects description:text
23
22
  bin/super-scaffold crud-field Project description:trix_editor
24
23
  ```
25
24
 
@@ -4,7 +4,6 @@ When issuing a `bin/super-scaffold crud` command, you can pass the `--sortable`
4
4
 
5
5
  ```
6
6
  # E.g. Pages belong to a Site and are sortable via drag-and-drop:
7
- rails g model Page site:references name:string path:text
8
7
  bin/super-scaffold crud Page Site,Team name:text_field path:text_area --sortable
9
8
  ```
10
9
 
@@ -58,7 +58,7 @@ module BulletTrain
58
58
  # Look for showcase preview.
59
59
  file_name = source_file[:absolute_path].split("/").last
60
60
  showcase_partials = Dir.glob(`bundle show bullet_train-themes-light`.chomp + "/app/views/showcase/**/*.html.erb")
61
- showcase_preview = showcase_partials.find { _1.end_with?(file_name) }
61
+ showcase_preview = showcase_partials.find { |partial| partial.split("/").last == file_name }
62
62
  if showcase_preview
63
63
  puts "Ejecting showcase preview for #{source_file[:relative_path]}"
64
64
  partial_relative_path = showcase_preview.scan(/(?=app\/views\/showcase).*/).last
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.6.6"
2
+ VERSION = "1.6.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.6
4
+ version: 1.6.7
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-10-19 00:00:00.000000000 Z
11
+ date: 2023-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard