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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e05af7356cbdcb5593e140a14bb0729bce9f58d
4
- data.tar.gz: fdf0413fff4d96a459ddf57150a4d40ab42215bf
3
+ metadata.gz: b2d767be2dd06813f70ace425fb96ff5bcba44e6
4
+ data.tar.gz: 698bf620e3f6ea42d43670139ec74bf2edcdc27e
5
5
  SHA512:
6
- metadata.gz: c2f73d9bf92d9e66e966a4170487644b8512396115fd40b8939b71d8b05364de1c7707dfcead2a6a0d5c7811307b616c032fc6988c651580a20bf00611012c35
7
- data.tar.gz: c9ccc42a19f3a9fe5617a3d2bf156883f1c7946539814be2813dcb2eb05c779c4af702090a228eb9b313180f5aac1f7b92eca5446543f04ccdaa338f96f5c582
6
+ metadata.gz: 0dd93efd641a8d88bd0e021a3f546ae8fb02d051296d442e12038d4dfed3cadd0bc8d675c244836ad2d5209811b0ea31243a59a42b9cb4eb3f4a8abee9712418
7
+ data.tar.gz: c8b01e18a74b9563c34278a54a15493ab3a0cf785eb502dcddc18bbea537bd8b39d543823106993bac82d1e262896a9671546d00109af5336effe6e4804377bd
@@ -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 puts "An error prevented checking out the system. Rolled back successfully".yellow
54
- when :rollback_failure then puts "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
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 puts "An error prevented loading the state of the system. Rolled back successfully".yellow
94
- when :rollback_failure then puts "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
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
@@ -1,3 +1,3 @@
1
1
  module Metaverse
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
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.9
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-07 00:00:00.000000000 Z
11
+ date: 2015-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler