rpetri 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rpetri/extentions/net_place.rb +1 -1
- data/lib/rpetri/net/runner.rb +1 -1
- data/lib/rpetri/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: d406788c8882366ab460e3117d1e97a795c5f1b5
|
4
|
+
data.tar.gz: e13c0c824a691f18260ededc89e40b6677867c52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9513e975ad208e014d4e1eadf883884d09ea23bb1d0fb6ce9b4e3c3fa76adfac3654f18396f03c1d18ff0effe7e5f7ba279eaa39c1362b75be26d1f205e67b86
|
7
|
+
data.tar.gz: 1d954b44e1c8d370ee18786f6e310bb282c526d804048a57e0de3a0b3d6a72677015ac6c3792fcf0a540ee421158b443da5ba39186f804cc48d645a707e00118
|
data/lib/rpetri/net/runner.rb
CHANGED
@@ -111,7 +111,7 @@ module RPetri
|
|
111
111
|
end
|
112
112
|
|
113
113
|
def check_for_looping
|
114
|
-
state_string = @tokens_hash.select { |_k, v| v > 0 }.
|
114
|
+
state_string = @tokens_hash.select { |_k, v| v > 0 }.to_a.sort.inspect
|
115
115
|
@history_hash[state_string] += 1
|
116
116
|
if @history_hash[state_string] > @max_loops_count
|
117
117
|
fatal("Looping! Same state #{@history_hash[state_string]} times!")
|
data/lib/rpetri/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rpetri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- korolvs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|