metacosm 0.2.4 → 0.2.5

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: 97d3af7dc335e54de93016c0dbe48a1fd26ba0a9
4
- data.tar.gz: 7b18a06be6981863ff0a0e0ae50b03af83e8f4cc
3
+ metadata.gz: 850a05330da093fcba8436906416e9028e2f282b
4
+ data.tar.gz: 26b6ea32702e2dea63c926d1da6c908e226a8cb5
5
5
  SHA512:
6
- metadata.gz: 61a7bfba459ea14a2b501f5e1f7b722f04291863c69cc4c3ddda8b5f898bb214b9b4d06d2af36b7d0fd9afb84edeccaaeb09b6a5bc6510708d2446806cf463fb
7
- data.tar.gz: e95aa9198ab97a660b89c4e72168148cf5242fd74e13b26d0af80172568f3b6e565faa39fabe9bce549be44c832b125b82fdd17eea85ed2bd6a916508dadea6b
6
+ metadata.gz: a54a6a5538cb133c574741480592861560b350f8d21b906c724c960116818a674d6556bb283028b0caf1c83fd0c0efe0d31679182fd0fce7b9f0e6bed36e612f
7
+ data.tar.gz: 614fb21c52f44e0b00c39295a07c0bf1e96d4e65f6b2df3f9f6193ca73b8c36e74e0e6712a41ce9899a079d7ae6812252b75efac354f8138c0f2ee4c42c6c852
@@ -1,9 +1,9 @@
1
1
  RSpec::Matchers.define :trigger_event do |event|
2
2
  match do |command|
3
3
  # PassiveRecord.drop_all
4
- Simulation.current.clear!
5
- Simulation.current.apply(command)
6
- Simulation.current.events.include?(event)
4
+ Metacosm::Simulation.current.clear!
5
+ Metacosm::Simulation.current.apply(command)
6
+ Metacosm::Simulation.current.events.include?(event)
7
7
  end
8
8
 
9
9
  failure_message do |command|
@@ -14,12 +14,12 @@ end
14
14
  RSpec::Matchers.define :trigger_events do |*events|
15
15
  match do |command|
16
16
  # PassiveRecord.drop_all
17
- Simulation.current.clear!
17
+ Metacosm::Simulation.current.clear!
18
18
 
19
- Simulation.current.apply(command)
19
+ Metacosm::Simulation.current.apply(command)
20
20
 
21
21
  events.all? do |event|
22
- Simulation.current.events.include?(event)
22
+ Metacosm::Simulation.current.events.include?(event)
23
23
  end
24
24
  end
25
25
  end
@@ -1,4 +1,4 @@
1
1
  module Metacosm
2
2
  # metacosm version
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metacosm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph Weissman