metaverse 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metaverse/base.rb +4 -4
- data/lib/metaverse/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2d767be2dd06813f70ace425fb96ff5bcba44e6
|
4
|
+
data.tar.gz: 698bf620e3f6ea42d43670139ec74bf2edcdc27e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dd93efd641a8d88bd0e021a3f546ae8fb02d051296d442e12038d4dfed3cadd0bc8d675c244836ad2d5209811b0ea31243a59a42b9cb4eb3f4a8abee9712418
|
7
|
+
data.tar.gz: c8b01e18a74b9563c34278a54a15493ab3a0cf785eb502dcddc18bbea537bd8b39d543823106993bac82d1e262896a9671546d00109af5336effe6e4804377bd
|
data/lib/metaverse/base.rb
CHANGED
@@ -50,8 +50,8 @@ module Metaverse
|
|
50
50
|
checkout_transaction = Transacted::Transaction.new actions
|
51
51
|
case checkout_transaction.execute
|
52
52
|
when :execution_success then puts "Checkout successful".green
|
53
|
-
when :rollback_success then
|
54
|
-
when :rollback_failure then
|
53
|
+
when :rollback_success then raise "An error prevented checking out the system. Rolled back successfully".yellow
|
54
|
+
when :rollback_failure then raise "An error was encountered during the checkout. In addition, an error happened while trying to rollback the system. Please fix the state of your system manually.".red
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
@@ -90,8 +90,8 @@ module Metaverse
|
|
90
90
|
load_state_transaction = Transacted::Transaction.new actions
|
91
91
|
case load_state_transaction.execute
|
92
92
|
when :execution_success then puts "Loading state successful".green
|
93
|
-
when :rollback_success then
|
94
|
-
when :rollback_failure then
|
93
|
+
when :rollback_success then raise "An error prevented loading the state of the system. Rolled back successfully".yellow
|
94
|
+
when :rollback_failure then raise "An error was encountered during the loading of the state. In addition, an error happened while trying to rollback the system. Please fix the state of your system manually.".red
|
95
95
|
end
|
96
96
|
end
|
97
97
|
end
|
data/lib/metaverse/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metaverse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Omar Kamali
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|