bullet_train 1.28.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/themes.md +14 -0
- data/lib/bullet_train/version.rb +1 -1
- metadata +1 -2
- data/app/assets/config/bullet_train_manifest.js +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27989f1d995ce633ff168f07ac58624a8f5149415455a08806fcbff828cf7f51
|
4
|
+
data.tar.gz: a3ba128f84110e3343f003d4afe11f1ca86cb20deb858ac0d5fdbff4ed3b7859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 430d8035188fc0a3914ecb83e0ca763d3f4aa11c40d948b0664f522aae694fbdb8f7bf2a0994cd9a246831fb0973ac51ee0cf13fdd236e6727582c8457581a55
|
7
|
+
data.tar.gz: f1b116ce3f0b765552e404cdbe1c99a714aada1f01b2a09670febe37b574c3554518495ec35172871ead9f1f20b8094cee9e11c684b9d649d646cc456a7adb41
|
data/docs/themes.md
CHANGED
@@ -49,10 +49,24 @@ BulletTrain::Themes::Light.color = :foo
|
|
49
49
|
## Adding a New Theme (ejecting standard views)
|
50
50
|
|
51
51
|
If you want to add a new theme, you can use the following command. For example, let's make a new theme called "foo":
|
52
|
+
|
52
53
|
```
|
53
54
|
> rake bullet_train:themes:light:eject[foo]
|
54
55
|
```
|
55
56
|
|
57
|
+
Note: The command above may complain with an error like this:
|
58
|
+
|
59
|
+
```
|
60
|
+
no matches found: bullet_train:themes:light:eject[foo]
|
61
|
+
```
|
62
|
+
|
63
|
+
This is usually an indication that your shell is interpreting the square brackets before they get passed along to `rake`.
|
64
|
+
In that case you should escape the brackets like this:
|
65
|
+
|
66
|
+
```
|
67
|
+
> rake bullet_train:themes:light:eject\[foo\]
|
68
|
+
```
|
69
|
+
|
56
70
|
This will copy all of the standard views from `bullet_train-themes-light` to `app/views/themes/` and configure your application to use the new theme.
|
57
71
|
|
58
72
|
After running this command, you will see that a few other files are edited to use this new theme. Whenever switching a theme, you will need to make the same changes to make sure your application is running with the theme of your choice.
|
data/lib/bullet_train/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
@@ -383,7 +383,6 @@ files:
|
|
383
383
|
- ".bt-link"
|
384
384
|
- MIT-LICENSE
|
385
385
|
- Rakefile
|
386
|
-
- app/assets/config/bullet_train_manifest.js
|
387
386
|
- app/controllers/account/application_controller.rb
|
388
387
|
- app/controllers/account/invitations_controller.rb
|
389
388
|
- app/controllers/account/memberships_controller.rb
|
File without changes
|