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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a372a8718b78ecfcc1809b8fde106c6f3183f832a470026d93db5c565ead1bd3
4
- data.tar.gz: 22c8cc673793bc474e5c4cd385752ecdaed134d5787af1182dbad420844fa9bf
3
+ metadata.gz: 18ebf2d762c75463ec24d10dc71e6f293030840847ad80a93be12e308be402e5
4
+ data.tar.gz: 6a03c2aed681fce6aefdbd2e5b57d5d5b99664b27592714e34e15938064d9d7f
5
5
  SHA512:
6
- metadata.gz: e5dd3830b105ed11a22a7cc5337839b8f0d0e5fe6041b9e981344ed86a3fb821a8e8a79f13dfb220b3497468f36b1698ca59d2236f01571cdc19994a6225be6c
7
- data.tar.gz: 97e1f41887e1a85b8ca4a592821a40c73b4c15d9706ed5458013ca5097de61f1f66c79a9a0a125570cedbf9f42f151b79e50bff92c10fb8b8d30d7b0c585cc57
6
+ metadata.gz: 8af92231267472414c6e9a65c70ba86868ab3fcebc287ed50fa5c96c495fee004cb4456a4a33e31db6505a6a967a12b50b77c607a1eb4dafa75f50e74ecb6601
7
+ data.tar.gz: 3dc4ac735686f7f7c2ca934ccdb1d127995a074ec4e625d56facf6d0b5654db65e60767a81daa639bb5cec3b97c46f1804c2df1f6127653f3b9dee07e3fb6164
@@ -1,6 +1,6 @@
1
1
  require "pathname"
2
2
  require "json"
3
- require_relative "version"
3
+ require "brut/version"
4
4
 
5
5
  class Brut::CLI::Apps::New::Versions
6
6
  def initialize
data/lib/brut/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Brut
2
2
  # @!visibility private
3
- VERSION = "0.18.0"
3
+ VERSION = "0.18.2"
4
4
  end
@@ -20,6 +20,6 @@ done
20
20
 
21
21
  RACK_ENV="development"
22
22
  export RACK_ENV
23
- "${SCRIPT_DIR}"/build-assets
23
+ brut build-assets
24
24
  foreman start --procfile "${ROOT_DIR}/Procfile.${RACK_ENV}" --root "${ROOT_DIR}"
25
25
 
@@ -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.0
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
@@ -1,3 +0,0 @@
1
- module Brut::CLI::Apps::New
2
- VERSION = "0.17.0"
3
- end