redsnow 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (583) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +67 -0
  3. data/Rakefile +1 -1
  4. data/doc/RedSnow.html +321 -0
  5. data/doc/RedSnow/Action.html +702 -0
  6. data/doc/RedSnow/Binding.html +135 -0
  7. data/doc/RedSnow/Blueprint.html +657 -0
  8. data/doc/RedSnow/BlueprintNode.html +139 -0
  9. data/doc/RedSnow/ErrorCodes.html +165 -0
  10. data/doc/RedSnow/Headers.html +456 -0
  11. data/doc/RedSnow/KeyValueCollection.html +343 -0
  12. data/doc/RedSnow/Location.html +391 -0
  13. data/doc/RedSnow/Metadata.html +343 -0
  14. data/doc/RedSnow/NamedBlueprintNode.html +444 -0
  15. data/doc/RedSnow/Object.html +295 -0
  16. data/doc/RedSnow/Parameter.html +881 -0
  17. data/doc/RedSnow/Parameters.html +349 -0
  18. data/doc/RedSnow/ParseResult.html +570 -0
  19. data/doc/RedSnow/Payload.html +775 -0
  20. data/doc/RedSnow/Resource.html +790 -0
  21. data/doc/RedSnow/ResourceGroup.html +521 -0
  22. data/doc/RedSnow/TransactionExample.html +700 -0
  23. data/doc/RedSnow/WarningCodes.html +210 -0
  24. data/doc/_index.html +342 -0
  25. data/doc/class_list.html +54 -0
  26. data/doc/css/common.css +1 -0
  27. data/doc/css/full_list.css +57 -0
  28. data/doc/css/style.css +339 -0
  29. data/doc/file.README.html +136 -0
  30. data/doc/file_list.html +56 -0
  31. data/doc/frames.html +26 -0
  32. data/doc/index.html +136 -0
  33. data/doc/js/app.js +219 -0
  34. data/doc/js/full_list.js +178 -0
  35. data/doc/js/jquery.js +4 -0
  36. data/doc/method_list.html +347 -0
  37. data/doc/top-level-namespace.html +112 -0
  38. data/ext/snowcrash/Gemfile +8 -0
  39. data/ext/snowcrash/Gemfile.lock +40 -0
  40. data/ext/snowcrash/LICENSE +22 -0
  41. data/ext/snowcrash/README.md +118 -0
  42. data/ext/snowcrash/bin/snowcrash +0 -0
  43. data/ext/snowcrash/bin/test-libsnowcrash +0 -0
  44. data/ext/snowcrash/build/Makefile +375 -0
  45. data/ext/snowcrash/build/gyp-mac-tool +511 -0
  46. data/ext/snowcrash/build/libmarkdownparser.target.mk +137 -0
  47. data/ext/snowcrash/build/libsnowcrash.target.mk +165 -0
  48. data/ext/snowcrash/build/libsundown.target.mk +143 -0
  49. data/ext/snowcrash/build/out/Release/libmarkdownparser.a +0 -0
  50. data/ext/snowcrash/build/out/Release/libsnowcrash.dylib +0 -0
  51. data/ext/snowcrash/build/out/Release/libsundown.a +0 -0
  52. data/ext/snowcrash/build/out/Release/linker.lock +0 -0
  53. data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/ByteBuffer.o +0 -0
  54. data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/MarkdownNode.o +0 -0
  55. data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/MarkdownParser.o +0 -0
  56. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CBlueprint.o +0 -0
  57. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CBlueprintSourcemap.o +0 -0
  58. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CSourceAnnotation.o +0 -0
  59. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/HTTP.o +0 -0
  60. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/MarkdownBlock.o +0 -0
  61. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/MarkdownParser.o +0 -0
  62. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Parser.o +0 -0
  63. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/ParserCore.o +0 -0
  64. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Section.o +0 -0
  65. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Serialize.o +0 -0
  66. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/SerializeJSON.o +0 -0
  67. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/SerializeYAML.o +0 -0
  68. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Signature.o +0 -0
  69. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/UriTemplateParser.o +0 -0
  70. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/csnowcrash.o +0 -0
  71. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/posix/RegexMatch.o +0 -0
  72. data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/snowcrash.o +0 -0
  73. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/houdini_href_e.o +0 -0
  74. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/houdini_html_e.o +0 -0
  75. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/html.o +0 -0
  76. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/html_smartypants.o +0 -0
  77. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/autolink.o +0 -0
  78. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/buffer.o +0 -0
  79. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/markdown.o +0 -0
  80. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/src_map.o +0 -0
  81. data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/stack.o +0 -0
  82. data/ext/snowcrash/build/out/Release/obj.target/snowcrash/src/snowcrash/snowcrash.o +0 -0
  83. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/houdini_href_e.o +0 -0
  84. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/houdini_html_e.o +0 -0
  85. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/html.o +0 -0
  86. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/html_smartypants.o +0 -0
  87. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/autolink.o +0 -0
  88. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/buffer.o +0 -0
  89. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/markdown.o +0 -0
  90. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/src_map.o +0 -0
  91. data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/stack.o +0 -0
  92. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ActionParser.o +0 -0
  93. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-AssetParser.o +0 -0
  94. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Blueprint.o +0 -0
  95. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-BlueprintParser.o +0 -0
  96. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-HeaderParser.o +0 -0
  97. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-HeadersParser.o +0 -0
  98. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Indentation.o +0 -0
  99. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ListUtility.o +0 -0
  100. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-MarkdownBlock.o +0 -0
  101. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-MarkdownParser.o +0 -0
  102. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParameterDefinitonParser.o +0 -0
  103. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParameterParser.o +0 -0
  104. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParametersParser.o +0 -0
  105. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Parser.o +0 -0
  106. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-PayloadParser.o +0 -0
  107. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-RegexMatch.o +0 -0
  108. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResouceGroupParser.o +0 -0
  109. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResourceGroupParser.o +0 -0
  110. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResourceParser.o +0 -0
  111. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SectionParser.o +0 -0
  112. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SymbolIdentifier.o +0 -0
  113. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SymbolTable.o +0 -0
  114. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-UriTemplateParser.o +0 -0
  115. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ValuesParser.o +0 -0
  116. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Warnings.o +0 -0
  117. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-csnowcrash.o +0 -0
  118. data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-snowcrash.o +0 -0
  119. data/ext/snowcrash/build/out/Release/snowcrash +0 -0
  120. data/ext/snowcrash/build/out/Release/test-libsnowcrash +0 -0
  121. data/ext/snowcrash/build/perf-libsnowcrash.target.mk +151 -0
  122. data/ext/snowcrash/build/snowcrash.Makefile +6 -0
  123. data/ext/snowcrash/build/snowcrash.target.mk +149 -0
  124. data/ext/snowcrash/build/sundown.target.mk +143 -0
  125. data/ext/snowcrash/build/test-libsnowcrash.target.mk +170 -0
  126. data/ext/snowcrash/ext/cmdline/LICENSE +30 -0
  127. data/ext/snowcrash/ext/cmdline/README.rst +191 -0
  128. data/ext/snowcrash/ext/cmdline/cmdline.h +817 -0
  129. data/ext/snowcrash/ext/cmdline/test.cpp +50 -0
  130. data/ext/snowcrash/ext/cmdline/test2.cpp +61 -0
  131. data/ext/snowcrash/ext/markdown-parser/LICENSE +22 -0
  132. data/ext/snowcrash/ext/markdown-parser/README.md +11 -0
  133. data/ext/snowcrash/ext/markdown-parser/ext/sundown/README.markdown +141 -0
  134. data/ext/snowcrash/ext/markdown-parser/markdownparser.xcodeproj/project.pbxproj +448 -0
  135. data/ext/snowcrash/ext/markdown-parser/msvc/test-markdown/test-markdown.vcproj +195 -0
  136. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/LICENSE_1_0.txt +23 -0
  137. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/README.md +24 -0
  138. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/catch-logo-small.png +0 -0
  139. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/assertions.md +64 -0
  140. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/build-systems.md +36 -0
  141. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/command-line.md +155 -0
  142. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/contributing.md +19 -0
  143. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/logging.md +52 -0
  144. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/own-main.md +68 -0
  145. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/reference-index.md +14 -0
  146. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/test-cases-and-sections.md +60 -0
  147. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/test-fixtures.md +32 -0
  148. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/tutorial.md +228 -0
  149. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/whats-changed.md +24 -0
  150. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/why-catch.md +42 -0
  151. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch.hpp +202 -0
  152. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch_runner.hpp +224 -0
  153. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch_with_main.hpp +15 -0
  154. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/external/clara.h +868 -0
  155. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/external/tbc_text_format.h +153 -0
  156. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_approx.hpp +91 -0
  157. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_assertionresult.h +71 -0
  158. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_assertionresult.hpp +91 -0
  159. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_capture.hpp +179 -0
  160. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_clara.h +32 -0
  161. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_commandline.hpp +145 -0
  162. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_common.h +119 -0
  163. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_common.hpp +86 -0
  164. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_compiler_capabilities.h +123 -0
  165. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_config.hpp +178 -0
  166. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_console_colour.hpp +66 -0
  167. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_console_colour_impl.hpp +166 -0
  168. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_context.h +53 -0
  169. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_context_impl.hpp +112 -0
  170. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_debugger.h +49 -0
  171. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_debugger.hpp +100 -0
  172. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_default_main.hpp +38 -0
  173. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_evaluate.hpp +178 -0
  174. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_exception_translator_registry.hpp +75 -0
  175. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expression_decomposer.hpp +31 -0
  176. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expression_lhs.hpp +105 -0
  177. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expressionresult_builder.h +63 -0
  178. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expressionresult_builder.hpp +98 -0
  179. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_generators.hpp +190 -0
  180. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_generators_impl.hpp +86 -0
  181. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_impl.hpp +92 -0
  182. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_capture.h +46 -0
  183. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_config.h +54 -0
  184. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_exception.h +66 -0
  185. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_generators.h +32 -0
  186. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_registry_hub.h +44 -0
  187. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_reporter.h +265 -0
  188. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_runner.h +19 -0
  189. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_testcase.h +37 -0
  190. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_legacy_reporter_adapter.h +59 -0
  191. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_legacy_reporter_adapter.hpp +82 -0
  192. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_list.hpp +150 -0
  193. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_matchers.hpp +233 -0
  194. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_message.h +65 -0
  195. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_message.hpp +43 -0
  196. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_notimplemented_exception.h +35 -0
  197. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_notimplemented_exception.hpp +30 -0
  198. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_objc.hpp +203 -0
  199. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_objc_arc.hpp +51 -0
  200. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_option.hpp +75 -0
  201. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_platform.h +20 -0
  202. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_ptr.hpp +94 -0
  203. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_registry_hub.hpp +83 -0
  204. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_reporter_registrars.hpp +74 -0
  205. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_reporter_registry.hpp +45 -0
  206. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_result_type.h +66 -0
  207. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_runner_impl.hpp +319 -0
  208. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section.h +55 -0
  209. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section.hpp +40 -0
  210. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section_info.h +31 -0
  211. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section_info.hpp +113 -0
  212. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_sfinae.hpp +44 -0
  213. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_stream.h +33 -0
  214. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_stream.hpp +83 -0
  215. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_streambuf.h +23 -0
  216. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tags.h +109 -0
  217. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tags.hpp +137 -0
  218. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_info.h +84 -0
  219. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_info.hpp +166 -0
  220. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_registry_impl.hpp +146 -0
  221. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_tracker.hpp +148 -0
  222. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_registry.hpp +120 -0
  223. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_spec.h +65 -0
  224. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_spec.hpp +133 -0
  225. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_text.h +24 -0
  226. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_timer.h +35 -0
  227. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_timer.hpp +63 -0
  228. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tostring.hpp +276 -0
  229. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_totals.hpp +67 -0
  230. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_version.h +37 -0
  231. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_version.hpp +19 -0
  232. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_xmlwriter.hpp +218 -0
  233. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_bases.hpp +203 -0
  234. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_console.hpp +411 -0
  235. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_junit.hpp +226 -0
  236. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_xml.hpp +151 -0
  237. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/CMake/CMakeLists.txt +38 -0
  238. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ApproxTests.cpp +112 -0
  239. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/BDDTests.cpp +68 -0
  240. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.std.approved.txt +778 -0
  241. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.sw.approved.txt +6995 -0
  242. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.swa4.approved.txt +322 -0
  243. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/junit.sw.approved.txt +562 -0
  244. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/xml.sw.approved.txt +7251 -0
  245. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ClassTests.cpp +57 -0
  246. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ConditionTests.cpp +334 -0
  247. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ExceptionTests.cpp +153 -0
  248. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/GeneratorTests.cpp +42 -0
  249. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/MessageTests.cpp +121 -0
  250. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/MiscTests.cpp +341 -0
  251. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SectionTrackerTests.cpp +164 -0
  252. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_common.cpp +2 -0
  253. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp +2 -0
  254. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_debugger.cpp +2 -0
  255. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_capture.cpp +2 -0
  256. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_config.cpp +1 -0
  257. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_exception.cpp +1 -0
  258. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_generators.cpp +1 -0
  259. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_registry_hub.cpp +2 -0
  260. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp +1 -0
  261. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_runner.cpp +1 -0
  262. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_testcase.cpp +1 -0
  263. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_message.cpp +2 -0
  264. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_option.cpp +2 -0
  265. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_ptr.cpp +2 -0
  266. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp +2 -0
  267. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_streambuf.cpp +2 -0
  268. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_tags.cpp +2 -0
  269. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp +2 -0
  270. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/TestMain.cpp +541 -0
  271. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/TrickyTests.cpp +396 -0
  272. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/VariadicMacrosTests.cpp +31 -0
  273. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/makefile +21 -0
  274. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch.sln +20 -0
  275. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.cpp +8 -0
  276. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj +394 -0
  277. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2010/TestCatch/TestCatch.sln +20 -0
  278. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.vcxproj +148 -0
  279. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.pbxproj +685 -0
  280. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  281. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/xcshareddata/CatchSelfTest.xccheckout +41 -0
  282. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest/CatchSelfTest.1 +79 -0
  283. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp +2 -0
  284. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.pbxproj +258 -0
  285. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  286. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/xcshareddata/CatchSelfTestSingle.xccheckout +41 -0
  287. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle/dummy.txt +0 -0
  288. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.pbxproj +265 -0
  289. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  290. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/xcshareddata/OCTest.xccheckout +41 -0
  291. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/CatchOCTestCase.h +25 -0
  292. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/CatchOCTestCase.mm +83 -0
  293. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/Main.mm +2 -0
  294. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/OCTest.1 +79 -0
  295. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/OCTest.mm +28 -0
  296. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/TestObj.h +28 -0
  297. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/TestObj.m +25 -0
  298. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest.xcodeproj/project.pbxproj +299 -0
  299. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  300. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/OCTest.mm +27 -0
  301. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/TestObj.h +25 -0
  302. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/TestObj.m +18 -0
  303. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/en.lproj/InfoPlist.strings +2 -0
  304. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/iOSTest-Info.plist +47 -0
  305. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/iOSTest-Prefix.pch +14 -0
  306. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerAppDelegate.h +114 -0
  307. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerMainView.h +189 -0
  308. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerReporter.h +115 -0
  309. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/itChRunnerMain.mm +27 -0
  310. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/readme +6 -0
  311. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/approvalTests.py +99 -0
  312. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/approve.py +29 -0
  313. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/generateSingleHeader.py +152 -0
  314. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/scriptCommon.py +4 -0
  315. data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/single_include/catch.hpp +8544 -0
  316. data/ext/snowcrash/ext/markdown-parser/test/test-ByteBuffer.cc +83 -0
  317. data/ext/snowcrash/ext/markdown-parser/test/test-MarkdownParser.cc +628 -0
  318. data/ext/snowcrash/ext/markdown-parser/test/test-libmarkdownparser.cc +10 -0
  319. data/ext/snowcrash/features/fixtures/ast.json +154 -0
  320. data/ext/snowcrash/features/fixtures/ast.yaml +87 -0
  321. data/ext/snowcrash/features/fixtures/blueprint.apib +84 -0
  322. data/ext/snowcrash/features/fixtures/invalid_blueprint.apib +4 -0
  323. data/ext/snowcrash/features/parse.feature +23 -0
  324. data/ext/snowcrash/features/step_definitions/file_content_step.rb +8 -0
  325. data/ext/snowcrash/features/support/env.rb +7 -0
  326. data/ext/snowcrash/features/support/setup.rb +1 -0
  327. data/ext/snowcrash/features/validate.feature +37 -0
  328. data/ext/snowcrash/features/version.feature +10 -0
  329. data/ext/snowcrash/snowcrash.xcodeproj/project.pbxproj +798 -0
  330. data/ext/snowcrash/test/README.md +7 -0
  331. data/ext/snowcrash/test/performance/fixtures/fixture-1.apib +174 -0
  332. data/ext/snowcrash/test/performance/fixtures/fixture-2.apib +2455 -0
  333. data/ext/snowcrash/test/performance/fixtures/fixture-3.apib +10363 -0
  334. data/ext/snowcrash/test/performance/fixtures/fixture-4.apib +8390 -0
  335. data/ext/snowcrash/test/performance/perf-snowcrash.cc +162 -0
  336. data/ext/snowcrash/test/snowcrashtest.h +88 -0
  337. data/ext/snowcrash/test/test-ActionParser.cc +491 -0
  338. data/ext/snowcrash/test/test-AssetParser.cc +224 -0
  339. data/ext/snowcrash/test/test-Blueprint.cc +32 -0
  340. data/ext/snowcrash/test/test-BlueprintParser.cc +462 -0
  341. data/ext/snowcrash/test/test-HeadersParser.cc +256 -0
  342. data/ext/snowcrash/test/test-Indentation.cc +336 -0
  343. data/ext/snowcrash/test/test-ParameterParser.cc +499 -0
  344. data/ext/snowcrash/test/test-ParametersParser.cc +355 -0
  345. data/ext/snowcrash/test/test-PayloadParser.cc +657 -0
  346. data/ext/snowcrash/test/test-RegexMatch.cc +35 -0
  347. data/ext/snowcrash/test/test-ResourceGroupParser.cc +457 -0
  348. data/ext/snowcrash/test/test-ResourceParser.cc +947 -0
  349. data/ext/snowcrash/test/test-SectionParser.cc +81 -0
  350. data/ext/snowcrash/test/test-StringUtility.cc +65 -0
  351. data/ext/snowcrash/test/test-SymbolIdentifier.cc +53 -0
  352. data/ext/snowcrash/test/test-SymbolTable.cc +31 -0
  353. data/ext/snowcrash/test/test-UriTemplateParser.cc +333 -0
  354. data/ext/snowcrash/test/test-ValuesParser.cc +106 -0
  355. data/ext/snowcrash/test/test-Warnings.cc +94 -0
  356. data/ext/snowcrash/test/test-csnowcrash.cc +404 -0
  357. data/ext/snowcrash/test/test-snowcrash.cc +664 -0
  358. data/ext/snowcrash/test/vendor/Catch/LICENSE_1_0.txt +23 -0
  359. data/ext/snowcrash/test/vendor/Catch/README.md +24 -0
  360. data/ext/snowcrash/test/vendor/Catch/catch-logo-small.png +0 -0
  361. data/ext/snowcrash/test/vendor/Catch/docs/assertions.md +59 -0
  362. data/ext/snowcrash/test/vendor/Catch/docs/command-line.md +137 -0
  363. data/ext/snowcrash/test/vendor/Catch/docs/logging.md +52 -0
  364. data/ext/snowcrash/test/vendor/Catch/docs/own-main.md +68 -0
  365. data/ext/snowcrash/test/vendor/Catch/docs/reference-index.md +13 -0
  366. data/ext/snowcrash/test/vendor/Catch/docs/test-fixtures.md +32 -0
  367. data/ext/snowcrash/test/vendor/Catch/docs/tutorial.md +100 -0
  368. data/ext/snowcrash/test/vendor/Catch/docs/whats-changed.md +24 -0
  369. data/ext/snowcrash/test/vendor/Catch/docs/why-catch.md +42 -0
  370. data/ext/snowcrash/test/vendor/Catch/include/catch.hpp +182 -0
  371. data/ext/snowcrash/test/vendor/Catch/include/catch_runner.hpp +236 -0
  372. data/ext/snowcrash/test/vendor/Catch/include/catch_with_main.hpp +15 -0
  373. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_approx.hpp +91 -0
  374. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_assertionresult.h +65 -0
  375. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_assertionresult.hpp +91 -0
  376. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_capture.hpp +175 -0
  377. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_commandline.hpp +129 -0
  378. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_common.h +148 -0
  379. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_compiler_capabilities.h +85 -0
  380. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_config.hpp +182 -0
  381. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_console_colour.hpp +66 -0
  382. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_console_colour_impl.hpp +153 -0
  383. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_context.h +53 -0
  384. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_context_impl.hpp +112 -0
  385. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_debugger.hpp +116 -0
  386. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_default_main.hpp +38 -0
  387. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_evaluate.hpp +178 -0
  388. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_exception_translator_registry.hpp +74 -0
  389. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expression_decomposer.hpp +31 -0
  390. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expression_lhs.hpp +97 -0
  391. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expressionresult_builder.h +63 -0
  392. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expressionresult_builder.hpp +98 -0
  393. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_generators.hpp +190 -0
  394. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_generators_impl.hpp +86 -0
  395. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_impl.hpp +97 -0
  396. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_capture.h +46 -0
  397. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_config.h +32 -0
  398. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_exception.h +66 -0
  399. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_generators.h +32 -0
  400. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_registry_hub.h +45 -0
  401. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_reporter.h +339 -0
  402. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_runner.h +23 -0
  403. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_testcase.h +34 -0
  404. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_legacy_reporter_adapter.h +39 -0
  405. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_legacy_reporter_adapter.hpp +84 -0
  406. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_list.hpp +198 -0
  407. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_matchers.hpp +233 -0
  408. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_message.h +65 -0
  409. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_message.hpp +43 -0
  410. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_notimplemented_exception.h +35 -0
  411. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_notimplemented_exception.hpp +30 -0
  412. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_objc.hpp +202 -0
  413. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_objc_arc.hpp +51 -0
  414. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_option.hpp +67 -0
  415. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_ptr.hpp +94 -0
  416. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_registry_hub.hpp +83 -0
  417. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_reporter_registrars.hpp +75 -0
  418. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_reporter_registry.hpp +45 -0
  419. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_result_type.h +66 -0
  420. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_runner_impl.hpp +326 -0
  421. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_running_test.hpp +117 -0
  422. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_section.hpp +56 -0
  423. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_section_info.hpp +113 -0
  424. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_sfinae.hpp +44 -0
  425. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_stream.hpp +90 -0
  426. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_streambuf.h +21 -0
  427. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_tags.hpp +193 -0
  428. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_info.h +82 -0
  429. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_info.hpp +127 -0
  430. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_registry_impl.hpp +151 -0
  431. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_registry.hpp +120 -0
  432. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_spec.h +166 -0
  433. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_text.h +61 -0
  434. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_text.hpp +92 -0
  435. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_tostring.hpp +224 -0
  436. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_totals.hpp +67 -0
  437. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_version.h +37 -0
  438. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_version.hpp +19 -0
  439. data/ext/snowcrash/test/vendor/Catch/include/internal/catch_xmlwriter.hpp +211 -0
  440. data/ext/snowcrash/test/vendor/Catch/include/internal/clara.h +553 -0
  441. data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_basic.hpp +353 -0
  442. data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_console.hpp +397 -0
  443. data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_junit.hpp +252 -0
  444. data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_xml.hpp +145 -0
  445. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ApproxTests.cpp +112 -0
  446. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/BDDTests.cpp +68 -0
  447. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/Baselines/approvedResults.txt +14686 -0
  448. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ClassTests.cpp +57 -0
  449. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/CmdLineTests.cpp +191 -0
  450. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ConditionTests.cpp +348 -0
  451. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ExceptionTests.cpp +143 -0
  452. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/GeneratorTests.cpp +42 -0
  453. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/MessageTests.cpp +102 -0
  454. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/MiscTests.cpp +343 -0
  455. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_common.cpp +2 -0
  456. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp +2 -0
  457. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_debugger.cpp +2 -0
  458. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_capture.cpp +2 -0
  459. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_config.cpp +1 -0
  460. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_exception.cpp +1 -0
  461. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_generators.cpp +1 -0
  462. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_registry_hub.cpp +2 -0
  463. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp +1 -0
  464. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_runner.cpp +1 -0
  465. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_testcase.cpp +1 -0
  466. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_message.cpp +2 -0
  467. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_option.cpp +2 -0
  468. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_ptr.cpp +2 -0
  469. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp +2 -0
  470. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_streambuf.cpp +2 -0
  471. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_tags.cpp +2 -0
  472. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp +2 -0
  473. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/TestMain.cpp +561 -0
  474. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/TrickyTests.cpp +382 -0
  475. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/VariadicMacrosTests.cpp +31 -0
  476. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/catch_self_test.cpp +31 -0
  477. data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/catch_self_test.hpp +177 -0
  478. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch.sln +20 -0
  479. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/ReadMe.txt +33 -0
  480. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.cpp +8 -0
  481. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj +398 -0
  482. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/UpgradeLog.XML +12 -0
  483. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport.css +207 -0
  484. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport.xslt +232 -0
  485. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport_Minus.gif +0 -0
  486. data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport_Plus.gif +0 -0
  487. data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch.sln +20 -0
  488. data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/ReadMe.txt +33 -0
  489. data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.cpp +8 -0
  490. data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.vcxproj +149 -0
  491. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/project.pbxproj +440 -0
  492. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  493. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist +81 -0
  494. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcschemes/Test.xcscheme +154 -0
  495. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
  496. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTestSingle/CatchSelfTestSingle.1 +79 -0
  497. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTestSingle/CatchSelfTestSingle.xcodeproj/project.pbxproj +246 -0
  498. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/CatchOCTestCase.h +25 -0
  499. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/CatchOCTestCase.mm +45 -0
  500. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/Main.mm +1 -0
  501. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.1 +79 -0
  502. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.mm +28 -0
  503. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.xcodeproj/project.pbxproj +259 -0
  504. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest_Prefix.pch +7 -0
  505. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/TestObj.h +25 -0
  506. data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/TestObj.m +18 -0
  507. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/project.pbxproj +667 -0
  508. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  509. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/xcuserdata/Phil.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
  510. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/CatchSelfTest.1 +79 -0
  511. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/catch_text.cpp +2 -0
  512. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.pbxproj +264 -0
  513. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  514. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle/dummy.txt +0 -0
  515. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest.xcodeproj/project.pbxproj +249 -0
  516. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  517. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/CatchOCTestCase.h +25 -0
  518. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/CatchOCTestCase.mm +82 -0
  519. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/Main.mm +2 -0
  520. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/OCTest.1 +79 -0
  521. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/OCTest.mm +28 -0
  522. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/TestObj.h +28 -0
  523. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/TestObj.m +25 -0
  524. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest.xcodeproj/project.pbxproj +299 -0
  525. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  526. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/OCTest.mm +27 -0
  527. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/TestObj.h +25 -0
  528. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/TestObj.m +18 -0
  529. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/en.lproj/InfoPlist.strings +2 -0
  530. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/iOSTest-Info.plist +47 -0
  531. data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/iOSTest-Prefix.pch +14 -0
  532. data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerAppDelegate.h +114 -0
  533. data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerMainView.h +189 -0
  534. data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerReporter.h +115 -0
  535. data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/itChRunnerMain.mm +27 -0
  536. data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/readme +6 -0
  537. data/ext/snowcrash/test/vendor/Catch/scripts/approvalTests.py +63 -0
  538. data/ext/snowcrash/test/vendor/Catch/scripts/approve.py +14 -0
  539. data/ext/snowcrash/test/vendor/Catch/scripts/generateSingleHeader.py +117 -0
  540. data/ext/snowcrash/test/vendor/Catch/scripts/scriptCommon.py +4 -0
  541. data/ext/snowcrash/test/vendor/Catch/single_include/catch.hpp +8046 -0
  542. data/ext/snowcrash/tools/README.md +27 -0
  543. data/ext/snowcrash/tools/gyp/LICENSE +27 -0
  544. data/ext/snowcrash/tools/gyp/gyptest.py +274 -0
  545. data/ext/snowcrash/tools/gyp/pylib/gyp/MSVSSettings_test.py +1483 -0
  546. data/ext/snowcrash/tools/gyp/pylib/gyp/__init__.pyc +0 -0
  547. data/ext/snowcrash/tools/gyp/pylib/gyp/common.pyc +0 -0
  548. data/ext/snowcrash/tools/gyp/pylib/gyp/common_test.py +72 -0
  549. data/ext/snowcrash/tools/gyp/pylib/gyp/easy_xml_test.py +103 -0
  550. data/ext/snowcrash/tools/gyp/pylib/gyp/generator/__init__.pyc +0 -0
  551. data/ext/snowcrash/tools/gyp/pylib/gyp/generator/make.pyc +0 -0
  552. data/ext/snowcrash/tools/gyp/pylib/gyp/generator/msvs_test.py +37 -0
  553. data/ext/snowcrash/tools/gyp/pylib/gyp/generator/ninja_test.py +44 -0
  554. data/ext/snowcrash/tools/gyp/pylib/gyp/generator/xcode.pyc +0 -0
  555. data/ext/snowcrash/tools/gyp/pylib/gyp/generator/xcode_test.py +23 -0
  556. data/ext/snowcrash/tools/gyp/pylib/gyp/input.pyc +0 -0
  557. data/ext/snowcrash/tools/gyp/pylib/gyp/input_test.py +90 -0
  558. data/ext/snowcrash/tools/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
  559. data/ext/snowcrash/tools/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
  560. data/ext/snowcrash/tools/gyp/tools/README +15 -0
  561. data/ext/snowcrash/tools/gyp/tools/Xcode/README +5 -0
  562. data/ext/snowcrash/tools/gyp/tools/emacs/README +12 -0
  563. data/ext/snowcrash/tools/gyp/tools/emacs/gyp-tests.el +63 -0
  564. data/ext/snowcrash/tools/gyp/tools/emacs/run-unit-tests.sh +7 -0
  565. data/ext/snowcrash/tools/gyp/tools/emacs/testdata/media.gyp +1105 -0
  566. data/ext/snowcrash/tools/gyp/tools/emacs/testdata/media.gyp.fontified +1107 -0
  567. data/lib/redsnow.rb +2 -2
  568. data/lib/redsnow/blueprint.rb +2 -1
  569. data/lib/redsnow/version.rb +1 -1
  570. data/pkg/redsnow-0.1.3.gem +0 -0
  571. data/pkg/redsnow-0.1.4.gem +0 -0
  572. data/pkg/redsnow-0.1.5.gem +0 -0
  573. data/pkg/redsnow-0.1.6.gem +0 -0
  574. data/pkg/redsnow-0.2.0.gem +0 -0
  575. data/pkg/redsnow-0.2.1.gem +0 -0
  576. data/pkg/redsnow-0.3.1.gem +0 -0
  577. data/redsnow.gemspec +2 -1
  578. data/test/redsnow_binding_test.rb +1 -1
  579. data/test/redsnow_options_test.rb +4 -4
  580. metadata +540 -6
  581. data/.gitignore +0 -34
  582. data/.gitmodules +0 -3
  583. data/.travis.yml +0 -21
@@ -0,0 +1,7 @@
1
+ # Snow Crash Test Suite
2
+
3
+ https://github.com/philsquared/Catch/wiki
4
+
5
+ ---
6
+
7
+ TODO:
@@ -0,0 +1,174 @@
1
+ FORMAT: X-1A
2
+ HOST: https://alpha-api.app.net
3
+
4
+ # Real World API
5
+ This API Blueprint demonstrates a real world example documenting a portion of [App.net API](http://developers.app.net).
6
+
7
+ NOTE: This document is a **work in progress**.
8
+
9
+ # Group Posts
10
+ This section groups App.net post resources.
11
+
12
+ ## Post [/stream/0/posts/{post_id}]
13
+ A Post is the other central object utilized by the App.net Stream API. It has rich text and annotations which comprise all of the content a users sees in their feed. Posts are closely tied to the follow graph...
14
+
15
+ + Parameters
16
+ + post_id (string, `1`) ... The id of the Post.
17
+
18
+ + Model (application/json)
19
+
20
+ ```js
21
+ {
22
+ "data": {
23
+ "id": "1", // note this is a string
24
+ "user": {
25
+ ...
26
+ },
27
+ "created_at": "2012-07-16T17:25:47Z",
28
+ "text": "@berg FIRST post on this new site #newsocialnetwork",
29
+ "html": "<span itemprop=\"mention\" data-mention-name=\"berg\" data-mention-id=\"2\">@berg</span> FIRST post on <a href=\"https://join.app.net\" rel=\"nofollow\">this new site</a> <span itemprop=\"hashtag\" data-hashtag-name=\"newsocialnetwork\">#newsocialnetwork</span>.",
30
+ "source": {
31
+ "client_id": "udxGzAVBdXwGtkHmvswR5MbMEeVnq6n4",
32
+ "name": "Clientastic for iOS",
33
+ "link": "http://app.net"
34
+ },
35
+ "machine_only": false,
36
+ "reply_to": null,
37
+ "thread_id": "1",
38
+ "num_replies": 3,
39
+ "num_reposts": 0,
40
+ "num_stars": 0,
41
+ "entities": {
42
+ "mentions": [{
43
+ "name": "berg",
44
+ "id": "2",
45
+ "pos": 0,
46
+ "len": 5
47
+ }],
48
+ "hashtags": [{
49
+ "name": "newsocialnetwork",
50
+ "pos": 34,
51
+ "len": 17
52
+ }],
53
+ "links": [{
54
+ "text": "this new site",
55
+ "url": "https://join.app.net"
56
+ "pos": 20,
57
+ "len": 13
58
+ }]
59
+ },
60
+ "you_reposted": false,
61
+ "you_starred": false
62
+ },
63
+ "meta": {
64
+ "code": 200,
65
+ }
66
+ }
67
+ ```
68
+
69
+ ### Retrieve a Post [GET]
70
+ Returns a specific Post.
71
+
72
+ + Response 200
73
+
74
+ [Post][]
75
+
76
+ ### Delete a Post [DELETE]
77
+ Delete a Post. The current user must be the same user who created the Post. It returns the deleted Post on success.
78
+
79
+ + Response 204
80
+
81
+ ## Posts Collection [/stream/0/posts]
82
+ A Collection of posts.
83
+
84
+ + Model (application/json)
85
+
86
+ ```js
87
+ {
88
+ ["data": {
89
+ "id": "1", // note this is a string
90
+ "user": {
91
+ ...
92
+ },
93
+ "created_at": "2012-07-16T17:25:47Z",
94
+ "text": "@berg FIRST post on this new site #newsocialnetwork",
95
+ "html": "<span itemprop=\"mention\" data-mention-name=\"berg\" data-mention-id=\"2\">@berg</span> FIRST post on <a href=\"https://join.app.net\" rel=\"nofollow\">this new site</a> <span itemprop=\"hashtag\" data-hashtag-name=\"newsocialnetwork\">#newsocialnetwork</span>.",
96
+ "source": {
97
+ "client_id": "udxGzAVBdXwGtkHmvswR5MbMEeVnq6n4",
98
+ "name": "Clientastic for iOS",
99
+ "link": "http://app.net"
100
+ },
101
+ "machine_only": false,
102
+ "reply_to": null,
103
+ "thread_id": "1",
104
+ "num_replies": 3,
105
+ "num_reposts": 0,
106
+ "num_stars": 0,
107
+ "entities": {
108
+ "mentions": [{
109
+ "name": "berg",
110
+ "id": "2",
111
+ "pos": 0,
112
+ "len": 5
113
+ }],
114
+ "hashtags": [{
115
+ "name": "newsocialnetwork",
116
+ "pos": 34,
117
+ "len": 17
118
+ }],
119
+ "links": [{
120
+ "text": "this new site",
121
+ "url": "https://join.app.net"
122
+ "pos": 20,
123
+ "len": 13
124
+ }]
125
+ },
126
+ "you_reposted": false,
127
+ "you_starred": false
128
+ },
129
+ "meta": {
130
+ "code": 200,
131
+ }],
132
+ ...
133
+ }
134
+ ```
135
+
136
+ ### Create a Post [POST]
137
+ Create a new Post object. Mentions and hashtags will be parsed out of the post text, as will bare URLs...
138
+
139
+ + Request
140
+
141
+ [Post][]
142
+
143
+ + Response 201
144
+
145
+ [Post][]
146
+
147
+ ### Retrieve all Posts [GET]
148
+ Retrieves all posts.
149
+
150
+ + Response 200
151
+
152
+ [Posts Collection][]
153
+
154
+ ## Stars [/stream/0/posts/{post_id}/star]
155
+ A User’s stars are visible to others, but they are not automatically added to your followers’ streams.
156
+
157
+ + Parameters
158
+ + post_id (string, `1`) ... The id of the Post.
159
+
160
+ ### Star a Post [POST]
161
+ Save a given Post to the current User’s stars. This is just a “save” action, not a sharing action.
162
+
163
+ *Note: A repost cannot be starred. Please star the parent Post.*
164
+
165
+ + Response 200
166
+
167
+ [Post][]
168
+
169
+ ### Unstar a Post [DELETE]
170
+ Remove a Star from a Post.
171
+
172
+ + Response 200
173
+
174
+ [Post][]
@@ -0,0 +1,2455 @@
1
+ FORMAT: 1A
2
+
3
+ # ZSM Fake API
4
+
5
+
6
+
7
+ ## DashBoard Blueprint
8
+ + For Examples click [here] (https://github.com/apiaryio/api-blueprint/tree/master/examples)
9
+
10
+
11
+
12
+ # GET /stats/signups
13
+ + Response 200 (application/json)
14
+ {
15
+ "code": "0",
16
+ "message": "success",
17
+ "data": {
18
+ "rows": [
19
+ {
20
+ "x": {
21
+ "v": "2014-01-01",
22
+ "f": "01 Jan 2014"
23
+ },
24
+ "y": [
25
+ {
26
+ "v": 914,
27
+ "f": "914"
28
+ },
29
+ {
30
+ "v": 914,
31
+ "f": "914"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "x": {
37
+ "v": "2014-01-02",
38
+ "f": "02 Jan 2014"
39
+ },
40
+ "y": [
41
+ {
42
+ "v": 1043,
43
+ "f": "1,043"
44
+ },
45
+ {
46
+ "v": 914,
47
+ "f": "914"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "x": {
53
+ "v": "2014-01-03",
54
+ "f": "03 Jan 2014"
55
+ },
56
+ "y": [
57
+ {
58
+ "v": 564,
59
+ "f": "564"
60
+ },
61
+ {
62
+ "v": 914,
63
+ "f": "914"
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "x": {
69
+ "v": "2014-01-04",
70
+ "f": "04 Jan 2014"
71
+ },
72
+ "y": [
73
+ {
74
+ "v": 542,
75
+ "f": "542"
76
+ },
77
+ {
78
+ "v": 914,
79
+ "f": "914"
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "x": {
85
+ "v": "2014-01-05",
86
+ "f": "05 Jan 2014"
87
+ },
88
+ "y": [
89
+ {
90
+ "v": 292,
91
+ "f": "292"
92
+ },
93
+ {
94
+ "v": 914,
95
+ "f": "914"
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "x": {
101
+ "v": "2014-01-06",
102
+ "f": "06 Jan 2014"
103
+ },
104
+ "y": [
105
+ {
106
+ "v": 753,
107
+ "f": "753"
108
+ },
109
+ {
110
+ "v": 914,
111
+ "f": "914"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "x": {
117
+ "v": "2014-01-07",
118
+ "f": "07 Jan 2014"
119
+ },
120
+ "y": [
121
+ {
122
+ "v": 498,
123
+ "f": "498"
124
+ },
125
+ {
126
+ "v": 914,
127
+ "f": "914"
128
+ }
129
+ ]
130
+ },
131
+ {
132
+ "x": {
133
+ "v": "2014-01-08",
134
+ "f": "08 Jan 2014"
135
+ },
136
+ "y": [
137
+ {
138
+ "v": 957,
139
+ "f": "957"
140
+ },
141
+ {
142
+ "v": 914,
143
+ "f": "914"
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "x": {
149
+ "v": "2014-01-09",
150
+ "f": "09 Jan 2014"
151
+ },
152
+ "y": [
153
+ {
154
+ "v": 1070,
155
+ "f": "1,070"
156
+ },
157
+ {
158
+ "v": 914,
159
+ "f": "914"
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "x": {
165
+ "v": "2014-01-10",
166
+ "f": "10 Jan 2014"
167
+ },
168
+ "y": [
169
+ {
170
+ "v": 453,
171
+ "f": "453"
172
+ },
173
+ {
174
+ "v": 914,
175
+ "f": "914"
176
+ }
177
+ ]
178
+ },
179
+ {
180
+ "x": {
181
+ "v": "2014-01-11",
182
+ "f": "11 Jan 2014"
183
+ },
184
+ "y": [
185
+ {
186
+ "v": 403,
187
+ "f": "403"
188
+ },
189
+ {
190
+ "v": 914,
191
+ "f": "914"
192
+ }
193
+ ]
194
+ },
195
+ {
196
+ "x": {
197
+ "v": "2014-01-12",
198
+ "f": "12 Jan 2014"
199
+ },
200
+ "y": [
201
+ {
202
+ "v": 214,
203
+ "f": "214"
204
+ },
205
+ {
206
+ "v": 914,
207
+ "f": "914"
208
+ }
209
+ ]
210
+ },
211
+ {
212
+ "x": {
213
+ "v": "2014-01-13",
214
+ "f": "13 Jan 2014"
215
+ },
216
+ "y": [
217
+ {
218
+ "v": 306,
219
+ "f": "306"
220
+ },
221
+ {
222
+ "v": 914,
223
+ "f": "914"
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "x": {
229
+ "v": "2014-01-14",
230
+ "f": "14 Jan 2014"
231
+ },
232
+ "y": [
233
+ {
234
+ "v": 753,
235
+ "f": "753"
236
+ },
237
+ {
238
+ "v": 914,
239
+ "f": "914"
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ "x": {
245
+ "v": "2014-01-15",
246
+ "f": "15 Jan 2014"
247
+ },
248
+ "y": [
249
+ {
250
+ "v": 761,
251
+ "f": "761"
252
+ },
253
+ {
254
+ "v": 914,
255
+ "f": "914"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "x": {
261
+ "v": "2014-01-16",
262
+ "f": "16 Jan 2014"
263
+ },
264
+ "y": [
265
+ {
266
+ "v": 253,
267
+ "f": "253"
268
+ },
269
+ {
270
+ "v": 914,
271
+ "f": "914"
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ "x": {
277
+ "v": "2014-01-17",
278
+ "f": "17 Jan 2014"
279
+ },
280
+ "y": [
281
+ {
282
+ "v": 308,
283
+ "f": "308"
284
+ },
285
+ {
286
+ "v": 914,
287
+ "f": "914"
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "x": {
293
+ "v": "2014-01-18",
294
+ "f": "18 Jan 2014"
295
+ },
296
+ "y": [
297
+ {
298
+ "v": 620,
299
+ "f": "620"
300
+ },
301
+ {
302
+ "v": 914,
303
+ "f": "914"
304
+ }
305
+ ]
306
+ },
307
+ {
308
+ "x": {
309
+ "v": "2014-01-19",
310
+ "f": "19 Jan 2014"
311
+ },
312
+ "y": [
313
+ {
314
+ "v": 869,
315
+ "f": "869"
316
+ },
317
+ {
318
+ "v": 914,
319
+ "f": "914"
320
+ }
321
+ ]
322
+ },
323
+ {
324
+ "x": {
325
+ "v": "2014-01-20",
326
+ "f": "20 Jan 2014"
327
+ },
328
+ "y": [
329
+ {
330
+ "v": 761,
331
+ "f": "761"
332
+ },
333
+ {
334
+ "v": 914,
335
+ "f": "914"
336
+ }
337
+ ]
338
+ },
339
+ {
340
+ "x": {
341
+ "v": "2014-01-21",
342
+ "f": "21 Jan 2014"
343
+ },
344
+ "y": [
345
+ {
346
+ "v": 554,
347
+ "f": "554"
348
+ },
349
+ {
350
+ "v": 914,
351
+ "f": "914"
352
+ }
353
+ ]
354
+ },
355
+ {
356
+ "x": {
357
+ "v": "2014-01-22",
358
+ "f": "22 Jan 2014"
359
+ },
360
+ "y": [
361
+ {
362
+ "v": 959,
363
+ "f": "959"
364
+ },
365
+ {
366
+ "v": 914,
367
+ "f": "914"
368
+ }
369
+ ]
370
+ },
371
+ {
372
+ "x": {
373
+ "v": "2014-01-23",
374
+ "f": "23 Jan 2014"
375
+ },
376
+ "y": [
377
+ {
378
+ "v": 498,
379
+ "f": "498"
380
+ },
381
+ {
382
+ "v": 914,
383
+ "f": "914"
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ "x": {
389
+ "v": "2014-01-24",
390
+ "f": "24 Jan 2014"
391
+ },
392
+ "y": [
393
+ {
394
+ "v": 460,
395
+ "f": "460"
396
+ },
397
+ {
398
+ "v": 914,
399
+ "f": "914"
400
+ }
401
+ ]
402
+ },
403
+ {
404
+ "x": {
405
+ "v": "2014-01-25",
406
+ "f": "25 Jan 2014"
407
+ },
408
+ "y": [
409
+ {
410
+ "v": 977,
411
+ "f": "977"
412
+ },
413
+ {
414
+ "v": 914,
415
+ "f": "914"
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "x": {
421
+ "v": "2014-01-26",
422
+ "f": "26 Jan 2014"
423
+ },
424
+ "y": [
425
+ {
426
+ "v": 570,
427
+ "f": "570"
428
+ },
429
+ {
430
+ "v": 914,
431
+ "f": "914"
432
+ }
433
+ ]
434
+ },
435
+ {
436
+ "x": {
437
+ "v": "2014-01-27",
438
+ "f": "27 Jan 2014"
439
+ },
440
+ "y": [
441
+ {
442
+ "v": 983,
443
+ "f": "983"
444
+ },
445
+ {
446
+ "v": 914,
447
+ "f": "914"
448
+ }
449
+ ]
450
+ },
451
+ {
452
+ "x": {
453
+ "v": "2014-01-28",
454
+ "f": "28 Jan 2014"
455
+ },
456
+ "y": [
457
+ {
458
+ "v": 578,
459
+ "f": "578"
460
+ },
461
+ {
462
+ "v": 914,
463
+ "f": "914"
464
+ }
465
+ ]
466
+ },
467
+ {
468
+ "x": {
469
+ "v": "2014-01-29",
470
+ "f": "29 Jan 2014"
471
+ },
472
+ "y": [
473
+ {
474
+ "v": 394,
475
+ "f": "394"
476
+ },
477
+ {
478
+ "v": 914,
479
+ "f": "914"
480
+ }
481
+ ]
482
+ },
483
+ {
484
+ "x": {
485
+ "v": "2014-01-30",
486
+ "f": "30 Jan 2014"
487
+ },
488
+ "y": [
489
+ {
490
+ "v": 1056,
491
+ "f": "1,056"
492
+ },
493
+ {
494
+ "v": 914,
495
+ "f": "914"
496
+ }
497
+ ]
498
+ },
499
+ {
500
+ "x": {
501
+ "v": "2014-01-31",
502
+ "f": "31 Jan 2014"
503
+ },
504
+ "y": [
505
+ {
506
+ "v": 1046,
507
+ "f": "1,046"
508
+ },
509
+ {
510
+ "v": 914,
511
+ "f": "914"
512
+ }
513
+ ]
514
+ }
515
+ ],
516
+ "cols": {
517
+ "x": {
518
+ "label": "January 2014"
519
+ },
520
+ "y": [
521
+ {
522
+ "label": "Signups"
523
+ },
524
+ {
525
+ "label": "monthly"
526
+ }
527
+ ],
528
+ "total_count": [
529
+ "2,028"
530
+ ]
531
+ }
532
+ }
533
+ }
534
+
535
+
536
+ # GET /stats/activations
537
+ + Response 200 (application/json)
538
+ {
539
+ "code": 0,
540
+ "message": "success",
541
+ "data": {
542
+ "rows": [
543
+ {
544
+ "x": {
545
+ "v": "2014-01-01",
546
+ "f": "01 Jan 2014"
547
+ },
548
+ "y": [
549
+ {
550
+ "v": 20,
551
+ "f": "20"
552
+ }
553
+ ]
554
+ },
555
+ {
556
+ "x": {
557
+ "v": "2014-01-02",
558
+ "f": "02 Jan 2014"
559
+ },
560
+ "y": [
561
+ {
562
+ "v": 21,
563
+ "f": "21"
564
+ }
565
+ ]
566
+ },
567
+ {
568
+ "x": {
569
+ "v": "2014-01-03",
570
+ "f": "03 Jan 2014"
571
+ },
572
+ "y": [
573
+ {
574
+ "v": 13,
575
+ "f": "13"
576
+ }
577
+ ]
578
+ },
579
+ {
580
+ "x": {
581
+ "v": "2014-01-04",
582
+ "f": "04 Jan 2014"
583
+ },
584
+ "y": [
585
+ {
586
+ "v": 40,
587
+ "f": "40"
588
+ }
589
+ ]
590
+ },
591
+ {
592
+ "x": {
593
+ "v": "2014-01-05",
594
+ "f": "05 Jan 2014"
595
+ },
596
+ "y": [
597
+ {
598
+ "v": 35,
599
+ "f": "35"
600
+ }
601
+ ]
602
+ },
603
+ {
604
+ "x": {
605
+ "v": "2014-01-06",
606
+ "f": "06 Jan 2014"
607
+ },
608
+ "y": [
609
+ {
610
+ "v": 35,
611
+ "f": "35"
612
+ }
613
+ ]
614
+ },
615
+ {
616
+ "x": {
617
+ "v": "2014-01-07",
618
+ "f": "07 Jan 2014"
619
+ },
620
+ "y": [
621
+ {
622
+ "v": 35,
623
+ "f": "35"
624
+ }
625
+ ]
626
+ },
627
+ {
628
+ "x": {
629
+ "v": "2014-01-08",
630
+ "f": "08 Jan 2014"
631
+ },
632
+ "y": [
633
+ {
634
+ "v": 35,
635
+ "f": "35"
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "x": {
641
+ "v": "2014-01-09",
642
+ "f": "09 Jan 2014"
643
+ },
644
+ "y": [
645
+ {
646
+ "v": 35,
647
+ "f": "35"
648
+ }
649
+ ]
650
+ },
651
+ {
652
+ "x": {
653
+ "v": "2014-01-10",
654
+ "f": "10 Jan 2014"
655
+ },
656
+ "y": [
657
+ {
658
+ "v": 24,
659
+ "f": "24"
660
+ }
661
+ ]
662
+ },
663
+ {
664
+ "x": {
665
+ "v": "2014-01-11",
666
+ "f": "11 Jan 2014"
667
+ },
668
+ "y": [
669
+ {
670
+ "v": 40,
671
+ "f": "40"
672
+ }
673
+ ]
674
+ },
675
+ {
676
+ "x": {
677
+ "v": "2014-01-12",
678
+ "f": "12 Jan 2014"
679
+ },
680
+ "y": [
681
+ {
682
+ "v": 41,
683
+ "f": "41"
684
+ }
685
+ ]
686
+ },
687
+ {
688
+ "x": {
689
+ "v": "2014-01-13",
690
+ "f": "13 Jan 2014"
691
+ },
692
+ "y": [
693
+ {
694
+ "v": 20,
695
+ "f": "20"
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "x": {
701
+ "v": "2014-01-14",
702
+ "f": "14 Jan 2014"
703
+ },
704
+ "y": [
705
+ {
706
+ "v": 42,
707
+ "f": "42"
708
+ }
709
+ ]
710
+ },
711
+ {
712
+ "x": {
713
+ "v": "2014-01-15",
714
+ "f": "15 Jan 2014"
715
+ },
716
+ "y": [
717
+ {
718
+ "v": 43,
719
+ "f": "43"
720
+ }
721
+ ]
722
+ },
723
+ {
724
+ "x": {
725
+ "v": "2014-01-16",
726
+ "f": "16 Jan 2014"
727
+ },
728
+ "y": [
729
+ {
730
+ "v": 44,
731
+ "f": "44"
732
+ }
733
+ ]
734
+ },
735
+ {
736
+ "x": {
737
+ "v": "2014-01-17",
738
+ "f": "17 Jan 2014"
739
+ },
740
+ "y": [
741
+ {
742
+ "v": 43,
743
+ "f": "43"
744
+ }
745
+ ]
746
+ },
747
+ {
748
+ "x": {
749
+ "v": "2014-01-18",
750
+ "f": "18 Jan 2014"
751
+ },
752
+ "y": [
753
+ {
754
+ "v": 45,
755
+ "f": "45"
756
+ }
757
+ ]
758
+ },
759
+ {
760
+ "x": {
761
+ "v": "2014-01-19",
762
+ "f": "19 Jan 2014"
763
+ },
764
+ "y": [
765
+ {
766
+ "v": 45,
767
+ "f": "45"
768
+ }
769
+ ]
770
+ },
771
+ {
772
+ "x": {
773
+ "v": "2014-01-20",
774
+ "f": "20 Jan 2014"
775
+ },
776
+ "y": [
777
+ {
778
+ "v": 45,
779
+ "f": "45"
780
+ }
781
+ ]
782
+ },
783
+ {
784
+ "x": {
785
+ "v": "2014-01-21",
786
+ "f": "21 Jan 2014"
787
+ },
788
+ "y": [
789
+ {
790
+ "v": 45,
791
+ "f": "45"
792
+ }
793
+ ]
794
+ },
795
+ {
796
+ "x": {
797
+ "v": "2014-01-22",
798
+ "f": "22 Jan 2014"
799
+ },
800
+ "y": [
801
+ {
802
+ "v": 45,
803
+ "f": "45"
804
+ }
805
+ ]
806
+ },
807
+ {
808
+ "x": {
809
+ "v": "2014-01-23",
810
+ "f": "23 Jan 2014"
811
+ },
812
+ "y": [
813
+ {
814
+ "v": 45,
815
+ "f": "45"
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "x": {
821
+ "v": "2014-01-24",
822
+ "f": "24 Jan 2014"
823
+ },
824
+ "y": [
825
+ {
826
+ "v": 44,
827
+ "f": "44"
828
+ }
829
+ ]
830
+ },
831
+ {
832
+ "x": {
833
+ "v": "2014-01-25",
834
+ "f": "25 Jan 2014"
835
+ },
836
+ "y": [
837
+ {
838
+ "v": 47,
839
+ "f": "47"
840
+ }
841
+ ]
842
+ },
843
+ {
844
+ "x": {
845
+ "v": "2014-01-26",
846
+ "f": "26 Jan 2014"
847
+ },
848
+ "y": [
849
+ {
850
+ "v": 100,
851
+ "f": "100"
852
+ }
853
+ ]
854
+ }
855
+ ],
856
+ "cols": {
857
+ "x": {
858
+ "label": "January 2014"
859
+ },
860
+ "y": [
861
+ {
862
+ "label": "New Customers"
863
+ }
864
+ ]
865
+ },
866
+ "total_count": [
867
+ "23,432"
868
+ ]
869
+ }
870
+ }
871
+
872
+
873
+ # GET /stats/upgrades
874
+ + Response 200 (application/json)
875
+ {
876
+ "code": "0",
877
+ "message": "success",
878
+ "data": {
879
+ "rows": [
880
+ {
881
+ "x": {
882
+ "v": "2014-01-01",
883
+ "f": "01 Jan 2014"
884
+ },
885
+ "y": [
886
+ {
887
+ "v": 1000,
888
+ "f": "1,000"
889
+ }
890
+ ]
891
+ },
892
+ {
893
+ "x": {
894
+ "v": "2014-01-02",
895
+ "f": "02 Jan 2014"
896
+ },
897
+ "y": [
898
+ {
899
+ "v": 990,
900
+ "f": "990"
901
+ }
902
+ ]
903
+ },
904
+ {
905
+ "x": {
906
+ "v": "2014-01-03",
907
+ "f": "03 Jan 2014"
908
+ },
909
+ "y": [
910
+ {
911
+ "v": 519,
912
+ "f": "519"
913
+ }
914
+ ]
915
+ },
916
+ {
917
+ "x": {
918
+ "v": "2014-01-04",
919
+ "f": "04 Jan 2014"
920
+ },
921
+ "y": [
922
+ {
923
+ "v": 701,
924
+ "f": "701"
925
+ }
926
+ ]
927
+ },
928
+ {
929
+ "x": {
930
+ "v": "2014-01-05",
931
+ "f": "05 Jan 2014"
932
+ },
933
+ "y": [
934
+ {
935
+ "v": 1129,
936
+ "f": "1,129"
937
+ }
938
+ ]
939
+ },
940
+ {
941
+ "x": {
942
+ "v": "2014-01-06",
943
+ "f": "06 Jan 2014"
944
+ },
945
+ "y": [
946
+ {
947
+ "v": 1346,
948
+ "f": "1,346"
949
+ }
950
+ ]
951
+ },
952
+ {
953
+ "x": {
954
+ "v": "2014-01-07",
955
+ "f": "07 Jan 2014"
956
+ },
957
+ "y": [
958
+ {
959
+ "v": 1543,
960
+ "f": "1,543"
961
+ }
962
+ ]
963
+ },
964
+ {
965
+ "x": {
966
+ "v": "2014-01-08",
967
+ "f": "08 Jan 2014"
968
+ },
969
+ "y": [
970
+ {
971
+ "v": 2000,
972
+ "f": "2,000"
973
+ }
974
+ ]
975
+ },
976
+ {
977
+ "x": {
978
+ "v": "2014-01-09",
979
+ "f": "09 Jan 2014"
980
+ },
981
+ "y": [
982
+ {
983
+ "v": 1983,
984
+ "f": "1,983"
985
+ }
986
+ ]
987
+ },
988
+ {
989
+ "x": {
990
+ "v": "2014-01-10",
991
+ "f": "10 Jan 2014"
992
+ },
993
+ "y": [
994
+ {
995
+ "v": 1654,
996
+ "f": "1,654"
997
+ }
998
+ ]
999
+ },
1000
+ {
1001
+ "x": {
1002
+ "v": "2014-01-11",
1003
+ "f": "11 Jan 2014"
1004
+ },
1005
+ "y": [
1006
+ {
1007
+ "v": 1298,
1008
+ "f": "1,298"
1009
+ }
1010
+ ]
1011
+ },
1012
+ {
1013
+ "x": {
1014
+ "v": "2014-01-12",
1015
+ "f": "12 Jan 2014"
1016
+ },
1017
+ "y": [
1018
+ {
1019
+ "v": 1099,
1020
+ "f": "1,099"
1021
+ }
1022
+ ]
1023
+ },
1024
+ {
1025
+ "x": {
1026
+ "v": "2014-01-13",
1027
+ "f": "13 Jan 2014"
1028
+ },
1029
+ "y": [
1030
+ {
1031
+ "v": 1821,
1032
+ "f": "1,821"
1033
+ }
1034
+ ]
1035
+ },
1036
+ {
1037
+ "x": {
1038
+ "v": "2014-01-14",
1039
+ "f": "14 Jan 2014"
1040
+ },
1041
+ "y": [
1042
+ {
1043
+ "v": 1431,
1044
+ "f": "1,431"
1045
+ }
1046
+ ]
1047
+ },
1048
+ {
1049
+ "x": {
1050
+ "v": "2014-01-15",
1051
+ "f": "15 Jan 2014"
1052
+ },
1053
+ "y": [
1054
+ {
1055
+ "v": 1982,
1056
+ "f": "1,982"
1057
+ }
1058
+ ]
1059
+ },
1060
+ {
1061
+ "x": {
1062
+ "v": "2014-01-16",
1063
+ "f": "16 Jan 2014"
1064
+ },
1065
+ "y": [
1066
+ {
1067
+ "v": 1882,
1068
+ "f": "1,882"
1069
+ }
1070
+ ]
1071
+ },
1072
+ {
1073
+ "x": {
1074
+ "v": "2014-01-17",
1075
+ "f": "17 Jan 2014"
1076
+ },
1077
+ "y": [
1078
+ {
1079
+ "v": 1345,
1080
+ "f": "1,345"
1081
+ }
1082
+ ]
1083
+ },
1084
+ {
1085
+ "x": {
1086
+ "v": "2014-01-18",
1087
+ "f": "18 Jan 2014"
1088
+ },
1089
+ "y": [
1090
+ {
1091
+ "v": 1034,
1092
+ "f": "1,034"
1093
+ }
1094
+ ]
1095
+ },
1096
+ {
1097
+ "x": {
1098
+ "v": "2014-01-19",
1099
+ "f": "19 Jan 2014"
1100
+ },
1101
+ "y": [
1102
+ {
1103
+ "v": 1000,
1104
+ "f": "1,000"
1105
+ }
1106
+ ]
1107
+ },
1108
+ {
1109
+ "x": {
1110
+ "v": "2014-01-20",
1111
+ "f": "20 Jan 2014"
1112
+ },
1113
+ "y": [
1114
+ {
1115
+ "v": 1367,
1116
+ "f": "1,367"
1117
+ }
1118
+ ]
1119
+ },
1120
+ {
1121
+ "x": {
1122
+ "v": "2014-01-21",
1123
+ "f": "21 Jan 2014"
1124
+ },
1125
+ "y": [
1126
+ {
1127
+ "v": 1762,
1128
+ "f": "1,762"
1129
+ }
1130
+ ]
1131
+ },
1132
+ {
1133
+ "x": {
1134
+ "v": "2014-01-22",
1135
+ "f": "22 Jan 2014"
1136
+ },
1137
+ "y": [
1138
+ {
1139
+ "v": 1231,
1140
+ "f": "1,231"
1141
+ }
1142
+ ]
1143
+ },
1144
+ {
1145
+ "x": {
1146
+ "v": "2014-01-23",
1147
+ "f": "23 Jan 2014"
1148
+ },
1149
+ "y": [
1150
+ {
1151
+ "v": 654,
1152
+ "f": "654"
1153
+ }
1154
+ ]
1155
+ },
1156
+ {
1157
+ "x": {
1158
+ "v": "2014-01-24",
1159
+ "f": "24 Jan 2014"
1160
+ },
1161
+ "y": [
1162
+ {
1163
+ "v": 543,
1164
+ "f": "543"
1165
+ }
1166
+ ]
1167
+ },
1168
+ {
1169
+ "x": {
1170
+ "v": "2014-01-25",
1171
+ "f": "25 Jan 2014"
1172
+ },
1173
+ "y": [
1174
+ {
1175
+ "v": 1567,
1176
+ "f": "1,567"
1177
+ }
1178
+ ]
1179
+ },
1180
+ {
1181
+ "x": {
1182
+ "v": "2014-01-26",
1183
+ "f": "26 Jan 2014"
1184
+ },
1185
+ "y": [
1186
+ {
1187
+ "v": 734,
1188
+ "f": "734"
1189
+ }
1190
+ ]
1191
+ },
1192
+ {
1193
+ "x": {
1194
+ "v": "2014-01-27",
1195
+ "f": "27 Jan 2014"
1196
+ },
1197
+ "y": [
1198
+ {
1199
+ "v": 1001,
1200
+ "f": "1,001"
1201
+ }
1202
+ ]
1203
+ },
1204
+ {
1205
+ "x": {
1206
+ "v": "2014-01-28",
1207
+ "f": "28 Jan 2014"
1208
+ },
1209
+ "y": [
1210
+ {
1211
+ "v": 301,
1212
+ "f": "301"
1213
+ }
1214
+ ]
1215
+ },
1216
+ {
1217
+ "x": {
1218
+ "v": "2014-01-29",
1219
+ "f": "29 Jan 2014"
1220
+ },
1221
+ "y": [
1222
+ {
1223
+ "v": 2312,
1224
+ "f": "2,312"
1225
+ }
1226
+ ]
1227
+ },
1228
+ {
1229
+ "x": {
1230
+ "v": "2014-01-30",
1231
+ "f": "30 Jan 2014"
1232
+ },
1233
+ "y": [
1234
+ {
1235
+ "v": 1322,
1236
+ "f": "1,322"
1237
+ }
1238
+ ]
1239
+ },
1240
+ {
1241
+ "x": {
1242
+ "v": "2014-01-31",
1243
+ "f": "31 Jan 2014"
1244
+ },
1245
+ "y": [
1246
+ {
1247
+ "v": 1233,
1248
+ "f": "1,233"
1249
+ }
1250
+ ]
1251
+ }
1252
+ ],
1253
+ "cols": {
1254
+ "x": {
1255
+ "label": "January 2014"
1256
+ },
1257
+ "y": [
1258
+ {
1259
+ "label": "Upgrades"
1260
+ }
1261
+ ]
1262
+ },
1263
+ "total_count": [
1264
+ "2,432"
1265
+ ]
1266
+ }
1267
+ }
1268
+
1269
+ # GET /stats/downgrades
1270
+ + Response 200 (application/json)
1271
+ {
1272
+ "code": "0",
1273
+ "message": "success",
1274
+ "data": {
1275
+ "rows": [
1276
+ {
1277
+ "x": {
1278
+ "v": "2014-01-01",
1279
+ "f": "01 Jan 2014"
1280
+ },
1281
+ "y": [
1282
+ {
1283
+ "v": 112,
1284
+ "f": "112"
1285
+ }
1286
+ ]
1287
+ },
1288
+ {
1289
+ "x": {
1290
+ "v": "2014-01-02",
1291
+ "f": "02 Jan 2014"
1292
+ },
1293
+ "y": [
1294
+ {
1295
+ "v": 145,
1296
+ "f": "145"
1297
+ }
1298
+ ]
1299
+ },
1300
+ {
1301
+ "x": {
1302
+ "v": "2014-01-03",
1303
+ "f": "03 Jan 2014"
1304
+ },
1305
+ "y": [
1306
+ {
1307
+ "v": 100,
1308
+ "f": "100"
1309
+ }
1310
+ ]
1311
+ },
1312
+ {
1313
+ "x": {
1314
+ "v": "2014-01-04",
1315
+ "f": "04 Jan 2014"
1316
+ },
1317
+ "y": [
1318
+ {
1319
+ "v": 45,
1320
+ "f": "45"
1321
+ }
1322
+ ]
1323
+ },
1324
+ {
1325
+ "x": {
1326
+ "v": "2014-01-05",
1327
+ "f": "05 Jan 2014"
1328
+ },
1329
+ "y": [
1330
+ {
1331
+ "v": 112,
1332
+ "f": "112"
1333
+ }
1334
+ ]
1335
+ },
1336
+ {
1337
+ "x": {
1338
+ "v": "2014-01-06",
1339
+ "f": "06 Jan 2014"
1340
+ },
1341
+ "y": [
1342
+ {
1343
+ "v": 10,
1344
+ "f": "10"
1345
+ }
1346
+ ]
1347
+ },
1348
+ {
1349
+ "x": {
1350
+ "v": "2014-01-07",
1351
+ "f": "07 Jan 2014"
1352
+ },
1353
+ "y": [
1354
+ {
1355
+ "v": 54,
1356
+ "f": "54"
1357
+ }
1358
+ ]
1359
+ },
1360
+ {
1361
+ "x": {
1362
+ "v": "2014-01-08",
1363
+ "f": "08 Jan 2014"
1364
+ },
1365
+ "y": [
1366
+ {
1367
+ "v": 167,
1368
+ "f": "167"
1369
+ }
1370
+ ]
1371
+ },
1372
+ {
1373
+ "x": {
1374
+ "v": "2014-01-09",
1375
+ "f": "09 Jan 2014"
1376
+ },
1377
+ "y": [
1378
+ {
1379
+ "v": 76,
1380
+ "f": "76"
1381
+ }
1382
+ ]
1383
+ },
1384
+ {
1385
+ "x": {
1386
+ "v": "2014-01-10",
1387
+ "f": "10 Jan 2014"
1388
+ },
1389
+ "y": [
1390
+ {
1391
+ "v": 11,
1392
+ "f": "11"
1393
+ }
1394
+ ]
1395
+ },
1396
+ {
1397
+ "x": {
1398
+ "v": "2014-01-11",
1399
+ "f": "11 Jan 2014"
1400
+ },
1401
+ "y": [
1402
+ {
1403
+ "v": 29,
1404
+ "f": "29"
1405
+ }
1406
+ ]
1407
+ },
1408
+ {
1409
+ "x": {
1410
+ "v": "2014-01-12",
1411
+ "f": "12 Jan 2014"
1412
+ },
1413
+ "y": [
1414
+ {
1415
+ "v": 89,
1416
+ "f": "89"
1417
+ }
1418
+ ]
1419
+ },
1420
+ {
1421
+ "x": {
1422
+ "v": "2014-01-13",
1423
+ "f": "13 Jan 2014"
1424
+ },
1425
+ "y": [
1426
+ {
1427
+ "v": 36,
1428
+ "f": "36"
1429
+ }
1430
+ ]
1431
+ },
1432
+ {
1433
+ "x": {
1434
+ "v": "2014-01-14",
1435
+ "f": "14 Jan 2014"
1436
+ },
1437
+ "y": [
1438
+ {
1439
+ "v": 78,
1440
+ "f": "78"
1441
+ }
1442
+ ]
1443
+ },
1444
+ {
1445
+ "x": {
1446
+ "v": "2014-01-15",
1447
+ "f": "15 Jan 2014"
1448
+ },
1449
+ "y": [
1450
+ {
1451
+ "v": 42,
1452
+ "f": "42"
1453
+ }
1454
+ ]
1455
+ },
1456
+ {
1457
+ "x": {
1458
+ "v": "2014-01-16",
1459
+ "f": "16 Jan 2014"
1460
+ },
1461
+ "y": [
1462
+ {
1463
+ "v": 67,
1464
+ "f": "67"
1465
+ }
1466
+ ]
1467
+ },
1468
+ {
1469
+ "x": {
1470
+ "v": "2014-01-17",
1471
+ "f": "17 Jan 2014"
1472
+ },
1473
+ "y": [
1474
+ {
1475
+ "v": 102,
1476
+ "f": "102"
1477
+ }
1478
+ ]
1479
+ },
1480
+ {
1481
+ "x": {
1482
+ "v": "2014-01-18",
1483
+ "f": "18 Jan 2014"
1484
+ },
1485
+ "y": [
1486
+ {
1487
+ "v": 39,
1488
+ "f": "39"
1489
+ }
1490
+ ]
1491
+ },
1492
+ {
1493
+ "x": {
1494
+ "v": "2014-01-19",
1495
+ "f": "19 Jan 2014"
1496
+ },
1497
+ "y": [
1498
+ {
1499
+ "v": 100,
1500
+ "f": "100"
1501
+ }
1502
+ ]
1503
+ },
1504
+ {
1505
+ "x": {
1506
+ "v": "2014-01-20",
1507
+ "f": "20 Jan 2014"
1508
+ },
1509
+ "y": [
1510
+ {
1511
+ "v": 16,
1512
+ "f": "16"
1513
+ }
1514
+ ]
1515
+ },
1516
+ {
1517
+ "x": {
1518
+ "v": "2014-01-21",
1519
+ "f": "21 Jan 2014"
1520
+ },
1521
+ "y": [
1522
+ {
1523
+ "v": 91,
1524
+ "f": "91"
1525
+ }
1526
+ ]
1527
+ },
1528
+ {
1529
+ "x": {
1530
+ "v": "2014-01-22",
1531
+ "f": "22 Jan 2014"
1532
+ },
1533
+ "y": [
1534
+ {
1535
+ "v": 100,
1536
+ "f": "100"
1537
+ }
1538
+ ]
1539
+ },
1540
+ {
1541
+ "x": {
1542
+ "v": "2014-01-23",
1543
+ "f": "23 Jan 2014"
1544
+ },
1545
+ "y": [
1546
+ {
1547
+ "v": 351,
1548
+ "f": "351"
1549
+ }
1550
+ ]
1551
+ },
1552
+ {
1553
+ "x": {
1554
+ "v": "2014-01-24",
1555
+ "f": "24 Jan 2014"
1556
+ },
1557
+ "y": [
1558
+ {
1559
+ "v": 190,
1560
+ "f": "190"
1561
+ }
1562
+ ]
1563
+ },
1564
+ {
1565
+ "x": {
1566
+ "v": "2014-01-25",
1567
+ "f": "25 Jan 2014"
1568
+ },
1569
+ "y": [
1570
+ {
1571
+ "v": 90,
1572
+ "f": "90"
1573
+ }
1574
+ ]
1575
+ },
1576
+ {
1577
+ "x": {
1578
+ "v": "2014-01-26",
1579
+ "f": "26 Jan 2014"
1580
+ },
1581
+ "y": [
1582
+ {
1583
+ "v": 45,
1584
+ "f": "45"
1585
+ }
1586
+ ]
1587
+ },
1588
+ {
1589
+ "x": {
1590
+ "v": "2014-01-27",
1591
+ "f": "27 Jan 2014"
1592
+ },
1593
+ "y": [
1594
+ {
1595
+ "v": 89,
1596
+ "f": "89"
1597
+ }
1598
+ ]
1599
+ },
1600
+ {
1601
+ "x": {
1602
+ "v": "2014-01-28",
1603
+ "f": "28 Jan 2014"
1604
+ },
1605
+ "y": [
1606
+ {
1607
+ "v": 27,
1608
+ "f": "27"
1609
+ }
1610
+ ]
1611
+ },
1612
+ {
1613
+ "x": {
1614
+ "v": "2014-01-29",
1615
+ "f": "29 Jan 2014"
1616
+ },
1617
+ "y": [
1618
+ {
1619
+ "v": 76,
1620
+ "f": "76"
1621
+ }
1622
+ ]
1623
+ },
1624
+ {
1625
+ "x": {
1626
+ "v": "2014-01-30",
1627
+ "f": "30 Jan 2014"
1628
+ },
1629
+ "y": [
1630
+ {
1631
+ "v": 40,
1632
+ "f": "40"
1633
+ }
1634
+ ]
1635
+ },
1636
+ {
1637
+ "x": {
1638
+ "v": "2014-01-31",
1639
+ "f": "31 Jan 2014"
1640
+ },
1641
+ "y": [
1642
+ {
1643
+ "v": 109,
1644
+ "f": "109"
1645
+ }
1646
+ ]
1647
+ }
1648
+ ],
1649
+ "cols": {
1650
+ "x": {
1651
+ "label": "January 2014"
1652
+ },
1653
+ "y": [
1654
+ {
1655
+ "label": "Downgrades"
1656
+ }
1657
+ ]
1658
+ },
1659
+ "total_count": [
1660
+ "1,432"
1661
+ ]
1662
+ }
1663
+ }
1664
+
1665
+ # GET /stats/customers
1666
+ + Response 200 (application/json)
1667
+ {
1668
+ "code": "0",
1669
+ "message": "success",
1670
+ "data": {
1671
+ "rows": [
1672
+ {
1673
+ "x": {
1674
+ "v": "2014-01-01",
1675
+ "f": "01 Jan 2014"
1676
+ },
1677
+ "y": [
1678
+ {
1679
+ "v": 1890,
1680
+ "f": "3,299"
1681
+ }
1682
+ ]
1683
+ },
1684
+ {
1685
+ "x": {
1686
+ "v": "2014-01-02",
1687
+ "f": "02 Jan 2014"
1688
+ },
1689
+ "y": [
1690
+ {
1691
+ "v": 1899,
1692
+ "f": "4,532"
1693
+ }
1694
+ ]
1695
+ },
1696
+ {
1697
+ "x": {
1698
+ "v": "2014-01-03",
1699
+ "f": "03 Jan 2014"
1700
+ },
1701
+ "y": [
1702
+ {
1703
+ "v": 1876,
1704
+ "f": "4,002"
1705
+ }
1706
+ ]
1707
+ },
1708
+ {
1709
+ "x": {
1710
+ "v": "2014-01-04",
1711
+ "f": "04 Jan 2014"
1712
+ },
1713
+ "y": [
1714
+ {
1715
+ "v": 1897,
1716
+ "f": "3,067"
1717
+ }
1718
+ ]
1719
+ },
1720
+ {
1721
+ "x": {
1722
+ "v": "2014-01-05",
1723
+ "f": "05 Jan 2014"
1724
+ },
1725
+ "y": [
1726
+ {
1727
+ "v": 1910,
1728
+ "f": "3,564"
1729
+ }
1730
+ ]
1731
+ },
1732
+ {
1733
+ "x": {
1734
+ "v": "2014-01-06",
1735
+ "f": "06 Jan 2014"
1736
+ },
1737
+ "y": [
1738
+ {
1739
+ "v": 1912,
1740
+ "f": "2,134"
1741
+ }
1742
+ ]
1743
+ },
1744
+ {
1745
+ "x": {
1746
+ "v": "2014-01-07",
1747
+ "f": "07 Jan 2014"
1748
+ },
1749
+ "y": [
1750
+ {
1751
+ "v": 1930,
1752
+ "f": "3,991"
1753
+ }
1754
+ ]
1755
+ },
1756
+ {
1757
+ "x": {
1758
+ "v": "2014-01-08",
1759
+ "f": "08 Jan 2014"
1760
+ },
1761
+ "y": [
1762
+ {
1763
+ "v": 1940,
1764
+ "f": "3,982"
1765
+ }
1766
+ ]
1767
+ },
1768
+ {
1769
+ "x": {
1770
+ "v": "2014-01-09",
1771
+ "f": "09 Jan 2014"
1772
+ },
1773
+ "y": [
1774
+ {
1775
+ "v": 1934,
1776
+ "f": "4,212"
1777
+ }
1778
+ ]
1779
+ },
1780
+ {
1781
+ "x": {
1782
+ "v": "2014-01-10",
1783
+ "f": "10 Jan 2014"
1784
+ },
1785
+ "y": [
1786
+ {
1787
+ "v": 1945,
1788
+ "f": "3,898"
1789
+ }
1790
+ ]
1791
+ },
1792
+ {
1793
+ "x": {
1794
+ "v": "2014-01-11",
1795
+ "f": "11 Jan 2014"
1796
+ },
1797
+ "y": [
1798
+ {
1799
+ "v": 1953,
1800
+ "f": "4,532"
1801
+ }
1802
+ ]
1803
+ },
1804
+ {
1805
+ "x": {
1806
+ "v": "2014-01-12",
1807
+ "f": "12 Jan 2014"
1808
+ },
1809
+ "y": [
1810
+ {
1811
+ "v": 1946,
1812
+ "f": "2,989"
1813
+ }
1814
+ ]
1815
+ },
1816
+ {
1817
+ "x": {
1818
+ "v": "2014-01-13",
1819
+ "f": "13 Jan 2014"
1820
+ },
1821
+ "y": [
1822
+ {
1823
+ "v": 1956,
1824
+ "f": "4,567"
1825
+ }
1826
+ ]
1827
+ },
1828
+ {
1829
+ "x": {
1830
+ "v": "2014-01-14",
1831
+ "f": "14 Jan 2014"
1832
+ },
1833
+ "y": [
1834
+ {
1835
+ "v": 1958,
1836
+ "f": "3,657"
1837
+ }
1838
+ ]
1839
+ },
1840
+ {
1841
+ "x": {
1842
+ "v": "2014-01-15",
1843
+ "f": "15 Jan 2014"
1844
+ },
1845
+ "y": [
1846
+ {
1847
+ "v": 1960,
1848
+ "f": "2,345"
1849
+ }
1850
+ ]
1851
+ },
1852
+ {
1853
+ "x": {
1854
+ "v": "2014-01-16",
1855
+ "f": "16 Jan 2014"
1856
+ },
1857
+ "y": [
1858
+ {
1859
+ "v": 1965,
1860
+ "f": "3,567"
1861
+ }
1862
+ ]
1863
+ },
1864
+ {
1865
+ "x": {
1866
+ "v": "2014-01-17",
1867
+ "f": "17 Jan 2014"
1868
+ },
1869
+ "y": [
1870
+ {
1871
+ "v": 1966,
1872
+ "f": "3,454"
1873
+ }
1874
+ ]
1875
+ },
1876
+ {
1877
+ "x": {
1878
+ "v": "2014-01-18",
1879
+ "f": "18 Jan 2014"
1880
+ },
1881
+ "y": [
1882
+ {
1883
+ "v": 1976,
1884
+ "f": "2,786"
1885
+ }
1886
+ ]
1887
+ },
1888
+ {
1889
+ "x": {
1890
+ "v": "2014-01-19",
1891
+ "f": "19 Jan 2014"
1892
+ },
1893
+ "y": [
1894
+ {
1895
+ "v": 1975,
1896
+ "f": "1,045"
1897
+ }
1898
+ ]
1899
+ },
1900
+ {
1901
+ "x": {
1902
+ "v": "2014-01-20",
1903
+ "f": "20 Jan 2014"
1904
+ },
1905
+ "y": [
1906
+ {
1907
+ "v": 1987,
1908
+ "f": "1,987"
1909
+ }
1910
+ ]
1911
+ },
1912
+ {
1913
+ "x": {
1914
+ "v": "2014-01-21",
1915
+ "f": "21 Jan 2014"
1916
+ },
1917
+ "y": [
1918
+ {
1919
+ "v": 1986,
1920
+ "f": "2,876"
1921
+ }
1922
+ ]
1923
+ },
1924
+ {
1925
+ "x": {
1926
+ "v": "2014-01-22",
1927
+ "f": "22 Jan 2014"
1928
+ },
1929
+ "y": [
1930
+ {
1931
+ "v": 1990,
1932
+ "f": "2,324"
1933
+ }
1934
+ ]
1935
+ },
1936
+ {
1937
+ "x": {
1938
+ "v": "2014-01-23",
1939
+ "f": "23 Jan 2014"
1940
+ },
1941
+ "y": [
1942
+ {
1943
+ "v": 1991,
1944
+ "f": "3,321"
1945
+ }
1946
+ ]
1947
+ },
1948
+ {
1949
+ "x": {
1950
+ "v": "2014-01-24",
1951
+ "f": "24 Jan 2014"
1952
+ },
1953
+ "y": [
1954
+ {
1955
+ "v": 1995,
1956
+ "f": "2,342"
1957
+ }
1958
+ ]
1959
+ },
1960
+ {
1961
+ "x": {
1962
+ "v": "2014-01-25",
1963
+ "f": "25 Jan 2014"
1964
+ },
1965
+ "y": [
1966
+ {
1967
+ "v": 1997,
1968
+ "f": "2,111"
1969
+ }
1970
+ ]
1971
+ },
1972
+ {
1973
+ "x": {
1974
+ "v": "2014-01-26",
1975
+ "f": "26 Jan 2014"
1976
+ },
1977
+ "y": [
1978
+ {
1979
+ "v": 1997,
1980
+ "f": "3,456"
1981
+ }
1982
+ ]
1983
+ },
1984
+ {
1985
+ "x": {
1986
+ "v": "2014-01-27",
1987
+ "f": "27 Jan 2014"
1988
+ },
1989
+ "y": [
1990
+ {
1991
+ "v": 1990,
1992
+ "f": "3,211"
1993
+ }
1994
+ ]
1995
+ },
1996
+ {
1997
+ "x": {
1998
+ "v": "2014-01-28",
1999
+ "f": "28 Jan 2014"
2000
+ },
2001
+ "y": [
2002
+ {
2003
+ "v": 1953,
2004
+ "f": "2,322"
2005
+ }
2006
+ ]
2007
+ },
2008
+ {
2009
+ "x": {
2010
+ "v": "2014-01-29",
2011
+ "f": "29 Jan 2014"
2012
+ },
2013
+ "y": [
2014
+ {
2015
+ "v": 1990,
2016
+ "f": "3,433"
2017
+ }
2018
+ ]
2019
+ },
2020
+ {
2021
+ "x": {
2022
+ "v": "2014-01-30",
2023
+ "f": "30 Jan 2014"
2024
+ },
2025
+ "y": [
2026
+ {
2027
+ "v": 1993,
2028
+ "f": "2,875"
2029
+ }
2030
+ ]
2031
+ },
2032
+ {
2033
+ "x": {
2034
+ "v": "2014-01-31",
2035
+ "f": "31 Jan 2014"
2036
+ },
2037
+ "y": [
2038
+ {
2039
+ "v": 2000,
2040
+ "f": "2,675"
2041
+ }
2042
+ ]
2043
+ }
2044
+ ],
2045
+ "cols": {
2046
+ "x": {
2047
+ "label": "January 2014"
2048
+ },
2049
+ "y": [
2050
+ {
2051
+ "label": "Customers"
2052
+ }
2053
+ ]
2054
+ },
2055
+ "total_count": [
2056
+ "21,432"
2057
+ ]
2058
+ }
2059
+ }
2060
+
2061
+ # GET /stats/cancellations
2062
+ + Response 200 (application/json)
2063
+ {
2064
+ "code": "0",
2065
+ "message": "success",
2066
+ "data": {
2067
+ "rows": [
2068
+ {
2069
+ "x": {
2070
+ "v": "2014-01-01",
2071
+ "f": "01 Jan 2014"
2072
+ },
2073
+ "y": [
2074
+ {
2075
+ "v": 81,
2076
+ "f": "81"
2077
+ }
2078
+ ]
2079
+ },
2080
+ {
2081
+ "x": {
2082
+ "v": "2014-01-02",
2083
+ "f": "02 Jan 2014"
2084
+ },
2085
+ "y": [
2086
+ {
2087
+ "v": 76,
2088
+ "f": "76"
2089
+ }
2090
+ ]
2091
+ },
2092
+ {
2093
+ "x": {
2094
+ "v": "2014-01-03",
2095
+ "f": "03 Jan 2014"
2096
+ },
2097
+ "y": [
2098
+ {
2099
+ "v": 190,
2100
+ "f": "190"
2101
+ }
2102
+ ]
2103
+ },
2104
+ {
2105
+ "x": {
2106
+ "v": "2014-01-04",
2107
+ "f": "04 Jan 2014"
2108
+ },
2109
+ "y": [
2110
+ {
2111
+ "v": 456,
2112
+ "f": "456"
2113
+ }
2114
+ ]
2115
+ },
2116
+ {
2117
+ "x": {
2118
+ "v": "2014-01-05",
2119
+ "f": "05 Jan 2014"
2120
+ },
2121
+ "y": [
2122
+ {
2123
+ "v": 87,
2124
+ "f": "87"
2125
+ }
2126
+ ]
2127
+ },
2128
+ {
2129
+ "x": {
2130
+ "v": "2014-01-06",
2131
+ "f": "06 Jan 2014"
2132
+ },
2133
+ "y": [
2134
+ {
2135
+ "v": 323,
2136
+ "f": "323"
2137
+ }
2138
+ ]
2139
+ },
2140
+ {
2141
+ "x": {
2142
+ "v": "2014-01-07",
2143
+ "f": "07 Jan 2014"
2144
+ },
2145
+ "y": [
2146
+ {
2147
+ "v": 677,
2148
+ "f": "677"
2149
+ }
2150
+ ]
2151
+ },
2152
+ {
2153
+ "x": {
2154
+ "v": "2014-01-08",
2155
+ "f": "08 Jan 2014"
2156
+ },
2157
+ "y": [
2158
+ {
2159
+ "v": 120,
2160
+ "f": "120"
2161
+ }
2162
+ ]
2163
+ },
2164
+ {
2165
+ "x": {
2166
+ "v": "2014-01-09",
2167
+ "f": "09 Jan 2014"
2168
+ },
2169
+ "y": [
2170
+ {
2171
+ "v": 108,
2172
+ "f": "108"
2173
+ }
2174
+ ]
2175
+ },
2176
+ {
2177
+ "x": {
2178
+ "v": "2014-01-10",
2179
+ "f": "10 Jan 2014"
2180
+ },
2181
+ "y": [
2182
+ {
2183
+ "v": 345,
2184
+ "f": "345"
2185
+ }
2186
+ ]
2187
+ },
2188
+ {
2189
+ "x": {
2190
+ "v": "2014-01-11",
2191
+ "f": "11 Jan 2014"
2192
+ },
2193
+ "y": [
2194
+ {
2195
+ "v": 57,
2196
+ "f": "57"
2197
+ }
2198
+ ]
2199
+ },
2200
+ {
2201
+ "x": {
2202
+ "v": "2014-01-12",
2203
+ "f": "12 Jan 2014"
2204
+ },
2205
+ "y": [
2206
+ {
2207
+ "v": 156,
2208
+ "f": "156"
2209
+ }
2210
+ ]
2211
+ },
2212
+ {
2213
+ "x": {
2214
+ "v": "2014-01-13",
2215
+ "f": "13 Jan 2014"
2216
+ },
2217
+ "y": [
2218
+ {
2219
+ "v": 176,
2220
+ "f": "176"
2221
+ }
2222
+ ]
2223
+ },
2224
+ {
2225
+ "x": {
2226
+ "v": "2014-01-14",
2227
+ "f": "14 Jan 2014"
2228
+ },
2229
+ "y": [
2230
+ {
2231
+ "v": 132,
2232
+ "f": "132"
2233
+ }
2234
+ ]
2235
+ },
2236
+ {
2237
+ "x": {
2238
+ "v": "2014-01-15",
2239
+ "f": "15 Jan 2014"
2240
+ },
2241
+ "y": [
2242
+ {
2243
+ "v": 198,
2244
+ "f": "198"
2245
+ }
2246
+ ]
2247
+ },
2248
+ {
2249
+ "x": {
2250
+ "v": "2014-01-16",
2251
+ "f": "16 Jan 2014"
2252
+ },
2253
+ "y": [
2254
+ {
2255
+ "v": 154,
2256
+ "f": "154"
2257
+ }
2258
+ ]
2259
+ },
2260
+ {
2261
+ "x": {
2262
+ "v": "2014-01-17",
2263
+ "f": "17 Jan 2014"
2264
+ },
2265
+ "y": [
2266
+ {
2267
+ "v": 245,
2268
+ "f": "245"
2269
+ }
2270
+ ]
2271
+ },
2272
+ {
2273
+ "x": {
2274
+ "v": "2014-01-18",
2275
+ "f": "18 Jan 2014"
2276
+ },
2277
+ "y": [
2278
+ {
2279
+ "v": 209,
2280
+ "f": "209"
2281
+ }
2282
+ ]
2283
+ },
2284
+ {
2285
+ "x": {
2286
+ "v": "2014-01-19",
2287
+ "f": "19 Jan 2014"
2288
+ },
2289
+ "y": [
2290
+ {
2291
+ "v": 432,
2292
+ "f": "432"
2293
+ }
2294
+ ]
2295
+ },
2296
+ {
2297
+ "x": {
2298
+ "v": "2014-01-20",
2299
+ "f": "20 Jan 2014"
2300
+ },
2301
+ "y": [
2302
+ {
2303
+ "v": 59,
2304
+ "f": "59"
2305
+ }
2306
+ ]
2307
+ },
2308
+ {
2309
+ "x": {
2310
+ "v": "2014-01-21",
2311
+ "f": "21 Jan 2014"
2312
+ },
2313
+ "y": [
2314
+ {
2315
+ "v": 79,
2316
+ "f": "79"
2317
+ }
2318
+ ]
2319
+ },
2320
+ {
2321
+ "x": {
2322
+ "v": "2014-01-22",
2323
+ "f": "22 Jan 2014"
2324
+ },
2325
+ "y": [
2326
+ {
2327
+ "v": 297,
2328
+ "f": "297"
2329
+ }
2330
+ ]
2331
+ },
2332
+ {
2333
+ "x": {
2334
+ "v": "2014-01-23",
2335
+ "f": "23 Jan 2014"
2336
+ },
2337
+ "y": [
2338
+ {
2339
+ "v": 327,
2340
+ "f": "327"
2341
+ }
2342
+ ]
2343
+ },
2344
+ {
2345
+ "x": {
2346
+ "v": "2014-01-24",
2347
+ "f": "24 Jan 2014"
2348
+ },
2349
+ "y": [
2350
+ {
2351
+ "v": 566,
2352
+ "f": "566"
2353
+ }
2354
+ ]
2355
+ },
2356
+ {
2357
+ "x": {
2358
+ "v": "2014-01-25",
2359
+ "f": "25 Jan 2014"
2360
+ },
2361
+ "y": [
2362
+ {
2363
+ "v": 212,
2364
+ "f": "212"
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ "x": {
2370
+ "v": "2014-01-26",
2371
+ "f": "26 Jan 2014"
2372
+ },
2373
+ "y": [
2374
+ {
2375
+ "v": 332,
2376
+ "f": "332"
2377
+ }
2378
+ ]
2379
+ },
2380
+ {
2381
+ "x": {
2382
+ "v": "2014-01-27",
2383
+ "f": "27 Jan 2014"
2384
+ },
2385
+ "y": [
2386
+ {
2387
+ "v": 323,
2388
+ "f": "323"
2389
+ }
2390
+ ]
2391
+ },
2392
+ {
2393
+ "x": {
2394
+ "v": "2014-01-28",
2395
+ "f": "28 Jan 2014"
2396
+ },
2397
+ "y": [
2398
+ {
2399
+ "v": 432,
2400
+ "f": "432"
2401
+ }
2402
+ ]
2403
+ },
2404
+ {
2405
+ "x": {
2406
+ "v": "2014-01-29",
2407
+ "f": "29 Jan 2014"
2408
+ },
2409
+ "y": [
2410
+ {
2411
+ "v": 198,
2412
+ "f": "198"
2413
+ }
2414
+ ]
2415
+ },
2416
+ {
2417
+ "x": {
2418
+ "v": "2014-01-30",
2419
+ "f": "30 Jan 2014"
2420
+ },
2421
+ "y": [
2422
+ {
2423
+ "v": 289,
2424
+ "f": "289"
2425
+ }
2426
+ ]
2427
+ },
2428
+ {
2429
+ "x": {
2430
+ "v": "2014-01-31",
2431
+ "f": "31 Jan 2014"
2432
+ },
2433
+ "y": [
2434
+ {
2435
+ "v": 291,
2436
+ "f": "291"
2437
+ }
2438
+ ]
2439
+ }
2440
+ ],
2441
+ "cols": {
2442
+ "x": {
2443
+ "label": "January 2014"
2444
+ },
2445
+ "y": [
2446
+ {
2447
+ "label": "Cancellations"
2448
+ }
2449
+ ]
2450
+ },
2451
+ "total_count": [
2452
+ "1,012"
2453
+ ]
2454
+ }
2455
+ }