codependency 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.pryrc +2 -0
- data/README.md +5 -2
- data/lib/codependency/graph.rb +12 -13
- data/lib/codependency/version.rb +1 -1
- data/spec/codependency/graph_spec.rb +51 -72
- data/spec/codependency/graph_spec/codependency_graph/files/assets/application_js.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_account_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_history_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_user_js.txt +5 -0
- data/spec/codependency/graph_spec/codependency_graph/files/breakfast/butter_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/files/breakfast/egg_js.txt +4 -0
- data/spec/codependency/graph_spec/codependency_graph/files/breakfast/sandwich_js.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/files/breakfast/toast_js.txt +4 -0
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/body_rb.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/earth_rb.txt +5 -0
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/mars_rb.txt +5 -0
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/phobos_rb.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/planet_rb.txt +4 -0
- data/spec/codependency/graph_spec/codependency_graph/require/assets/application_js.txt +11 -0
- data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_account_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_history_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_user_js.txt +8 -0
- data/spec/codependency/graph_spec/codependency_graph/require/breakfast/butter_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/require/breakfast/egg_js.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/require/breakfast/sandwich_js.txt +13 -0
- data/spec/codependency/graph_spec/codependency_graph/require/breakfast/toast_js.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/require/lox/money_rb.txt +11 -0
- data/spec/codependency/graph_spec/codependency_graph/require/lox/power_rb.txt +11 -0
- data/spec/codependency/graph_spec/codependency_graph/require/lox/respect_rb.txt +11 -0
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/body_rb.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/earth_rb.txt +9 -0
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/mars_rb.txt +9 -0
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/phobos_rb.txt +13 -0
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/planet_rb.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/assets/application_js.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_account_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_history_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_user_js.txt +5 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/butter_js.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/egg_js.txt +4 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/sandwich_js.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/toast_js.txt +4 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/body_rb.txt +3 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/earth_rb.txt +5 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/mars_rb.txt +5 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/phobos_rb.txt +6 -0
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/planet_rb.txt +4 -0
- data/spec/support/approvals.rb +13 -0
- metadata +87 -86
- data/spec/codependency/graph_spec/codependency_graph/files/assets/application.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_account.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_history.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/files/assets/templates_user.txt +0 -5
- data/spec/codependency/graph_spec/codependency_graph/files/breakfast/butter.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/files/breakfast/egg.txt +0 -4
- data/spec/codependency/graph_spec/codependency_graph/files/breakfast/sandwich.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/files/breakfast/toast.txt +0 -4
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/body.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/earth.txt +0 -5
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/mars.txt +0 -5
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/phobos.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/files/solar_system/planet.txt +0 -4
- data/spec/codependency/graph_spec/codependency_graph/require/assets/application.txt +0 -11
- data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_account.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_history.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/require/assets/templates_user.txt +0 -8
- data/spec/codependency/graph_spec/codependency_graph/require/breakfast/butter.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/require/breakfast/egg.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/require/breakfast/sandwich.txt +0 -13
- data/spec/codependency/graph_spec/codependency_graph/require/breakfast/toast.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/require/lox/money.txt +0 -11
- data/spec/codependency/graph_spec/codependency_graph/require/lox/power.txt +0 -11
- data/spec/codependency/graph_spec/codependency_graph/require/lox/respect.txt +0 -11
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/body.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/earth.txt +0 -9
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/mars.txt +0 -9
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/phobos.txt +0 -13
- data/spec/codependency/graph_spec/codependency_graph/require/solar_system/planet.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/tsort/assets/application.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_account.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_history.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/tsort/assets/templates_user.txt +0 -5
- data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/butter.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/egg.txt +0 -4
- data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/sandwich.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/tsort/breakfast/toast.txt +0 -4
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/body.txt +0 -3
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/earth.txt +0 -5
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/mars.txt +0 -5
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/phobos.txt +0 -6
- data/spec/codependency/graph_spec/codependency_graph/tsort/solar_system/planet.txt +0 -4