y_petri 2.3.2 → 2.3.3

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: 833a328f16e23ee5827500de4c006cc30cb3503d
4
- data.tar.gz: 29b85023ee450cbaa08412eecf268e003b8885cc
3
+ metadata.gz: f61f9be5c8c7a131dac0ef18a01d694d0253b13e
4
+ data.tar.gz: b91fd8337f027bc13bb1d4594475629e3cd14755
5
5
  SHA512:
6
- metadata.gz: 4d3b1ff2b2b131517df029857b0628151e3c26a91f43d5f3df72fd016a19150ea917fae09415619f84697951a3875bf6a63905f779aaa461e9faa300a88d3462
7
- data.tar.gz: cab7d526005a3a848bed640153ac1e0ab79664cfe858fc616444298033edead04bba7efbab36c1aad21c61960eed62bb766d0c93e658e4a50084a52ee083f8ae
6
+ metadata.gz: 710cbd7d5aa16b17d15c9ed45d9a3ddc0b99d0fcd72eb7ce45a25259e7934d86a8a451e35a71c6dfd2d88d90d1947e10fca8e45a1ae4260bb172e81e9850f762
7
+ data.tar.gz: 585d6dd8b10ece874569d2ada743368eaa7f163f03e002b5b497131e46d02ad2cfab421089b21895e7673db9e53ff263241a9b48684dc98616d8af4919d17506
@@ -64,7 +64,8 @@ module YPetri::Place::Guarded
64
64
  when Numeric then # 3 guards
65
65
  marking "should be Numeric" do |m| m.is_a? Numeric end
66
66
  marking "should not be complex" do |m| fail if m.is_a? Complex end
67
- marking "should not be negative" do |m| m >= 0 end
67
+ marking( "should not be negative" ) { |m| m >= 0 } if
68
+ reference_marking >= 0
68
69
  when nil then # no guards
69
70
  when true, false then # 1 guard
70
71
  marking "should be Boolean" do |m| m == !!m end
@@ -1,4 +1,4 @@
1
1
  module YPetri
2
- VERSION = "2.3.2"
2
+ VERSION = "2.3.3"
3
3
  DEBUG = false
4
4
  end
data/y_petri.gemspec CHANGED
@@ -24,4 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency "gnuplot"
25
25
  spec.add_dependency "ruby-graphviz"
26
26
  spec.add_dependency "distribution"
27
+
28
+ spec.required_ruby_version = '>= 2.0'
27
29
  end
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.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - boris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-23 00:00:00.000000000 Z
11
+ date: 2014-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -251,7 +251,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
251
251
  requirements:
252
252
  - - '>='
253
253
  - !ruby/object:Gem::Version
254
- version: '0'
254
+ version: '2.0'
255
255
  required_rubygems_version: !ruby/object:Gem::Requirement
256
256
  requirements:
257
257
  - - '>='