tinkit 0.0.3 → 0.0.6
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.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +28 -0
- data/{LICENSE → LICENSE.txt} +0 -0
- data/NOTICE +14 -0
- data/Rakefile +50 -65
- data/VERSION +1 -0
- data/bufs_fixtures/bufs_fixtures.rb +66 -0
- data/bufs_fixtures/init_db_load.rb +95 -0
- data/bufs_fixtures/model_fixtures/create_model_dir.rb +55 -0
- data/bufs_fixtures/model_fixtures/default_data_model.json +1 -0
- data/bufs_fixtures/model_fixtures/make_model_json_file.rb +104 -0
- data/bufs_fixtures/orig_test_files/Test%_+- .,^^,. -+_%.txt +1 -0
- data/bufs_fixtures/orig_test_files/simple text file 2.txt +1 -0
- data/bufs_fixtures/orig_test_files/simple text file 3.txt +1 -0
- data/bufs_fixtures/orig_test_files/simple text file 4.txt +1 -0
- data/bufs_fixtures/orig_test_files/simple_text_file1.txt +1 -0
- data/bufs_fixtures/orig_test_files/spec test2 v1.3.pptx +1 -0
- data/bufs_fixtures/orig_test_files/spec test2.docx +1 -0
- data/bufs_fixtures/orig_test_files/spec_test1.pptx +1 -0
- data/bufs_fixtures/orig_test_files/spec_test3.pptx +1 -0
- data/bufs_fixtures/orig_test_files/test_modified_time_fresh.txt +1 -0
- data/bufs_fixtures/orig_test_files/test_modified_time_stale.txt +1 -0
- data/bufs_fixtures/test_files/Test%_+- .,^^,. -+_%.txt +1 -0
- data/bufs_fixtures/test_files/simple text file 2.txt +1 -0
- data/bufs_fixtures/test_files/simple text file 3.txt +1 -0
- data/bufs_fixtures/test_files/simple text file 4.txt +1 -0
- data/bufs_fixtures/test_files/simple_text_file1.txt +1 -0
- data/bufs_fixtures/test_files/spec test2 v1.3.pptx +1 -0
- data/bufs_fixtures/test_files/spec test2.docx +1 -0
- data/bufs_fixtures/test_files/spec_test1.pptx +1 -0
- data/bufs_fixtures/test_files/spec_test3.pptx +1 -0
- data/bufs_fixtures/test_files/test_modified_time_fresh.txt +1 -0
- data/bufs_fixtures/test_files/test_modified_time_stale.txt +1 -0
- data/examples/edge_cases.rb +43 -0
- data/examples/example.rb +7 -4
- data/examples/example_env_formatter.rb +146 -0
- data/examples/hello_world_get.rb +34 -0
- data/examples/hello_world_save.rb +43 -0
- data/examples/test_sync.rb +123 -0
- data/lib/glue_envs/couchrest/couchrest_attachment_handler.rb +18 -3
- data/lib/glue_envs/couchrest/couchrest_files_mgr.rb +1 -1
- data/lib/glue_envs/couchrest_glue_env.rb +1 -1
- data/lib/glue_envs/filesystem/filesystem_files_mgr.rb +2 -2
- data/lib/glue_envs/filesystem_glue_env.rb +1 -1
- data/lib/glue_envs/mysql/mysql_files_mgr.rb +1 -0
- data/lib/tinkit_base_node.rb +22 -1
- data/lib/tinkit_node_factory.rb +111 -15
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/a/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/aa/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/aa/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/aa/spec_test1.pptx +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/aaa/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ab/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ac/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ac/spec_test2_v1.3.pptx +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/b/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/b/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/b/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ba/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ba/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bb/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bb/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bbb/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bc/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bcc/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/c/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/cc/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/.model/cc/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_links.html +2 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_links.html +5 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_links.html +3 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_links.html +3 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_links.html +3 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/aa/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_links.html +5 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/links.html +2 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_links.html +3 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_links.html +5 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_links.html +4 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/links.html +2 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/b/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_links.html +5 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/a/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/aa/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/aa/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/aa/spec_test1.pptx +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/aaa/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ab/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ac/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ac/spec_test2_v1.3.pptx +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/b/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/b/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/b/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ba/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ba/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bb/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bb/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bbb/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bc/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bcc/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/c/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/cc/.node_data.json +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/.model/cc/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_links.html +2 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_links.html +5 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_links.html +3 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_links.html +3 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_links.html +3 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/aa/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_links.html +5 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/links.html +2 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_links.html +3 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_links.html +5 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_links.html +4 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/links.html +2 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/Test___-_._._-___.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file1.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file_2.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file_3.txt +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/spec_test1.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/spec_test2_v1.3.pptx +0 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_links.html +5 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/links.html +1 -0
- data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/simple_text_file1.txt +1 -0
- data/spec/couchdb_running_spec.rb +17 -0
- data/spec/couchrest_files_mgr_spec.rb +2 -2
- data/spec/filesystem_glue_spec.rb +0 -1
- data/spec/tinkit_node_factory_spec.rb +46 -2
- data/tinkit-0.0.4.gem +0 -0
- data/tinkit.gemspec +439 -0
- metadata +497 -46
- data/examples/aws_sdb.log +0 -31
- data/examples/bufs_hello_world.rb +0 -27
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/simple_text_file_3.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 3
|
Binary file
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/spec_test2_v1.3.pptx
ADDED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
Simple Text File
|
@@ -0,0 +1 @@
|
|
1
|
+
%_+- .,^^,. -+_%
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/Test___-_._._-___.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
%_+- .,^^,. -+_%
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file1.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Simple Text File
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file_2.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 2
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file_3.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 3
|
Binary file
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/spec_test2_v1.3.pptx
ADDED
Binary file
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/Test___-_._._-___.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
%_+- .,^^,. -+_%
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file1.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Simple Text File
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file_2.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 2
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file_3.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 3
|
Binary file
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/spec_test2_v1.3.pptx
ADDED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<a href='http:\www.metafilter.com'>MeFi</a>
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/Test___-_._._-___.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
%_+- .,^^,. -+_%
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file1.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Simple Text File
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file_2.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 2
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file_3.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 3
|
Binary file
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/spec_test2_v1.3.pptx
ADDED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<a href='http:\www.metafilter.com'>MeFi</a>
|
@@ -0,0 +1 @@
|
|
1
|
+
%_+- .,^^,. -+_%
|
@@ -0,0 +1 @@
|
|
1
|
+
Simple Text File
|
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 2
|
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 3
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 2
|
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 3
|
@@ -0,0 +1 @@
|
|
1
|
+
%_+- .,^^,. -+_%
|
@@ -0,0 +1 @@
|
|
1
|
+
Simple Text File
|
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 2
|
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 3
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<a href='http:\www.google.com'>google2</a>
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/Test___-_._._-___.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
%_+- .,^^,. -+_%
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file1.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Simple Text File
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file_2.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 2
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file_3.txt
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
simple text file 3
|
Binary file
|
data/sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/spec_test2_v1.3.pptx
ADDED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<a href='http:\www.google.com'>google2</a>
|
@@ -0,0 +1 @@
|
|
1
|
+
Simple Text File
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#require helper for cleaner require statements
|
2
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), '../lib/helpers/require_helper')
|
3
|
+
|
4
|
+
require 'rspec'
|
5
|
+
require 'couchrest'
|
6
|
+
|
7
|
+
describe CouchRest::Database do
|
8
|
+
it "should be running and have records" do
|
9
|
+
db_name = "http://127.0.0.1:5984/bufs_test_spec/"
|
10
|
+
CouchDB = CouchRest.database!(db_name)
|
11
|
+
CouchDB.compact!
|
12
|
+
#CouchDB = BufsFixtures::CouchDB #CouchRest.database!(doc_db_name)
|
13
|
+
db_docs = nil
|
14
|
+
db_docs = CouchDB.documents
|
15
|
+
db_docs['total_rows'].should >= 0
|
16
|
+
end
|
17
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#require helper for cleaner require statements
|
2
2
|
require File.join(File.expand_path(File.dirname(__FILE__)), '../lib/helpers/require_helper')
|
3
3
|
|
4
|
-
require '
|
4
|
+
require 'rspec'
|
5
5
|
require 'couchrest'
|
6
6
|
|
7
7
|
require Tinkit.glue 'couchrest/couchrest_files_mgr'
|
@@ -548,4 +548,4 @@ end
|
|
548
548
|
|
549
549
|
end
|
550
550
|
end
|
551
|
-
=end
|
551
|
+
=end
|
@@ -85,7 +85,6 @@ describe FilesystemEnv::GlueEnv, "Persistent Layer Basic Operations" do
|
|
85
85
|
#Don't use native get_attributes, use obj's get, it will block until save is finished
|
86
86
|
persisted_data = @filesystem_glue_obj.get(data1[:my_id])
|
87
87
|
persisted_data.should_not == nil
|
88
|
-
#p persisted_data
|
89
88
|
persisted_data[:my_id].should == data1[:my_id]
|
90
89
|
persisted_data[:data].should == data1[:data]
|
91
90
|
end
|
@@ -39,6 +39,13 @@ module MakeUserClasses
|
|
39
39
|
node_env4 = NodeHelper.env_builder("filesystem", node_class_id4, @user4_id, FileSystem2)
|
40
40
|
node_env5 = NodeHelper.env_builder("sdb_s3", node_class_id5, @user5_id, "MyDomain")
|
41
41
|
node_env6 = NodeHelper.env_builder("mysql", node_class_id6, @user6_id, "MyTable")
|
42
|
+
#NOTE: Can't use TinkitNodeFactory.env_formatter because of key field issue (generic uses :id, bufs uses :my_category)
|
43
|
+
# node_env1 = TinkitNodeFactory.env_formatter("couchrest", node_class_id1, @user1_id, CouchDB.uri, CouchDB.host)
|
44
|
+
# node_env2 = TinkitNodeFactory.env_formatter("couchrest", node_class_id2, @user2_id, CouchDB.uri, CouchDB.host)
|
45
|
+
# node_env3 = TinkitNodeFactory.env_formatter("filesystem", node_class_id3, @user3_id, FileSystem1)
|
46
|
+
# node_env4 = TinkitNodeFactory.env_formatter("filesystem", node_class_id4, @user4_id, FileSystem2)
|
47
|
+
# node_env5 = TinkitNodeFactory.env_formatter("sdb_s3", node_class_id5, @user5_id, "MyDomain")
|
48
|
+
# node_env6 = TinkitNodeFactory.env_formatter("mysql", node_class_id6, @user6_id, "MyTable")
|
42
49
|
#node_env2 = CouchRestNodeHelpers.env_builder(node_class_id2, CouchDB2, @user2_id)
|
43
50
|
#node_env3 = FileSystemNodeHelpers.env_builder(node_class_id3, FileSystem1, @user3_id)
|
44
51
|
#node_env4 = FileSystemNodeHelpers.env_builder(node_class_id4, FileSystem2, @user4_id)
|
@@ -239,7 +246,7 @@ describe TinkitNodeFactory, "Basic Operations" do
|
|
239
246
|
end
|
240
247
|
new_cat = 'new parent cat'
|
241
248
|
|
242
|
-
#test
|
249
|
+
#test via normal method add
|
243
250
|
@user_classes.each do |user_class|
|
244
251
|
docs_with_new_parent_cat[user_class].parent_categories_add(new_cat)
|
245
252
|
aftersave_revs[user_class] = docs_with_new_parent_cat[user_class]._model_metadata[:_rev]
|
@@ -262,6 +269,32 @@ describe TinkitNodeFactory, "Basic Operations" do
|
|
262
269
|
docs_with_new_parent_cat[user_class].__send__(param).should == db_param
|
263
270
|
end
|
264
271
|
end
|
272
|
+
|
273
|
+
#test via hash setters and getters
|
274
|
+
@user_classes.each do |user_class|
|
275
|
+
docs_with_new_parent_cat[user_class][:parent_categories] = new_cat
|
276
|
+
aftersave_revs[user_class] = docs_with_new_parent_cat[user_class]._model_metadata[:_rev]
|
277
|
+
#puts "AS: #{user_class.inspect} rev: #{aftersave_revs[user_class].inspect}"
|
278
|
+
end
|
279
|
+
|
280
|
+
#check results
|
281
|
+
@user_classes.each do |user_class|
|
282
|
+
#check doc in memory
|
283
|
+
docs_with_new_parent_cat[user_class][:parent_categories].should include new_cat
|
284
|
+
#check database
|
285
|
+
doc_params[user_class].keys.each do |param|
|
286
|
+
persist_layer_key = user_class.myGlueEnv.persist_layer_key
|
287
|
+
node = docs_with_new_parent_cat[user_class]
|
288
|
+
node_id = node._model_metadata[persist_layer_key]
|
289
|
+
model_node = node.class.get(node_id)
|
290
|
+
db_param = model_node[param.to_sym]
|
291
|
+
docs_with_new_parent_cat[user_class]._user_data[param].should == db_param
|
292
|
+
#test accessor method
|
293
|
+
docs_with_new_parent_cat[user_class].__send__(param).should == db_param
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
|
265
298
|
end
|
266
299
|
|
267
300
|
it "should add categories to existing categories and existing doc" do
|
@@ -583,6 +616,8 @@ describe TinkitNodeFactory, "Document Operations with Attachments" do
|
|
583
616
|
#using just the filename
|
584
617
|
file_data = {:src_filename => test_filename}
|
585
618
|
@user_classes.each do |user_class|
|
619
|
+
# RestClient.log = Logger.new(STDOUT)
|
620
|
+
#RestClient.log.level = Logger::DEBUG
|
586
621
|
basic_docs[user_class].files_add(file_data)
|
587
622
|
end
|
588
623
|
|
@@ -594,7 +629,16 @@ describe TinkitNodeFactory, "Document Operations with Attachments" do
|
|
594
629
|
id_of_doc_w_att = basic_docs[user_class]._model_metadata[persist_layer_key]
|
595
630
|
doc_w_att = user_class.get(id_of_doc_w_att)
|
596
631
|
doc_w_att.attached_files.size.should == 1
|
597
|
-
|
632
|
+
#We don't delete fields we set them to null so keys may mismatch sometimes, but data should not
|
633
|
+
key_diffs = doc_w_att._user_data.keys & basic_docs[user_class]._user_data.keys
|
634
|
+
unless key_diffs.empty?
|
635
|
+
key_diffs.each do |key_diff|
|
636
|
+
#both should resolve to nil
|
637
|
+
doc_w_att._user_data[key_diff].should == basic_docs[user_class]._user_data[key_diff]
|
638
|
+
puts "NOTICE: Mismatched Keys Found, but data is valid"
|
639
|
+
end
|
640
|
+
end
|
641
|
+
#doc_w_att._user_data.should == basic_docs[user_class]._user_data
|
598
642
|
doc_w_att.attached_files.should == basic_docs[user_class].attached_files
|
599
643
|
end
|
600
644
|
end
|
data/tinkit-0.0.4.gem
ADDED
Binary file
|
data/tinkit.gemspec
ADDED
@@ -0,0 +1,439 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{tinkit}
|
8
|
+
s.version = "0.0.6"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Dave M"]
|
12
|
+
s.date = %q{2011-04-12}
|
13
|
+
s.description = %q{Tinkit provides a portable persistence layer that adopts to your data, not the other way around.}
|
14
|
+
s.email = %q{dmarti21@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".rspec",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"LICENSE.txt",
|
25
|
+
"NOTICE",
|
26
|
+
"README",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"bufs_fixtures/bufs_fixtures.rb",
|
30
|
+
"bufs_fixtures/init_db_load.rb",
|
31
|
+
"bufs_fixtures/model_fixtures/create_model_dir.rb",
|
32
|
+
"bufs_fixtures/model_fixtures/default_data_model.json",
|
33
|
+
"bufs_fixtures/model_fixtures/make_model_json_file.rb",
|
34
|
+
"bufs_fixtures/orig_test_files/Test%_+- .,^^,. -+_%.txt",
|
35
|
+
"bufs_fixtures/orig_test_files/simple text file 2.txt",
|
36
|
+
"bufs_fixtures/orig_test_files/simple text file 3.txt",
|
37
|
+
"bufs_fixtures/orig_test_files/simple text file 4.txt",
|
38
|
+
"bufs_fixtures/orig_test_files/simple_text_file1.txt",
|
39
|
+
"bufs_fixtures/orig_test_files/spec test2 v1.3.pptx",
|
40
|
+
"bufs_fixtures/orig_test_files/spec test2.docx",
|
41
|
+
"bufs_fixtures/orig_test_files/spec_test1.pptx",
|
42
|
+
"bufs_fixtures/orig_test_files/spec_test3.pptx",
|
43
|
+
"bufs_fixtures/orig_test_files/test_modified_time_fresh.txt",
|
44
|
+
"bufs_fixtures/orig_test_files/test_modified_time_stale.txt",
|
45
|
+
"bufs_fixtures/test_files/Test%_+- .,^^,. -+_%.txt",
|
46
|
+
"bufs_fixtures/test_files/simple text file 2.txt",
|
47
|
+
"bufs_fixtures/test_files/simple text file 3.txt",
|
48
|
+
"bufs_fixtures/test_files/simple text file 4.txt",
|
49
|
+
"bufs_fixtures/test_files/simple_text_file1.txt",
|
50
|
+
"bufs_fixtures/test_files/spec test2 v1.3.pptx",
|
51
|
+
"bufs_fixtures/test_files/spec test2.docx",
|
52
|
+
"bufs_fixtures/test_files/spec_test1.pptx",
|
53
|
+
"bufs_fixtures/test_files/spec_test3.pptx",
|
54
|
+
"bufs_fixtures/test_files/test_modified_time_fresh.txt",
|
55
|
+
"bufs_fixtures/test_files/test_modified_time_stale.txt",
|
56
|
+
"examples/edge_cases.rb",
|
57
|
+
"examples/example.rb",
|
58
|
+
"examples/example_env_formatter.rb",
|
59
|
+
"examples/hello_world_get.rb",
|
60
|
+
"examples/hello_world_save.rb",
|
61
|
+
"examples/test_sync.rb",
|
62
|
+
"lib/glue_envs/couchrest/couchrest_attachment_handler.rb",
|
63
|
+
"lib/glue_envs/couchrest/couchrest_files_mgr.rb",
|
64
|
+
"lib/glue_envs/couchrest_glue_env.rb",
|
65
|
+
"lib/glue_envs/files_mgr_base.rb",
|
66
|
+
"lib/glue_envs/filesystem/filesystem_files_mgr.rb",
|
67
|
+
"lib/glue_envs/filesystem_glue_env.rb",
|
68
|
+
"lib/glue_envs/mysql/mysql_files_mgr.rb",
|
69
|
+
"lib/glue_envs/mysql_glue_env.rb",
|
70
|
+
"lib/glue_envs/sdb_s3/sdb_s3_files_mgr.rb",
|
71
|
+
"lib/glue_envs/sdb_s3_glue_env.rb",
|
72
|
+
"lib/helpers/camel.rb",
|
73
|
+
"lib/helpers/filesystem_helpers.rb",
|
74
|
+
"lib/helpers/hash_helpers.rb",
|
75
|
+
"lib/helpers/log_helper.rb",
|
76
|
+
"lib/helpers/mime_types_new.rb",
|
77
|
+
"lib/helpers/old_more_open_struct.rb",
|
78
|
+
"lib/helpers/require_helper.rb",
|
79
|
+
"lib/helpers/tk_escape.rb",
|
80
|
+
"lib/midas/bufs_data_structure.rb",
|
81
|
+
"lib/midas/node_element_operations.rb",
|
82
|
+
"lib/tinkit.rb",
|
83
|
+
"lib/tinkit_base_node.rb",
|
84
|
+
"lib/tinkit_node_factory.rb",
|
85
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/a/.node_data.json",
|
86
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/aa/.node_data.json",
|
87
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/aa/simple_text_file1.txt",
|
88
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/aa/spec_test1.pptx",
|
89
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/aaa/.node_data.json",
|
90
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ab/.node_data.json",
|
91
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ac/.node_data.json",
|
92
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ac/spec_test2_v1.3.pptx",
|
93
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/b/.node_data.json",
|
94
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/b/simple_text_file_2.txt",
|
95
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/b/simple_text_file_3.txt",
|
96
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ba/.node_data.json",
|
97
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/ba/simple_text_file1.txt",
|
98
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bb/.node_data.json",
|
99
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bb/Test___-_._._-___.txt",
|
100
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bbb/.node_data.json",
|
101
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bc/.node_data.json",
|
102
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/bcc/.node_data.json",
|
103
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/c/.node_data.json",
|
104
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/cc/.node_data.json",
|
105
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/.model/cc/simple_text_file1.txt",
|
106
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/Test___-_._._-___.txt",
|
107
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/simple_text_file1.txt",
|
108
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/simple_text_file_2.txt",
|
109
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/simple_text_file_3.txt",
|
110
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/spec_test1.pptx",
|
111
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_files/spec_test2_v1.3.pptx",
|
112
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ab/borged_links.html",
|
113
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/Test___-_._._-___.txt",
|
114
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/simple_text_file1.txt",
|
115
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/simple_text_file_2.txt",
|
116
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/simple_text_file_3.txt",
|
117
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/spec_test1.pptx",
|
118
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_files/spec_test2_v1.3.pptx",
|
119
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/borged_links.html",
|
120
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/links.html",
|
121
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/ac/spec_test2_v1.3.pptx",
|
122
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/Test___-_._._-___.txt",
|
123
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/simple_text_file1.txt",
|
124
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/simple_text_file_2.txt",
|
125
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/simple_text_file_3.txt",
|
126
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/spec_test1.pptx",
|
127
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_files/spec_test2_v1.3.pptx",
|
128
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/a/borged_links.html",
|
129
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/Test___-_._._-___.txt",
|
130
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/simple_text_file1.txt",
|
131
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/simple_text_file_2.txt",
|
132
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/simple_text_file_3.txt",
|
133
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/spec_test1.pptx",
|
134
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_files/spec_test2_v1.3.pptx",
|
135
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/bbb/borged_links.html",
|
136
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/Test___-_._._-___.txt",
|
137
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/simple_text_file1.txt",
|
138
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/simple_text_file_2.txt",
|
139
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/simple_text_file_3.txt",
|
140
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/spec_test1.pptx",
|
141
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_files/spec_test2_v1.3.pptx",
|
142
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/aaa/borged_links.html",
|
143
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/Test___-_._._-___.txt",
|
144
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/simple_text_file1.txt",
|
145
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/simple_text_file_2.txt",
|
146
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/simple_text_file_3.txt",
|
147
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/spec_test1.pptx",
|
148
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_files/spec_test2_v1.3.pptx",
|
149
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/borged_links.html",
|
150
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/simple_text_file1.txt",
|
151
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/aa/spec_test1.pptx",
|
152
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/Test___-_._._-___.txt",
|
153
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/simple_text_file1.txt",
|
154
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/simple_text_file_2.txt",
|
155
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/simple_text_file_3.txt",
|
156
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/spec_test1.pptx",
|
157
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_files/spec_test2_v1.3.pptx",
|
158
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/borged_links.html",
|
159
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/links.html",
|
160
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/ba/simple_text_file1.txt",
|
161
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/Test___-_._._-___.txt",
|
162
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/Test___-_._._-___.txt",
|
163
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/simple_text_file1.txt",
|
164
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/simple_text_file_2.txt",
|
165
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/simple_text_file_3.txt",
|
166
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/spec_test1.pptx",
|
167
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_files/spec_test2_v1.3.pptx",
|
168
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bb/borged_links.html",
|
169
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/Test___-_._._-___.txt",
|
170
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/simple_text_file1.txt",
|
171
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/simple_text_file_2.txt",
|
172
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/simple_text_file_3.txt",
|
173
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/spec_test1.pptx",
|
174
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_files/spec_test2_v1.3.pptx",
|
175
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/borged_links.html",
|
176
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/bcc/links.html",
|
177
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/Test___-_._._-___.txt",
|
178
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/simple_text_file1.txt",
|
179
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/simple_text_file_2.txt",
|
180
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/simple_text_file_3.txt",
|
181
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/spec_test1.pptx",
|
182
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_files/spec_test2_v1.3.pptx",
|
183
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/bc/borged_links.html",
|
184
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/Test___-_._._-___.txt",
|
185
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/simple_text_file1.txt",
|
186
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/simple_text_file_2.txt",
|
187
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/simple_text_file_3.txt",
|
188
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/spec_test1.pptx",
|
189
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_files/spec_test2_v1.3.pptx",
|
190
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/borged_links.html",
|
191
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/links.html",
|
192
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/simple_text_file_2.txt",
|
193
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/b/simple_text_file_3.txt",
|
194
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/Test___-_._._-___.txt",
|
195
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/simple_text_file1.txt",
|
196
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/simple_text_file_2.txt",
|
197
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/simple_text_file_3.txt",
|
198
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/spec_test1.pptx",
|
199
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_files/spec_test2_v1.3.pptx",
|
200
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/borged_links.html",
|
201
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/Test___-_._._-___.txt",
|
202
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/simple_text_file1.txt",
|
203
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/simple_text_file_2.txt",
|
204
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/simple_text_file_3.txt",
|
205
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/spec_test1.pptx",
|
206
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_files/spec_test2_v1.3.pptx",
|
207
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/borged_links.html",
|
208
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/links.html",
|
209
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser003/c/cc/simple_text_file1.txt",
|
210
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/a/.node_data.json",
|
211
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/aa/.node_data.json",
|
212
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/aa/simple_text_file1.txt",
|
213
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/aa/spec_test1.pptx",
|
214
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/aaa/.node_data.json",
|
215
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ab/.node_data.json",
|
216
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ac/.node_data.json",
|
217
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ac/spec_test2_v1.3.pptx",
|
218
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/b/.node_data.json",
|
219
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/b/simple_text_file_2.txt",
|
220
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/b/simple_text_file_3.txt",
|
221
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ba/.node_data.json",
|
222
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/ba/simple_text_file1.txt",
|
223
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bb/.node_data.json",
|
224
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bb/Test___-_._._-___.txt",
|
225
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bbb/.node_data.json",
|
226
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bc/.node_data.json",
|
227
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/bcc/.node_data.json",
|
228
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/c/.node_data.json",
|
229
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/cc/.node_data.json",
|
230
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/.model/cc/simple_text_file1.txt",
|
231
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/Test___-_._._-___.txt",
|
232
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/simple_text_file1.txt",
|
233
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/simple_text_file_2.txt",
|
234
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/simple_text_file_3.txt",
|
235
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/spec_test1.pptx",
|
236
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_files/spec_test2_v1.3.pptx",
|
237
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ab/borged_links.html",
|
238
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/Test___-_._._-___.txt",
|
239
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/simple_text_file1.txt",
|
240
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/simple_text_file_2.txt",
|
241
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/simple_text_file_3.txt",
|
242
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/spec_test1.pptx",
|
243
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_files/spec_test2_v1.3.pptx",
|
244
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/borged_links.html",
|
245
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/links.html",
|
246
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/ac/spec_test2_v1.3.pptx",
|
247
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/Test___-_._._-___.txt",
|
248
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/simple_text_file1.txt",
|
249
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/simple_text_file_2.txt",
|
250
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/simple_text_file_3.txt",
|
251
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/spec_test1.pptx",
|
252
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_files/spec_test2_v1.3.pptx",
|
253
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/a/borged_links.html",
|
254
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/Test___-_._._-___.txt",
|
255
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/simple_text_file1.txt",
|
256
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/simple_text_file_2.txt",
|
257
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/simple_text_file_3.txt",
|
258
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/spec_test1.pptx",
|
259
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_files/spec_test2_v1.3.pptx",
|
260
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/bbb/borged_links.html",
|
261
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/Test___-_._._-___.txt",
|
262
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/simple_text_file1.txt",
|
263
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/simple_text_file_2.txt",
|
264
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/simple_text_file_3.txt",
|
265
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/spec_test1.pptx",
|
266
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_files/spec_test2_v1.3.pptx",
|
267
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/aaa/borged_links.html",
|
268
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/Test___-_._._-___.txt",
|
269
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/simple_text_file1.txt",
|
270
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/simple_text_file_2.txt",
|
271
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/simple_text_file_3.txt",
|
272
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/spec_test1.pptx",
|
273
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_files/spec_test2_v1.3.pptx",
|
274
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/borged_links.html",
|
275
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/simple_text_file1.txt",
|
276
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/aa/spec_test1.pptx",
|
277
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/Test___-_._._-___.txt",
|
278
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/simple_text_file1.txt",
|
279
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/simple_text_file_2.txt",
|
280
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/simple_text_file_3.txt",
|
281
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/spec_test1.pptx",
|
282
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_files/spec_test2_v1.3.pptx",
|
283
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/borged_links.html",
|
284
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/links.html",
|
285
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/ba/simple_text_file1.txt",
|
286
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/Test___-_._._-___.txt",
|
287
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/Test___-_._._-___.txt",
|
288
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file1.txt",
|
289
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file_2.txt",
|
290
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/simple_text_file_3.txt",
|
291
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/spec_test1.pptx",
|
292
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_files/spec_test2_v1.3.pptx",
|
293
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bb/borged_links.html",
|
294
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/Test___-_._._-___.txt",
|
295
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file1.txt",
|
296
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file_2.txt",
|
297
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/simple_text_file_3.txt",
|
298
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/spec_test1.pptx",
|
299
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_files/spec_test2_v1.3.pptx",
|
300
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/borged_links.html",
|
301
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/bcc/links.html",
|
302
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/Test___-_._._-___.txt",
|
303
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file1.txt",
|
304
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file_2.txt",
|
305
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/simple_text_file_3.txt",
|
306
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/spec_test1.pptx",
|
307
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_files/spec_test2_v1.3.pptx",
|
308
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/bc/borged_links.html",
|
309
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/Test___-_._._-___.txt",
|
310
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/simple_text_file1.txt",
|
311
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/simple_text_file_2.txt",
|
312
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/simple_text_file_3.txt",
|
313
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/spec_test1.pptx",
|
314
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_files/spec_test2_v1.3.pptx",
|
315
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/borged_links.html",
|
316
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/links.html",
|
317
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/simple_text_file_2.txt",
|
318
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/b/simple_text_file_3.txt",
|
319
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/Test___-_._._-___.txt",
|
320
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/simple_text_file1.txt",
|
321
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/simple_text_file_2.txt",
|
322
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/simple_text_file_3.txt",
|
323
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/spec_test1.pptx",
|
324
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_files/spec_test2_v1.3.pptx",
|
325
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/borged_links.html",
|
326
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/Test___-_._._-___.txt",
|
327
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file1.txt",
|
328
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file_2.txt",
|
329
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/simple_text_file_3.txt",
|
330
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/spec_test1.pptx",
|
331
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_files/spec_test2_v1.3.pptx",
|
332
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/borged_links.html",
|
333
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/links.html",
|
334
|
+
"sandbox_for_specs/sample_data/SampleFileSysUser004/c/cc/simple_text_file1.txt",
|
335
|
+
"spec/couchdb_running_spec.rb",
|
336
|
+
"spec/couchrest_files_mgr_spec.rb",
|
337
|
+
"spec/couchrest_glue_spec.rb",
|
338
|
+
"spec/filesystem_files_mgr_spec.rb",
|
339
|
+
"spec/filesystem_glue_spec.rb",
|
340
|
+
"spec/filesystem_helpers_spec.rb",
|
341
|
+
"spec/helpers/bufs_node_builder.rb",
|
342
|
+
"spec/helpers/bufs_sample_dataset.rb",
|
343
|
+
"spec/helpers/bufs_test_environments.rb",
|
344
|
+
"spec/helpers/tmp_view_cleaner.rb",
|
345
|
+
"spec/lib_helpers/tk_escape_spec.rb",
|
346
|
+
"spec/mysql_files_mgr_spec.rb",
|
347
|
+
"spec/mysql_glue_spec.rb",
|
348
|
+
"spec/node_element_operations_spec.rb",
|
349
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec1.rb",
|
350
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec2.rb",
|
351
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec3.rb",
|
352
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec4.rb",
|
353
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec5.rb",
|
354
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec6.rb",
|
355
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec7.rb",
|
356
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec8.rb",
|
357
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec_all.rb",
|
358
|
+
"spec/sdb_s3_glue_spec.rb",
|
359
|
+
"spec/tinkit_node_factory_spec.rb",
|
360
|
+
"tinkit-0.0.4.gem",
|
361
|
+
"tinkit.gemspec"
|
362
|
+
]
|
363
|
+
s.homepage = %q{http://github.com/forforf/tinkit}
|
364
|
+
s.licenses = ["Apache v2"]
|
365
|
+
s.require_paths = ["lib"]
|
366
|
+
s.rubygems_version = %q{1.3.7}
|
367
|
+
s.summary = %q{Tinkit, a portable persistence layer for cloud, file systems, and other persistent stores}
|
368
|
+
s.test_files = [
|
369
|
+
"examples/edge_cases.rb",
|
370
|
+
"examples/example.rb",
|
371
|
+
"examples/example_env_formatter.rb",
|
372
|
+
"examples/hello_world_get.rb",
|
373
|
+
"examples/hello_world_save.rb",
|
374
|
+
"examples/test_sync.rb",
|
375
|
+
"spec/couchdb_running_spec.rb",
|
376
|
+
"spec/couchrest_files_mgr_spec.rb",
|
377
|
+
"spec/couchrest_glue_spec.rb",
|
378
|
+
"spec/filesystem_files_mgr_spec.rb",
|
379
|
+
"spec/filesystem_glue_spec.rb",
|
380
|
+
"spec/filesystem_helpers_spec.rb",
|
381
|
+
"spec/helpers/bufs_node_builder.rb",
|
382
|
+
"spec/helpers/bufs_sample_dataset.rb",
|
383
|
+
"spec/helpers/bufs_test_environments.rb",
|
384
|
+
"spec/helpers/tmp_view_cleaner.rb",
|
385
|
+
"spec/lib_helpers/tk_escape_spec.rb",
|
386
|
+
"spec/mysql_files_mgr_spec.rb",
|
387
|
+
"spec/mysql_glue_spec.rb",
|
388
|
+
"spec/node_element_operations_spec.rb",
|
389
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec1.rb",
|
390
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec2.rb",
|
391
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec3.rb",
|
392
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec4.rb",
|
393
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec5.rb",
|
394
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec6.rb",
|
395
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec7.rb",
|
396
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec8.rb",
|
397
|
+
"spec/sdb_s3_files_mgr_spec/sdb_s3_files_mgr_spec_all.rb",
|
398
|
+
"spec/sdb_s3_glue_spec.rb",
|
399
|
+
"spec/tinkit_node_factory_spec.rb"
|
400
|
+
]
|
401
|
+
|
402
|
+
if s.respond_to? :specification_version then
|
403
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
404
|
+
s.specification_version = 3
|
405
|
+
|
406
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
407
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
408
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
409
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
410
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
411
|
+
s.add_runtime_dependency(%q<log4r>, ["~> 1.1.9"])
|
412
|
+
s.add_runtime_dependency(%q<mime-types>, ["~> 1.16"])
|
413
|
+
s.add_runtime_dependency(%q<couchrest>, ["~> 1.0.2"])
|
414
|
+
s.add_runtime_dependency(%q<couchrest_extended_document>, ["~> 1.0.0"])
|
415
|
+
s.add_runtime_dependency(%q<rest-client>, ["~> 1.6.1"])
|
416
|
+
else
|
417
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
418
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
419
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
420
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
421
|
+
s.add_dependency(%q<log4r>, ["~> 1.1.9"])
|
422
|
+
s.add_dependency(%q<mime-types>, ["~> 1.16"])
|
423
|
+
s.add_dependency(%q<couchrest>, ["~> 1.0.2"])
|
424
|
+
s.add_dependency(%q<couchrest_extended_document>, ["~> 1.0.0"])
|
425
|
+
s.add_dependency(%q<rest-client>, ["~> 1.6.1"])
|
426
|
+
end
|
427
|
+
else
|
428
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
429
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
430
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
431
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
432
|
+
s.add_dependency(%q<log4r>, ["~> 1.1.9"])
|
433
|
+
s.add_dependency(%q<mime-types>, ["~> 1.16"])
|
434
|
+
s.add_dependency(%q<couchrest>, ["~> 1.0.2"])
|
435
|
+
s.add_dependency(%q<couchrest_extended_document>, ["~> 1.0.0"])
|
436
|
+
s.add_dependency(%q<rest-client>, ["~> 1.6.1"])
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|