brut 0.21.0.pre.3 → 0.21.0.pre.4

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: e7d83ff98517963f25fc7bda801f0525203a946b11a69c7c95ea18a7790d74a8
4
- data.tar.gz: b11d1fd32f24dd4a5b654541a1c4f26f4039d8b2a1f2dc804eb1dcf255ef4df1
3
+ metadata.gz: 8cff0eb0b3ce46296da1c7045fa5a35374adb54559024074c4ca5e927c1a3ea7
4
+ data.tar.gz: 2a7a04b47259bfc6f95cd8386e8f07040185aa1175d4c538de05412567e7b3dc
5
5
  SHA512:
6
- metadata.gz: 91af7b2b9ee3bf7b5aff57c0f656c050b4a89d8aebd1e38e9413aadd8d1d6378454a295c93134e8b5b24d9277ecfdd8c6ae296d5f08fceb7993b22191324972b
7
- data.tar.gz: e2b3a79d3b2de5963bdf2fb9e8a6f6ec50afc105d79f0ba24669bd9174aa9aad1ec6579d940e4d4f2bd39f6d292f1f00ad760857cb9ca1ef323caac2d7ddf7b6
6
+ metadata.gz: 25ffd6054f5ac0385969b59ec549a31afcb1187c3dd2bf013bc50a7047880471ac03ad5720ce2f07bf0ed40bbd0ad951a1a196c34369da24cbfbcf79c24b5bfe
7
+ data.tar.gz: 3c7ff73e3bbf9353e034ec7c8ed4174b52025df7976bc19fe3b846f28b6456d46ed875560237ef49418af4f60796c8e2510ea926e9f2ebfcb6cba4fa29d43888
@@ -282,7 +282,7 @@ class Brut::CLI::Apps::DB < Brut::CLI::Commands::BaseCommand
282
282
  def opts = [
283
283
  [ "--seed", "Load seed data after rebuild" ]
284
284
  ]
285
- def commands(execution_context)
285
+ def sub_commands(execution_context)
286
286
  default_commands = [
287
287
  Drop.new,
288
288
  Create.new,
@@ -18,7 +18,7 @@ class Brut::CLI::Commands::CompoundCommand < Brut::CLI::Commands::BaseCommand
18
18
  # methods on the passed `execution_context`. Methods like `puts`, `system!`, and `options` **will not work** here
19
19
  # since they assume an ivar named `@execution_context` has been set.
20
20
  def execute(execution_context)
21
- commands(execution_context).each do |command|
21
+ sub_commands(execution_context).each do |command|
22
22
  execute_result = Brut::CLI::ExecuteResult.new do
23
23
  delegate_to_command(command,execution_context)
24
24
  end
@@ -39,5 +39,5 @@ class Brut::CLI::Commands::CompoundCommand < Brut::CLI::Commands::BaseCommand
39
39
  # to return.
40
40
  #
41
41
  # @return [Array<Brut::CLI::Commands::BaseCommand>]
42
- def commands(execution_context) = @commands
42
+ def sub_commands(execution_context) = @commands
43
43
  end
data/lib/brut/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Brut
2
2
  # @!visibility private
3
- VERSION = "0.21.0.pre.3"
3
+ VERSION = "0.21.0.pre.4"
4
4
  end
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.3
4
+ version: 0.21.0.pre.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Bryant Copeland