brut 0.18.0 → 0.18.2
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/lib/brut/cli/apps/new/versions.rb +1 -1
- data/lib/brut/version.rb +1 -1
- data/templates/Base/bin/dev +1 -1
- data/templates/Base/bin/test-server +29 -0
- metadata +2 -2
- data/lib/brut/cli/apps/new/version.rb +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18ebf2d762c75463ec24d10dc71e6f293030840847ad80a93be12e308be402e5
|
|
4
|
+
data.tar.gz: 6a03c2aed681fce6aefdbd2e5b57d5d5b99664b27592714e34e15938064d9d7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8af92231267472414c6e9a65c70ba86868ab3fcebc287ed50fa5c96c495fee004cb4456a4a33e31db6505a6a967a12b50b77c607a1eb4dafa75f50e74ecb6601
|
|
7
|
+
data.tar.gz: 3dc4ac735686f7f7c2ca934ccdb1d127995a074ec4e625d56facf6d0b5654db65e60767a81daa639bb5cec3b97c46f1804c2df1f6127653f3b9dee07e3fb6164
|
data/lib/brut/version.rb
CHANGED
data/templates/Base/bin/dev
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
|
|
3
|
+
set -e
|
|
4
|
+
SCRIPT_DIR=$( cd -- "$( dirname -- "${0}" )" > /dev/null 2>&1 && pwd )
|
|
5
|
+
ROOT_DIR="${SCRIPT_DIR}/.."
|
|
6
|
+
|
|
7
|
+
usage() {
|
|
8
|
+
echo "Usage: $0"
|
|
9
|
+
echo
|
|
10
|
+
echo " Run the app in the test environment, suitable for end-to-end tests"
|
|
11
|
+
echo " This will build all assets first, but not rebuild or reload after that"
|
|
12
|
+
echo
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
for arg in "$@"; do
|
|
16
|
+
if [ "${arg}" = "-h" ] || [ "${arg}" = "--help" ] || [ "${arg}" = "help" ]; then
|
|
17
|
+
usage
|
|
18
|
+
exit 0
|
|
19
|
+
fi
|
|
20
|
+
done
|
|
21
|
+
|
|
22
|
+
RACK_ENV="test"
|
|
23
|
+
export RACK_ENV
|
|
24
|
+
echo "[ bin/test-server ] Building assets"
|
|
25
|
+
brut build-assets
|
|
26
|
+
|
|
27
|
+
echo "[ bin/test-server ] Starting server"
|
|
28
|
+
PORT=6503 bin/run &
|
|
29
|
+
wait
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brut
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.18.
|
|
4
|
+
version: 0.18.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Bryant Copeland
|
|
@@ -528,7 +528,6 @@ files:
|
|
|
528
528
|
- lib/brut/cli/apps/new/segments/demo.rb
|
|
529
529
|
- lib/brut/cli/apps/new/segments/heroku.rb
|
|
530
530
|
- lib/brut/cli/apps/new/segments/sidekiq.rb
|
|
531
|
-
- lib/brut/cli/apps/new/version.rb
|
|
532
531
|
- lib/brut/cli/apps/new/versions.rb
|
|
533
532
|
- lib/brut/cli/apps/scaffold.rb
|
|
534
533
|
- lib/brut/cli/apps/test.rb
|
|
@@ -757,6 +756,7 @@ files:
|
|
|
757
756
|
- templates/Base/bin/run.run
|
|
758
757
|
- templates/Base/bin/setup
|
|
759
758
|
- templates/Base/bin/startup-message
|
|
759
|
+
- templates/Base/bin/test-server
|
|
760
760
|
- templates/Base/bin/watch-and-build-assets
|
|
761
761
|
- templates/Base/config.ru
|
|
762
762
|
- templates/Base/docker-compose.dx.yml
|