cauldron 0.1.1 → 0.1.2

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.
Files changed (62) hide show
  1. data/Gemfile +2 -1
  2. data/VERSION +1 -1
  3. data/features/cauldron_generates_runtime_method.feature +2 -2
  4. data/lib/Chain.rb +22 -6
  5. data/lib/UnifiedChain.rb +17 -2
  6. data/lib/cauldron.rb +3 -0
  7. data/lib/cauldron/pot.rb +50 -40
  8. data/lib/cauldron/terminal.rb +2 -2
  9. data/lib/core/ClassMethodCallContainer.rb +0 -1
  10. data/lib/core/MethodUsage.rb +0 -1
  11. data/lib/core/TheoryGenerator.rb +0 -4
  12. data/lib/core/runtime_method/RuntimeMethod.rb +1 -1
  13. data/lib/core/statement/ActsAsStatement.rb +1 -1
  14. data/lib/core/statement/Statement.rb +65 -146
  15. data/lib/core/statement/TheoryStatement.rb +1 -0
  16. data/lib/core/variable/FixnumVariable.rb +4 -5
  17. data/lib/core/variable/Unknown.rb +1 -11
  18. data/lib/core/variable/Variable.rb +1 -1
  19. data/lib/required.rb +0 -1
  20. data/lib/ruby_code/String.rb +0 -6
  21. data/lib/theory/TheoryConnector.rb +54 -117
  22. data/lib/util/ClassEvaluation.rb +9 -28
  23. data/lib/util/CodeEvaluation.rb +22 -18
  24. data/lib/util/DeclarationStatementEvaluation.rb +4 -3
  25. data/lib/util/MethodEvaluation.rb +6 -6
  26. data/lib/util/StatementCheck.rb +5 -3
  27. data/lib/util/StringToTheory.rb +0 -1
  28. data/spec/cauldron/pot_spec.rb +40 -0
  29. data/test/fixtures/theories/0/dump +0 -0
  30. data/test/fixtures/theories/1/dump +0 -0
  31. data/test/fixtures/theories/10/dump +0 -0
  32. data/test/fixtures/theories/11/dump +0 -0
  33. data/test/fixtures/theories/12/dump +0 -0
  34. data/test/fixtures/theories/13/dump +0 -0
  35. data/test/fixtures/theories/14/dump +0 -0
  36. data/test/fixtures/theories/15/dump +0 -0
  37. data/test/fixtures/theories/16/dump +0 -0
  38. data/test/fixtures/theories/17/dump +0 -0
  39. data/test/fixtures/theories/18/dump +0 -0
  40. data/test/fixtures/theories/19/dump +0 -0
  41. data/test/fixtures/theories/2/dump +0 -0
  42. data/test/fixtures/theories/20/dump +0 -0
  43. data/test/fixtures/theories/3/dump +0 -0
  44. data/test/fixtures/theories/4/dump +0 -0
  45. data/test/fixtures/theories/5/dump +0 -0
  46. data/test/fixtures/theories/6/dump +0 -0
  47. data/test/fixtures/theories/7/dump +0 -0
  48. data/test/fixtures/theories/8/dump +0 -0
  49. data/test/fixtures/theories/9/declaration.txt +1 -1
  50. data/test/fixtures/theories/9/desc +1 -1
  51. data/test/fixtures/theories/9/dump +0 -0
  52. data/test/ts_complete.rb +0 -1
  53. data/test/unit/core/runtime_method/tc_runtime_method.rb +0 -25
  54. data/test/unit/core/statement/tc_statement.rb +0 -52
  55. data/test/unit/core/tc_theory_generator.rb +2 -2
  56. data/test/unit/tc_theory.rb +2 -10
  57. data/test/unit/theory/tc_theory_action.rb +2 -6
  58. data/test/unit/util/tc_string_to_theory.rb +2 -2
  59. data/tmp/runtime_method_evaluation.rb +10 -7
  60. metadata +28 -30
  61. data/lib/core/runtime_class/IfStatementClass.rb +0 -12
  62. data/test/tc_contextual_variables.rb +0 -48
@@ -5,10 +5,8 @@ class MethodEvaluation
5
5
 
6
6
  def evaluate_method(runtime_method,params,additional_methods=[])
7
7
 
8
- # Create file to include the runtime method
9
- filepath = $LOC+File.join(['tmp','runtime_method_evaluation.rb'])
10
- #filepath = $LOC+File.join(['tmp','runtime_method_evaluation_'+@@COUNTER.to_s+'.rb'])
11
- file = File.open(filepath,'w+')
8
+ # Create file to include the runtime method
9
+ file = Tempfile.new("runtime_method_evaluation.rb")
12
10
 
13
11
  # A new class name is created otherwise previously declared method names are peristent.
14
12
  # e.g. if a "RuntimeMethodEvaluation" was created with the method_a it would still
@@ -39,11 +37,13 @@ class MethodEvaluation
39
37
  end
40
38
 
41
39
  # Load the generated class
42
- load filepath
40
+ load file.path
43
41
 
44
42
  # Use the evaluated paramaters with the evaluated runtime method
45
43
  return eval("#{class_name}.new."+runtime_method.method_name+"(*evaluated_parameters)")
46
-
44
+ ensure
45
+ file.close
46
+ file.unlink
47
47
  end
48
48
 
49
49
  end
@@ -11,8 +11,7 @@ class StatementCheck
11
11
  def valid_syntax?(statement)
12
12
 
13
13
  # Create file to include the test method
14
- filepath = $LOC+File.join(['tmp','runtime_statement_check.rb'])
15
- file = File.open(filepath,'w+')
14
+ file = Tempfile.new("runtime_statement_check.rb")
16
15
 
17
16
  # Include the sytax for the statement in the file
18
17
  file << 'class RuntimeStatementCheck'+"\n"
@@ -24,7 +23,7 @@ class StatementCheck
24
23
 
25
24
  # Load the newly created class and check the statement
26
25
  begin
27
- load filepath
26
+ load file.path
28
27
  RuntimeStatementCheck.new.check
29
28
  rescue NameError => e
30
29
  return false
@@ -37,6 +36,9 @@ class StatementCheck
37
36
  end
38
37
  return true
39
38
 
39
+ ensure
40
+ file.close
41
+ file.unlink
40
42
  end
41
43
 
42
44
  end
@@ -61,7 +61,6 @@ class StringToTheory < Parser
61
61
  def self.parse_const(token)
62
62
  constants = {
63
63
  'Statement'=>'StatementClass',
64
- 'IfStatement'=>'IfStatementClass',
65
64
  'Return'=>'ReturnClass',
66
65
  'InstanceCallContainer'=>'InstanceCallContainerClass',
67
66
  'StringLength'=>'StringLengthClass',
@@ -65,6 +65,46 @@ module Cauldron
65
65
  pot.brew(cases).reset_ids!.basic_write.should == sexp2cauldron.process(sexp).basic_write
66
66
  end
67
67
 
68
+ context 'it has both demo one and two loaded' do
69
+ before(:each) {
70
+ @pot = Cauldron::Pot.new
71
+ @pot.clear
72
+ @pot.simmer(demo_one)
73
+ @pot.simmer(demo_two)
74
+ }
75
+ it 'can generate a solution like demo 1' do
76
+ cases = []
77
+ cases << convert_to_example(separate_values("'pip','pip'"))
78
+ cases << convert_to_example(separate_values("'rowiage','rowiage'"))
79
+ ruby = "
80
+ def method_0(var_0)
81
+ \treturn var_0
82
+ end
83
+ "
84
+ parser = RubyParser.new
85
+ sexp = parser.process(ruby)
86
+ sexp2cauldron = Sexp2Cauldron.new
87
+ @pot.brew(cases).reset_ids!.basic_write.should == sexp2cauldron.process(sexp).basic_write
88
+ end
89
+ it 'can generate a solution like demo 2(it needs to discount the demo 1 solution)' do
90
+ cases = []
91
+ cases << convert_to_example(separate_values("'sparky','bro'"))
92
+ cases << convert_to_example(separate_values("'kel','sis'"))
93
+ ruby = "
94
+ def method_0(var_0)
95
+ \tif(var_0 == 'sparky')
96
+ \t\treturn 'bro'
97
+ \tend
98
+ \treturn 'sis'
99
+ end
100
+ "
101
+ parser = RubyParser.new
102
+ sexp = parser.process(ruby)
103
+ sexp2cauldron = Sexp2Cauldron.new
104
+ @pot.brew(cases).reset_ids!.basic_write.should == sexp2cauldron.process(sexp).basic_write
105
+ end
106
+ end
107
+
68
108
  end
69
109
 
70
110
  end
@@ -6,7 +6,7 @@
6
6
  )
7
7
  action = TheoryAction.new(
8
8
  TheoryStatement.new(StringToTheory.run(
9
- 'IfStatement.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output])'
9
+ 'Statement.new(If.new,Container.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output]))'
10
10
  )),
11
11
  StringToTheory.run('var1.statement_id')
12
12
  )
@@ -10,7 +10,7 @@ if:
10
10
  end
11
11
 
12
12
  action:
13
- <runtime_method>.add_statement_at(IfStatement.new(var2[var3][:params][var6], Equivalent.new, var2[var3][:output]),var1.statement_id)
13
+ <runtime_method>.add_statement_at(Statement.new(If.new, Container.new(var2[var3][:params][var6], Equivalent.new, var2[var3][:output])),var1.statement_id)
14
14
  result:
15
15
  if(var1.history(var2[var3][:params]).any?{ |x| x.statement_id == var1.last.statement_id} )
16
16
  return true
@@ -74,7 +74,6 @@ require 'test/unit/core/statement/tc_statement_dependencies'
74
74
  require 'test/unit/tc_statement_structure_2'
75
75
  require 'test/unit/tc_variable_declaration'
76
76
 
77
- require 'test/tc_contextual_variables'
78
77
  require 'test/tc_describe'
79
78
  require 'test/tc_method'
80
79
  require 'test/tc_requirement'
@@ -163,31 +163,6 @@ class TestRuntimeMethod < Test::Unit::TestCase
163
163
 
164
164
  end
165
165
 
166
- # Tests that the literal value of each variable in the method can
167
- # be evaluated.
168
- #
169
- def test_literal_value_of_var
170
-
171
- # Check that each of the variables has the correct evaluated value
172
- local_var_a = 'test'.to_var
173
- local_var_b = 'LividKel'.to_var
174
- assert_equal(
175
- local_var_a.value,
176
- @simple_method.literal_value_of_var(
177
- @method_var_a.variable_id,
178
- ParametersContainer.new(local_var_a,local_var_b)
179
- )
180
- )
181
- assert_equal(9,@simple_method.literal_value_of_var(@var_b.variable_id,ParametersContainer.new(local_var_a,local_var_b)))
182
- assert_equal(local_var_a.value.clone.chop,@simple_method.literal_value_of_var(@var_c.variable_id,ParametersContainer.new(local_var_a,local_var_b)))
183
- assert_equal(local_var_a.value.clone.chop.length,@simple_method.literal_value_of_var(@var_d.variable_id,ParametersContainer.new(local_var_a,local_var_b)))
184
- assert_equal(12,@simple_method.literal_value_of_var(@var_e.variable_id,ParametersContainer.new(local_var_a,local_var_b)))
185
-
186
- # Check that an exception is raised for not existant variables
187
- assert_raises(FailedToFindVariableError){@simple_method.literal_value_of_var(Variable.variable_id+1,ParametersContainer.new(local_var_a,local_var_b))}
188
-
189
- end
190
-
191
166
  # Tests the RuntimeMethods abilitity to identify what comninations
192
167
  # of variables can be used to call this method.
193
168
  #
@@ -229,25 +229,6 @@ class TestStatement < Test::Unit::TestCase
229
229
  assert_raises(UnknownStatementType){Statement.new(RequirementsVariable.new,RequirementsVariable.new).statement_type}
230
230
  end
231
231
 
232
- # Presumes the statement is a declaration statement and returns the
233
- # specified variable in context.
234
- #
235
- def test_find_variable_in_declaration_statement
236
-
237
- # Attempt to retrieve both variables used in the statement (var_c = var_b.chop)
238
- assert(@statement_b.send(:find_variable_in_declaration_statement,@var_c).kind_of?(Variable))
239
- assert(@statement_b.send(:find_variable_in_declaration_statement,@var_b).kind_of?(Variable))
240
-
241
- # Attempt to retrieve variable not used in statement
242
- assert(@statement_b.send(:find_variable_in_declaration_statement,@var_b).kind_of?(Variable))
243
-
244
- # Attempt to retrieve variable for statement with three variables
245
- assert(@statement_c.send(:find_variable_in_declaration_statement,@var_e).kind_of?(Variable))
246
- assert(@statement_c.send(:find_variable_in_declaration_statement,@var_f).kind_of?(Variable))
247
- assert(@statement_c.send(:find_variable_in_declaration_statement,@var_g).kind_of?(Variable))
248
-
249
- end
250
-
251
232
  def test_required_variable_ids
252
233
 
253
234
  # Confirm that the simple statement var = 'daggerfall' has no dependencies
@@ -516,39 +497,6 @@ class TestStatement < Test::Unit::TestCase
516
497
 
517
498
  end
518
499
 
519
- def test_to_var
520
-
521
- # Create a simple statement and check that it can be changed to a statement variable
522
- assert_equal(StatementVariable,@simple_statement.to_var.class)
523
-
524
- # Check that the content of the statement is pre-served
525
- assert_equal(@simple_statement.write,@simple_statement.to_var.value.write)
526
- assert_equal(@chop_wally.write,@chop_wally.to_var.value.write)
527
-
528
- # Check that variable ids are maintained and classes are maintained
529
- chop_wally_var = @chop_wally.to_var
530
- @chop_wally.each_variable do |x|
531
- assert_equal(x.variable_id,chop_wally_var.value.find_variable(x.variable_id).variable_id)
532
- assert_equal(x.class,chop_wally_var.value.find_variable(x.variable_id).class)
533
- end
534
-
535
- # Check that the id of the generated statement variable can be set.
536
- set_variable_id = 0
537
- variable_with_set_id = @simple_statement.to_var(set_variable_id)
538
- assert_equal(0,variable_with_set_id.variable_id)
539
-
540
- # Change the id's are retained when using blocks
541
- assert_equal(89,@simple_statement.to_var(89,101).variable_id)
542
- # TODO I should check that ids are retained inside the value of the statement variable
543
- #raise StandardError.new('jsadksadfjksd')
544
- runtime_method_a = RuntimeMethod.new(MethodUsage.new)
545
- runtime_method_a << @simple_statement
546
- realised_runtime_method_a = runtime_method_a.realise2([])
547
- assert_equal(@simple_statement.first.variable_id,realised_runtime_method_a.first.first.variable_id)
548
- assert_equal(@simple_statement.first.uniq_id,realised_runtime_method_a.first.first.uniq_id)
549
-
550
- end
551
-
552
500
  def test_find_actual_variable
553
501
 
554
502
  # 1. Check that the actual variable is returned from a statement
@@ -58,7 +58,7 @@ class TestTheoryGenerator < Test::Unit::TestCase
58
58
  # var1 = RuntimeMethod, var2 = test_cases, var3 = 0, var4 = 0
59
59
  action_one = TheoryAction.new(
60
60
  TheoryStatement.new(StringToTheory.run(
61
- 'IfStatement.new(var2[var3][:params][var4],Equivalent.new,var2[var3][:output])'
61
+ 'Statement.new(If.new,Container.new(var2[var3][:params][var4],Equivalent.new,var2[var3][:output]))'
62
62
  )
63
63
  ),
64
64
  StringToTheory.run('var1.statement_id')
@@ -81,7 +81,7 @@ class TestTheoryGenerator < Test::Unit::TestCase
81
81
  # var1 = RuntimeMethod, var2 = test_cases, var3 = 0, var4 = 0
82
82
  action_one = TheoryAction.new(
83
83
  TheoryStatement.new(StringToTheory.run(
84
- 'IfStatement.new(var2[var3][:params][var4],Equivalent.new,var2[var3][:output])'
84
+ 'Statement.new(If.new,Container.new(var2[var3][:params][var4],Equivalent.new,var2[var3][:output]))'
85
85
  )
86
86
  ),
87
87
  StringToTheory.run('var1.statement_id')
@@ -78,7 +78,7 @@ class TestTheory < Test::Unit::TestCase
78
78
  )
79
79
  action = TheoryAction.new(
80
80
  TheoryStatement.new(StringToTheory.run(
81
- 'IfStatement.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output])'
81
+ 'Statement.new(Container.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output]))'
82
82
  )),
83
83
  StringToTheory.run('var1.statement_id')
84
84
  )
@@ -106,7 +106,7 @@ class TestTheory < Test::Unit::TestCase
106
106
  )
107
107
  action = TheoryAction.new(
108
108
  TheoryStatement.new(StringToTheory.run(
109
- 'IfStatement.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output])'
109
+ 'Statement.new(Container.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output]))'
110
110
  )),
111
111
  StringToTheory.run('var1.statement_id')
112
112
  )
@@ -377,11 +377,6 @@ class TestTheory < Test::Unit::TestCase
377
377
  def test_map_to_case1_theory_1
378
378
 
379
379
  theory =Theory.load_theory(9)
380
- # runtime_method = RuntimeMethod.new(MethodUsage.new(MethodParameter.new))
381
- # test_cases = [
382
- # {:params=>['something'], :output=>'exists'},
383
- # {:params=>['my willpower'], :output=>'does not exist'}
384
- # ]
385
380
  mapping = Mapping.new({
386
381
  1=>IntrinsicRuntimeMethod.new,
387
382
  2=>IntrinsicTestCases.new,
@@ -389,9 +384,6 @@ class TestTheory < Test::Unit::TestCase
389
384
  4=>1.to_literal,
390
385
  6=>1.to_literal
391
386
  })
392
- puts theory.write
393
- puts theory.all_theory_variables.length
394
- puts theory.map_to(mapping).write
395
387
  assert_equal(
396
388
  0,
397
389
  theory.map_to(mapping).all_theory_variables.length
@@ -2,7 +2,7 @@ $LOAD_PATH << File.expand_path('../../../../lib',__FILE__)
2
2
 
3
3
  require 'cauldron'
4
4
 
5
- #require 'required'
5
+
6
6
  require 'test/unit'
7
7
 
8
8
  class TestTheoryAction < Test::Unit::TestCase
@@ -97,16 +97,12 @@ class TestTheoryAction < Test::Unit::TestCase
97
97
  def test_map_to_case_1_theory_1_action
98
98
  action = TheoryAction.new(
99
99
  TheoryStatement.new(StringToTheory.run(
100
- 'IfStatement.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output])'
100
+ 'Statement.new(If.new,Container.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output]))'
101
101
  )
102
102
  ),
103
103
  StringToTheory.run('var1.statement_id')
104
104
  )
105
105
  mapping = {2=>IntrinsicTestCases.new,3=>Literal.new(0),6=>0.to_literal}
106
- # assert_equal(
107
- # "<runtime_method>.add_statement_at(IfStatement.new(<test_cases>[0][:params][0], Equivalent.new, <test_cases>[0][:output]),#{TheoryVariable.variable_colour(1)}var1#{TheoryVariable::NORMAL}.statement_id)",
108
- # action.map_to(mapping).describe
109
- # )
110
106
  end
111
107
 
112
108
  end
@@ -246,11 +246,11 @@ class TestStringToTheory < Test::Unit::TestCase
246
246
  StringToTheory.run("if(var9 == (var5[:params][var6].length+1))\nend")
247
247
  }
248
248
  assert_nothing_raised(){
249
- StringToTheory.run("IfStatement.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output])")
249
+ StringToTheory.run("Statement.new(If.new,Container.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output]))")
250
250
  }
251
251
  assert_equal(
252
252
  5,
253
- StringToTheory.run("IfStatement.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output])").select_all {|x| x.kind_of?(ArrayAccess)}.length
253
+ StringToTheory.run("Statement.new(If.new,Container.new(var2[var3][:params][var6],Equivalent.new,var2[var3][:output]))").select_all {|x| x.kind_of?(ArrayAccess)}.length
254
254
  )
255
255
  # <var1>.history(<var2>[<var3>][:params]).any? { |x| x.statement_id == <var8>.statement_id }
256
256
  assert_nothing_raised(){
@@ -1,13 +1,16 @@
1
- class RuntimeMethodEvaluation3
1
+ class RuntimeMethodEvaluation18
2
2
 
3
3
  #
4
- # This is the method that is being evaluated using 'RuntimeMethodEvaluation3.new.method_1
4
+ # This is the method that is being evaluated using 'RuntimeMethodEvaluation18.new.method_1
5
5
  #
6
- def method_1(var_0)
7
- if(var_0 == 'fish')
8
- return 'animal'
9
- end
10
- return 'vegtable'
6
+ def method_1(var_1, var_2, var_3, var_4)
7
+ @var_0 = History.new if @var_0.nil?
8
+ @var_0.push(Step.new(
9
+ var_1,
10
+ var_2,
11
+ var_3,
12
+ var_4
13
+ ))
11
14
  end
12
15
 
13
16
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cauldron
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Warren Sangster
@@ -15,12 +15,28 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-04 00:00:00 +01:00
18
+ date: 2011-07-14 00:00:00 +01:00
19
19
  default_executable: cauldron
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- type: :development
22
+ type: :runtime
23
23
  version_requirements: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 21
29
+ segments:
30
+ - 1
31
+ - 2
32
+ - 5
33
+ version: 1.2.5
34
+ requirement: *id001
35
+ prerelease: false
36
+ name: ruby2ruby
37
+ - !ruby/object:Gem::Dependency
38
+ type: :development
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
24
40
  none: false
25
41
  requirements:
26
42
  - - ">="
@@ -29,12 +45,12 @@ dependencies:
29
45
  segments:
30
46
  - 0
31
47
  version: "0"
32
- requirement: *id001
48
+ requirement: *id002
33
49
  prerelease: false
34
50
  name: shoulda
35
51
  - !ruby/object:Gem::Dependency
36
52
  type: :development
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
53
+ version_requirements: &id003 !ruby/object:Gem::Requirement
38
54
  none: false
39
55
  requirements:
40
56
  - - ~>
@@ -45,12 +61,12 @@ dependencies:
45
61
  - 0
46
62
  - 15
47
63
  version: 1.0.15
48
- requirement: *id002
64
+ requirement: *id003
49
65
  prerelease: false
50
66
  name: bundler
51
67
  - !ruby/object:Gem::Dependency
52
68
  type: :development
53
- version_requirements: &id003 !ruby/object:Gem::Requirement
69
+ version_requirements: &id004 !ruby/object:Gem::Requirement
54
70
  none: false
55
71
  requirements:
56
72
  - - ~>
@@ -61,12 +77,12 @@ dependencies:
61
77
  - 6
62
78
  - 2
63
79
  version: 1.6.2
64
- requirement: *id003
80
+ requirement: *id004
65
81
  prerelease: false
66
82
  name: jeweler
67
83
  - !ruby/object:Gem::Dependency
68
84
  type: :development
69
- version_requirements: &id004 !ruby/object:Gem::Requirement
85
+ version_requirements: &id005 !ruby/object:Gem::Requirement
70
86
  none: false
71
87
  requirements:
72
88
  - - ">="
@@ -75,25 +91,9 @@ dependencies:
75
91
  segments:
76
92
  - 0
77
93
  version: "0"
78
- requirement: *id004
79
- prerelease: false
80
- name: rcov
81
- - !ruby/object:Gem::Dependency
82
- type: :development
83
- version_requirements: &id005 !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- hash: 21
89
- segments:
90
- - 1
91
- - 2
92
- - 5
93
- version: 1.2.5
94
94
  requirement: *id005
95
95
  prerelease: false
96
- name: ruby2ruby
96
+ name: rcov
97
97
  - !ruby/object:Gem::Dependency
98
98
  type: :development
99
99
  version_requirements: &id006 !ruby/object:Gem::Requirement
@@ -213,7 +213,6 @@ files:
213
213
  - lib/core/runtime_class/DefCallClass.rb
214
214
  - lib/core/runtime_class/EqualClass.rb
215
215
  - lib/core/runtime_class/FixnumClass.rb
216
- - lib/core/runtime_class/IfStatementClass.rb
217
216
  - lib/core/runtime_class/InstanceCallClass.rb
218
217
  - lib/core/runtime_class/InstanceCallContainerClass.rb
219
218
  - lib/core/runtime_class/InstanceClassCallClass.rb
@@ -455,7 +454,6 @@ files:
455
454
  - test/output/test_simple_cases/simple_case_06.txt
456
455
  - test/output/test_simple_cases/simple_case_07.txt
457
456
  - test/output/test_simple_cases/simple_case_08.txt
458
- - test/tc_contextual_variables.rb
459
457
  - test/tc_describe.rb
460
458
  - test/tc_method.rb
461
459
  - test/tc_requirement.rb