y_nelson 2.0.6 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/y_nelson/dsl.rb CHANGED
@@ -14,7 +14,7 @@ module YNelson
14
14
 
15
15
  # Petri net aspect.
16
16
  delegate( :Place,
17
- :Transition, :T, :A,
17
+ :Transition, :TT, :TS, :AT,
18
18
  :Net,
19
19
  :place, :transition, :pl, :tr,
20
20
  :places, :transitions, :nets,
@@ -1,4 +1,4 @@
1
1
  module YNelson
2
2
  DEBUG = false
3
- VERSION = "2.0.6"
3
+ VERSION = "2.0.7"
4
4
  end
data/lib/y_nelson.rb CHANGED
@@ -84,3 +84,5 @@ module YNelson
84
84
  # Atypical initialize call.
85
85
  initialize
86
86
  end
87
+
88
+ puts "YNelson: Nelson net domain model and simulator. ⓒ 2013 Boris Stitnicky"
@@ -26,9 +26,7 @@ describe YNelson do
26
26
  it "should work as expected" do
27
27
  assert_equal [], @p.neighbors
28
28
  assert_equal [], @p.connectivity # 'connectivity' now exclusively a zz keyword
29
- t = @m.Transition codomain: @p,
30
- action: -> { 0.1 },
31
- assignment: true
29
+ t = @m.Transition codomain: @p, assignment: -> { 0.1 }
32
30
  assert_equal [ @p ], t.neighbors
33
31
  dim = @m.Dimension( t, :codomain, 0 )
34
32
  assert_equal @p, t.along( dim ).posward.neighbor
data/y_nelson.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.description = %q{Formalization and generalization of a spreadsheet.}
12
12
  spec.summary = %q{A fusion of functional Petri net with a zz structure.}
13
13
  spec.homepage = ""
14
- spec.license = "MIT"
14
+ spec.license = "GPLv3"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: y_nelson
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - boris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-24 00:00:00.000000000 Z
11
+ date: 2013-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yzz
@@ -78,6 +78,10 @@ files:
78
78
  - LICENSE.txt
79
79
  - README.md
80
80
  - Rakefile
81
+ - Ruby_for_YNelson_Users_in_20_minutes.lyx
82
+ - Ruby_for_YNelson_Users_in_20_minutes.pdf
83
+ - YNelson_FPN_&_ZZ_domain_model_hands_on_in_color.pdf
84
+ - YPetri_FPN_domain_model_hands_on_in_color.lyx
81
85
  - config/mongoid.yml
82
86
  - lib/y_nelson.rb
83
87
  - lib/y_nelson/agent.rb
@@ -95,10 +99,9 @@ files:
95
99
  - test/y_nelson_test.rb
96
100
  - test/zz.png
97
101
  - y_nelson.gemspec
98
- - zz.png
99
102
  homepage: ''
100
103
  licenses:
101
- - MIT
104
+ - GPLv3
102
105
  metadata: {}
103
106
  post_install_message:
104
107
  rdoc_options: []
data/zz.png DELETED
Binary file