lucidMachines 0.1.5 → 0.1.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 541a77494d9a38cfb803f3ab6e48a1c4898d96da4fcc4c424e0b99f7fd6fd585
4
- data.tar.gz: 8b625442be7a47fae536d6b59176268dd30954380d559579b7a56e21434326b0
3
+ metadata.gz: b3aa965c1ac250b36200683290fa311f5c1ae96acc5a45c6fc29c7bf95f68b16
4
+ data.tar.gz: e62481680b8e3d1a98ff709d4c97e7396ccd15f6b1e65b746dfb37b0f6677771
5
5
  SHA512:
6
- metadata.gz: 4f4ba313714b5258c165655f86a69500587f0a072d1b60cdcf120d6f91eb9ca06f22d2c094692c49d5b1e87e7956f857679164e02e69df07cb6a4ed36e6de988
7
- data.tar.gz: 11592951f9d7942abb58b9490ef0a238b3297160fc570005db92bbc6a91f0c6ec2849464a46fe647c13fe1c93b3e6b9fd4d4f948d05760dcbcddd2e34adac1d5
6
+ metadata.gz: 1d828fe82c8bea1b3cfe01653a51beaef910b4653cdc3b817bb4eb11f8ec3897654b8e285e0bc8069e7bf659d3e00d02680cedd22b46525786fbd5a277969234
7
+ data.tar.gz: 807e97c28a8227f4d6572c21dafbc206ff56a6d43472670298fe7730fafb69f1a874e618936892883831e26e01d4082eceba1f37bb83d7da194d89d10171541e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lucidMachines (0.1.4)
4
+ lucidMachines (0.1.6)
5
5
  aasm
6
6
  aasm-diagram
7
7
  ruby-graphviz
@@ -169,8 +169,8 @@ class AASMExport
169
169
 
170
170
 
171
171
  attributes_code = <<-INIT
172
- ## Attributes
173
- event_attributes = {}
172
+ def attributes
173
+ attributes = {}
174
174
  INIT
175
175
 
176
176
  events = @chart.get_blocks_of_type "event"
@@ -183,7 +183,7 @@ INIT
183
183
  unless attributes.empty?
184
184
 
185
185
  c = <<-START
186
- attributes["#{event.text}"] = #{attributes.to_s}
186
+ attributes["#{event.text}"] = #{attributes.to_s}
187
187
  START
188
188
 
189
189
  attributes_code = attributes_code + c
@@ -193,7 +193,11 @@ START
193
193
 
194
194
  end
195
195
  end
196
- attributes_code + "\n
196
+ attributes_code + <<-END
197
+ return attributes
198
+ end
199
+
200
+ END
197
201
 
198
202
  end
199
203
 
@@ -1,3 +1,3 @@
1
1
  module LucidMachines
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucidMachines
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Laviole
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-16 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler