[{"title":"(73个子文件54KB)to_factory:根据数据自动生成工厂-源码","children":[{"title":"to_factory-master","children":[{"title":".travis.yml <span style='color:#111;'>144B</span>","children":null,"spread":false},{"title":"bin","children":[{"title":"ci <span style='color:#111;'>110B</span>","children":null,"spread":false},{"title":"spec <span style='color:#111;'>50B</span>","children":null,"spread":false}],"spread":true},{"title":"to_factory.gemspec <span style='color:#111;'>1.21KB</span>","children":null,"spread":false},{"title":"Rakefile <span style='color:#111;'>925B</span>","children":null,"spread":false},{"title":".rubocop.yml <span style='color:#111;'>24.74KB</span>","children":null,"spread":false},{"title":".rubocop-disabled.yml <span style='color:#111;'>3.08KB</span>","children":null,"spread":false},{"title":".rubocop-enabled.yml <span style='color:#111;'>38.35KB</span>","children":null,"spread":false},{"title":"Gemfile <span style='color:#111;'>100B</span>","children":null,"spread":false},{"title":"tmp","children":[{"title":".keep <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":true},{"title":".rspec <span style='color:#111;'>30B</span>","children":null,"spread":false},{"title":"spec","children":[{"title":"db","children":[{"title":"migrate","children":[{"title":"2_create_projects.rb <span style='color:#111;'>264B</span>","children":null,"spread":false},{"title":"5_add_serialized_attributes_to_users.rb <span style='color:#111;'>200B</span>","children":null,"spread":false},{"title":"1_create_users.rb <span style='color:#111;'>251B</span>","children":null,"spread":false},{"title":"4_add_birthday_to_users.rb <span style='color:#111;'>178B</span>","children":null,"spread":false},{"title":"3_create_not_namespaced.rb <span style='color:#111;'>349B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"support","children":[{"title":"models","children":[{"title":"project.rb <span style='color:#111;'>81B</span>","children":null,"spread":false},{"title":"not_active_record.rb <span style='color:#111;'>37B</span>","children":null,"spread":false},{"title":"user.rb <span style='color:#111;'>110B</span>","children":null,"spread":false}],"spread":false},{"title":"broken_models","children":[{"title":"invalid_ruby_file.rb <span style='color:#111;'>31B</span>","children":null,"spread":false},{"title":"project.rb <span style='color:#111;'>81B</span>","children":null,"spread":false}],"spread":false},{"title":"data_creation.rb <span style='color:#111;'>668B</span>","children":null,"spread":false},{"title":"match_sexp.rb <span style='color:#111;'>471B</span>","children":null,"spread":false},{"title":"ruby_parser_exception_causing_string.rb <span style='color:#111;'>484B</span>","children":null,"spread":false},{"title":"non_active_record","children":[{"title":"some_other_service_inheriting_from_something_else.rb <span style='color:#111;'>78B</span>","children":null,"spread":false},{"title":"some_service.rb <span style='color:#111;'>22B</span>","children":null,"spread":false},{"title":"inherited_project.rb <span style='color:#111;'>90B</span>","children":null,"spread":false},{"title":"project.rb <span style='color:#111;'>81B</span>","children":null,"spread":false},{"title":"something_else.rb <span style='color:#111;'>24B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"unit","children":[{"title":"collation_spec.rb <span style='color:#111;'>1.58KB</span>","children":null,"spread":false},{"title":"file_writer_spec.rb <span style='color:#111;'>760B</span>","children":null,"spread":false},{"title":"parsing","children":[{"title":"klass_inference_spec.rb <span style='color:#111;'>950B</span>","children":null,"spread":false},{"title":"file_spec.rb <span style='color:#111;'>3.11KB</span>","children":null,"spread":false}],"spread":false},{"title":"generation","children":[{"title":"factory_spec.rb <span style='color:#111;'>2.73KB</span>","children":null,"spread":false},{"title":"attribute_spec.rb <span style='color:#111;'>2.03KB</span>","children":null,"spread":false}],"spread":false},{"title":"finders","children":[{"title":"model_spec.rb <span style='color:#111;'>1.39KB</span>","children":null,"spread":false},{"title":"factory_spec.rb <span style='color:#111;'>712B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"example_factories","children":[{"title":"user_admin_super_admin.rb <span style='color:#111;'>227B</span>","children":null,"spread":false},{"title":"user_admin_root.rb <span style='color:#111;'>406B</span>","children":null,"spread":false},{"title":"user_with_header.rb <span style='color:#111;'>191B</span>","children":null,"spread":false},{"title":"user_admin.rb <span style='color:#111;'>311B</span>","children":null,"spread":false},{"title":"project_with_header.rb <span style='color:#111;'>133B</span>","children":null,"spread":false},{"title":"admin.rb <span style='color:#111;'>164B</span>","children":null,"spread":false},{"title":"user_admin_with_header.rb <span style='color:#111;'>365B</span>","children":null,"spread":false},{"title":"admin_with_header.rb <span style='color:#111;'>204B</span>","children":null,"spread":false},{"title":"user.rb <span style='color:#111;'>146B</span>","children":null,"spread":false},{"title":"inherited_project_with_header.rb <span style='color:#111;'>143B</span>","children":null,"spread":false}],"spread":false},{"title":"integration","children":[{"title":"lint_spec.rb <span style='color:#111;'>290B</span>","children":null,"spread":false},{"title":"file_writer_spec.rb <span style='color:#111;'>657B</span>","children":null,"spread":false},{"title":"config_spec.rb <span style='color:#111;'>407B</span>","children":null,"spread":false},{"title":"to_factory_method_spec.rb <span style='color:#111;'>3.65KB</span>","children":null,"spread":false},{"title":"file_sync_spec.rb <span style='color:#111;'>2.14KB</span>","children":null,"spread":false},{"title":"non_active_record_classes_spec.rb <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"empty_factory_file_spec.rb <span style='color:#111;'>421B</span>","children":null,"spread":false},{"title":"multiple_to_factory_calls_spec.rb <span style='color:#111;'>2.42KB</span>","children":null,"spread":false}],"spread":false},{"title":"spec_helper.rb <span style='color:#111;'>1.31KB</span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'>141B</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"to_factory.rb <span style='color:#111;'>1.46KB</span>","children":null,"spread":false},{"title":"to_factory","children":[{"title":"config.rb <span style='color:#111;'>279B</span>","children":null,"spread":false},{"title":"klass_inference.rb <span style='color:#111;'>957B</span>","children":null,"spread":false},{"title":"representation.rb <span style='color:#111;'>1.04KB</span>","children":null,"spread":false},{"title":"collation.rb <span style='color:#111;'>1.20KB</span>","children":null,"spread":false},{"title":"file_writer.rb <span style='color:#111;'>1.10KB</span>","children":null,"spread":false},{"title":"file_sync.rb <span style='color:#111;'>1.15KB</span>","children":null,"spread":false},{"title":"parsing","children":[{"title":"ruby_parsing_helpers.rb <span style='color:#111;'>300B</span>","children":null,"spread":false},{"title":"file.rb <span style='color:#111;'>2.38KB</span>","children":null,"spread":false}],"spread":false},{"title":"version.rb <span style='color:#111;'>41B</span>","children":null,"spread":false},{"title":"generation","children":[{"title":"attribute.rb <span style='color:#111;'>2.00KB</span>","children":null,"spread":false},{"title":"factory.rb <span style='color:#111;'>1.46KB</span>","children":null,"spread":false}],"spread":false},{"title":"finders","children":[{"title":"factory.rb <span style='color:#111;'>559B</span>","children":null,"spread":false},{"title":"model.rb <span style='color:#111;'>1.34KB</span>","children":null,"spread":false}],"spread":false},{"title":"options_parser.rb <span style='color:#111;'>714B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'>3.41KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]