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: 8cff0eb0b3ce46296da1c7045fa5a35374adb54559024074c4ca5e927c1a3ea7
4
- data.tar.gz: 2a7a04b47259bfc6f95cd8386e8f07040185aa1175d4c538de05412567e7b3dc
3
+ metadata.gz: 4ec3fc09b37986905e646672526c9ed055bcca8513661da8d77778ab80ae442a
4
+ data.tar.gz: 72e19213998b788e17325c23da43c9848473affe64ede84fb9a98415ca11d66e
5
5
  SHA512:
6
- metadata.gz: 25ffd6054f5ac0385969b59ec549a31afcb1187c3dd2bf013bc50a7047880471ac03ad5720ce2f07bf0ed40bbd0ad951a1a196c34369da24cbfbcf79c24b5bfe
7
- data.tar.gz: 3c7ff73e3bbf9353e034ec7c8ed4174b52025df7976bc19fe3b846f28b6456d46ed875560237ef49418af4f60796c8e2510ea926e9f2ebfcb6cba4fa29d43888
6
+ metadata.gz: 2c773cc9edb2db1bf325a8d4eae907b290cbf47f36016645d7093b2838d841c96c334e029c2cdd895785b3e1b3eaaaa4e35f93735decdf38b9b46d4358e6ab0a
7
+ data.tar.gz: 991e016a4c4988e529cf0dea5b3b7c7ab4edafe7e5d0b575ad15657fe48eea11f6c029f98caebfff3102abff260fd259aac680f83dfaf2f9fdb26aaa179a1f01
@@ -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
- default_commands = [
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
@@ -1,4 +1,4 @@
1
1
  module Brut
2
2
  # @!visibility private
3
- VERSION = "0.21.0.pre.4"
3
+ VERSION = "0.21.0"
4
4
  end
@@ -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
  #
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.21.0.pre.4
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Bryant Copeland