rumination 0.11.3 → 0.11.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
  SHA1:
3
- metadata.gz: b47258eac2c585ac6b6ec829aae8f4bc2223fc63
4
- data.tar.gz: 5e60d0962beacf1a60f6dad00793581a34094a19
3
+ metadata.gz: 7e4a57e58a4d248aa97cab297468ad7d45a89542
4
+ data.tar.gz: c8ff725d5d1da9f58f6c46dedea9e167c5b64d9c
5
5
  SHA512:
6
- metadata.gz: 1ed968ca4266cc790c8729de1d429c97307b058057efaed9ec0a19a68e2576daf98142c3894628c49cca2db42720cd5928a16519cb735dbfcf7713c288ee08d0
7
- data.tar.gz: 11a0bdcf6a4b68cff87863eccfde8c01e9f7f9514d6e571159cf302b14b8816a4af625b97fe9e0c3f63fef6f5cface773d4b09f495ea027e46ffba032fb5b089
6
+ metadata.gz: 01eeb916d2e677f42ccae47a2a9eeeb9080f144d31decadce5fb73472a0dc0085b3e43da884992b2c2e41a305ea88221d99632d6fe738ff959af2c2b916defb6
7
+ data.tar.gz: 684e75ef963fc43f9aabd5656dc26ce44fec5fe64888de32b5f5d96a192c55be2a89fbe389b7dc18283a5885d4da89dc702740f82b2794f1ac8d2947a7caac6f
@@ -35,8 +35,8 @@ module Rumination
35
35
  end
36
36
 
37
37
  def bootstrap_undo
38
- raise NotBootstrappedYet unless bootstrapped?
39
- app_container.run("rake deploy:inside:bootstrap:undo[#{target}]")
38
+ setup_outside_env
39
+ DockerCompose.down("--remove-orphans", "-v")
40
40
  raise BootstrapError unless $? == 0
41
41
  end
42
42
 
@@ -9,7 +9,6 @@ module Rumination
9
9
  UnknownTarget = Class.new(DeployError)
10
10
  BootstrapError = Class.new(DeployError)
11
11
  BootstrappedAlready = Class.new(BootstrapError)
12
- NotBootstrappedYet = Class.new(BootstrapError)
13
12
  DatabaseInitError = Class.new(BootstrapError)
14
13
  end
15
14
  end
@@ -13,11 +13,7 @@ namespace :deploy do
13
13
  task :undo, [:target] => %w[confirm_undo start_undo] do |t, args|
14
14
  require "rumination/deploy"
15
15
  args.with_defaults target: :development
16
- begin
17
- Rumination::Deploy.bootstrap_undo(target: args.target)
18
- rescue Rumination::Deploy::NotBootstrappedYet
19
- abort "'#{args.target}' has not been bootstrapped yet"
20
- end
16
+ Rumination::Deploy.bootstrap_undo(target: args.target)
21
17
  end
22
18
 
23
19
  task :confirm_undo do |t, args|
@@ -1,3 +1,3 @@
1
1
  module Rumination
2
- VERSION = "0.11.3"
2
+ VERSION = "0.11.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumination
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Baguinski