daengine 0.6.18 → 0.6.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -0
  3. data/bin/process_assets +0 -0
  4. data/bin/process_availability +0 -0
  5. data/bin/process_taxonomy +0 -0
  6. data/config/initializers/raddocs.rb +7 -0
  7. data/config/routes.rb +4 -0
  8. data/doc/api/content_folder/returns__when_the_folder_does_not_exist.json +1 -0
  9. data/doc/api/content_folder/returns_status__when_missing_document_id_and_child_folders.json +1 -0
  10. data/doc/api/content_folder/returns_the_content_folder.json +1 -0
  11. data/doc/api/content_folder/stores_the_content_folder_and_returns_the_content_folder_instance.json +1 -0
  12. data/doc/api/digital_assets/delete_a_digital_asset.json +1 -0
  13. data/doc/api/digital_assets/find_a_digitalasset_by_id.json +1 -0
  14. data/doc/api/digital_assets/insert_a_digital_asset_if_not_found.json +1 -0
  15. data/doc/api/digital_assets/noop.json +1 -0
  16. data/doc/api/digital_assets/query_for_a_document_by_digital_asset_id.json +1 -0
  17. data/doc/api/digital_assets/query_for_documents_by_fundcode.json +1 -0
  18. data/doc/api/digital_assets/query_for_documents_by_path.json +1 -0
  19. data/doc/api/digital_assets/query_for_documents_by_update_date.json +1 -0
  20. data/doc/api/digital_assets/retrieve_the_updated_time_for_a_list_of_id_.json +1 -0
  21. data/doc/api/digital_assets/returns_a__for_docs_we_dont_have_in_the_db.json +1 -0
  22. data/doc/api/digital_assets/show_all_digital_assets.json +1 -0
  23. data/doc/api/digital_assets/update_a_digital_asset.json +1 -0
  24. data/doc/api/index.json +1 -0
  25. data/lib/daengine.rb +4 -0
  26. data/lib/daengine/version.rb +1 -1
  27. data/spec/dummy/log/development.log +185 -0
  28. data/spec/dummy/log/test.log +770 -0
  29. data/spec/mock_data/daengine.yml +1 -1
  30. data/spec/mock_data/taxonomy/taxonomyengine.yml +1 -1
  31. data/spec/spec_helper.rb +4 -3
  32. metadata +35 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e928a0735737de8f8a9765f18119a16c8c35b351
4
- data.tar.gz: 2d8b0d0aedd414000ec0f6d41d1cafed5596b371
3
+ metadata.gz: 7168f23a8dd1ad0009baba0f39cb4ea79d0063ad
4
+ data.tar.gz: 23043d4995b391a592de9f5cc5d0bfa9abfbfdeb
5
5
  SHA512:
6
- metadata.gz: 0a2fca7f7ad8262bb1140a95e9f3848973384e2d13d0619f7e99c5b20975da68d5de5bd1aa22dd392e80980d10081837d56633bf15cb83d1ed407525bdbebd49
7
- data.tar.gz: 66493cf3a549e97d7effbb6d4ebb5640b55b402df0f41812a918f35bbe381d83265aa4be9e991821deef6a8e84529129933766a77e5870022e7104043b7b2e60
6
+ metadata.gz: 099ce94b605e3bba075c85de5b717b5440c2db261ba5bfc43e38f849d9848cb70a54bcfa7df57fb5f8339eafd4b2dc0e5f8fecae660ccea9865e21d15e172728
7
+ data.tar.gz: 49e269308413f6b8bbc355e910fddfab58bd744b3b1c28bbe915bec6b890397b900ff1353a81917bba4e9fe1790bd49a5a14450d2abd861427d0869670882256
data/Gemfile CHANGED
@@ -15,3 +15,7 @@ gemspec
15
15
 
16
16
  # To use debugger
17
17
  # gem 'debugger'
18
+
19
+ # because current version of the gem is not jruby compatible
20
+ gem 'rspec_api_documentation', :git => "https://github.com/tazsingh/rspec_api_documentation.git"
21
+
File without changes
File without changes
File without changes
@@ -0,0 +1,7 @@
1
+ require 'raddocs'
2
+
3
+ Raddocs.configure do |config|
4
+ # config.docs_dir = "doc/api"
5
+ # config.docs_dir = Rails.root.join("doc", "api")
6
+ config.docs_dir = File.join(Daengine.root_path, "doc", "api")
7
+ end
@@ -9,4 +9,8 @@ Rails.application.routes.draw do
9
9
  end
10
10
 
11
11
  resources :content_folder, only: [:index, :create], defaults: {format: 'json'}
12
+
13
+ # api docs sinatra engine
14
+ mount Raddocs::App => "/docs"
15
+
12
16
  end
@@ -0,0 +1 @@
1
+ {"resource":"Content Folder","http_method":"GET","route":"/content_folder","description":"returns 404 when the folder does not exist","explanation":null,"parameters":[],"requests":[{"request_method":"GET","request_path":"/content_folder","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{},"request_content_type":null,"response_status":404,"response_status_text":"Not Found","response_body":"{}","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","Cache-Control":"no-cache","X-Request-Id":"67c3d31d00fe2dede923c858ab6af3d9","X-Runtime":"0.007000","Content-Length":"2"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/content_folder\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Content Folder","http_method":"POST","route":"/content_folder","description":"returns status 422 when missing document id and child_folders","explanation":null,"parameters":[{"require":true,"scope":"content_folder","name":"folder_id","description":"folder id"},{"require":true,"scope":"content_folder","name":"label","description":"folder label"},{"require":true,"scope":"content_folder","name":"document_ids","description":"array of document ids associated with folder"},{"require":true,"scope":"content_folder","name":"child_folders","description":"array of child folder hashes"}],"requests":[{"request_method":"POST","request_path":"/content_folder","request_body":"content_folder[folder_id]=folder+id&content_folder[label]=label&content_folder[document_ids]&content_folder[child_folders]","request_headers":{"Host":"example.org","Content-Type":"application/x-www-form-urlencoded","Cookie":""},"request_query_parameters":{},"request_content_type":"application/x-www-form-urlencoded","response_status":422,"response_status_text":"Unprocessable Entity","response_body":"{\"base\":[\"Either child_folders or document_ids are required\"]}","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","Cache-Control":"no-cache","X-Request-Id":"0004a0c05dcfda6a5bda5460fec8b87d","X-Runtime":"0.016000","Content-Length":"62"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/content_folder\" -d 'content_folder[folder_id]=folder+id&content_folder[label]=label&content_folder[document_ids]&content_folder[child_folders]' -X POST \\\n\t-H \"Host: example.org\" \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Content Folder","http_method":"GET","route":"/content_folder","description":"returns the content folder","explanation":null,"parameters":[],"requests":[{"request_method":"GET","request_path":"/content_folder","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{},"request_content_type":null,"response_status":200,"response_status_text":"OK","response_body":"{\"_id\":\"folder-id\",\"document_ids\":[\"id1\",\"id2\"],\"folder_id\":\"folder id\",\"label\":\"folder label\"}","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"126459ecde2ff9168554f984d8d4085f\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"0621d0adc2a8950adbdac0432a759d7c","X-Runtime":"0.042000","Content-Length":"95"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/content_folder\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Content Folder","http_method":"POST","route":"/content_folder","description":"stores the content folder and returns the content folder instance","explanation":null,"parameters":[{"require":true,"scope":"content_folder","name":"folder_id","description":"folder id"},{"require":true,"scope":"content_folder","name":"label","description":"folder label"},{"require":true,"scope":"content_folder","name":"document_ids","description":"array of document ids associated with folder"},{"require":true,"scope":"content_folder","name":"child_folders","description":"array of child folder hashes"}],"requests":[{"request_method":"POST","request_path":"/content_folder","request_body":"content_folder[folder_id]=folder+id&content_folder[label]=label&content_folder[document_ids][]=id1&content_folder[document_ids][]=id2&content_folder[child_folders][][folder_id]=child+folder+id&content_folder[child_folders][][label]=child+label&content_folder[child_folders][][document_ids][]=id1&content_folder[child_folders][][document_ids][]=id2","request_headers":{"Host":"example.org","Content-Type":"application/x-www-form-urlencoded","Cookie":""},"request_query_parameters":{},"request_content_type":"application/x-www-form-urlencoded","response_status":201,"response_status_text":"Created","response_body":"{\"_id\":\"folder-id\",\"child_folders\":[{\"_id\":\"child-folder-id\",\"document_ids\":[\"id1\",\"id2\"],\"folder_id\":\"child folder id\",\"label\":\"child label\"}],\"document_ids\":[\"id1\",\"id2\"],\"folder_id\":\"folder id\",\"label\":\"label\"}","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"61ae1a8b1c89ea6f05e9d8140eed69cf\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"5c6642a946da834cd846e781b653b5dd","X-Runtime":"0.036000","Content-Length":"213"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/content_folder\" -d 'content_folder[folder_id]=folder+id&content_folder[label]=label&content_folder[document_ids][]=id1&content_folder[document_ids][]=id2&content_folder[child_folders][][folder_id]=child+folder+id&content_folder[child_folders][][label]=child+label&content_folder[child_folders][][document_ids][]=id1&content_folder[child_folders][][document_ids][]=id2' -X POST \\\n\t-H \"Host: example.org\" \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"DELETE","route":"/digital_assets/:id","description":"delete a digital_asset","explanation":null,"parameters":[{"require":true,"name":"id","description":"the ID of the digital asset to delete, equivalent to the guid or Accent doc-id"}],"requests":[{"request_method":"DELETE","request_path":"/digital_assets/foo-bar-digital-asset-id","request_body":null,"request_headers":{"Host":"example.org","Content-Type":"application/x-www-form-urlencoded","Cookie":""},"request_query_parameters":{},"request_content_type":"application/x-www-form-urlencoded","response_status":200,"response_status_text":"OK","response_body":" ","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"5b2c53d39665d3e7dc3beaf0db39eae5","X-Runtime":"0.011000","Content-Length":"1"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets/foo-bar-digital-asset-id\" -d '' -X DELETE \\\n\t-H \"Host: example.org\" \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"GET","route":"/digital_assets/:id","description":"find a DigitalAsset by ID","explanation":null,"parameters":[{"name":"id","description":"the ID of the digital asset to get, equivalent to the digital_asset_id or Accent doc-id"}],"requests":[{"request_method":"GET","request_path":"/digital_assets/foo-bar-id","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{},"request_content_type":null,"response_status":200,"response_status_text":"OK","response_body":"{\"_id\":\"foo-bar-id\",\"audiences\":[\"investor\"],\"author\":null,\"business_owner\":\"biz owner\",\"changed_at\":\"2014-03-03T07:53:11-07:00\",\"content_type\":\"fact_sheet\",\"created_at\":\"2014-03-05T07:53:12-07:00\",\"digital_asset_id\":\"foo-bar-id\",\"doc_changed_at\":\"2014-03-03T07:53:11-07:00\",\"expires_at\":\"2014-05-05T08:53:11-06:00\",\"finra_path\":\"/path/finradoc/8/foo/bar.txt\",\"fund_codes\":[\"00200\",\"00190\",\"00210\"],\"guid\":\"foo-bar-id\",\"keywords\":[],\"legacy_path\":\"/oldpath/8/foo/bar.txt\",\"mime_type\":null,\"omniture_codes\":[\"KOW2MY24D\"],\"orderable\":false,\"pages\":1,\"path\":\"/7/foo/bar.txt\",\"product_ids\":[],\"program_ids\":[],\"published_at\":\"2014-02-23T07:53:11-07:00\",\"sami_code\":\"IL1111.077\",\"size\":null,\"subject\":null,\"summary\":null,\"title\":\"Doc Title\",\"unpublished_at\":null,\"updated_at\":\"2014-03-05T07:53:12-07:00\"}","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"fe86219b2eb2efda1738035caf52876e\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"2c9d9770947c0595bb2b9de267d8ba53","X-Runtime":"0.037000","Content-Length":"799"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets/foo-bar-id\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"POST","route":"/digital_assets","description":"insert a digital_asset if not found","explanation":null,"parameters":[{"name":"digital_asset","description":{"require":true}}],"requests":[{"request_method":"POST","request_path":"/digital_assets","request_body":"digital_asset[audiences][]=investor&digital_asset[omniture_codes][]=KOW2MY24D&digital_asset[orderable]=false&&&digital_asset[pages]=1&&digital_asset[fund_codes][]=00200&digital_asset[fund_codes][]=00190&digital_asset[fund_codes][]=00210&digital_asset[_id]=53173a58bed47a5eeb3702e8&digital_asset[title]=Doc+Title&digital_asset[changed_at]=2014-03-03+14%3A53%3A11+UTC&digital_asset[digital_asset_id]=new-digital-asset-id&digital_asset[published_at]=2014-02-23+14%3A53%3A11+UTC&digital_asset[expires_at]=2014-05-05+14%3A53%3A11+UTC&digital_asset[sami_code]=IL1111.077&digital_asset[business_owner]=biz+owner&digital_asset[path]=%2F13%2Ffoo%2Fbar.txt&digital_asset[finra_path]=%2Fpath%2Ffinradoc%2F14%2Ffoo%2Fbar.txt&digital_asset[legacy_path]=%2Foldpath%2F14%2Ffoo%2Fbar.txt&digital_asset[doc_changed_at]=2014-03-03+14%3A53%3A11+UTC&digital_asset[content_type]=fact_sheet","request_headers":{"Host":"example.org","Content-Type":"application/x-www-form-urlencoded","Cookie":""},"request_query_parameters":{},"request_content_type":"application/x-www-form-urlencoded","response_status":201,"response_status_text":"Created","response_body":" ","response_headers":{"Content-Type":"application/json; charset=utf-8","Location":"/digital_assets/new-digital-asset-id","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"05bd697c3d3de5cf1211afcee4599f91","X-Runtime":"0.036000","Content-Length":"1"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets\" -d 'digital_asset[audiences][]=investor&digital_asset[omniture_codes][]=KOW2MY24D&digital_asset[orderable]=false&&&digital_asset[pages]=1&&digital_asset[fund_codes][]=00200&digital_asset[fund_codes][]=00190&digital_asset[fund_codes][]=00210&digital_asset[_id]=53173a58bed47a5eeb3702e8&digital_asset[title]=Doc+Title&digital_asset[changed_at]=2014-03-03+14%3A53%3A11+UTC&digital_asset[digital_asset_id]=new-digital-asset-id&digital_asset[published_at]=2014-02-23+14%3A53%3A11+UTC&digital_asset[expires_at]=2014-05-05+14%3A53%3A11+UTC&digital_asset[sami_code]=IL1111.077&digital_asset[business_owner]=biz+owner&digital_asset[path]=%2F13%2Ffoo%2Fbar.txt&digital_asset[finra_path]=%2Fpath%2Ffinradoc%2F14%2Ffoo%2Fbar.txt&digital_asset[legacy_path]=%2Foldpath%2F14%2Ffoo%2Fbar.txt&digital_asset[doc_changed_at]=2014-03-03+14%3A53%3A11+UTC&digital_asset[content_type]=fact_sheet' -X POST \\\n\t-H \"Host: example.org\" \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"GET","route":"/","description":"no-op","explanation":null,"parameters":[],"requests":[{"request_method":"GET","request_path":"/","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{},"request_content_type":null,"response_status":404,"response_status_text":"Not Found","response_body":"<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\" />\n <title>Action Controller: Exception caught</title>\n <style>\n body { background-color: #fff; color: #333; }\n\n body, p, ol, ul, td {\n font-family: helvetica, verdana, arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n pre {\n background-color: #eee;\n padding: 10px;\n font-size: 11px;\n white-space: pre-wrap;\n }\n\n a { color: #000; }\n a:visited { color: #666; }\n a:hover { color: #fff; background-color:#000; }\n </style>\n</head>\n<body>\n\n<h1>Routing Error</h1>\n<p><pre>No route matches [GET] &quot;/&quot;</pre></p>\n<p>\n Try running <code>rake routes</code> for more information on available routes.\n</p>\n\n</body>\n</html>\n","response_headers":{"Content-Type":"text/html; charset=utf-8","Content-Length":"760","X-Request-Id":"97c88cafd407df4a23edcf76784a05fb","X-Runtime":"0.027000"},"response_content_type":"text/html; charset=utf-8","curl":"curl \"http://localhost:3005/\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"GET","route":"/digital_assets","description":"query for a document by digital_asset_id","explanation":null,"parameters":[{"name":"digital_asset_id","description":"legacy digital_asset_id id numbers assigned to teamsite docs"}],"requests":[{"request_method":"GET","request_path":"/digital_assets?digital_asset_id=id-foobar-permanent-6","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{"digital_asset_id":"id-foobar-permanent-6"},"request_content_type":null,"response_status":200,"response_status_text":"OK","response_body":"[{\"_id\":\"id-foobar-permanent-6\",\"audiences\":[\"investor\"],\"author\":null,\"business_owner\":\"biz owner\",\"changed_at\":\"2014-03-03T07:53:11-07:00\",\"content_type\":\"fact_sheet\",\"created_at\":\"2014-03-05T07:53:11-07:00\",\"digital_asset_id\":\"id-foobar-permanent-6\",\"doc_changed_at\":\"2014-03-03T07:53:11-07:00\",\"expires_at\":\"2014-05-05T08:53:11-06:00\",\"finra_path\":\"/path/finradoc/6/foo/bar.txt\",\"fund_codes\":[\"00200\",\"00190\",\"00210\"],\"guid\":\"id-foobar-permanent-6\",\"keywords\":[],\"legacy_path\":\"/oldpath/6/foo/bar.txt\",\"mime_type\":null,\"omniture_codes\":[\"KOW2MY24D\"],\"orderable\":false,\"pages\":1,\"path\":\"/5/foo/bar.txt\",\"product_ids\":[],\"program_ids\":[],\"published_at\":\"2014-02-23T07:53:11-07:00\",\"sami_code\":\"IL1111.077\",\"size\":null,\"subject\":null,\"summary\":null,\"title\":\"Doc Title\",\"unpublished_at\":null,\"updated_at\":\"2014-03-05T07:53:11-07:00\"}]","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"d1eb4696aba5c9481f36881615ea4a00\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"22c6be2d858028eed02df201bf16b9ae","X-Runtime":"0.021000","Content-Length":"834"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets?digital_asset_id=id-foobar-permanent-6\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"GET","route":"/digital_assets","description":"query for documents by fund-code","explanation":null,"parameters":[{"name":"digital_asset_id","description":"legacy digital_asset_id id numbers assigned to teamsite docs"}],"requests":[{"request_method":"GET","request_path":"/digital_assets?fund=00200","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{"fund":"00200"},"request_content_type":null,"response_status":200,"response_status_text":"OK","response_body":"[{\"_id\":\"id-foobar-permanent-2\",\"audiences\":[\"investor\"],\"author\":null,\"business_owner\":\"biz owner\",\"changed_at\":\"2014-03-03T07:53:11-07:00\",\"content_type\":\"fact_sheet\",\"created_at\":\"2014-03-05T07:53:11-07:00\",\"digital_asset_id\":\"id-foobar-permanent-2\",\"doc_changed_at\":\"2014-03-03T07:53:11-07:00\",\"expires_at\":\"2014-05-05T08:53:11-06:00\",\"finra_path\":\"/path/finradoc/2/foo/bar.txt\",\"fund_codes\":[\"00200\",\"00190\",\"00210\"],\"guid\":\"id-foobar-permanent-2\",\"keywords\":[],\"legacy_path\":\"/oldpath/2/foo/bar.txt\",\"mime_type\":null,\"omniture_codes\":[\"KOW2MY24D\"],\"orderable\":false,\"pages\":1,\"path\":\"/2/foo/bar.txt\",\"product_ids\":[],\"program_ids\":[],\"published_at\":\"2014-02-23T07:53:11-07:00\",\"sami_code\":\"IL1111.077\",\"size\":null,\"subject\":null,\"summary\":null,\"title\":\"Doc Title\",\"unpublished_at\":null,\"updated_at\":\"2014-03-05T07:53:11-07:00\"},{\"_id\":\"id-foobar-permanent-3\",\"audiences\":[\"investor\"],\"author\":null,\"business_owner\":\"biz owner\",\"changed_at\":\"2014-03-03T07:53:11-07:00\",\"content_type\":\"fact_sheet\",\"created_at\":\"2014-03-05T07:53:11-07:00\",\"digital_asset_id\":\"id-foobar-permanent-3\",\"doc_changed_at\":\"2014-03-03T07:53:11-07:00\",\"expires_at\":\"2014-05-05T08:53:11-06:00\",\"finra_path\":\"/path/finradoc/3/foo/bar.txt\",\"fund_codes\":[\"00200\"],\"guid\":\"id-foobar-permanent-3\",\"keywords\":[],\"legacy_path\":\"/oldpath/3/foo/bar.txt\",\"mime_type\":null,\"omniture_codes\":[\"KOW2MY24D\"],\"orderable\":false,\"pages\":1,\"path\":\"/3/foo/bar.txt\",\"product_ids\":[],\"program_ids\":[],\"published_at\":\"2014-02-23T07:53:11-07:00\",\"sami_code\":\"IL1111.077\",\"size\":null,\"subject\":null,\"summary\":null,\"title\":\"Doc Title\",\"unpublished_at\":null,\"updated_at\":\"2014-03-05T07:53:11-07:00\"}]","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"adba462ba79df52ca8691836f9496c19\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"022cd4835d45e0bda4fd7a335324f5b7","X-Runtime":"0.053000","Content-Length":"1651"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets?fund=00200\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"GET","route":"/digital_assets","description":"query for documents by path","explanation":null,"parameters":[{"name":"digital_asset_id","description":"legacy digital_asset_id id numbers assigned to teamsite docs"}],"requests":[{"request_method":"GET","request_path":"/digital_assets?path=%2Fsome%2Fother%2Fpath.pdf","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{"path":"/some/other/path.pdf"},"request_content_type":null,"response_status":200,"response_status_text":"OK","response_body":"[{\"_id\":\"id-foobar-permanent-5\",\"audiences\":[\"investor\"],\"author\":null,\"business_owner\":\"biz owner\",\"changed_at\":\"2014-03-03T07:53:11-07:00\",\"content_type\":\"fact_sheet\",\"created_at\":\"2014-03-05T07:53:11-07:00\",\"digital_asset_id\":\"id-foobar-permanent-5\",\"doc_changed_at\":\"2014-03-03T07:53:11-07:00\",\"expires_at\":\"2014-05-05T08:53:11-06:00\",\"finra_path\":\"/path/finradoc/5/foo/bar.txt\",\"fund_codes\":[\"00200\",\"00190\",\"00210\"],\"guid\":\"id-foobar-permanent-5\",\"keywords\":[],\"legacy_path\":\"/oldpath/5/foo/bar.txt\",\"mime_type\":null,\"omniture_codes\":[\"KOW2MY24D\"],\"orderable\":false,\"pages\":1,\"path\":\"/some/other/path.pdf\",\"product_ids\":[],\"program_ids\":[],\"published_at\":\"2014-02-23T07:53:11-07:00\",\"sami_code\":\"IL1111.077\",\"size\":null,\"subject\":null,\"summary\":null,\"title\":\"Doc Title\",\"unpublished_at\":null,\"updated_at\":\"2014-03-05T07:53:11-07:00\"}]","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"12c683d19c60ddf58d48cd8c663a4386\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"3cea0049ed7bbda3ccfd676dab1316c4","X-Runtime":"0.022000","Content-Length":"840"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets?path=%2Fsome%2Fother%2Fpath.pdf\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"GET","route":"/digital_assets","description":"query for documents by update date","explanation":null,"parameters":[{"name":"digital_asset_id","description":"legacy digital_asset_id id numbers assigned to teamsite docs"}],"requests":[{"request_method":"GET","request_path":"/digital_assets?published=2014-03-05+12%3A53%3A12+UTC","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{"published":"2014-03-05 12:53:12 UTC"},"request_content_type":null,"response_status":200,"response_status_text":"OK","response_body":"[{\"_id\":\"id-foobar-permanent-7\",\"audiences\":[\"investor\"],\"author\":null,\"business_owner\":\"biz owner\",\"changed_at\":\"2014-03-03T07:53:11-07:00\",\"content_type\":\"fact_sheet\",\"created_at\":\"2014-03-05T07:53:12-07:00\",\"digital_asset_id\":\"id-foobar-permanent-7\",\"doc_changed_at\":\"2014-03-03T07:53:11-07:00\",\"expires_at\":\"2014-05-05T08:53:11-06:00\",\"finra_path\":\"/path/finradoc/7/foo/bar.txt\",\"fund_codes\":[\"00200\",\"00190\",\"00210\"],\"guid\":\"id-foobar-permanent-7\",\"keywords\":[],\"legacy_path\":\"/oldpath/7/foo/bar.txt\",\"mime_type\":null,\"omniture_codes\":[\"KOW2MY24D\"],\"orderable\":false,\"pages\":1,\"path\":\"/6/foo/bar.txt\",\"product_ids\":[],\"program_ids\":[],\"published_at\":\"2014-03-05T06:53:12-07:00\",\"sami_code\":\"IL1111.077\",\"size\":null,\"subject\":null,\"summary\":null,\"title\":\"Doc Title\",\"unpublished_at\":null,\"updated_at\":\"2014-03-05T07:53:12-07:00\"}]","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"849546e9682dd678d5a2ec423950d36a\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"443f18e0c6df4c39b3fbc133b7e3de58","X-Runtime":"0.044000","Content-Length":"834"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets?published=2014-03-05+12%3A53%3A12+UTC\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"POST","route":"/digital_assets/updated_time","description":"retrieve the updated_time for a list of id ","explanation":null,"parameters":[{"name":"ids","description":{"require":true}}],"requests":[{"request_method":"POST","request_path":"/digital_assets/updated_time","request_body":"ids[]=id-1&ids[]=id-2&ids[]=id-3&ids[]=id-4","request_headers":{"Host":"example.org","Content-Type":"application/x-www-form-urlencoded","Cookie":""},"request_query_parameters":{},"request_content_type":"application/x-www-form-urlencoded","response_status":200,"response_status_text":"OK","response_body":"{\"id-1\":\"2014-03-03T07:53:11-07:00\",\"id-3\":\"2014-03-03T07:53:11-07:00\",\"id-4\":\"2014-03-03T07:53:11-07:00\"}","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"5bb218b111a8fca8f3aeadf86b44bad5\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"c9e092320841329e2349271c96b48084","X-Runtime":"0.025000","Content-Length":"106"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets/updated_time\" -d 'ids[]=id-1&ids[]=id-2&ids[]=id-3&ids[]=id-4' -X POST \\\n\t-H \"Host: example.org\" \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"GET","route":"/digital_assets/:id","description":"returns a 404 for docs we dont have in the DB","explanation":null,"parameters":[{"name":"id","description":"the ID of the digital asset to get, equivalent to the digital_asset_id or Accent doc-id"}],"requests":[{"request_method":"GET","request_path":"/digital_assets/not-found-doc","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{},"request_content_type":null,"response_status":404,"response_status_text":"Not Found","response_body":"{\"errors\":[\"Document not found for class DigitalAsset with id(s) not-found-doc.\"]}","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","Cache-Control":"no-cache","X-Request-Id":"bb7a6921cf6b34e8ed60820c505df3e8","X-Runtime":"0.059000","Content-Length":"82"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets/not-found-doc\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"GET","route":"/digital_assets","description":"show all digital_assets","explanation":null,"parameters":[{"name":"digital_asset_id","description":"legacy digital_asset_id id numbers assigned to teamsite docs"}],"requests":[{"request_method":"GET","request_path":"/digital_assets","request_body":null,"request_headers":{"Host":"example.org","Cookie":""},"request_query_parameters":{},"request_content_type":null,"response_status":200,"response_status_text":"OK","response_body":"[]","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"d751713988987e9331980363e24189ce\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"c6e6a2056c4ded2a5d1c789b73f3a037","X-Runtime":"0.013000","Content-Length":"2"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets\" -X GET \\\n\t-H \"Host: example.org\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resource":"Digital Assets","http_method":"PUT","route":"/digital_assets/:id","description":"update a digital_asset","explanation":null,"parameters":[{"name":"digital_asset","description":{"require":true}},{"require":true,"name":"digital_asset_id","description":"the ID of the digital asset to get, equivalent to the digital_asset_id or Accent doc-id"}],"requests":[{"request_method":"PUT","request_path":"/digital_assets/foo-bar-digital-asset-id","request_body":"digital_asset[audiences][]=investor&digital_asset[omniture_codes][]=KOW2MY24D&digital_asset[orderable]=false&&&digital_asset[pages]=1&&digital_asset[fund_codes][]=00200&digital_asset[fund_codes][]=00190&digital_asset[fund_codes][]=00210&digital_asset[_id]=foo-bar-digital-asset-id&digital_asset[title]=another+title&digital_asset[changed_at]=2014-03-03+14%3A53%3A11+UTC&digital_asset[digital_asset_id]=foo-bar-digital-asset-id&digital_asset[published_at]=2014-02-23+14%3A53%3A11+UTC&digital_asset[expires_at]=2014-05-05+14%3A53%3A11+UTC&digital_asset[sami_code]=IL1111.077&digital_asset[business_owner]=biz+owner&digital_asset[path]=%2F12%2Ffoo%2Fbar.txt&digital_asset[finra_path]=%2Fpath%2Ffinradoc%2F13%2Ffoo%2Fbar.txt&digital_asset[legacy_path]=%2Foldpath%2F13%2Ffoo%2Fbar.txt&digital_asset[doc_changed_at]=2014-03-03+14%3A53%3A11+UTC&digital_asset[content_type]=fact_sheet&digital_asset[updated_at]=2014-03-05+14%3A53%3A12+UTC&digital_asset[created_at]=2014-03-05+14%3A53%3A12+UTC","request_headers":{"Host":"example.org","Content-Type":"application/x-www-form-urlencoded","Cookie":""},"request_query_parameters":{},"request_content_type":"application/x-www-form-urlencoded","response_status":200,"response_status_text":"OK","response_body":" ","response_headers":{"Content-Type":"application/json; charset=utf-8","X-UA-Compatible":"IE=Edge,chrome=1","ETag":"\"7215ee9c7d9dc229d2921a40e899ec5f\"","Cache-Control":"max-age=0, private, must-revalidate","X-Request-Id":"fd99331f49c74fdface83c4b74a124fe","X-Runtime":"0.028000","Content-Length":"1"},"response_content_type":"application/json; charset=utf-8","curl":"curl \"http://localhost:3005/digital_assets/foo-bar-digital-asset-id\" -d 'digital_asset[audiences][]=investor&digital_asset[omniture_codes][]=KOW2MY24D&digital_asset[orderable]=false&&&digital_asset[pages]=1&&digital_asset[fund_codes][]=00200&digital_asset[fund_codes][]=00190&digital_asset[fund_codes][]=00210&digital_asset[_id]=foo-bar-digital-asset-id&digital_asset[title]=another+title&digital_asset[changed_at]=2014-03-03+14%3A53%3A11+UTC&digital_asset[digital_asset_id]=foo-bar-digital-asset-id&digital_asset[published_at]=2014-02-23+14%3A53%3A11+UTC&digital_asset[expires_at]=2014-05-05+14%3A53%3A11+UTC&digital_asset[sami_code]=IL1111.077&digital_asset[business_owner]=biz+owner&digital_asset[path]=%2F12%2Ffoo%2Fbar.txt&digital_asset[finra_path]=%2Fpath%2Ffinradoc%2F13%2Ffoo%2Fbar.txt&digital_asset[legacy_path]=%2Foldpath%2F13%2Ffoo%2Fbar.txt&digital_asset[doc_changed_at]=2014-03-03+14%3A53%3A11+UTC&digital_asset[content_type]=fact_sheet&digital_asset[updated_at]=2014-03-05+14%3A53%3A12+UTC&digital_asset[created_at]=2014-03-05+14%3A53%3A12+UTC' -X PUT \\\n\t-H \"Host: example.org\" \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\" \\\n\t-H \"Cookie: \""}]}
@@ -0,0 +1 @@
1
+ {"resources":[{"name":"Content Folder","examples":[{"description":"returns 404 when the folder does not exist","link":"content_folder/returns__when_the_folder_does_not_exist.json","groups":"all"},{"description":"returns status 422 when missing document id and child_folders","link":"content_folder/returns_status__when_missing_document_id_and_child_folders.json","groups":"all"},{"description":"returns the content folder","link":"content_folder/returns_the_content_folder.json","groups":"all"},{"description":"stores the content folder and returns the content folder instance","link":"content_folder/stores_the_content_folder_and_returns_the_content_folder_instance.json","groups":"all"}]},{"name":"Digital Assets","examples":[{"description":"delete a digital_asset","link":"digital_assets/delete_a_digital_asset.json","groups":"all"},{"description":"find a DigitalAsset by ID","link":"digital_assets/find_a_digitalasset_by_id.json","groups":"all"},{"description":"insert a digital_asset if not found","link":"digital_assets/insert_a_digital_asset_if_not_found.json","groups":"all"},{"description":"no-op","link":"digital_assets/noop.json","groups":"all"},{"description":"query for a document by digital_asset_id","link":"digital_assets/query_for_a_document_by_digital_asset_id.json","groups":"all"},{"description":"query for a document by digital_asset_id","link":"digital_assets/query_for_a_document_by_digital_asset_id.json","groups":"all"},{"description":"query for a document by digital_asset_id","link":"digital_assets/query_for_a_document_by_digital_asset_id.json","groups":"all"},{"description":"query for documents by fund-code","link":"digital_assets/query_for_documents_by_fundcode.json","groups":"all"},{"description":"query for documents by path","link":"digital_assets/query_for_documents_by_path.json","groups":"all"},{"description":"query for documents by update date","link":"digital_assets/query_for_documents_by_update_date.json","groups":"all"},{"description":"retrieve the updated_time for a list of id ","link":"digital_assets/retrieve_the_updated_time_for_a_list_of_id_.json","groups":"all"},{"description":"returns a 404 for docs we dont have in the DB","link":"digital_assets/returns_a__for_docs_we_dont_have_in_the_db.json","groups":"all"},{"description":"show all digital_assets","link":"digital_assets/show_all_digital_assets.json","groups":"all"},{"description":"update a digital_asset","link":"digital_assets/update_a_digital_asset.json","groups":"all"}]}]}
@@ -107,4 +107,8 @@ module Daengine
107
107
  @logger
108
108
  end
109
109
 
110
+ def self.root_path
111
+ File.expand_path '../..', __FILE__
112
+ end
113
+
110
114
  end
@@ -1,3 +1,3 @@
1
1
  module Daengine
2
- VERSION = "0.6.18"
2
+ VERSION = "0.6.19"
3
3
  end
@@ -0,0 +1,185 @@
1
+
2
+
3
+ Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:34:50 -0700
4
+
5
+
6
+ Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:34:50 -0700
7
+
8
+ ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
9
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
10
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
11
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
12
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
13
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
14
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
15
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
16
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
17
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
18
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
19
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
20
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
21
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
22
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
23
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
24
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
25
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
26
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
27
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
28
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
29
+
30
+
31
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (6.0ms)
32
+
33
+
34
+ Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:35:01 -0700
35
+
36
+
37
+ Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:35:01 -0700
38
+
39
+ ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
40
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
41
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
42
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
43
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
44
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
45
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
46
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
47
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
48
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
49
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
50
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
51
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
52
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
53
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
54
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
55
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
56
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
57
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
58
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
59
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
60
+
61
+
62
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
63
+
64
+
65
+ Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:35:03 -0700
66
+
67
+
68
+ Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:35:04 -0700
69
+
70
+ ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
71
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
72
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
73
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
74
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
75
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
76
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
77
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
78
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
79
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
80
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
81
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
82
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
83
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
84
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
85
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
86
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
87
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
88
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
89
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
90
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
91
+
92
+
93
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)
94
+
95
+
96
+ Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:35:24 -0700
97
+
98
+
99
+ Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:35:24 -0700
100
+
101
+ ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
102
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
103
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
104
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
105
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
106
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
107
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
108
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
109
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
110
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
111
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
112
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
113
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
114
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
115
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
116
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
117
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
118
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
119
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
120
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
121
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
122
+
123
+
124
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
125
+
126
+
127
+ Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:36:31 -0700
128
+
129
+
130
+ Started GET "/docs/__sinatra__/500.png" for 127.0.0.1 at 2014-03-05 08:36:32 -0700
131
+
132
+ ActionController::RoutingError (No route matches [GET] "/docs/__sinatra__/500.png"):
133
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
134
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
135
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
136
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
137
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
138
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
139
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
140
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
141
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
142
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
143
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
144
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
145
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
146
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
147
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
148
+ railties (3.2.16) lib/rails/rack/log_tailer.rb:17:in `call'
149
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
150
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:138:in `service'
151
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/httpserver.rb:94:in `run'
152
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/webrick/server.rb:191:in `start_thread'
153
+
154
+
155
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
156
+
157
+
158
+ Started GET "/docs" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
159
+
160
+
161
+ Started GET "/docs/codemirror.css" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
162
+
163
+
164
+ Started GET "/docs/application.css" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
165
+
166
+
167
+ Started GET "/docs/bootstrap.min.css" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
168
+
169
+
170
+ Started GET "/docs/js/codemirror.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
171
+
172
+
173
+ Started GET "/docs/js/mode/css/css.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
174
+
175
+
176
+ Started GET "/docs/js/jquery-1-7-2.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
177
+
178
+
179
+ Started GET "/docs/js/mode/htmlmixed/htmlmixed.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
180
+
181
+
182
+ Started GET "/docs/js/mode/javascript/javascript.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
183
+
184
+
185
+ Started GET "/docs/js/mode/xml/xml.js" for 127.0.0.1 at 2014-03-05 08:50:15 -0700
@@ -11937,3 +11937,773 @@ Completed 200 OK in 73.0ms (Views: 72.0ms)
11937
11937
  Processing by DigitalAssetsController#search as HTML
11938
11938
  Parameters: {"digital_asset_id"=>"blargh-blargh-blargh", "title"=>"Doc Title"}
11939
11939
  Completed 200 OK in 3.0ms (Views: 2.0ms)
11940
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11941
+ Processing by ContentFolderController#index as JSON
11942
+ Completed 200 OK in 3.0ms (Views: 2.0ms)
11943
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11944
+ Processing by ContentFolderController#index as JSON
11945
+ Completed 404 Not Found in 1.0ms (Views: 1.0ms)
11946
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11947
+ Processing by ContentFolderController#create as JSON
11948
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>["id1", "id2"], "child_folders"=>[{"folder_id"=>"child folder id", "label"=>"child label", "document_ids"=>["id1", "id2"]}]}}
11949
+ Completed 201 Created in 52.0ms (Views: 3.0ms)
11950
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11951
+ Processing by ContentFolderController#create as JSON
11952
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>nil, "child_folders"=>nil}}
11953
+ Completed 422 Unprocessable Entity in 9.0ms (Views: 0.0ms)
11954
+ Started GET "/digital_assets" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11955
+ Processing by DigitalAssetsController#index as JSON
11956
+ Completed 200 OK in 4.0ms (Views: 3.0ms)
11957
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-1" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11958
+ Processing by DigitalAssetsController#index as JSON
11959
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-1"}
11960
+ Completed 200 OK in 32.0ms (Views: 31.0ms)
11961
+ Started GET "/digital_assets?fund=00200" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11962
+ Processing by DigitalAssetsController#index as JSON
11963
+ Parameters: {"fund"=>"00200"}
11964
+ Completed 200 OK in 25.0ms (Views: 23.0ms)
11965
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-4" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11966
+ Processing by DigitalAssetsController#index as JSON
11967
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-4"}
11968
+ Completed 200 OK in 16.0ms (Views: 12.0ms)
11969
+ Started GET "/digital_assets?path=%2Fsome%2Fother%2Fpath.pdf" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11970
+ Processing by DigitalAssetsController#index as JSON
11971
+ Parameters: {"path"=>"/some/other/path.pdf"}
11972
+ Completed 200 OK in 16.0ms (Views: 14.0ms)
11973
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-6" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11974
+ Processing by DigitalAssetsController#index as JSON
11975
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-6"}
11976
+ Completed 200 OK in 18.0ms (Views: 17.0ms)
11977
+ Started GET "/digital_assets?published=2014-03-04+12%3A09%3A36+UTC" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11978
+ Processing by DigitalAssetsController#index as JSON
11979
+ Parameters: {"published"=>"2014-03-04 12:09:36 UTC"}
11980
+ Completed 200 OK in 39.0ms (Views: 14.0ms)
11981
+ Started GET "/digital_assets/foo-bar-id" for 127.0.0.1 at 2014-03-04 07:09:36 -0700
11982
+ Processing by DigitalAssetsController#show as JSON
11983
+ Parameters: {"id"=>"foo-bar-id"}
11984
+ Completed 200 OK in 32.0ms (Views: 9.0ms)
11985
+ Started GET "/digital_assets/not-found-doc" for 127.0.0.1 at 2014-03-04 07:09:37 -0700
11986
+ Processing by DigitalAssetsController#show as JSON
11987
+ Parameters: {"id"=>"not-found-doc"}
11988
+ Completed 404 Not Found in 61.0ms (Views: 1.0ms)
11989
+ Started POST "/digital_assets/updated_time" for 127.0.0.1 at 2014-03-04 07:09:37 -0700
11990
+ Processing by DigitalAssetsController#updated_time as JSON
11991
+ Parameters: {"ids"=>["id-1", "id-2", "id-3", "id-4"]}
11992
+ Completed 200 OK in 10.0ms (Views: 0.0ms)
11993
+ Started PUT "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-04 07:09:37 -0700
11994
+ Processing by DigitalAssetsController#update as JSON
11995
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"foo-bar-digital-asset-id", "title"=>"another title", "changed_at"=>"2014-03-02 14:09:35 UTC", "digital_asset_id"=>"foo-bar-digital-asset-id", "published_at"=>"2014-02-22 14:09:35 UTC", "expires_at"=>"2014-05-04 14:09:35 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/12/foo/bar.txt", "finra_path"=>"/path/finradoc/13/foo/bar.txt", "legacy_path"=>"/oldpath/13/foo/bar.txt", "doc_changed_at"=>"2014-03-02 14:09:35 UTC", "content_type"=>"fact_sheet", "updated_at"=>"2014-03-04 14:09:37 UTC", "created_at"=>"2014-03-04 14:09:37 UTC"}, "id"=>"foo-bar-digital-asset-id"}
11996
+ Completed 200 OK in 21.0ms
11997
+ Started POST "/digital_assets" for 127.0.0.1 at 2014-03-04 07:09:37 -0700
11998
+ Processing by DigitalAssetsController#create as JSON
11999
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"5315dea1bed44bbefd3af95e", "title"=>"Doc Title", "changed_at"=>"2014-03-02 14:09:35 UTC", "digital_asset_id"=>"new-digital-asset-id", "published_at"=>"2014-02-22 14:09:35 UTC", "expires_at"=>"2014-05-04 14:09:35 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/13/foo/bar.txt", "finra_path"=>"/path/finradoc/14/foo/bar.txt", "legacy_path"=>"/oldpath/14/foo/bar.txt", "doc_changed_at"=>"2014-03-02 14:09:35 UTC", "content_type"=>"fact_sheet"}}
12000
+ Completed 201 Created in 35.0ms
12001
+ Started DELETE "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-04 07:09:37 -0700
12002
+ Processing by DigitalAssetsController#destroy as JSON
12003
+ Parameters: {"id"=>"foo-bar-digital-asset-id"}
12004
+ Completed 200 OK in 9.0ms
12005
+ Started GET "/" for 127.0.0.1 at 2014-03-04 07:09:37 -0700
12006
+
12007
+ ActionController::RoutingError (No route matches [GET] "/"):
12008
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
12009
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
12010
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
12011
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12012
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
12013
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12014
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12015
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
12016
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
12017
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
12018
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
12019
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
12020
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
12021
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
12022
+ rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
12023
+ rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
12024
+ rack-test (0.6.2) lib/rack/test.rb:57:in `get'
12025
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/forwardable.rb:201:in `get'
12026
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/rack_test_client.rb:38:in `do_request'
12027
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/client_base.rb:39:in `process'
12028
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/client_base.rb:9:in `get'
12029
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/dsl/endpoint.rb:47:in `do_request'
12030
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/dsl/endpoint.rb:20:in `example_request'
12031
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
12032
+ rspec-core (2.14.7) lib/rspec/core/example.rb:114:in `run'
12033
+ rspec-core (2.14.7) lib/rspec/core/example.rb:254:in `with_around_each_hooks'
12034
+ rspec-core (2.14.7) lib/rspec/core/example.rb:111:in `run'
12035
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:390:in `run_examples'
12036
+ org/jruby/RubyArray.java:2413:in `map'
12037
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:386:in `run_examples'
12038
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:371:in `run'
12039
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
12040
+ org/jruby/RubyArray.java:2413:in `map'
12041
+ rspec-core (2.14.7) lib/rspec/core/example_group.rb:372:in `run'
12042
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
12043
+ org/jruby/RubyArray.java:2413:in `map'
12044
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:28:in `run'
12045
+ rspec-core (2.14.7) lib/rspec/core/reporter.rb:58:in `report'
12046
+ rspec-core (2.14.7) lib/rspec/core/command_line.rb:25:in `run'
12047
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:80:in `run'
12048
+ rspec-core (2.14.7) lib/rspec/core/runner.rb:17:in `autorun'
12049
+
12050
+
12051
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
12052
+ Processing by DigitalAssetsController#index as HTML
12053
+ Completed 200 OK in 3.0ms (Views: 3.0ms)
12054
+ Processing by DigitalAssetsController#show as HTML
12055
+ Parameters: {"id"=>"id-foobar-permanent-9"}
12056
+ Completed 406 Not Acceptable in 5.0ms
12057
+ Processing by DigitalAssetsController#show as HTML
12058
+ Parameters: {"id"=>"IL1111.077"}
12059
+ Completed 406 Not Acceptable in 5.0ms
12060
+ Processing by DigitalAssetsController#show as HTML
12061
+ Parameters: {"id"=>"IL1111.077"}
12062
+ Completed 406 Not Acceptable in 4.0ms
12063
+ Processing by DigitalAssetsController#show as HTML
12064
+ Parameters: {"id"=>"id-foobar-permanent-13"}
12065
+ Completed 406 Not Acceptable in 7.0ms
12066
+ Processing by DigitalAssetsController#search as HTML
12067
+ Completed 200 OK in 5.0ms (Views: 3.0ms)
12068
+ Processing by DigitalAssetsController#search as HTML
12069
+ Parameters: {"path"=>"/one/off.path"}
12070
+ Completed 200 OK in 12.0ms (Views: 11.0ms)
12071
+ Processing by DigitalAssetsController#search as HTML
12072
+ Parameters: {"doctype"=>"fact_sheet"}
12073
+ Completed 200 OK in 4.0ms (Views: 3.0ms)
12074
+ Processing by DigitalAssetsController#search as HTML
12075
+ Parameters: {"doctype"=>["fact_sheet", "prospectus"]}
12076
+ Completed 200 OK in 16.0ms (Views: 14.0ms)
12077
+ Processing by DigitalAssetsController#search as HTML
12078
+ Parameters: {"sami"=>"SOMETHING.001"}
12079
+ Completed 200 OK in 28.0ms (Views: 26.0ms)
12080
+ Processing by DigitalAssetsController#search as HTML
12081
+ Parameters: {"audience"=>"492"}
12082
+ Completed 200 OK in 24.0ms (Views: 23.0ms)
12083
+ Processing by DigitalAssetsController#search as HTML
12084
+ Parameters: {"title"=>"Doc Title"}
12085
+ Completed 200 OK in 3.0ms (Views: 2.0ms)
12086
+ Processing by DigitalAssetsController#search as HTML
12087
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-35"}
12088
+ Completed 200 OK in 11.0ms (Views: 10.0ms)
12089
+ Processing by DigitalAssetsController#search as HTML
12090
+ Parameters: {"business_owner"=>"biz owner"}
12091
+ Completed 200 OK in 2.0ms (Views: 1.0ms)
12092
+ Processing by DigitalAssetsController#search as HTML
12093
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-42", "title"=>"Doc Title"}
12094
+ Completed 200 OK in 33.0ms (Views: 32.0ms)
12095
+ Processing by DigitalAssetsController#search as HTML
12096
+ Parameters: {"title"=>"Doc Title", "audiences"=>["investor"], "sami"=>"IL1111.077"}
12097
+ Completed 200 OK in 66.0ms (Views: 64.0ms)
12098
+ Processing by DigitalAssetsController#search as HTML
12099
+ Parameters: {"digital_asset_id"=>"blargh-blargh-blargh", "title"=>"Doc Title"}
12100
+ Completed 200 OK in 4.0ms (Views: 2.0ms)
12101
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:43:47 -0700
12102
+ Processing by ContentFolderController#index as JSON
12103
+ Completed 200 OK in 4.0ms (Views: 3.0ms)
12104
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:43:47 -0700
12105
+ Processing by ContentFolderController#index as JSON
12106
+ Completed 404 Not Found in 1.0ms (Views: 1.0ms)
12107
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:43:47 -0700
12108
+ Processing by ContentFolderController#create as JSON
12109
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>["id1", "id2"], "child_folders"=>[{"folder_id"=>"child folder id", "label"=>"child label", "document_ids"=>["id1", "id2"]}]}}
12110
+ Completed 201 Created in 28.0ms (Views: 4.0ms)
12111
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:43:47 -0700
12112
+ Processing by ContentFolderController#create as JSON
12113
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>nil, "child_folders"=>nil}}
12114
+ Completed 422 Unprocessable Entity in 9.0ms (Views: 1.0ms)
12115
+ Started GET "/digital_assets" for 127.0.0.1 at 2014-03-05 07:43:47 -0700
12116
+ Processing by DigitalAssetsController#index as JSON
12117
+ Completed 200 OK in 4.0ms (Views: 2.0ms)
12118
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-1" for 127.0.0.1 at 2014-03-05 07:43:47 -0700
12119
+ Processing by DigitalAssetsController#index as JSON
12120
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-1"}
12121
+ Completed 200 OK in 37.0ms (Views: 36.0ms)
12122
+ Started GET "/digital_assets?fund=00200" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12123
+ Processing by DigitalAssetsController#index as JSON
12124
+ Parameters: {"fund"=>"00200"}
12125
+ Completed 200 OK in 26.0ms (Views: 25.0ms)
12126
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-4" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12127
+ Processing by DigitalAssetsController#index as JSON
12128
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-4"}
12129
+ Completed 200 OK in 16.0ms (Views: 12.0ms)
12130
+ Started GET "/digital_assets?path=%2Fsome%2Fother%2Fpath.pdf" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12131
+ Processing by DigitalAssetsController#index as JSON
12132
+ Parameters: {"path"=>"/some/other/path.pdf"}
12133
+ Completed 200 OK in 20.0ms (Views: 18.0ms)
12134
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-6" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12135
+ Processing by DigitalAssetsController#index as JSON
12136
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-6"}
12137
+ Completed 200 OK in 21.0ms (Views: 18.0ms)
12138
+ Started GET "/digital_assets?published=2014-03-05+12%3A43%3A48+UTC" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12139
+ Processing by DigitalAssetsController#index as JSON
12140
+ Parameters: {"published"=>"2014-03-05 12:43:48 UTC"}
12141
+ Completed 200 OK in 47.0ms (Views: 17.0ms)
12142
+ Started GET "/digital_assets/foo-bar-id" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12143
+ Processing by DigitalAssetsController#show as JSON
12144
+ Parameters: {"id"=>"foo-bar-id"}
12145
+ Completed 200 OK in 41.0ms (Views: 13.0ms)
12146
+ Started GET "/digital_assets/not-found-doc" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12147
+ Processing by DigitalAssetsController#show as JSON
12148
+ Parameters: {"id"=>"not-found-doc"}
12149
+ Completed 404 Not Found in 81.0ms (Views: 1.0ms)
12150
+ Started POST "/digital_assets/updated_time" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12151
+ Processing by DigitalAssetsController#updated_time as JSON
12152
+ Parameters: {"ids"=>["id-1", "id-2", "id-3", "id-4"]}
12153
+ Completed 200 OK in 12.0ms (Views: 1.0ms)
12154
+ Started PUT "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12155
+ Processing by DigitalAssetsController#update as JSON
12156
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"foo-bar-digital-asset-id", "title"=>"another title", "changed_at"=>"2014-03-03 14:43:47 UTC", "digital_asset_id"=>"foo-bar-digital-asset-id", "published_at"=>"2014-02-23 14:43:47 UTC", "expires_at"=>"2014-05-05 14:43:47 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/12/foo/bar.txt", "finra_path"=>"/path/finradoc/13/foo/bar.txt", "legacy_path"=>"/oldpath/13/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:43:47 UTC", "content_type"=>"fact_sheet", "updated_at"=>"2014-03-05 14:43:48 UTC", "created_at"=>"2014-03-05 14:43:48 UTC"}, "id"=>"foo-bar-digital-asset-id"}
12157
+ Completed 200 OK in 20.0ms
12158
+ Started POST "/digital_assets" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12159
+ Processing by DigitalAssetsController#create as JSON
12160
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"53173824bed467224ab5468f", "title"=>"Doc Title", "changed_at"=>"2014-03-03 14:43:47 UTC", "digital_asset_id"=>"new-digital-asset-id", "published_at"=>"2014-02-23 14:43:47 UTC", "expires_at"=>"2014-05-05 14:43:47 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/13/foo/bar.txt", "finra_path"=>"/path/finradoc/14/foo/bar.txt", "legacy_path"=>"/oldpath/14/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:43:47 UTC", "content_type"=>"fact_sheet"}}
12161
+ Completed 201 Created in 37.0ms
12162
+ Started DELETE "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:43:48 -0700
12163
+ Processing by DigitalAssetsController#destroy as JSON
12164
+ Parameters: {"id"=>"foo-bar-digital-asset-id"}
12165
+ Completed 200 OK in 6.0ms
12166
+ Started GET "/" for 127.0.0.1 at 2014-03-05 07:43:49 -0700
12167
+
12168
+ ActionController::RoutingError (No route matches [GET] "/"):
12169
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
12170
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
12171
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
12172
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12173
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
12174
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12175
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12176
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
12177
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
12178
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
12179
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
12180
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
12181
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
12182
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
12183
+ rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
12184
+ rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
12185
+ rack-test (0.6.2) lib/rack/test.rb:57:in `get'
12186
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/forwardable.rb:201:in `get'
12187
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/rack_test_client.rb:38:in `do_request'
12188
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/client_base.rb:39:in `process'
12189
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/client_base.rb:9:in `get'
12190
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/dsl/endpoint.rb:47:in `do_request'
12191
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/dsl/endpoint.rb:20:in `example_request'
12192
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
12193
+ rspec-core (2.14.8) lib/rspec/core/example.rb:114:in `run'
12194
+ rspec-core (2.14.8) lib/rspec/core/example.rb:254:in `with_around_each_hooks'
12195
+ rspec-core (2.14.8) lib/rspec/core/example.rb:111:in `run'
12196
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:390:in `run_examples'
12197
+ org/jruby/RubyArray.java:2413:in `map'
12198
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:386:in `run_examples'
12199
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:371:in `run'
12200
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12201
+ org/jruby/RubyArray.java:2413:in `map'
12202
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12203
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12204
+ org/jruby/RubyArray.java:2413:in `map'
12205
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12206
+ rspec-core (2.14.8) lib/rspec/core/reporter.rb:58:in `report'
12207
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:25:in `run'
12208
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:80:in `run'
12209
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:17:in `autorun'
12210
+
12211
+
12212
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
12213
+ Processing by DigitalAssetsController#index as HTML
12214
+ Completed 200 OK in 4.0ms (Views: 3.0ms)
12215
+ Processing by DigitalAssetsController#show as HTML
12216
+ Parameters: {"id"=>"id-foobar-permanent-9"}
12217
+ Completed 406 Not Acceptable in 6.0ms
12218
+ Processing by DigitalAssetsController#show as HTML
12219
+ Parameters: {"id"=>"IL1111.077"}
12220
+ Completed 406 Not Acceptable in 5.0ms
12221
+ Processing by DigitalAssetsController#show as HTML
12222
+ Parameters: {"id"=>"IL1111.077"}
12223
+ Completed 406 Not Acceptable in 5.0ms
12224
+ Processing by DigitalAssetsController#show as HTML
12225
+ Parameters: {"id"=>"id-foobar-permanent-13"}
12226
+ Completed 406 Not Acceptable in 5.0ms
12227
+ Processing by DigitalAssetsController#search as HTML
12228
+ Completed 200 OK in 5.0ms (Views: 3.0ms)
12229
+ Processing by DigitalAssetsController#search as HTML
12230
+ Parameters: {"path"=>"/one/off.path"}
12231
+ Completed 200 OK in 12.0ms (Views: 11.0ms)
12232
+ Processing by DigitalAssetsController#search as HTML
12233
+ Parameters: {"doctype"=>"fact_sheet"}
12234
+ Completed 200 OK in 4.0ms (Views: 2.0ms)
12235
+ Processing by DigitalAssetsController#search as HTML
12236
+ Parameters: {"doctype"=>["fact_sheet", "prospectus"]}
12237
+ Completed 200 OK in 13.0ms (Views: 12.0ms)
12238
+ Processing by DigitalAssetsController#search as HTML
12239
+ Parameters: {"sami"=>"SOMETHING.001"}
12240
+ Completed 200 OK in 26.0ms (Views: 25.0ms)
12241
+ Processing by DigitalAssetsController#search as HTML
12242
+ Parameters: {"audience"=>"492"}
12243
+ Completed 200 OK in 27.0ms (Views: 26.0ms)
12244
+ Processing by DigitalAssetsController#search as HTML
12245
+ Parameters: {"title"=>"Doc Title"}
12246
+ Completed 200 OK in 3.0ms (Views: 2.0ms)
12247
+ Processing by DigitalAssetsController#search as HTML
12248
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-35"}
12249
+ Completed 200 OK in 10.0ms (Views: 10.0ms)
12250
+ Processing by DigitalAssetsController#search as HTML
12251
+ Parameters: {"business_owner"=>"biz owner"}
12252
+ Completed 200 OK in 3.0ms (Views: 2.0ms)
12253
+ Processing by DigitalAssetsController#search as HTML
12254
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-42", "title"=>"Doc Title"}
12255
+ Completed 200 OK in 11.0ms (Views: 9.0ms)
12256
+ Processing by DigitalAssetsController#search as HTML
12257
+ Parameters: {"title"=>"Doc Title", "audiences"=>["investor"], "sami"=>"IL1111.077"}
12258
+ Completed 200 OK in 77.0ms (Views: 75.0ms)
12259
+ Processing by DigitalAssetsController#search as HTML
12260
+ Parameters: {"digital_asset_id"=>"blargh-blargh-blargh", "title"=>"Doc Title"}
12261
+ Completed 200 OK in 4.0ms (Views: 3.0ms)
12262
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:46:00 -0700
12263
+ Processing by ContentFolderController#index as JSON
12264
+ Completed 200 OK in 3.0ms (Views: 2.0ms)
12265
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:46:00 -0700
12266
+ Processing by ContentFolderController#index as JSON
12267
+ Completed 404 Not Found in 1.0ms (Views: 0.0ms)
12268
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:46:00 -0700
12269
+ Processing by ContentFolderController#create as JSON
12270
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>["id1", "id2"], "child_folders"=>[{"folder_id"=>"child folder id", "label"=>"child label", "document_ids"=>["id1", "id2"]}]}}
12271
+ Completed 201 Created in 24.0ms (Views: 3.0ms)
12272
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:46:00 -0700
12273
+ Processing by ContentFolderController#create as JSON
12274
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>nil, "child_folders"=>nil}}
12275
+ Completed 422 Unprocessable Entity in 8.0ms (Views: 1.0ms)
12276
+ Started GET "/digital_assets" for 127.0.0.1 at 2014-03-05 07:46:00 -0700
12277
+ Processing by DigitalAssetsController#index as JSON
12278
+ Completed 200 OK in 6.0ms (Views: 4.0ms)
12279
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-1" for 127.0.0.1 at 2014-03-05 07:46:00 -0700
12280
+ Processing by DigitalAssetsController#index as JSON
12281
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-1"}
12282
+ Completed 200 OK in 39.0ms (Views: 38.0ms)
12283
+ Started GET "/digital_assets?fund=00200" for 127.0.0.1 at 2014-03-05 07:46:00 -0700
12284
+ Processing by DigitalAssetsController#index as JSON
12285
+ Parameters: {"fund"=>"00200"}
12286
+ Completed 200 OK in 28.0ms (Views: 25.0ms)
12287
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-4" for 127.0.0.1 at 2014-03-05 07:46:00 -0700
12288
+ Processing by DigitalAssetsController#index as JSON
12289
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-4"}
12290
+ Completed 200 OK in 17.0ms (Views: 13.0ms)
12291
+ Started GET "/digital_assets?path=%2Fsome%2Fother%2Fpath.pdf" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12292
+ Processing by DigitalAssetsController#index as JSON
12293
+ Parameters: {"path"=>"/some/other/path.pdf"}
12294
+ Completed 200 OK in 17.0ms (Views: 15.0ms)
12295
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-6" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12296
+ Processing by DigitalAssetsController#index as JSON
12297
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-6"}
12298
+ Completed 200 OK in 18.0ms (Views: 16.0ms)
12299
+ Started GET "/digital_assets?published=2014-03-05+12%3A46%3A01+UTC" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12300
+ Processing by DigitalAssetsController#index as JSON
12301
+ Parameters: {"published"=>"2014-03-05 12:46:01 UTC"}
12302
+ Completed 200 OK in 40.0ms (Views: 13.0ms)
12303
+ Started GET "/digital_assets/foo-bar-id" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12304
+ Processing by DigitalAssetsController#show as JSON
12305
+ Parameters: {"id"=>"foo-bar-id"}
12306
+ Completed 200 OK in 31.0ms (Views: 9.0ms)
12307
+ Started GET "/digital_assets/not-found-doc" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12308
+ Processing by DigitalAssetsController#show as JSON
12309
+ Parameters: {"id"=>"not-found-doc"}
12310
+ Completed 404 Not Found in 56.0ms (Views: 1.0ms)
12311
+ Started POST "/digital_assets/updated_time" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12312
+ Processing by DigitalAssetsController#updated_time as JSON
12313
+ Parameters: {"ids"=>["id-1", "id-2", "id-3", "id-4"]}
12314
+ Completed 200 OK in 10.0ms (Views: 0.0ms)
12315
+ Started PUT "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12316
+ Processing by DigitalAssetsController#update as JSON
12317
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"foo-bar-digital-asset-id", "title"=>"another title", "changed_at"=>"2014-03-03 14:46:00 UTC", "digital_asset_id"=>"foo-bar-digital-asset-id", "published_at"=>"2014-02-23 14:46:00 UTC", "expires_at"=>"2014-05-05 14:46:00 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/12/foo/bar.txt", "finra_path"=>"/path/finradoc/13/foo/bar.txt", "legacy_path"=>"/oldpath/13/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:46:00 UTC", "content_type"=>"fact_sheet", "updated_at"=>"2014-03-05 14:46:01 UTC", "created_at"=>"2014-03-05 14:46:01 UTC"}, "id"=>"foo-bar-digital-asset-id"}
12318
+ Completed 200 OK in 18.0ms
12319
+ Started POST "/digital_assets" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12320
+ Processing by DigitalAssetsController#create as JSON
12321
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"531738a9bed4a5a2b4718f97", "title"=>"Doc Title", "changed_at"=>"2014-03-03 14:46:00 UTC", "digital_asset_id"=>"new-digital-asset-id", "published_at"=>"2014-02-23 14:46:00 UTC", "expires_at"=>"2014-05-05 14:46:00 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/13/foo/bar.txt", "finra_path"=>"/path/finradoc/14/foo/bar.txt", "legacy_path"=>"/oldpath/14/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:46:00 UTC", "content_type"=>"fact_sheet"}}
12322
+ Completed 201 Created in 27.0ms
12323
+ Started DELETE "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12324
+ Processing by DigitalAssetsController#destroy as JSON
12325
+ Parameters: {"id"=>"foo-bar-digital-asset-id"}
12326
+ Completed 200 OK in 5.0ms
12327
+ Started GET "/" for 127.0.0.1 at 2014-03-05 07:46:01 -0700
12328
+
12329
+ ActionController::RoutingError (No route matches [GET] "/"):
12330
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
12331
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
12332
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
12333
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12334
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
12335
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12336
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12337
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
12338
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
12339
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
12340
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
12341
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
12342
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
12343
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
12344
+ rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
12345
+ rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
12346
+ rack-test (0.6.2) lib/rack/test.rb:57:in `get'
12347
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/forwardable.rb:201:in `get'
12348
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/rack_test_client.rb:38:in `do_request'
12349
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/client_base.rb:39:in `process'
12350
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/client_base.rb:9:in `get'
12351
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/dsl/endpoint.rb:47:in `do_request'
12352
+ rspec_api_documentation (2.0.0) lib/rspec_api_documentation/dsl/endpoint.rb:20:in `example_request'
12353
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
12354
+ rspec-core (2.14.8) lib/rspec/core/example.rb:114:in `run'
12355
+ rspec-core (2.14.8) lib/rspec/core/example.rb:254:in `with_around_each_hooks'
12356
+ rspec-core (2.14.8) lib/rspec/core/example.rb:111:in `run'
12357
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:390:in `run_examples'
12358
+ org/jruby/RubyArray.java:2413:in `map'
12359
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:386:in `run_examples'
12360
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:371:in `run'
12361
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12362
+ org/jruby/RubyArray.java:2413:in `map'
12363
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12364
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12365
+ org/jruby/RubyArray.java:2413:in `map'
12366
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12367
+ rspec-core (2.14.8) lib/rspec/core/reporter.rb:58:in `report'
12368
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:25:in `run'
12369
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:80:in `run'
12370
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:17:in `autorun'
12371
+
12372
+
12373
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.0ms)
12374
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12375
+ Processing by ContentFolderController#index as JSON
12376
+ Completed 200 OK in 3.0ms (Views: 2.0ms)
12377
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12378
+ Processing by ContentFolderController#index as JSON
12379
+ Completed 404 Not Found in 1.0ms (Views: 1.0ms)
12380
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12381
+ Processing by ContentFolderController#create as JSON
12382
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>["id1", "id2"], "child_folders"=>[{"folder_id"=>"child folder id", "label"=>"child label", "document_ids"=>["id1", "id2"]}]}}
12383
+ Completed 201 Created in 23.0ms (Views: 4.0ms)
12384
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12385
+ Processing by ContentFolderController#create as JSON
12386
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>nil, "child_folders"=>nil}}
12387
+ Completed 422 Unprocessable Entity in 8.0ms (Views: 1.0ms)
12388
+ Started GET "/digital_assets" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12389
+ Processing by DigitalAssetsController#index as JSON
12390
+ Completed 200 OK in 4.0ms (Views: 2.0ms)
12391
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-1" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12392
+ Processing by DigitalAssetsController#index as JSON
12393
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-1"}
12394
+ Completed 200 OK in 29.0ms (Views: 27.0ms)
12395
+ Started GET "/digital_assets?fund=00200" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12396
+ Processing by DigitalAssetsController#index as JSON
12397
+ Parameters: {"fund"=>"00200"}
12398
+ Completed 200 OK in 52.0ms (Views: 50.0ms)
12399
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-4" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12400
+ Processing by DigitalAssetsController#index as JSON
12401
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-4"}
12402
+ Completed 200 OK in 20.0ms (Views: 15.0ms)
12403
+ Started GET "/digital_assets?path=%2Fsome%2Fother%2Fpath.pdf" for 127.0.0.1 at 2014-03-05 07:51:10 -0700
12404
+ Processing by DigitalAssetsController#index as JSON
12405
+ Parameters: {"path"=>"/some/other/path.pdf"}
12406
+ Completed 200 OK in 18.0ms (Views: 17.0ms)
12407
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-6" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12408
+ Processing by DigitalAssetsController#index as JSON
12409
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-6"}
12410
+ Completed 200 OK in 17.0ms (Views: 15.0ms)
12411
+ Started GET "/digital_assets?published=2014-03-05+12%3A51%3A11+UTC" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12412
+ Processing by DigitalAssetsController#index as JSON
12413
+ Parameters: {"published"=>"2014-03-05 12:51:11 UTC"}
12414
+ Completed 200 OK in 39.0ms (Views: 13.0ms)
12415
+ Started GET "/digital_assets/foo-bar-id" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12416
+ Processing by DigitalAssetsController#show as JSON
12417
+ Parameters: {"id"=>"foo-bar-id"}
12418
+ Completed 200 OK in 30.0ms (Views: 8.0ms)
12419
+ Started GET "/digital_assets/not-found-doc" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12420
+ Processing by DigitalAssetsController#show as JSON
12421
+ Parameters: {"id"=>"not-found-doc"}
12422
+ Completed 404 Not Found in 55.0ms (Views: 1.0ms)
12423
+ Started POST "/digital_assets/updated_time" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12424
+ Processing by DigitalAssetsController#updated_time as JSON
12425
+ Parameters: {"ids"=>["id-1", "id-2", "id-3", "id-4"]}
12426
+ Completed 200 OK in 10.0ms (Views: 0.0ms)
12427
+ Started PUT "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12428
+ Processing by DigitalAssetsController#update as JSON
12429
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"foo-bar-digital-asset-id", "title"=>"another title", "changed_at"=>"2014-03-03 14:51:10 UTC", "digital_asset_id"=>"foo-bar-digital-asset-id", "published_at"=>"2014-02-23 14:51:10 UTC", "expires_at"=>"2014-05-05 14:51:10 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/12/foo/bar.txt", "finra_path"=>"/path/finradoc/13/foo/bar.txt", "legacy_path"=>"/oldpath/13/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:51:10 UTC", "content_type"=>"fact_sheet", "updated_at"=>"2014-03-05 14:51:11 UTC", "created_at"=>"2014-03-05 14:51:11 UTC"}, "id"=>"foo-bar-digital-asset-id"}
12430
+ Completed 200 OK in 20.0ms
12431
+ Started POST "/digital_assets" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12432
+ Processing by DigitalAssetsController#create as JSON
12433
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"531739dfbed483acb5954bf3", "title"=>"Doc Title", "changed_at"=>"2014-03-03 14:51:10 UTC", "digital_asset_id"=>"new-digital-asset-id", "published_at"=>"2014-02-23 14:51:10 UTC", "expires_at"=>"2014-05-05 14:51:10 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/13/foo/bar.txt", "finra_path"=>"/path/finradoc/14/foo/bar.txt", "legacy_path"=>"/oldpath/14/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:51:10 UTC", "content_type"=>"fact_sheet"}}
12434
+ Completed 201 Created in 26.0ms
12435
+ Started DELETE "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12436
+ Processing by DigitalAssetsController#destroy as JSON
12437
+ Parameters: {"id"=>"foo-bar-digital-asset-id"}
12438
+ Completed 200 OK in 5.0ms
12439
+ Started GET "/" for 127.0.0.1 at 2014-03-05 07:51:11 -0700
12440
+
12441
+ ActionController::RoutingError (No route matches [GET] "/"):
12442
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
12443
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
12444
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
12445
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12446
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
12447
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12448
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12449
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
12450
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
12451
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
12452
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
12453
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
12454
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
12455
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
12456
+ rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
12457
+ rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
12458
+ rack-test (0.6.2) lib/rack/test.rb:57:in `get'
12459
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/forwardable.rb:201:in `get'
12460
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/rack_test_client.rb:38:in `do_request'
12461
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/client_base.rb:39:in `process'
12462
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/client_base.rb:9:in `get'
12463
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/dsl/endpoint.rb:47:in `do_request'
12464
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/dsl/endpoint.rb:20:in `example_request'
12465
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
12466
+ rspec-core (2.14.8) lib/rspec/core/example.rb:114:in `run'
12467
+ rspec-core (2.14.8) lib/rspec/core/example.rb:254:in `with_around_each_hooks'
12468
+ rspec-core (2.14.8) lib/rspec/core/example.rb:111:in `run'
12469
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:390:in `run_examples'
12470
+ org/jruby/RubyArray.java:2413:in `map'
12471
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:386:in `run_examples'
12472
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:371:in `run'
12473
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12474
+ org/jruby/RubyArray.java:2413:in `map'
12475
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12476
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12477
+ org/jruby/RubyArray.java:2413:in `map'
12478
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12479
+ rspec-core (2.14.8) lib/rspec/core/reporter.rb:58:in `report'
12480
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:25:in `run'
12481
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:80:in `run'
12482
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:17:in `autorun'
12483
+
12484
+
12485
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
12486
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:52:55 -0700
12487
+ Processing by ContentFolderController#index as JSON
12488
+ Completed 200 OK in 3.0ms (Views: 2.0ms)
12489
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:52:55 -0700
12490
+ Processing by ContentFolderController#index as JSON
12491
+ Completed 404 Not Found in 1.0ms (Views: 1.0ms)
12492
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:52:55 -0700
12493
+ Processing by ContentFolderController#create as JSON
12494
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>["id1", "id2"], "child_folders"=>[{"folder_id"=>"child folder id", "label"=>"child label", "document_ids"=>["id1", "id2"]}]}}
12495
+ Completed 201 Created in 27.0ms (Views: 3.0ms)
12496
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:52:55 -0700
12497
+ Processing by ContentFolderController#create as JSON
12498
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>nil, "child_folders"=>nil}}
12499
+ Completed 422 Unprocessable Entity in 10.0ms (Views: 1.0ms)
12500
+ Started GET "/digital_assets" for 127.0.0.1 at 2014-03-05 07:52:55 -0700
12501
+ Processing by DigitalAssetsController#index as JSON
12502
+ Completed 200 OK in 3.0ms (Views: 2.0ms)
12503
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-1" for 127.0.0.1 at 2014-03-05 07:52:55 -0700
12504
+ Processing by DigitalAssetsController#index as JSON
12505
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-1"}
12506
+ Completed 200 OK in 32.0ms (Views: 31.0ms)
12507
+ Started GET "/digital_assets?fund=00200" for 127.0.0.1 at 2014-03-05 07:52:55 -0700
12508
+ Processing by DigitalAssetsController#index as JSON
12509
+ Parameters: {"fund"=>"00200"}
12510
+ Completed 200 OK in 24.0ms (Views: 22.0ms)
12511
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-4" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12512
+ Processing by DigitalAssetsController#index as JSON
12513
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-4"}
12514
+ Completed 200 OK in 15.0ms (Views: 12.0ms)
12515
+ Started GET "/digital_assets?path=%2Fsome%2Fother%2Fpath.pdf" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12516
+ Processing by DigitalAssetsController#index as JSON
12517
+ Parameters: {"path"=>"/some/other/path.pdf"}
12518
+ Completed 200 OK in 14.0ms (Views: 13.0ms)
12519
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-6" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12520
+ Processing by DigitalAssetsController#index as JSON
12521
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-6"}
12522
+ Completed 200 OK in 19.0ms (Views: 17.0ms)
12523
+ Started GET "/digital_assets?published=2014-03-05+12%3A52%3A56+UTC" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12524
+ Processing by DigitalAssetsController#index as JSON
12525
+ Parameters: {"published"=>"2014-03-05 12:52:56 UTC"}
12526
+ Completed 200 OK in 45.0ms (Views: 16.0ms)
12527
+ Started GET "/digital_assets/foo-bar-id" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12528
+ Processing by DigitalAssetsController#show as JSON
12529
+ Parameters: {"id"=>"foo-bar-id"}
12530
+ Completed 200 OK in 32.0ms (Views: 8.0ms)
12531
+ Started GET "/digital_assets/not-found-doc" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12532
+ Processing by DigitalAssetsController#show as JSON
12533
+ Parameters: {"id"=>"not-found-doc"}
12534
+ Completed 404 Not Found in 53.0ms (Views: 1.0ms)
12535
+ Started POST "/digital_assets/updated_time" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12536
+ Processing by DigitalAssetsController#updated_time as JSON
12537
+ Parameters: {"ids"=>["id-1", "id-2", "id-3", "id-4"]}
12538
+ Completed 200 OK in 10.0ms (Views: 0.0ms)
12539
+ Started PUT "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12540
+ Processing by DigitalAssetsController#update as JSON
12541
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"foo-bar-digital-asset-id", "title"=>"another title", "changed_at"=>"2014-03-03 14:52:55 UTC", "digital_asset_id"=>"foo-bar-digital-asset-id", "published_at"=>"2014-02-23 14:52:55 UTC", "expires_at"=>"2014-05-05 14:52:55 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/12/foo/bar.txt", "finra_path"=>"/path/finradoc/13/foo/bar.txt", "legacy_path"=>"/oldpath/13/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:52:55 UTC", "content_type"=>"fact_sheet", "updated_at"=>"2014-03-05 14:52:56 UTC", "created_at"=>"2014-03-05 14:52:56 UTC"}, "id"=>"foo-bar-digital-asset-id"}
12542
+ Completed 200 OK in 19.0ms
12543
+ Started POST "/digital_assets" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12544
+ Processing by DigitalAssetsController#create as JSON
12545
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"53173a48bed4167edefcd836", "title"=>"Doc Title", "changed_at"=>"2014-03-03 14:52:55 UTC", "digital_asset_id"=>"new-digital-asset-id", "published_at"=>"2014-02-23 14:52:55 UTC", "expires_at"=>"2014-05-05 14:52:55 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/13/foo/bar.txt", "finra_path"=>"/path/finradoc/14/foo/bar.txt", "legacy_path"=>"/oldpath/14/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:52:55 UTC", "content_type"=>"fact_sheet"}}
12546
+ Completed 201 Created in 25.0ms
12547
+ Started DELETE "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12548
+ Processing by DigitalAssetsController#destroy as JSON
12549
+ Parameters: {"id"=>"foo-bar-digital-asset-id"}
12550
+ Completed 200 OK in 5.0ms
12551
+ Started GET "/" for 127.0.0.1 at 2014-03-05 07:52:56 -0700
12552
+
12553
+ ActionController::RoutingError (No route matches [GET] "/"):
12554
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
12555
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
12556
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
12557
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12558
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
12559
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12560
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12561
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
12562
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
12563
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
12564
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
12565
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
12566
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
12567
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
12568
+ rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
12569
+ rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
12570
+ rack-test (0.6.2) lib/rack/test.rb:57:in `get'
12571
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/forwardable.rb:201:in `get'
12572
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/rack_test_client.rb:38:in `do_request'
12573
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/client_base.rb:39:in `process'
12574
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/client_base.rb:9:in `get'
12575
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/dsl/endpoint.rb:47:in `do_request'
12576
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/dsl/endpoint.rb:20:in `example_request'
12577
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
12578
+ rspec-core (2.14.8) lib/rspec/core/example.rb:114:in `run'
12579
+ rspec-core (2.14.8) lib/rspec/core/example.rb:254:in `with_around_each_hooks'
12580
+ rspec-core (2.14.8) lib/rspec/core/example.rb:111:in `run'
12581
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:390:in `run_examples'
12582
+ org/jruby/RubyArray.java:2413:in `map'
12583
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:386:in `run_examples'
12584
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:371:in `run'
12585
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12586
+ org/jruby/RubyArray.java:2413:in `map'
12587
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12588
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12589
+ org/jruby/RubyArray.java:2413:in `map'
12590
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12591
+ rspec-core (2.14.8) lib/rspec/core/reporter.rb:58:in `report'
12592
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:25:in `run'
12593
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:80:in `run'
12594
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:17:in `autorun'
12595
+
12596
+
12597
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.0ms)
12598
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12599
+ Processing by ContentFolderController#index as JSON
12600
+ Completed 200 OK in 4.0ms (Views: 3.0ms)
12601
+ Started GET "/content_folder" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12602
+ Processing by ContentFolderController#index as JSON
12603
+ Completed 404 Not Found in 1.0ms (Views: 0.0ms)
12604
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12605
+ Processing by ContentFolderController#create as JSON
12606
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>["id1", "id2"], "child_folders"=>[{"folder_id"=>"child folder id", "label"=>"child label", "document_ids"=>["id1", "id2"]}]}}
12607
+ Completed 201 Created in 27.0ms (Views: 3.0ms)
12608
+ Started POST "/content_folder" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12609
+ Processing by ContentFolderController#create as JSON
12610
+ Parameters: {"content_folder"=>{"folder_id"=>"folder id", "label"=>"label", "document_ids"=>nil, "child_folders"=>nil}}
12611
+ Completed 422 Unprocessable Entity in 9.0ms (Views: 0.0ms)
12612
+ Started GET "/digital_assets" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12613
+ Processing by DigitalAssetsController#index as JSON
12614
+ Completed 200 OK in 4.0ms (Views: 2.0ms)
12615
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-1" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12616
+ Processing by DigitalAssetsController#index as JSON
12617
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-1"}
12618
+ Completed 200 OK in 34.0ms (Views: 33.0ms)
12619
+ Started GET "/digital_assets?fund=00200" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12620
+ Processing by DigitalAssetsController#index as JSON
12621
+ Parameters: {"fund"=>"00200"}
12622
+ Completed 200 OK in 23.0ms (Views: 22.0ms)
12623
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-4" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12624
+ Processing by DigitalAssetsController#index as JSON
12625
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-4"}
12626
+ Completed 200 OK in 16.0ms (Views: 13.0ms)
12627
+ Started GET "/digital_assets?path=%2Fsome%2Fother%2Fpath.pdf" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12628
+ Processing by DigitalAssetsController#index as JSON
12629
+ Parameters: {"path"=>"/some/other/path.pdf"}
12630
+ Completed 200 OK in 15.0ms (Views: 14.0ms)
12631
+ Started GET "/digital_assets?digital_asset_id=id-foobar-permanent-6" for 127.0.0.1 at 2014-03-05 07:53:11 -0700
12632
+ Processing by DigitalAssetsController#index as JSON
12633
+ Parameters: {"digital_asset_id"=>"id-foobar-permanent-6"}
12634
+ Completed 200 OK in 17.0ms (Views: 16.0ms)
12635
+ Started GET "/digital_assets?published=2014-03-05+12%3A53%3A12+UTC" for 127.0.0.1 at 2014-03-05 07:53:12 -0700
12636
+ Processing by DigitalAssetsController#index as JSON
12637
+ Parameters: {"published"=>"2014-03-05 12:53:12 UTC"}
12638
+ Completed 200 OK in 40.0ms (Views: 13.0ms)
12639
+ Started GET "/digital_assets/foo-bar-id" for 127.0.0.1 at 2014-03-05 07:53:12 -0700
12640
+ Processing by DigitalAssetsController#show as JSON
12641
+ Parameters: {"id"=>"foo-bar-id"}
12642
+ Completed 200 OK in 33.0ms (Views: 8.0ms)
12643
+ Started GET "/digital_assets/not-found-doc" for 127.0.0.1 at 2014-03-05 07:53:12 -0700
12644
+ Processing by DigitalAssetsController#show as JSON
12645
+ Parameters: {"id"=>"not-found-doc"}
12646
+ Completed 404 Not Found in 54.0ms (Views: 1.0ms)
12647
+ Started POST "/digital_assets/updated_time" for 127.0.0.1 at 2014-03-05 07:53:12 -0700
12648
+ Processing by DigitalAssetsController#updated_time as JSON
12649
+ Parameters: {"ids"=>["id-1", "id-2", "id-3", "id-4"]}
12650
+ Completed 200 OK in 11.0ms (Views: 0.0ms)
12651
+ Started PUT "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:53:12 -0700
12652
+ Processing by DigitalAssetsController#update as JSON
12653
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"foo-bar-digital-asset-id", "title"=>"another title", "changed_at"=>"2014-03-03 14:53:11 UTC", "digital_asset_id"=>"foo-bar-digital-asset-id", "published_at"=>"2014-02-23 14:53:11 UTC", "expires_at"=>"2014-05-05 14:53:11 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/12/foo/bar.txt", "finra_path"=>"/path/finradoc/13/foo/bar.txt", "legacy_path"=>"/oldpath/13/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:53:11 UTC", "content_type"=>"fact_sheet", "updated_at"=>"2014-03-05 14:53:12 UTC", "created_at"=>"2014-03-05 14:53:12 UTC"}, "id"=>"foo-bar-digital-asset-id"}
12654
+ Completed 200 OK in 19.0ms
12655
+ Started POST "/digital_assets" for 127.0.0.1 at 2014-03-05 07:53:12 -0700
12656
+ Processing by DigitalAssetsController#create as JSON
12657
+ Parameters: {"digital_asset"=>{"audiences"=>["investor"], "omniture_codes"=>["KOW2MY24D"], "orderable"=>"false", "pages"=>"1", "fund_codes"=>["00200", "00190", "00210"], "_id"=>"53173a58bed47a5eeb3702e8", "title"=>"Doc Title", "changed_at"=>"2014-03-03 14:53:11 UTC", "digital_asset_id"=>"new-digital-asset-id", "published_at"=>"2014-02-23 14:53:11 UTC", "expires_at"=>"2014-05-05 14:53:11 UTC", "sami_code"=>"IL1111.077", "business_owner"=>"biz owner", "path"=>"/13/foo/bar.txt", "finra_path"=>"/path/finradoc/14/foo/bar.txt", "legacy_path"=>"/oldpath/14/foo/bar.txt", "doc_changed_at"=>"2014-03-03 14:53:11 UTC", "content_type"=>"fact_sheet"}}
12658
+ Completed 201 Created in 25.0ms
12659
+ Started DELETE "/digital_assets/foo-bar-digital-asset-id" for 127.0.0.1 at 2014-03-05 07:53:12 -0700
12660
+ Processing by DigitalAssetsController#destroy as JSON
12661
+ Parameters: {"id"=>"foo-bar-digital-asset-id"}
12662
+ Completed 200 OK in 5.0ms
12663
+ Started GET "/" for 127.0.0.1 at 2014-03-05 07:53:12 -0700
12664
+
12665
+ ActionController::RoutingError (No route matches [GET] "/"):
12666
+ actionpack (3.2.16) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
12667
+ actionpack (3.2.16) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
12668
+ railties (3.2.16) lib/rails/rack/logger.rb:32:in `call_app'
12669
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12670
+ activesupport (3.2.16) lib/active_support/tagged_logging.rb:22:in `tagged'
12671
+ railties (3.2.16) lib/rails/rack/logger.rb:16:in `call'
12672
+ actionpack (3.2.16) lib/action_dispatch/middleware/request_id.rb:22:in `call'
12673
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
12674
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
12675
+ activesupport (3.2.16) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
12676
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
12677
+ actionpack (3.2.16) lib/action_dispatch/middleware/static.rb:63:in `call'
12678
+ railties (3.2.16) lib/rails/engine.rb:484:in `call'
12679
+ railties (3.2.16) lib/rails/application.rb:231:in `call'
12680
+ rack-test (0.6.2) lib/rack/mock_session.rb:30:in `request'
12681
+ rack-test (0.6.2) lib/rack/test.rb:230:in `process_request'
12682
+ rack-test (0.6.2) lib/rack/test.rb:57:in `get'
12683
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/1.9/forwardable.rb:201:in `get'
12684
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/rack_test_client.rb:38:in `do_request'
12685
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/client_base.rb:39:in `process'
12686
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/client_base.rb:9:in `get'
12687
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/dsl/endpoint.rb:47:in `do_request'
12688
+ /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/bundler/gems/rspec_api_documentation-f5e83aeeb54c/lib/rspec_api_documentation/dsl/endpoint.rb:20:in `example_request'
12689
+ org/jruby/RubyBasicObject.java:1536:in `instance_eval'
12690
+ rspec-core (2.14.8) lib/rspec/core/example.rb:114:in `run'
12691
+ rspec-core (2.14.8) lib/rspec/core/example.rb:254:in `with_around_each_hooks'
12692
+ rspec-core (2.14.8) lib/rspec/core/example.rb:111:in `run'
12693
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:390:in `run_examples'
12694
+ org/jruby/RubyArray.java:2413:in `map'
12695
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:386:in `run_examples'
12696
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:371:in `run'
12697
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12698
+ org/jruby/RubyArray.java:2413:in `map'
12699
+ rspec-core (2.14.8) lib/rspec/core/example_group.rb:372:in `run'
12700
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12701
+ org/jruby/RubyArray.java:2413:in `map'
12702
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:28:in `run'
12703
+ rspec-core (2.14.8) lib/rspec/core/reporter.rb:58:in `report'
12704
+ rspec-core (2.14.8) lib/rspec/core/command_line.rb:25:in `run'
12705
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:80:in `run'
12706
+ rspec-core (2.14.8) lib/rspec/core/runner.rb:17:in `autorun'
12707
+
12708
+
12709
+ Rendered /Users/spjms/.rbenv/versions/jruby-1.7.8/lib/ruby/gems/shared/gems/actionpack-3.2.16/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.0ms)