visualize_ruby 0.1.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,22 @@
1
+ module VisualizeRuby
2
+ class Parser
3
+ class Begin
4
+ def initialize(ast)
5
+ @ast = ast
6
+ end
7
+
8
+ # @return [Array<VisualizeRuby::Node>, Array<VisualizeRuby::Edge>]
9
+ def parse
10
+ edges = []
11
+ last_node = nil
12
+ nodes = @ast.children.to_a.compact.reverse.map do |a|
13
+ node = Node.new(name: AstHelper.new(a).description, type: :action)
14
+ edges << Edge.new(nodes: [node, last_node]) if last_node
15
+ last_node = node
16
+ end
17
+
18
+ return nodes.reverse, edges.reverse
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,6 @@
1
+ module VisualizeRuby
2
+ class Parser
3
+ class False < Type
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,57 @@
1
+ module VisualizeRuby
2
+ class Parser
3
+ class If
4
+ def initialize(ast)
5
+ @ast = ast
6
+ end
7
+
8
+ # @return [Array<VisualizeRuby::Node>, Array<VisualizeRuby::Edge>]
9
+ def parse
10
+ break_ast
11
+
12
+ condition_nodes = set_conditions(condition)
13
+ on_true_node, on_true_edges = branch(on_true)
14
+ on_false_node, on_false_edges = branch(on_false) if on_false
15
+
16
+ condition_nodes.each do |condition_node|
17
+ edges << Edge.new(name: "true", nodes: [condition_node, on_true_node])
18
+ edges << Edge.new(name: "false", nodes: [condition_node, on_false_node]) if on_false
19
+ end
20
+ edges.concat(on_false_edges) if on_false
21
+ edges.concat(on_true_edges)
22
+ return [nodes, edges]
23
+ end
24
+
25
+ def branch(on_bool)
26
+ on_bool_nodes, on_bool_edges = Parser.new(ast: on_bool).parse
27
+ on_bool_node = on_bool_nodes.first
28
+ nodes.concat(on_bool_nodes)
29
+ return on_bool_node, on_bool_edges
30
+ end
31
+
32
+ private
33
+
34
+ def set_conditions(condition)
35
+ condition_nodes, condition_edges = Parser.new(ast: condition).parse
36
+ condition_nodes.first.type = :decision
37
+ nodes.concat(condition_nodes)
38
+ edges.concat(condition_edges)
39
+ condition_nodes
40
+ end
41
+
42
+ attr_reader :condition, :on_true, :on_false
43
+
44
+ def break_ast
45
+ @condition, @on_true, @on_false = @ast.children.to_a
46
+ end
47
+
48
+ def nodes
49
+ @nodes ||= []
50
+ end
51
+
52
+ def edges
53
+ @edges ||= []
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,22 @@
1
+ module VisualizeRuby
2
+ class Parser
3
+ class Or
4
+ def initialize(ast)
5
+ @ast = ast
6
+ end
7
+
8
+ # @return [Array<VisualizeRuby::Node>, Array<VisualizeRuby::Edge>]
9
+ def parse
10
+ last_node = nil
11
+ edges = []
12
+ nodes = @ast.children.reverse.map do |c|
13
+ node = Node.new(name: AstHelper.new(c).description, type: :decision)
14
+ edges << Edge.new(name: "OR", nodes: [node, last_node]) if last_node
15
+ last_node = node
16
+ node
17
+ end.reverse
18
+ return nodes, edges
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,14 @@
1
+ module VisualizeRuby
2
+ class Parser
3
+ class Send
4
+ def initialize(ast)
5
+ @ast = ast
6
+ end
7
+
8
+ # @return [Array<VisualizeRuby::Node>, Array<VisualizeRuby::Edge>]
9
+ def parse
10
+ return [Node.new(name: AstHelper.new(@ast).description, type: :action)], []
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ module VisualizeRuby
2
+ class Parser
3
+ class Str
4
+ def initialize(ast)
5
+ @ast = ast
6
+ end
7
+
8
+ # @return [Array<VisualizeRuby::Node>, Array<VisualizeRuby::Edge>]
9
+ def parse
10
+ return [Node.new(name: AstHelper.new(@ast).description, type: :action)], []
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,6 @@
1
+ module VisualizeRuby
2
+ class Parser
3
+ class True < Type
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,14 @@
1
+ module VisualizeRuby
2
+ class Parser
3
+ class Type
4
+ def initialize(ast)
5
+ @ast = ast
6
+ end
7
+
8
+ # @return [Array<VisualizeRuby::Node>, Array<VisualizeRuby::Edge>]
9
+ def parse
10
+ return [Node.new(name: @ast.type, type: :action)], []
11
+ end
12
+ end
13
+ end
14
+ end
@@ -1,3 +1,3 @@
1
1
  module VisualizeRuby
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "bundler", "~> 1.16"
26
26
  spec.add_development_dependency "rake", "~> 12.3", ">= 12.3.1"
27
27
  spec.add_development_dependency "rspec", "~> 3.7"
28
-
28
+
29
29
  spec.add_runtime_dependency "ruby-graphviz", "~> 1.2", ">= 1.2.3"
30
30
  spec.add_runtime_dependency "dissociated_introspection", "~> 0.9.1"
31
31
  spec.add_runtime_dependency "parser", "~> 2.1", ">= 2.5.1.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visualize_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-06-13 00:00:00.000000000 Z
11
+ date: 2018-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,19 +121,10 @@ extensions: []
121
121
  extra_rdoc_files: []
122
122
  files:
123
123
  - ".gitignore"
124
- - ".idea/.rakeTasks"
125
- - ".idea/codeStyles/codeStyleConfig.xml"
126
- - ".idea/inspectionProfiles/Project_Default.xml"
127
- - ".idea/misc.xml"
128
- - ".idea/modules.xml"
129
- - ".idea/vcs.xml"
130
- - ".idea/visualize_ruby.iml"
131
- - ".idea/workspace.xml"
132
124
  - ".rspec"
133
125
  - ".travis.yml"
134
126
  - CODE_OF_CONDUCT.md
135
127
  - Gemfile
136
- - Gemfile.lock
137
128
  - LICENSE.txt
138
129
  - README.md
139
130
  - Rakefile
@@ -141,10 +132,22 @@ files:
141
132
  - bin/setup
142
133
  - exe/visualize_ruby
143
134
  - lib/visualize_ruby.rb
135
+ - lib/visualize_ruby/builder.rb
144
136
  - lib/visualize_ruby/edge.rb
137
+ - lib/visualize_ruby/graph.rb
145
138
  - lib/visualize_ruby/graphviz.rb
146
139
  - lib/visualize_ruby/node.rb
147
140
  - lib/visualize_ruby/parser.rb
141
+ - lib/visualize_ruby/parser/and.rb
142
+ - lib/visualize_ruby/parser/ast_helper.rb
143
+ - lib/visualize_ruby/parser/begin.rb
144
+ - lib/visualize_ruby/parser/false.rb
145
+ - lib/visualize_ruby/parser/if.rb
146
+ - lib/visualize_ruby/parser/or.rb
147
+ - lib/visualize_ruby/parser/send.rb
148
+ - lib/visualize_ruby/parser/str.rb
149
+ - lib/visualize_ruby/parser/true.rb
150
+ - lib/visualize_ruby/parser/type.rb
148
151
  - lib/visualize_ruby/version.rb
149
152
  - visualize_ruby.gemspec
150
153
  homepage: https://github.com/zeisler/visualize_ruby
data/.idea/.rakeTasks DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Settings><!--This file was automatically generated by Ruby plugin.
3
- You are allowed to:
4
- 1. Remove rake task
5
- 2. Add existing rake tasks
6
- To add existing rake tasks automatically delete this file and reload the project.
7
- --><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build visualize_ruby-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install visualize_ruby-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install visualize_ruby-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push visualize_ruby-0.1.0.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
@@ -1,5 +0,0 @@
1
- <component name="ProjectCodeStyleConfiguration">
2
- <state>
3
- <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
4
- </state>
5
- </component>
@@ -1,6 +0,0 @@
1
- <component name="InspectionProjectProfileManager">
2
- <profile version="1.0">
3
- <option name="myName" value="Project Default" />
4
- <inspection_tool class="Rubocop" enabled="false" level="WARNING" enabled_by_default="false" />
5
- </profile>
6
- </component>
data/.idea/misc.xml DELETED
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="JavaScriptSettings">
4
- <option name="languageLevel" value="ES6" />
5
- </component>
6
- <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.5.1-p57" project-jdk-type="RUBY_SDK" />
7
- </project>
data/.idea/modules.xml DELETED
@@ -1,8 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectModuleManager">
4
- <modules>
5
- <module fileurl="file://$PROJECT_DIR$/.idea/visualize_ruby.iml" filepath="$PROJECT_DIR$/.idea/visualize_ruby.iml" />
6
- </modules>
7
- </component>
8
- </project>
data/.idea/vcs.xml DELETED
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="VcsDirectoryMappings">
4
- <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
- </component>
6
- </project>
@@ -1,32 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="ModuleRunConfigurationManager">
4
- <shared />
5
- </component>
6
- <component name="NewModuleRootManager">
7
- <content url="file://$MODULE_DIR$" />
8
- <orderEntry type="jdk" jdkName="rbenv: 2.5.1" jdkType="RUBY_SDK" />
9
- <orderEntry type="sourceFolder" forTests="false" />
10
- <orderEntry type="library" scope="PROVIDED" name="abstract_type (v0.0.7, rbenv: 2.5.1) [gem]" level="application" />
11
- <orderEntry type="library" scope="PROVIDED" name="adamantium (v0.2.0, rbenv: 2.5.1) [gem]" level="application" />
12
- <orderEntry type="library" scope="PROVIDED" name="ast (v2.4.0, rbenv: 2.5.1) [gem]" level="application" />
13
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.2, rbenv: 2.5.1) [gem]" level="application" />
14
- <orderEntry type="library" scope="PROVIDED" name="concord (v0.1.5, rbenv: 2.5.1) [gem]" level="application" />
15
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, rbenv: 2.5.1) [gem]" level="application" />
16
- <orderEntry type="library" scope="PROVIDED" name="dissociated_introspection (v0.9.1, rbenv: 2.5.1) [gem]" level="application" />
17
- <orderEntry type="library" scope="PROVIDED" name="equalizer (v0.0.11, rbenv: 2.5.1) [gem]" level="application" />
18
- <orderEntry type="library" scope="PROVIDED" name="ice_nine (v0.11.2, rbenv: 2.5.1) [gem]" level="application" />
19
- <orderEntry type="library" scope="PROVIDED" name="memoizable (v0.4.2, rbenv: 2.5.1) [gem]" level="application" />
20
- <orderEntry type="library" scope="PROVIDED" name="parser (v2.5.1.0, rbenv: 2.5.1) [gem]" level="application" />
21
- <orderEntry type="library" scope="PROVIDED" name="procto (v0.0.3, rbenv: 2.5.1) [gem]" level="application" />
22
- <orderEntry type="library" scope="PROVIDED" name="rake (v12.3.1, rbenv: 2.5.1) [gem]" level="application" />
23
- <orderEntry type="library" scope="PROVIDED" name="rspec (v3.7.0, rbenv: 2.5.1) [gem]" level="application" />
24
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.7.1, rbenv: 2.5.1) [gem]" level="application" />
25
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.7.0, rbenv: 2.5.1) [gem]" level="application" />
26
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.7.0, rbenv: 2.5.1) [gem]" level="application" />
27
- <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.7.1, rbenv: 2.5.1) [gem]" level="application" />
28
- <orderEntry type="library" scope="PROVIDED" name="ruby-graphviz (v1.2.3, rbenv: 2.5.1) [gem]" level="application" />
29
- <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, rbenv: 2.5.1) [gem]" level="application" />
30
- <orderEntry type="library" scope="PROVIDED" name="unparser (v0.2.7, rbenv: 2.5.1) [gem]" level="application" />
31
- </component>
32
- </module>
data/.idea/workspace.xml DELETED
@@ -1,656 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="a4595256-6b57-43b1-9fe4-da4f79ca3baf" name="Default" comment="">
5
- <change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
6
- <change afterPath="$PROJECT_DIR$/.idea/codeStyles/codeStyleConfig.xml" afterDir="false" />
7
- <change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
8
- <change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
9
- <change afterPath="$PROJECT_DIR$/.idea/visualize_ruby.iml" afterDir="false" />
10
- <change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
11
- <change afterPath="$PROJECT_DIR$/.rspec" afterDir="false" />
12
- <change afterPath="$PROJECT_DIR$/.travis.yml" afterDir="false" />
13
- <change afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" afterDir="false" />
14
- <change afterPath="$PROJECT_DIR$/Gemfile" afterDir="false" />
15
- <change afterPath="$PROJECT_DIR$/LICENSE.txt" afterDir="false" />
16
- <change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
17
- <change afterPath="$PROJECT_DIR$/Rakefile" afterDir="false" />
18
- <change afterPath="$PROJECT_DIR$/bin/console" afterDir="false" />
19
- <change afterPath="$PROJECT_DIR$/bin/setup" afterDir="false" />
20
- <change afterPath="$PROJECT_DIR$/exe/visualize_ruby" afterDir="false" />
21
- <change afterPath="$PROJECT_DIR$/lib/visualize_ruby.rb" afterDir="false" />
22
- <change afterPath="$PROJECT_DIR$/lib/visualize_ruby/edge.rb" afterDir="false" />
23
- <change afterPath="$PROJECT_DIR$/lib/visualize_ruby/graphviz.rb" afterDir="false" />
24
- <change afterPath="$PROJECT_DIR$/lib/visualize_ruby/node.rb" afterDir="false" />
25
- <change afterPath="$PROJECT_DIR$/lib/visualize_ruby/parser.rb" afterDir="false" />
26
- <change afterPath="$PROJECT_DIR$/lib/visualize_ruby/version.rb" afterDir="false" />
27
- <change afterPath="$PROJECT_DIR$/spec/spec_helper.rb" afterDir="false" />
28
- <change afterPath="$PROJECT_DIR$/spec/visualize_ruby/parser_spec.rb" afterDir="false" />
29
- <change afterPath="$PROJECT_DIR$/spec/visualize_ruby_spec.rb" afterDir="false" />
30
- <change afterPath="$PROJECT_DIR$/visualize_ruby.gemspec" afterDir="false" />
31
- </list>
32
- <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
33
- <option name="TRACKING_ENABLED" value="true" />
34
- <option name="SHOW_DIALOG" value="false" />
35
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
36
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
37
- <option name="LAST_RESOLUTION" value="IGNORE" />
38
- </component>
39
- <component name="CoverageDataManager">
40
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_condition_AND__visualize_ruby.rcov" NAME="VisualizeRuby::Parser condition AND: visualize_ruby Coverage Results" MODIFIED="1528918296940" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
41
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_links_actions_returns_an_array_of_nodes__visualize_ruby.rcov" NAME="VisualizeRuby::Parser links actions returns an array of nodes: visualize_ruby Coverage Results" MODIFIED="1528907714689" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
42
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_if_statement_with_elsif_converts_to_nodes_and_edges__visualize_ruby.rcov" NAME="VisualizeRuby::Parser if statement with elsif converts to nodes and edges: visualize_ruby Coverage Results" MODIFIED="1528916703254" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
43
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_condition__visualize_ruby.rcov" NAME="VisualizeRuby::Parser condition: visualize_ruby Coverage Results" MODIFIED="1528907907960" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
44
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_links_actions_converts_to_nodes_and_edges__visualize_ruby.rcov" NAME="VisualizeRuby::Parser links actions converts to nodes and edges: visualize_ruby Coverage Results" MODIFIED="1528916245309" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
45
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_if_statement_with_elsif___visualize_ruby.rcov" NAME="VisualizeRuby::Parser if statement with elsif : visualize_ruby Coverage Results" MODIFIED="1528918076643" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
46
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_condition_OR__visualize_ruby.rcov" NAME="VisualizeRuby::Parser condition OR: visualize_ruby Coverage Results" MODIFIED="1528914803154" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
47
- <SUITE FILE_PATH="coverage/visualize_ruby@visualize_ruby.rcov" NAME="visualize_ruby Coverage Results" MODIFIED="1528840828993" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="visualize_ruby" />
48
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_if_statement_with_condition_converts_to_nodes_and_edges__visualize_ruby.rcov" NAME="VisualizeRuby::Parser if statement with condition converts to nodes and edges: visualize_ruby Coverage Results" MODIFIED="1528913222187" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
49
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_links_actions__visualize_ruby.rcov" NAME="VisualizeRuby::Parser links actions: visualize_ruby Coverage Results" MODIFIED="1528916263040" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
50
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_if_statement_with_elsif_complex_example__visualize_ruby.rcov" NAME="VisualizeRuby::Parser if statement with elsif complex example: visualize_ruby Coverage Results" MODIFIED="1528918551043" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
51
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_if_statement_converts_to_nodes_and_edges__visualize_ruby.rcov" NAME="VisualizeRuby::Parser if statement converts to nodes and edges: visualize_ruby Coverage Results" MODIFIED="1528914129494" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
52
- <SUITE FILE_PATH="coverage/visualize_ruby@Run_spec__visualize_ruby_spec___visualize_ruby.rcov" NAME="Run spec 'visualize_ruby_spec': visualize_ruby Coverage Results" MODIFIED="1528913979901" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
53
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_condition_AND_converts_to_nodes_and_edges__visualize_ruby.rcov" NAME="VisualizeRuby::Parser condition AND converts to nodes and edges: visualize_ruby Coverage Results" MODIFIED="1528916586854" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
54
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_if_statement_with_condition__visualize_ruby.rcov" NAME="VisualizeRuby::Parser if statement with condition: visualize_ruby Coverage Results" MODIFIED="1528913251476" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
55
- <SUITE FILE_PATH="coverage/visualize_ruby@Run_spec__parser_spec___visualize_ruby.rcov" NAME="Run spec 'parser_spec': visualize_ruby Coverage Results" MODIFIED="1528918234085" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
56
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_condition_converts_to_nodes_and_edges__visualize_ruby.rcov" NAME="VisualizeRuby::Parser condition converts to nodes and edges: visualize_ruby Coverage Results" MODIFIED="1528844920401" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
57
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_if_statement__visualize_ruby.rcov" NAME="VisualizeRuby::Parser if statement: visualize_ruby Coverage Results" MODIFIED="1528914474401" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
58
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser__visualize_ruby.rcov" NAME="VisualizeRuby::Parser: visualize_ruby Coverage Results" MODIFIED="1528918171780" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
59
- <SUITE FILE_PATH="coverage/visualize_ruby@VisualizeRuby__Parser_if_statement_with_elsif__visualize_ruby.rcov" NAME="VisualizeRuby::Parser if statement with elsif: visualize_ruby Coverage Results" MODIFIED="1528918091221" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="visualize_ruby" />
60
- </component>
61
- <component name="FileEditorManager">
62
- <splitter split-orientation="horizontal" split-proportion="0.7738318">
63
- <split-first>
64
- <leaf>
65
- <file leaf-file-name="visualize_ruby.rb" pinned="false" current-in-tab="false">
66
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby.rb">
67
- <provider selected="true" editor-type-id="text-editor">
68
- <state relative-caret-position="72">
69
- <caret line="4" column="32" selection-start-line="4" selection-start-column="32" selection-end-line="4" selection-end-column="32" />
70
- </state>
71
- </provider>
72
- </entry>
73
- </file>
74
- <file leaf-file-name="parser.rb" pinned="false" current-in-tab="false">
75
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/parser.rb">
76
- <provider selected="true" editor-type-id="text-editor">
77
- <state relative-caret-position="304">
78
- <caret line="130" column="13" selection-start-line="130" selection-start-column="13" selection-end-line="130" selection-end-column="13" />
79
- </state>
80
- </provider>
81
- </entry>
82
- </file>
83
- <file leaf-file-name="complex_logic.png" pinned="false" current-in-tab="true">
84
- <entry file="file://$PROJECT_DIR$/spec/examples/complex_logic.png">
85
- <provider selected="true" editor-type-id="images" />
86
- </entry>
87
- </file>
88
- <file leaf-file-name="graphviz.rb" pinned="false" current-in-tab="false">
89
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/graphviz.rb">
90
- <provider selected="true" editor-type-id="text-editor">
91
- <state relative-caret-position="342">
92
- <caret line="19" column="22" lean-forward="true" selection-start-line="19" selection-start-column="22" selection-end-line="19" selection-end-column="22" />
93
- </state>
94
- </provider>
95
- </entry>
96
- </file>
97
- <file leaf-file-name="and.png" pinned="false" current-in-tab="false">
98
- <entry file="file://$PROJECT_DIR$/spec/examples/and.png">
99
- <provider selected="true" editor-type-id="images" />
100
- </entry>
101
- </file>
102
- <file leaf-file-name="node.rb" pinned="false" current-in-tab="false">
103
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/node.rb">
104
- <provider selected="true" editor-type-id="text-editor">
105
- <state relative-caret-position="504">
106
- <caret line="31" column="16" selection-start-line="31" selection-start-column="16" selection-end-line="31" selection-end-column="16" />
107
- </state>
108
- </provider>
109
- </entry>
110
- </file>
111
- <file leaf-file-name="parser_spec.rb" pinned="false" current-in-tab="false">
112
- <entry file="file://$PROJECT_DIR$/spec/visualize_ruby/parser_spec.rb">
113
- <provider selected="true" editor-type-id="text-editor">
114
- <state relative-caret-position="208">
115
- <caret line="56" selection-start-line="56" selection-end-line="56" />
116
- </state>
117
- </provider>
118
- </entry>
119
- </file>
120
- <file leaf-file-name="edge.rb" pinned="false" current-in-tab="false">
121
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/edge.rb">
122
- <provider selected="true" editor-type-id="text-editor">
123
- <state relative-caret-position="522">
124
- <caret line="33" column="7" selection-start-line="33" selection-start-column="4" selection-end-line="33" selection-end-column="32" />
125
- </state>
126
- </provider>
127
- </entry>
128
- </file>
129
- </leaf>
130
- </split-first>
131
- <split-second>
132
- <leaf>
133
- <file leaf-file-name="parser_spec.rb" pinned="false" current-in-tab="true">
134
- <entry file="file://$PROJECT_DIR$/spec/visualize_ruby/parser_spec.rb">
135
- <provider selected="true" editor-type-id="text-editor">
136
- <state relative-caret-position="400">
137
- <caret line="153" column="10" selection-start-line="153" selection-start-column="10" selection-end-line="153" selection-end-column="10" />
138
- </state>
139
- </provider>
140
- </entry>
141
- </file>
142
- <file leaf-file-name="elsif.png" pinned="false" current-in-tab="false">
143
- <entry file="file://$PROJECT_DIR$/spec/examples/elsif.png">
144
- <provider selected="true" editor-type-id="images" />
145
- </entry>
146
- </file>
147
- <file leaf-file-name="if_statement.png" pinned="false" current-in-tab="false">
148
- <entry file="file://$PROJECT_DIR$/spec/examples/if_statement.png">
149
- <provider selected="true" editor-type-id="images" />
150
- </entry>
151
- </file>
152
- <file leaf-file-name="if_with_condition.png" pinned="false" current-in-tab="false">
153
- <entry file="file://$PROJECT_DIR$/spec/examples/if_with_condition.png">
154
- <provider selected="true" editor-type-id="images" />
155
- </entry>
156
- </file>
157
- <file leaf-file-name="link_actions.png" pinned="false" current-in-tab="false">
158
- <entry file="file://$PROJECT_DIR$/spec/examples/link_actions.png">
159
- <provider selected="true" editor-type-id="images" />
160
- </entry>
161
- </file>
162
- <file leaf-file-name="or.png" pinned="false" current-in-tab="false">
163
- <entry file="file://$PROJECT_DIR$/spec/examples/or.png">
164
- <provider selected="true" editor-type-id="images" />
165
- </entry>
166
- </file>
167
- </leaf>
168
- </split-second>
169
- </splitter>
170
- </component>
171
- <component name="FindInProjectRecents">
172
- <findStrings>
173
- <find>actions</find>
174
- </findStrings>
175
- <replaceStrings>
176
- <replace>action</replace>
177
- </replaceStrings>
178
- </component>
179
- <component name="Git.Settings">
180
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
181
- </component>
182
- <component name="IdeDocumentHistory">
183
- <option name="CHANGED_PATHS">
184
- <list>
185
- <option value="$PROJECT_DIR$/visualize_ruby.gemspec" />
186
- <option value="$PROJECT_DIR$/lib/visualize_ruby/condition.rb" />
187
- <option value="$PROJECT_DIR$/lib/visualize_ruby/action.rb" />
188
- <option value="$PROJECT_DIR$/lib/visualize_ruby/edge.rb" />
189
- <option value="$PROJECT_DIR$/lib/visualize_ruby.rb" />
190
- <option value="$PROJECT_DIR$/lib/visualize_ruby/node.rb" />
191
- <option value="$PROJECT_DIR$/lib/visualize_ruby/graphviz.rb" />
192
- <option value="$PROJECT_DIR$/spec/visualize_ruby/parser_spec.rb" />
193
- <option value="$PROJECT_DIR$/lib/visualize_ruby/parser.rb" />
194
- </list>
195
- </option>
196
- </component>
197
- <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
198
- <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
199
- <component name="JsGulpfileManager">
200
- <detection-done>true</detection-done>
201
- <sorting>DEFINITION_ORDER</sorting>
202
- </component>
203
- <component name="NodePackageJsonFileManager">
204
- <packageJsonPaths />
205
- </component>
206
- <component name="ProjectFrameBounds" extendedState="6">
207
- <option name="x" value="187" />
208
- <option name="y" value="44" />
209
- <option name="width" value="1400" />
210
- <option name="height" value="1000" />
211
- </component>
212
- <component name="ProjectLevelVcsManager" settingsEditedManually="true">
213
- <ConfirmationsSetting value="2" id="Add" />
214
- </component>
215
- <component name="ProjectView">
216
- <navigator proportions="" version="1">
217
- <foldersAlwaysOnTop value="true" />
218
- </navigator>
219
- <panes>
220
- <pane id="ProjectPane">
221
- <subPane>
222
- <expand>
223
- <path>
224
- <item name="visualize_ruby" type="b2602c69:ProjectViewProjectNode" />
225
- <item name="visualize_ruby" type="462c0819:PsiDirectoryNode" />
226
- </path>
227
- <path>
228
- <item name="visualize_ruby" type="b2602c69:ProjectViewProjectNode" />
229
- <item name="visualize_ruby" type="462c0819:PsiDirectoryNode" />
230
- <item name="lib" type="462c0819:PsiDirectoryNode" />
231
- </path>
232
- <path>
233
- <item name="visualize_ruby" type="b2602c69:ProjectViewProjectNode" />
234
- <item name="visualize_ruby" type="462c0819:PsiDirectoryNode" />
235
- <item name="lib" type="462c0819:PsiDirectoryNode" />
236
- <item name="visualize_ruby" type="462c0819:PsiDirectoryNode" />
237
- </path>
238
- <path>
239
- <item name="visualize_ruby" type="b2602c69:ProjectViewProjectNode" />
240
- <item name="visualize_ruby" type="462c0819:PsiDirectoryNode" />
241
- <item name="spec" type="462c0819:PsiDirectoryNode" />
242
- </path>
243
- <path>
244
- <item name="visualize_ruby" type="b2602c69:ProjectViewProjectNode" />
245
- <item name="visualize_ruby" type="462c0819:PsiDirectoryNode" />
246
- <item name="spec" type="462c0819:PsiDirectoryNode" />
247
- <item name="examples" type="462c0819:PsiDirectoryNode" />
248
- </path>
249
- <path>
250
- <item name="visualize_ruby" type="b2602c69:ProjectViewProjectNode" />
251
- <item name="visualize_ruby" type="462c0819:PsiDirectoryNode" />
252
- <item name="spec" type="462c0819:PsiDirectoryNode" />
253
- <item name="visualize_ruby" type="462c0819:PsiDirectoryNode" />
254
- </path>
255
- </expand>
256
- <select />
257
- </subPane>
258
- </pane>
259
- <pane id="Scope" />
260
- </panes>
261
- </component>
262
- <component name="PropertiesComponent">
263
- <property name="WebServerToolWindowFactoryState" value="false" />
264
- <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
265
- <property name="nodejs_npm_path_reset_for_default_project" value="true" />
266
- <property name="settings.editor.selected.configurable" value="preferences.sourceCode.Ruby" />
267
- </component>
268
- <component name="RunDashboard">
269
- <option name="ruleStates">
270
- <list>
271
- <RuleState>
272
- <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
273
- </RuleState>
274
- <RuleState>
275
- <option name="name" value="StatusDashboardGroupingRule" />
276
- </RuleState>
277
- </list>
278
- </option>
279
- </component>
280
- <component name="RunManager" selected="RSpec.VisualizeRuby::Parser if statement with elsif complex example: visualize_ruby">
281
- <configuration name="Run spec 'parser_spec': visualize_ruby" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
282
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
283
- <module name="visualize_ruby" />
284
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
285
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
286
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
287
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
288
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
289
- <envs>
290
- <env name="JRUBY_OPTS" value="-X+O" />
291
- </envs>
292
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
293
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
294
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
295
- <COVERAGE_PATTERN ENABLED="true">
296
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
297
- </COVERAGE_PATTERN>
298
- </EXTENSION>
299
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
300
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/visualize_ruby/parser_spec.rb" />
301
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
302
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
303
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
304
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
305
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
306
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
307
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
308
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
309
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
310
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
311
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
312
- </configuration>
313
- <configuration name="VisualizeRuby::Parser condition AND: visualize_ruby" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
314
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
315
- <module name="visualize_ruby" />
316
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
317
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
318
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
319
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
320
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
321
- <envs>
322
- <env name="JRUBY_OPTS" value="-X+O" />
323
- </envs>
324
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
325
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
326
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
327
- <COVERAGE_PATTERN ENABLED="true">
328
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
329
- </COVERAGE_PATTERN>
330
- </EXTENSION>
331
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
332
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/visualize_ruby/parser_spec.rb" />
333
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
334
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
335
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="VisualizeRuby::Parser condition AND" />
336
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
337
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
338
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
339
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
340
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
341
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
342
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
343
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
344
- </configuration>
345
- <configuration name="VisualizeRuby::Parser if statement with elsif complex example: visualize_ruby" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
346
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
347
- <module name="visualize_ruby" />
348
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
349
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
350
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
351
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
352
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
353
- <envs>
354
- <env name="JRUBY_OPTS" value="-X+O" />
355
- </envs>
356
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
357
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
358
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
359
- <COVERAGE_PATTERN ENABLED="true">
360
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
361
- </COVERAGE_PATTERN>
362
- </EXTENSION>
363
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
364
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/visualize_ruby/parser_spec.rb" />
365
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
366
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
367
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="VisualizeRuby::Parser if statement with elsif complex example" />
368
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
369
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
370
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
371
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
372
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
373
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
374
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
375
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
376
- </configuration>
377
- <configuration name="VisualizeRuby::Parser if statement with elsif: visualize_ruby" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
378
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
379
- <module name="visualize_ruby" />
380
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
381
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
382
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
383
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
384
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
385
- <envs>
386
- <env name="JRUBY_OPTS" value="-X+O" />
387
- </envs>
388
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
389
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
390
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
391
- <COVERAGE_PATTERN ENABLED="true">
392
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
393
- </COVERAGE_PATTERN>
394
- </EXTENSION>
395
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
396
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/visualize_ruby/parser_spec.rb" />
397
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
398
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
399
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="VisualizeRuby::Parser if statement with elsif" />
400
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
401
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
402
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
403
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
404
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
405
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
406
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
407
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
408
- </configuration>
409
- <configuration name="VisualizeRuby::Parser: visualize_ruby" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
410
- <predefined_log_file id="RUBY_RSPEC" enabled="true" />
411
- <module name="visualize_ruby" />
412
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
413
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$" />
414
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
415
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
416
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
417
- <envs>
418
- <env name="JRUBY_OPTS" value="-X+O" />
419
- </envs>
420
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
421
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
422
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov">
423
- <COVERAGE_PATTERN ENABLED="true">
424
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
425
- </COVERAGE_PATTERN>
426
- </EXTENSION>
427
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
428
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/visualize_ruby/parser_spec.rb" />
429
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
430
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
431
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="VisualizeRuby::Parser" />
432
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
433
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
434
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
435
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
436
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
437
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
438
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
439
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
440
- </configuration>
441
- <list>
442
- <item itemvalue="RSpec.Run spec 'parser_spec': visualize_ruby" />
443
- <item itemvalue="RSpec.VisualizeRuby::Parser if statement with elsif: visualize_ruby" />
444
- <item itemvalue="RSpec.VisualizeRuby::Parser: visualize_ruby" />
445
- <item itemvalue="RSpec.VisualizeRuby::Parser condition AND: visualize_ruby" />
446
- <item itemvalue="RSpec.VisualizeRuby::Parser if statement with elsif complex example: visualize_ruby" />
447
- </list>
448
- <recent_temporary>
449
- <list>
450
- <item itemvalue="RSpec.VisualizeRuby::Parser if statement with elsif complex example: visualize_ruby" />
451
- <item itemvalue="RSpec.VisualizeRuby::Parser condition AND: visualize_ruby" />
452
- <item itemvalue="RSpec.Run spec 'parser_spec': visualize_ruby" />
453
- <item itemvalue="RSpec.VisualizeRuby::Parser: visualize_ruby" />
454
- <item itemvalue="RSpec.VisualizeRuby::Parser if statement with elsif: visualize_ruby" />
455
- </list>
456
- </recent_temporary>
457
- </component>
458
- <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
459
- <component name="TaskManager">
460
- <task active="true" id="Default" summary="Default task">
461
- <changelist id="a4595256-6b57-43b1-9fe4-da4f79ca3baf" name="Default" comment="" />
462
- <created>1528840501062</created>
463
- <option name="number" value="Default" />
464
- <option name="presentableId" value="Default" />
465
- <updated>1528840501062</updated>
466
- <workItem from="1528840502315" duration="16826000" />
467
- </task>
468
- <servers />
469
- </component>
470
- <component name="TestHistory">
471
- <history-entry file="VisualizeRuby__Parser_if_statement_with_elsif___visualize_ruby - 2018.06.13 at 12h 25m 32s.xml">
472
- <configuration name="VisualizeRuby::Parser if statement with elsif : visualize_ruby" configurationId="RSpecRunConfigurationType" />
473
- </history-entry>
474
- <history-entry file="VisualizeRuby__Parser_if_statement_with_elsif___visualize_ruby - 2018.06.13 at 12h 27m 57s.xml">
475
- <configuration name="VisualizeRuby::Parser if statement with elsif : visualize_ruby" configurationId="RSpecRunConfigurationType" />
476
- </history-entry>
477
- <history-entry file="VisualizeRuby__Parser_if_statement_with_elsif__visualize_ruby - 2018.06.13 at 12h 28m 12s.xml">
478
- <configuration name="VisualizeRuby::Parser if statement with elsif: visualize_ruby" configurationId="RSpecRunConfigurationType" />
479
- </history-entry>
480
- <history-entry file="VisualizeRuby__Parser__visualize_ruby - 2018.06.13 at 12h 29m 32s.xml">
481
- <configuration name="VisualizeRuby::Parser: visualize_ruby" configurationId="RSpecRunConfigurationType" />
482
- </history-entry>
483
- <history-entry file="Run_spec_'parser_spec'__visualize_ruby - 2018.06.13 at 12h 30m 34s.xml">
484
- <configuration name="Run spec 'parser_spec': visualize_ruby" configurationId="RSpecRunConfigurationType" />
485
- </history-entry>
486
- <history-entry file="VisualizeRuby__Parser_condition_AND__visualize_ruby - 2018.06.13 at 12h 31m 07s.xml">
487
- <configuration name="VisualizeRuby::Parser condition AND: visualize_ruby" configurationId="RSpecRunConfigurationType" />
488
- </history-entry>
489
- <history-entry file="VisualizeRuby__Parser_condition_AND__visualize_ruby - 2018.06.13 at 12h 31m 22s.xml">
490
- <configuration name="VisualizeRuby::Parser condition AND: visualize_ruby" configurationId="RSpecRunConfigurationType" />
491
- </history-entry>
492
- <history-entry file="VisualizeRuby__Parser_condition_AND__visualize_ruby - 2018.06.13 at 12h 31m 37s.xml">
493
- <configuration name="VisualizeRuby::Parser condition AND: visualize_ruby" configurationId="RSpecRunConfigurationType" />
494
- </history-entry>
495
- <history-entry file="VisualizeRuby__Parser_if_statement_with_elsif_complex_example__visualize_ruby - 2018.06.13 at 12h 35m 08s.xml">
496
- <configuration name="VisualizeRuby::Parser if statement with elsif complex example: visualize_ruby" configurationId="RSpecRunConfigurationType" />
497
- </history-entry>
498
- <history-entry file="VisualizeRuby__Parser_if_statement_with_elsif_complex_example__visualize_ruby - 2018.06.13 at 12h 35m 51s.xml">
499
- <configuration name="VisualizeRuby::Parser if statement with elsif complex example: visualize_ruby" configurationId="RSpecRunConfigurationType" />
500
- </history-entry>
501
- </component>
502
- <component name="TimeTrackingManager">
503
- <option name="totallyTimeSpent" value="16826000" />
504
- </component>
505
- <component name="ToolWindowManager">
506
- <frame x="67" y="25" width="1853" height="1055" extended-state="6" />
507
- <layout>
508
- <window_info anchor="bottom" id="TODO" order="6" />
509
- <window_info anchor="bottom" id="Messages" weight="0.3295711" />
510
- <window_info anchor="bottom" id="Event Log" side_tool="true" />
511
- <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
512
- <window_info active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.36238045" />
513
- <window_info anchor="bottom" id="Version Control" />
514
- <window_info anchor="bottom" id="Terminal" />
515
- <window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13383701" />
516
- <window_info anchor="bottom" id="Docker" show_stripe_button="false" />
517
- <window_info anchor="right" id="Database" />
518
- <window_info anchor="bottom" id="Find" order="1" weight="0.32942328" />
519
- <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
520
- <window_info anchor="bottom" id="Debug" order="3" weight="0.47116324" />
521
- <window_info id="Favorites" side_tool="true" />
522
- <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
523
- <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
524
- <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
525
- <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
526
- <window_info anchor="bottom" id="Message" order="0" />
527
- <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
528
- </layout>
529
- </component>
530
- <component name="TypeScriptGeneratedFilesManager">
531
- <option name="version" value="1" />
532
- </component>
533
- <component name="VcsContentAnnotationSettings">
534
- <option name="myLimit" value="2678400000" />
535
- </component>
536
- <component name="XDebuggerManager">
537
- <breakpoint-manager>
538
- <breakpoints>
539
- <line-breakpoint enabled="true" type="ruby-line">
540
- <url>file://$PROJECT_DIR$/lib/visualize_ruby/parser.rb</url>
541
- <line>71</line>
542
- <option name="timeStamp" value="27" />
543
- </line-breakpoint>
544
- </breakpoints>
545
- <option name="time" value="35" />
546
- </breakpoint-manager>
547
- </component>
548
- <component name="editorHistoryManager">
549
- <entry file="file://$PROJECT_DIR$/Rakefile">
550
- <provider selected="true" editor-type-id="text-editor" />
551
- </entry>
552
- <entry file="file://$PROJECT_DIR$/visualize_ruby.gemspec">
553
- <provider selected="true" editor-type-id="text-editor">
554
- <state relative-caret-position="322">
555
- <caret line="37" column="53" lean-forward="true" selection-start-line="37" selection-start-column="53" selection-end-line="37" selection-end-column="53" />
556
- </state>
557
- </provider>
558
- </entry>
559
- <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
560
- <provider selected="true" editor-type-id="text-editor" />
561
- </entry>
562
- <entry file="file://$USER_HOME$/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/parser-2.5.1.0/lib/parser/current.rb">
563
- <provider selected="true" editor-type-id="text-editor" />
564
- </entry>
565
- <entry file="file://$USER_HOME$/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/parser-2.5.1.0/lib/parser.rb">
566
- <provider selected="true" editor-type-id="text-editor">
567
- <state relative-caret-position="450">
568
- <caret line="25" selection-start-line="25" selection-end-line="25" />
569
- </state>
570
- </provider>
571
- </entry>
572
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/action.rb">
573
- <provider selected="true" editor-type-id="text-editor">
574
- <state relative-caret-position="90">
575
- <caret line="5" selection-start-line="5" selection-end-line="5" />
576
- </state>
577
- </provider>
578
- </entry>
579
- <entry file="file://$PROJECT_DIR$/spec/visualize_ruby_spec.rb">
580
- <provider selected="true" editor-type-id="text-editor" />
581
- </entry>
582
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/condition.rb">
583
- <provider selected="true" editor-type-id="text-editor">
584
- <state relative-caret-position="36">
585
- <caret line="2" column="3" lean-forward="true" selection-end-line="10" selection-end-column="3" />
586
- </state>
587
- </provider>
588
- </entry>
589
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/edge.rb">
590
- <provider selected="true" editor-type-id="text-editor">
591
- <state relative-caret-position="522">
592
- <caret line="33" column="7" selection-start-line="33" selection-start-column="4" selection-end-line="33" selection-end-column="32" />
593
- </state>
594
- </provider>
595
- </entry>
596
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby.rb">
597
- <provider selected="true" editor-type-id="text-editor">
598
- <state relative-caret-position="72">
599
- <caret line="4" column="32" selection-start-line="4" selection-start-column="32" selection-end-line="4" selection-end-column="32" />
600
- </state>
601
- </provider>
602
- </entry>
603
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/node.rb">
604
- <provider selected="true" editor-type-id="text-editor">
605
- <state relative-caret-position="504">
606
- <caret line="31" column="16" selection-start-line="31" selection-start-column="16" selection-end-line="31" selection-end-column="16" />
607
- </state>
608
- </provider>
609
- </entry>
610
- <entry file="file://$PROJECT_DIR$/hello_world.png">
611
- <provider selected="true" editor-type-id="images" />
612
- </entry>
613
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/graphviz.rb">
614
- <provider selected="true" editor-type-id="text-editor">
615
- <state relative-caret-position="342">
616
- <caret line="19" column="22" lean-forward="true" selection-start-line="19" selection-start-column="22" selection-end-line="19" selection-end-column="22" />
617
- </state>
618
- </provider>
619
- </entry>
620
- <entry file="file://$PROJECT_DIR$/spec/examples/if_statement.png">
621
- <provider selected="true" editor-type-id="images" />
622
- </entry>
623
- <entry file="file://$PROJECT_DIR$/spec/examples/or.png">
624
- <provider selected="true" editor-type-id="images" />
625
- </entry>
626
- <entry file="file://$PROJECT_DIR$/spec/examples/link_actions.png">
627
- <provider selected="true" editor-type-id="images" />
628
- </entry>
629
- <entry file="file://$PROJECT_DIR$/spec/examples/if_with_condition.png">
630
- <provider selected="true" editor-type-id="images" />
631
- </entry>
632
- <entry file="file://$PROJECT_DIR$/spec/examples/elsif.png">
633
- <provider selected="true" editor-type-id="images" />
634
- </entry>
635
- <entry file="file://$PROJECT_DIR$/spec/visualize_ruby/parser_spec.rb">
636
- <provider selected="true" editor-type-id="text-editor">
637
- <state relative-caret-position="208">
638
- <caret line="56" selection-start-line="56" selection-end-line="56" />
639
- </state>
640
- </provider>
641
- </entry>
642
- <entry file="file://$PROJECT_DIR$/spec/examples/and.png">
643
- <provider selected="true" editor-type-id="images" />
644
- </entry>
645
- <entry file="file://$PROJECT_DIR$/lib/visualize_ruby/parser.rb">
646
- <provider selected="true" editor-type-id="text-editor">
647
- <state relative-caret-position="304">
648
- <caret line="130" column="13" selection-start-line="130" selection-start-column="13" selection-end-line="130" selection-end-column="13" />
649
- </state>
650
- </provider>
651
- </entry>
652
- <entry file="file://$PROJECT_DIR$/spec/examples/complex_logic.png">
653
- <provider selected="true" editor-type-id="images" />
654
- </entry>
655
- </component>
656
- </project>