tree.rb 0.3.12 → 0.3.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/.gemtest +0 -0
  3. data/LICENSE.txt +0 -0
  4. data/README.md +0 -0
  5. data/Rakefile +0 -0
  6. data/examples/d3js_layout_partition/data.js +0 -0
  7. data/examples/d3js_layout_partition/index.html +0 -0
  8. data/examples/d3js_layout_partition/run.sh +0 -0
  9. data/examples/d3js_layout_partition/style.css +0 -0
  10. data/examples/d3js_layout_treemap/data.js +0 -0
  11. data/examples/d3js_layout_treemap/index.html +0 -0
  12. data/examples/d3js_layout_treemap/run.sh +0 -0
  13. data/examples/d3js_layout_treemap/style.css +0 -0
  14. data/examples/protovis/directory_to_json_visitor.rb +0 -0
  15. data/examples/protovis/index.html +0 -0
  16. data/examples/protovis/protovis-r3.2.js +0 -0
  17. data/examples/protovis/treevisitor.js +0 -0
  18. data/examples/protovis/treevisitor.png +0 -0
  19. data/examples/ruby_examples/find_directory_without_subdirectory.rb +2 -2
  20. data/examples/ruby_examples/find_files.rb +0 -0
  21. data/examples/ruby_examples/find_orphan_xmp.rb +17 -0
  22. data/examples/ruby_examples/print_files.rb +1 -2
  23. data/ext/mkrf_conf.rb +3 -2
  24. data/lib/colors.rb +39 -0
  25. data/lib/tree_rb.rb +2 -2
  26. data/lib/tree_rb/cli/cli_json.rb +3 -3
  27. data/lib/tree_rb/cli/cli_tree.rb +0 -0
  28. data/lib/tree_rb/core/abs_node.rb +2 -2
  29. data/lib/tree_rb/core/basic_tree_node_visitor.rb +0 -0
  30. data/lib/tree_rb/core/leaf_node.rb +0 -0
  31. data/lib/tree_rb/core/tree_node.rb +0 -0
  32. data/lib/tree_rb/core/tree_node_visitor.rb +0 -0
  33. data/lib/tree_rb/exception.rb +0 -0
  34. data/lib/tree_rb/extension_digest.rb +0 -0
  35. data/lib/tree_rb/extension_numeric.rb +0 -0
  36. data/lib/tree_rb/input_plugins/file_system/dir_processor.rb +0 -0
  37. data/lib/tree_rb/input_plugins/file_system/directory_walker.rb +3 -3
  38. data/lib/tree_rb/input_plugins/html_page/dom_walker.rb +0 -0
  39. data/lib/tree_rb/output_plugins/dircat/dircat_output.rb +0 -0
  40. data/lib/tree_rb/output_plugins/dircat/dircat_visitor.rb +0 -0
  41. data/lib/tree_rb/output_plugins/dircat/entry.rb +0 -0
  42. data/lib/tree_rb/output_plugins/html/d3js_output.rb +0 -0
  43. data/lib/tree_rb/output_plugins/html/directory_to_hash2_visitor.rb +0 -0
  44. data/lib/tree_rb/output_plugins/html/erb_render.rb +0 -0
  45. data/lib/tree_rb/output_plugins/sqlite/sqlite_dir_tree_visitor.rb +0 -0
  46. data/lib/tree_rb/output_plugins/sqlite/sqlite_output.rb +0 -0
  47. data/lib/tree_rb/version.rb +1 -1
  48. data/lib/tree_rb/visitors/block_tree_node_visitor.rb +0 -0
  49. data/lib/tree_rb/visitors/callback_tree_node_visitor2.rb +2 -2
  50. data/lib/tree_rb/visitors/clone_tree_node_visitor.rb +0 -0
  51. data/lib/tree_rb/visitors/depth_tree_node_visitor.rb +0 -0
  52. data/lib/tree_rb/visitors/flat_print_tree_node_visitor.rb +0 -0
  53. data/lib/tree_rb/visitors/print_dir_tree_visitor.rb +0 -0
  54. data/lib/tree_rb/visitors/print_tree_node_visitor.rb +0 -0
  55. data/lib/tree_rb/visitors_file_system/build_dir_tree_visitor.rb +0 -0
  56. data/lib/tree_rb/visitors_file_system/directory_to_hash_visitor.rb +0 -0
  57. data/lib/tree_rb_cli.rb +0 -0
  58. data/lib/tree_visitor.rb +0 -0
  59. data/lib/treevisitor.rb +0 -0
  60. data/lib/treevisitor_cli.rb +0 -0
  61. data/spec/fixtures/html_pages/test_1.html +0 -0
  62. data/spec/fixtures/test_dir_1/.dir_with_dot/dummy.txt +0 -0
  63. data/spec/fixtures/test_dir_1/dir.1/dir.1.2/file.1.2.1 +0 -0
  64. data/spec/fixtures/test_dir_1/dir.1/file.1.1 +0 -0
  65. data/spec/fixtures/test_dir_1/dir.2/file.2.1 +0 -0
  66. data/spec/fixtures/test_dir_2/[Dsube]/sub/.gitkeep +0 -0
  67. data/spec/fixtures/test_json/1.json +0 -0
  68. data/spec/fixtures/test_orphaned_xmp/img_001.jpg +0 -0
  69. data/spec/fixtures/test_orphaned_xmp/img_001.xmp +0 -0
  70. data/spec/fixtures/test_orphaned_xmp/img_002.xmp +0 -0
  71. data/spec/spec_helper.rb +2 -0
  72. data/spec/tree_rb/cli/cli_json_spec.rb +3 -3
  73. data/spec/tree_rb/cli/cli_tree_d3js_spec.rb +3 -3
  74. data/spec/tree_rb/cli/cli_tree_digest_spec.rb +2 -2
  75. data/spec/tree_rb/cli/cli_tree_generic_spec.rb +15 -15
  76. data/spec/tree_rb/cli/cli_tree_sqlite_spec.rb +2 -2
  77. data/spec/tree_rb/core/tree_dsl_spec.rb +3 -3
  78. data/spec/tree_rb/core/tree_dsl_with_derived_class1_spec.rb +1 -1
  79. data/spec/tree_rb/core/tree_dsl_with_derived_class_spec.rb +2 -2
  80. data/spec/tree_rb/core/tree_node_paths_spec.rb +25 -25
  81. data/spec/tree_rb/core/tree_node_spec.rb +41 -41
  82. data/spec/tree_rb/core/tree_node_visitor_delegate_spec.rb +3 -3
  83. data/spec/tree_rb/core/tree_node_visitor_dsl_spec.rb +13 -13
  84. data/spec/tree_rb/extension_digest_spec.rb +6 -7
  85. data/spec/tree_rb/extension_numeric_spec.rb +3 -3
  86. data/spec/tree_rb/input_file_system/dir_processor_spec.rb +2 -2
  87. data/spec/tree_rb/input_file_system/directory_walker_conf_spec.rb +59 -59
  88. data/spec/tree_rb/input_file_system/directory_walker_run_spec.rb +73 -62
  89. data/spec/tree_rb/input_html_page/dom_walker_spec.rb +12 -3
  90. data/spec/tree_rb/visitors/block_tree_node_visitor_spec.rb +2 -2
  91. data/spec/tree_rb/visitors/callback_tree_node_visitor2_spec.rb +3 -3
  92. data/spec/tree_rb/visitors/depth_tree_node_visitor_spec.rb +2 -2
  93. data/spec/tree_rb/visitors/tree_node_visitors_spec.rb +2 -2
  94. data/tasks/rspec.rake +1 -1
  95. data/tasks/tree_rb.rake +0 -0
  96. data/tasks/yard.rake +0 -0
  97. data/tree.rb.gemspec +3 -2
  98. metadata +99 -87
  99. data/spec/fixtures/tmp/test.db +0 -0
Binary file