brut 0.21.0.pre.4 → 0.21.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ec3fc09b37986905e646672526c9ed055bcca8513661da8d77778ab80ae442a
|
|
4
|
+
data.tar.gz: 72e19213998b788e17325c23da43c9848473affe64ede84fb9a98415ca11d66e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c773cc9edb2db1bf325a8d4eae907b290cbf47f36016645d7093b2838d841c96c334e029c2cdd895785b3e1b3eaaaa4e35f93735decdf38b9b46d4358e6ab0a
|
|
7
|
+
data.tar.gz: 991e016a4c4988e529cf0dea5b3b7c7ab4edafe7e5d0b575ad15657fe48eea11f6c029f98caebfff3102abff260fd259aac680f83dfaf2f9fdb26aaa179a1f01
|
data/lib/brut/cli/apps/db.rb
CHANGED
|
@@ -279,25 +279,15 @@ class Brut::CLI::Apps::DB < Brut::CLI::Commands::BaseCommand
|
|
|
279
279
|
def description = "Drop, re-create, and run migrations, effecitvely rebuilding the entire database"
|
|
280
280
|
def default_rack_env = "development"
|
|
281
281
|
def bootstrap? = false
|
|
282
|
-
def opts = [
|
|
283
|
-
[ "--seed", "Load seed data after rebuild" ]
|
|
284
|
-
]
|
|
285
282
|
def sub_commands(execution_context)
|
|
286
|
-
|
|
283
|
+
[
|
|
287
284
|
Drop.new,
|
|
288
285
|
Create.new,
|
|
289
286
|
Migrate.new,
|
|
290
287
|
]
|
|
291
|
-
if execution_context.options.seed?
|
|
292
|
-
default_commands + [ Seed.new ]
|
|
293
|
-
else
|
|
294
|
-
default_commands
|
|
295
|
-
end
|
|
296
288
|
end
|
|
297
289
|
end
|
|
298
290
|
|
|
299
|
-
# XXX
|
|
300
|
-
|
|
301
291
|
class Seed < Brut::CLI::Commands::BaseCommand
|
|
302
292
|
def description = "Load seed data into the database"
|
|
303
293
|
def default_rack_env = "development"
|
|
@@ -6,7 +6,7 @@ class Brut::CLI::Commands::CompoundCommand < Brut::CLI::Commands::BaseCommand
|
|
|
6
6
|
# commands will be executed with *this* commands `Brut::CLI::Commands::ExecutionContext`, so these commands
|
|
7
7
|
# should all be able to work with whatever command line arguments and `argv` would be provided.
|
|
8
8
|
#
|
|
9
|
-
# @param [Array<Brut::CLI::Commands::BaseCommand>|nil] The list of commands to run when
|
|
9
|
+
# @param [Array<Brut::CLI::Commands::BaseCommand>|nil] commands The list of commands to run when
|
|
10
10
|
# this command is executed. If nil, it is assumed you have overriden `commands` to
|
|
11
11
|
# provide the list dynamically.
|
|
12
12
|
def initialize(commands=nil)
|
data/lib/brut/version.rb
CHANGED
|
@@ -103,7 +103,7 @@ RUN npm clean-install --no-audit --no-fund --verbose
|
|
|
103
103
|
COPY . .
|
|
104
104
|
|
|
105
105
|
# Build all assets
|
|
106
|
-
RUN brut build-assets && \
|
|
106
|
+
RUN BRUT_DEBUG=true bundle exec brut --log-level=debug build-assets all && \
|
|
107
107
|
rm -rf node_modules
|
|
108
108
|
|
|
109
109
|
# We are now switching back to building the image that will be deployed.
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
# You own and maintain this file. It is `require`d by brut deploy docker
|
|
3
3
|
class AppDeployConfig < Brut::CLI::Apps::Deploy::Heroku::DeployConfig
|
|
4
4
|
|
|
5
|
-
# Can return a Docker platform is your deployment platform is not
|
|
6
|
-
# linux/amd64. Note that --platform will override this value.
|
|
7
|
-
def platform = nil
|
|
8
|
-
|
|
9
5
|
# Return an array of ProcessDescription instances, that you can
|
|
10
6
|
# create with the `process_description` method.
|
|
11
7
|
#
|