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 +4 -4
- data/docs/getting-started.md +0 -1
- data/docs/super-scaffolding/sortable.md +0 -1
- data/lib/bullet_train/resolver.rb +1 -1
- data/lib/bullet_train/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b55df5c6125bda6c222d08d76c04eccda1bbded6e923c67c9ed483ff48b9dc4
|
4
|
+
data.tar.gz: e136630990d62556c4bc9177ebbb8c577ca17a8ffca11ca31c2417ca030260e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a48d0926e48c287e32ddb77f1f93f5b057f51053c8d47c63b7d7a480cd2911573f16c1ccf78a768cf606837bc7e00954456a70375ee74a96fcbbd3215f3fe58
|
7
|
+
data.tar.gz: 76439c50ef936ced98a730f04158a356f5f33c70d476b6396bd34f25c2c7be77c6b1a535988fdbea02a81f9b7080492f522c471a6febf4575d930d50743cf1c5
|
data/docs/getting-started.md
CHANGED
@@ -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 {
|
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
|
data/lib/bullet_train/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2023-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|