codependency 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/.pryrc +2 -0
  2. data/README.md +5 -2
  3. data/lib/codependency/graph.rb +12 -13
  4. data/lib/codependency/version.rb +1 -1
  5. data/spec/codependency/graph_spec.rb +51 -72
  6. data/spec/codependency/graph_spec/codependency_graph/files/assets/application_js.txt +6 -0
  7. data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_account_js.txt +3 -0
  8. data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_history_js.txt +3 -0
  9. data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_user_js.txt +5 -0
  10. data/spec/codependency/graph_spec/codependency_graph/files/breakfast/butter_js.txt +3 -0
  11. data/spec/codependency/graph_spec/codependency_graph/files/breakfast/egg_js.txt +4 -0
  12. data/spec/codependency/graph_spec/codependency_graph/files/breakfast/sandwich_js.txt +6 -0
  13. data/spec/codependency/graph_spec/codependency_graph/files/breakfast/toast_js.txt +4 -0
  14. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/body_rb.txt +3 -0
  15. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/earth_rb.txt +5 -0
  16. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/mars_rb.txt +5 -0
  17. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/phobos_rb.txt +6 -0
  18. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/planet_rb.txt +4 -0
  19. data/spec/codependency/graph_spec/codependency_graph/require/assets/application_js.txt +11 -0
  20. data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_account_js.txt +3 -0
  21. data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_history_js.txt +3 -0
  22. data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_user_js.txt +8 -0
  23. data/spec/codependency/graph_spec/codependency_graph/require/breakfast/butter_js.txt +3 -0
  24. data/spec/codependency/graph_spec/codependency_graph/require/breakfast/egg_js.txt +6 -0
  25. data/spec/codependency/graph_spec/codependency_graph/require/breakfast/sandwich_js.txt +13 -0
  26. data/spec/codependency/graph_spec/codependency_graph/require/breakfast/toast_js.txt +6 -0
  27. data/spec/codependency/graph_spec/codependency_graph/require/lox/money_rb.txt +11 -0
  28. data/spec/codependency/graph_spec/codependency_graph/require/lox/power_rb.txt +11 -0
  29. data/spec/codependency/graph_spec/codependency_graph/require/lox/respect_rb.txt +11 -0
  30. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/body_rb.txt +3 -0
  31. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/earth_rb.txt +9 -0
  32. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/mars_rb.txt +9 -0
  33. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/phobos_rb.txt +13 -0
  34. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/planet_rb.txt +6 -0
  35. data/spec/codependency/graph_spec/codependency_graph/tsort/assets/application_js.txt +6 -0
  36. data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_account_js.txt +3 -0
  37. data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_history_js.txt +3 -0
  38. data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_user_js.txt +5 -0
  39. data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/butter_js.txt +3 -0
  40. data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/egg_js.txt +4 -0
  41. data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/sandwich_js.txt +6 -0
  42. data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/toast_js.txt +4 -0
  43. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/body_rb.txt +3 -0
  44. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/earth_rb.txt +5 -0
  45. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/mars_rb.txt +5 -0
  46. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/phobos_rb.txt +6 -0
  47. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/planet_rb.txt +4 -0
  48. data/spec/support/approvals.rb +13 -0
  49. metadata +87 -86
  50. data/spec/codependency/graph_spec/codependency_graph/files/assets/application.txt +0 -6
  51. data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_account.txt +0 -3
  52. data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_history.txt +0 -3
  53. data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_user.txt +0 -5
  54. data/spec/codependency/graph_spec/codependency_graph/files/breakfast/butter.txt +0 -3
  55. data/spec/codependency/graph_spec/codependency_graph/files/breakfast/egg.txt +0 -4
  56. data/spec/codependency/graph_spec/codependency_graph/files/breakfast/sandwich.txt +0 -6
  57. data/spec/codependency/graph_spec/codependency_graph/files/breakfast/toast.txt +0 -4
  58. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/body.txt +0 -3
  59. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/earth.txt +0 -5
  60. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/mars.txt +0 -5
  61. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/phobos.txt +0 -6
  62. data/spec/codependency/graph_spec/codependency_graph/files/solar_system/planet.txt +0 -4
  63. data/spec/codependency/graph_spec/codependency_graph/require/assets/application.txt +0 -11
  64. data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_account.txt +0 -3
  65. data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_history.txt +0 -3
  66. data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_user.txt +0 -8
  67. data/spec/codependency/graph_spec/codependency_graph/require/breakfast/butter.txt +0 -3
  68. data/spec/codependency/graph_spec/codependency_graph/require/breakfast/egg.txt +0 -6
  69. data/spec/codependency/graph_spec/codependency_graph/require/breakfast/sandwich.txt +0 -13
  70. data/spec/codependency/graph_spec/codependency_graph/require/breakfast/toast.txt +0 -6
  71. data/spec/codependency/graph_spec/codependency_graph/require/lox/money.txt +0 -11
  72. data/spec/codependency/graph_spec/codependency_graph/require/lox/power.txt +0 -11
  73. data/spec/codependency/graph_spec/codependency_graph/require/lox/respect.txt +0 -11
  74. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/body.txt +0 -3
  75. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/earth.txt +0 -9
  76. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/mars.txt +0 -9
  77. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/phobos.txt +0 -13
  78. data/spec/codependency/graph_spec/codependency_graph/require/solar_system/planet.txt +0 -6
  79. data/spec/codependency/graph_spec/codependency_graph/tsort/assets/application.txt +0 -6
  80. data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_account.txt +0 -3
  81. data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_history.txt +0 -3
  82. data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_user.txt +0 -5
  83. data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/butter.txt +0 -3
  84. data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/egg.txt +0 -4
  85. data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/sandwich.txt +0 -6
  86. data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/toast.txt +0 -4
  87. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/body.txt +0 -3
  88. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/earth.txt +0 -5
  89. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/mars.txt +0 -5
  90. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/phobos.txt +0 -6
  91. data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/planet.txt +0 -4
data/.pryrc ADDED
@@ -0,0 +1,2 @@
1
+ $: << './lib'
2
+ require 'codependency'
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Codependency
2
2
 
3
- Codependency is a simple comment-based dependency graph that you can use on arbitrary files.
3
+ Codependency is a simple comment-based dependency graph that you can use on
4
+ arbitrary files. The comment syntax should look familiar to anyone who has
5
+ used Sprockets, but is not nearly as robust (yet).
4
6
 
5
7
  ## Installation
6
8
 
@@ -43,7 +45,8 @@ Then, we create a dependency graph to determine the order in which the files mig
43
45
  ``` rb
44
46
  graph = Codependency::Graph.new
45
47
  graph.path << '.' # works like PATH, append search paths for this graph
46
- graph.files # => ["./foo.rb", "./bar.rb"] # returns a topologically sorted list of relative filepaths
48
+ graph << 'bar' # adds a file to this graph, finds its dependencies recursively
49
+ graph.files # returns a topologically sorted list of relative pathnames
47
50
  ```
48
51
 
49
52
  ## Contributing
@@ -4,18 +4,18 @@ module Codependency
4
4
  class Graph < Hash
5
5
 
6
6
  ##
7
- # Adds a file to the dependency graph. The filename given should be
8
- # relative and should not contain an extension, like:
9
- #
10
- # # require application/user
11
- #
12
- # Attempts to locate and add all dependencies of this file recursively,
13
- # creating our graph.
14
- def require( file )
15
- self[ file ] ||= parser.parse path[ file ]
16
- self[ file ].each do |file|
17
- self << file unless key?( file )
7
+ # Add the given file to this graph. Creates a new entry in the
8
+ # graph, the key of which is the expanded path to this file and
9
+ # the value is the array of expanded paths to its dependencies.
10
+ # Any dependent files will also be recursively added to this
11
+ # graph.
12
+ def require( string )
13
+ file = File.expand_path string
14
+
15
+ self[ file ] ||= parser.parse( file ).map do |short|
16
+ path[ short ].to_path
18
17
  end
18
+ self[ file ].each { |f| self.require( f ) unless key?( f ) }
19
19
  end
20
20
  alias :<< :require
21
21
 
@@ -23,8 +23,7 @@ module Codependency
23
23
  # Returns the sorted list of files as determined by this graph,
24
24
  # relative to the calling file.
25
25
  def files
26
- here = Pathname( caller.first.split( ':' ).shift )
27
- tsort.map { |file| path[ file ].relative_path_from( here ) }
26
+ tsort.map { |file| Pathname( file ) }
28
27
  end
29
28
 
30
29
  ##
@@ -1,3 +1,3 @@
1
1
  module Codependency
2
- VERSION = '2.0.0'
2
+ VERSION = '2.1.0'
3
3
  end
@@ -8,105 +8,84 @@ describe Codependency::Graph do
8
8
  its( :path ){ should be_empty }
9
9
  end
10
10
 
11
- describe '#require' do
12
- let( :dirname ){ example.example_group.description }
13
- let( :basename ){ example.description }
14
- let( :file ){ File.join dirname, basename }
15
-
16
- before { subject.path << './spec/fixtures' }
17
- before { subject << file }
18
-
11
+ describe '#require', :fixtures => true do
19
12
  describe 'solar_system' do
20
- example( 'body' ){ verify { subject } }
21
- example( 'earth' ){ verify { subject } }
22
- example( 'mars' ){ verify { subject } }
23
- example( 'phobos' ){ verify { subject } }
24
- example( 'planet' ){ verify { subject } }
13
+ example( 'body.rb' ){ verify { subject } }
14
+ example( 'earth.rb' ){ verify { subject } }
15
+ example( 'mars.rb' ){ verify { subject } }
16
+ example( 'phobos.rb' ){ verify { subject } }
17
+ example( 'planet.rb' ){ verify { subject } }
25
18
  end
26
19
  describe 'breakfast' do
27
- example( 'butter' ){ verify { subject } }
28
- example( 'egg' ){ verify { subject } }
29
- example( 'sandwich' ){ verify { subject } }
30
- example( 'toast' ){ verify { subject } }
20
+ example( 'butter.js' ){ verify { subject } }
21
+ example( 'egg.js' ){ verify { subject } }
22
+ example( 'sandwich.js' ){ verify { subject } }
23
+ example( 'toast.js' ){ verify { subject } }
31
24
  end
32
25
  describe 'lox' do
33
- example( 'money' ){ verify { subject } }
34
- example( 'power' ){ verify { subject } }
35
- example( 'respect' ){ verify { subject } }
26
+ example( 'money.rb' ){ verify { subject } }
27
+ example( 'power.rb' ){ verify { subject } }
28
+ example( 'respect.rb' ){ verify { subject } }
36
29
  end
37
30
  describe 'assets' do
38
- example( 'templates/account' ){ verify { subject } }
39
- example( 'templates/history' ){ verify { subject } }
40
- example( 'templates/user' ){ verify { subject } }
41
- example( 'application' ){ verify { subject } }
31
+ example( 'templates/account.js' ){ verify { subject } }
32
+ example( 'templates/history.js' ){ verify { subject } }
33
+ example( 'templates/user.js' ){ verify { subject } }
34
+ example( 'application.js' ){ verify { subject } }
42
35
  end
43
36
  end
44
37
 
45
- describe '#tsort' do
46
- let( :dirname ){ example.example_group.description }
47
- let( :basename ){ example.description }
48
- let( :file ){ File.join dirname, basename }
49
-
50
- before { subject.path << './spec/fixtures' }
51
- before { subject << file }
52
-
38
+ describe '#tsort', :fixtures => true do
53
39
  describe 'solar_system' do
54
- example( 'body' ){ verify { subject.tsort } }
55
- example( 'earth' ){ verify { subject.tsort } }
56
- example( 'mars' ){ verify { subject.tsort } }
57
- example( 'phobos' ){ verify { subject.tsort } }
58
- example( 'planet' ){ verify { subject.tsort } }
40
+ example( 'body.rb' ){ verify { subject.tsort } }
41
+ example( 'earth.rb' ){ verify { subject.tsort } }
42
+ example( 'mars.rb' ){ verify { subject.tsort } }
43
+ example( 'phobos.rb' ){ verify { subject.tsort } }
44
+ example( 'planet.rb' ){ verify { subject.tsort } }
59
45
  end
60
46
  describe 'breakfast' do
61
- example( 'butter' ){ verify { subject.tsort } }
62
- example( 'egg' ){ verify { subject.tsort } }
63
- example( 'sandwich' ){ verify { subject.tsort } }
64
- example( 'toast' ){ verify { subject.tsort } }
47
+ example( 'butter.js' ){ verify { subject.tsort } }
48
+ example( 'egg.js' ){ verify { subject.tsort } }
49
+ example( 'sandwich.js' ){ verify { subject.tsort } }
50
+ example( 'toast.js' ){ verify { subject.tsort } }
65
51
  end
66
52
  describe 'lox' do
67
- example( 'money' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
68
- example( 'power' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
69
- example( 'respect' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
53
+ example( 'money.rb' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
54
+ example( 'power.rb' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
55
+ example( 'respect.rb' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
70
56
  end
71
57
  describe 'assets' do
72
- example( 'templates/account' ){ verify { subject.tsort } }
73
- example( 'templates/history' ){ verify { subject.tsort } }
74
- example( 'templates/user' ){ verify { subject.tsort } }
75
- example( 'application' ){ verify { subject.tsort } }
58
+ example( 'templates/account.js' ){ verify { subject.tsort } }
59
+ example( 'templates/history.js' ){ verify { subject.tsort } }
60
+ example( 'templates/user.js' ){ verify { subject.tsort } }
61
+ example( 'application.js' ){ verify { subject.tsort } }
76
62
  end
77
63
  end
78
64
 
79
- describe '#files' do
80
- let( :dirname ){ example.example_group.description }
81
- let( :basename ){ example.description }
82
- let( :file ){ File.join dirname, basename }
83
-
84
- before { subject.path << './spec/fixtures' }
85
- before { subject << file }
86
-
65
+ describe '#files', :fixtures => true do
87
66
  describe 'solar_system' do
88
- example( 'body' ){ verify { subject.files } }
89
- example( 'earth' ){ verify { subject.files } }
90
- example( 'mars' ){ verify { subject.files } }
91
- example( 'phobos' ){ verify { subject.files } }
92
- example( 'planet' ){ verify { subject.files } }
67
+ example( 'body.rb' ){ verify { subject.files } }
68
+ example( 'earth.rb' ){ verify { subject.files } }
69
+ example( 'mars.rb' ){ verify { subject.files } }
70
+ example( 'phobos.rb' ){ verify { subject.files } }
71
+ example( 'planet.rb' ){ verify { subject.files } }
93
72
  end
94
73
  describe 'breakfast' do
95
- example( 'butter' ){ verify { subject.files } }
96
- example( 'egg' ){ verify { subject.files } }
97
- example( 'sandwich' ){ verify { subject.files } }
98
- example( 'toast' ){ verify { subject.files } }
74
+ example( 'butter.js' ){ verify { subject.files } }
75
+ example( 'egg.js' ){ verify { subject.files } }
76
+ example( 'sandwich.js' ){ verify { subject.files } }
77
+ example( 'toast.js' ){ verify { subject.files } }
99
78
  end
100
79
  describe 'lox' do
101
- example( 'money' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
102
- example( 'power' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
103
- example( 'respect' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
80
+ example( 'money.rb' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
81
+ example( 'power.rb' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
82
+ example( 'respect.rb' ){ expect { subject.tsort }.to raise_error( TSort::Cyclic ) }
104
83
  end
105
84
  describe 'assets' do
106
- example( 'templates/account' ){ verify { subject.files } }
107
- example( 'templates/history' ){ verify { subject.files } }
108
- example( 'templates/user' ){ verify { subject.files } }
109
- example( 'application' ){ verify { subject.files } }
85
+ example( 'templates/account.js' ){ verify { subject.files } }
86
+ example( 'templates/history.js' ){ verify { subject.files } }
87
+ example( 'templates/user.js' ){ verify { subject.files } }
88
+ example( 'application.js' ){ verify { subject.files } }
110
89
  end
111
90
  end
112
91
  end
@@ -0,0 +1,6 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/history.js>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/account.js>,
4
+ [2] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/user.js>,
5
+ [3] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/application.js>
6
+ ]
@@ -0,0 +1,3 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/account.js>
3
+ ]
@@ -0,0 +1,3 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/history.js>
3
+ ]
@@ -0,0 +1,5 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/history.js>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/account.js>,
4
+ [2] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/user.js>
5
+ ]
@@ -0,0 +1,3 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js>
3
+ ]
@@ -0,0 +1,4 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/egg.js>
4
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/egg.js>,
4
+ [2] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/toast.js>,
5
+ [3] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/sandwich.js>
6
+ ]
@@ -0,0 +1,4 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/toast.js>
4
+ ]
@@ -0,0 +1,3 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb>
3
+ ]
@@ -0,0 +1,5 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb>,
4
+ [2] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/earth.rb>
5
+ ]
@@ -0,0 +1,5 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb>,
4
+ [2] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/mars.rb>
5
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb>,
4
+ [2] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/mars.rb>,
5
+ [3] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/phobos.rb>
6
+ ]
@@ -0,0 +1,4 @@
1
+ [
2
+ [0] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb>,
3
+ [1] #<Pathname:/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb>
4
+ ]
@@ -0,0 +1,11 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/application.js" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/user.js"
4
+ ],
5
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/user.js" => [
6
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/history.js",
7
+ [1] "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/account.js"
8
+ ],
9
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/history.js" => [],
10
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/account.js" => []
11
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/account.js" => []
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/history.js" => []
3
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/user.js" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/history.js",
4
+ [1] "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/account.js"
5
+ ],
6
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/history.js" => [],
7
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/assets/templates/account.js" => []
8
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js" => []
3
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/egg.js" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js"
4
+ ],
5
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js" => []
6
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/sandwich.js" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/egg.js",
4
+ [1] "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/toast.js"
5
+ ],
6
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/egg.js" => [
7
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js"
8
+ ],
9
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js" => [],
10
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/toast.js" => [
11
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js"
12
+ ]
13
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/toast.js" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js"
4
+ ],
5
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/breakfast/butter.js" => []
6
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/money.rb" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/power.rb"
4
+ ],
5
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/power.rb" => [
6
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/respect.rb"
7
+ ],
8
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/respect.rb" => [
9
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/money.rb"
10
+ ]
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/power.rb" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/respect.rb"
4
+ ],
5
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/respect.rb" => [
6
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/money.rb"
7
+ ],
8
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/money.rb" => [
9
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/power.rb"
10
+ ]
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/respect.rb" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/money.rb"
4
+ ],
5
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/money.rb" => [
6
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/power.rb"
7
+ ],
8
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/power.rb" => [
9
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/lox/respect.rb"
10
+ ]
11
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb" => []
3
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/earth.rb" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb"
4
+ ],
5
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb" => [
6
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb"
7
+ ],
8
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb" => []
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/mars.rb" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb"
4
+ ],
5
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb" => [
6
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb"
7
+ ],
8
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb" => []
9
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/phobos.rb" => [
3
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb",
4
+ [1] "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/mars.rb"
5
+ ],
6
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb" => [],
7
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/mars.rb" => [
8
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb"
9
+ ],
10
+ "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/planet.rb" => [
11
+ [0] "/Users/jeremyruppel/Git/codependency/spec/fixtures/solar_system/body.rb"
12
+ ]
13
+ }