y_petri 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/y_petri/version.rb +1 -1
- data/lib/y_petri/world/petri_net_related.rb +2 -2
- 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: 4570f5c16ed669363e2f486537279b8fff18f13b
|
4
|
+
data.tar.gz: 493b757dc0e50e955a57d27531a1b820dd6eac04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfc80d5a5f74bb162055f19923658d64348ee5e69530bb6aeb2f1bd5cc7982c7cd549375a1f8a92d505cb66c374cb0963e461903924f96d2c19dfe5556553eab
|
7
|
+
data.tar.gz: d89389ec377ad6d26addc8c1369bdbc6eae27be4bd87b75190fcf25b07d7ccd35554b053e7ecf8f41e17aa386323cb8509cb43af96048502d93e2dd271593eaa
|
data/lib/y_petri/version.rb
CHANGED
@@ -54,8 +54,8 @@ module YPetri::World::PetriNetRelated
|
|
54
54
|
def set_up_Top_net
|
55
55
|
Net().send :new, name: :Top # all-encompassing :Top net
|
56
56
|
# Hook new places to add themselves magically to the :Top net.
|
57
|
-
Place().
|
57
|
+
Place().new_instance_hook { |new_inst| net( :Top ) << new_inst }
|
58
58
|
# Hook new transitions to add themselves magically to the :Top net.
|
59
|
-
Transition().
|
59
|
+
Transition().new_instance_hook { |new_inst| net( :Top ) << new_inst }
|
60
60
|
end
|
61
61
|
end # module YPetri::World::PetriNetRelated
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: y_petri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- boris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: y_support
|