redsnow 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +67 -0
- data/Rakefile +1 -1
- data/doc/RedSnow.html +321 -0
- data/doc/RedSnow/Action.html +702 -0
- data/doc/RedSnow/Binding.html +135 -0
- data/doc/RedSnow/Blueprint.html +657 -0
- data/doc/RedSnow/BlueprintNode.html +139 -0
- data/doc/RedSnow/ErrorCodes.html +165 -0
- data/doc/RedSnow/Headers.html +456 -0
- data/doc/RedSnow/KeyValueCollection.html +343 -0
- data/doc/RedSnow/Location.html +391 -0
- data/doc/RedSnow/Metadata.html +343 -0
- data/doc/RedSnow/NamedBlueprintNode.html +444 -0
- data/doc/RedSnow/Object.html +295 -0
- data/doc/RedSnow/Parameter.html +881 -0
- data/doc/RedSnow/Parameters.html +349 -0
- data/doc/RedSnow/ParseResult.html +570 -0
- data/doc/RedSnow/Payload.html +775 -0
- data/doc/RedSnow/Resource.html +790 -0
- data/doc/RedSnow/ResourceGroup.html +521 -0
- data/doc/RedSnow/TransactionExample.html +700 -0
- data/doc/RedSnow/WarningCodes.html +210 -0
- data/doc/_index.html +342 -0
- data/doc/class_list.html +54 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +136 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +136 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +178 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +347 -0
- data/doc/top-level-namespace.html +112 -0
- data/ext/snowcrash/Gemfile +8 -0
- data/ext/snowcrash/Gemfile.lock +40 -0
- data/ext/snowcrash/LICENSE +22 -0
- data/ext/snowcrash/README.md +118 -0
- data/ext/snowcrash/bin/snowcrash +0 -0
- data/ext/snowcrash/bin/test-libsnowcrash +0 -0
- data/ext/snowcrash/build/Makefile +375 -0
- data/ext/snowcrash/build/gyp-mac-tool +511 -0
- data/ext/snowcrash/build/libmarkdownparser.target.mk +137 -0
- data/ext/snowcrash/build/libsnowcrash.target.mk +165 -0
- data/ext/snowcrash/build/libsundown.target.mk +143 -0
- data/ext/snowcrash/build/out/Release/libmarkdownparser.a +0 -0
- data/ext/snowcrash/build/out/Release/libsnowcrash.dylib +0 -0
- data/ext/snowcrash/build/out/Release/libsundown.a +0 -0
- data/ext/snowcrash/build/out/Release/linker.lock +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/ByteBuffer.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/MarkdownNode.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libmarkdownparser/ext/markdown-parser/src/MarkdownParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CBlueprint.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CBlueprintSourcemap.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/CSourceAnnotation.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/HTTP.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/MarkdownBlock.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/MarkdownParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Parser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/ParserCore.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Section.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Serialize.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/SerializeJSON.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/SerializeYAML.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/Signature.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/UriTemplateParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/csnowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/posix/RegexMatch.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsnowcrash/src/snowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/houdini_href_e.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/houdini_html_e.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/html.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/html/html_smartypants.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/autolink.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/buffer.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/markdown.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/src_map.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/libsundown/ext/markdown-parser/ext/sundown/src/stack.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/snowcrash/src/snowcrash/snowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/houdini_href_e.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/houdini_html_e.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/html.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/html/html_smartypants.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/autolink.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/buffer.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/markdown.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/src_map.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/sundown/sundown/src/stack.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ActionParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-AssetParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Blueprint.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-BlueprintParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-HeaderParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-HeadersParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Indentation.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ListUtility.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-MarkdownBlock.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-MarkdownParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParameterDefinitonParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParameterParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ParametersParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Parser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-PayloadParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-RegexMatch.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResouceGroupParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResourceGroupParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ResourceParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SectionParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SymbolIdentifier.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-SymbolTable.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-UriTemplateParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-ValuesParser.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-Warnings.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-csnowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/obj.target/test-libsnowcrash/test/test-snowcrash.o +0 -0
- data/ext/snowcrash/build/out/Release/snowcrash +0 -0
- data/ext/snowcrash/build/out/Release/test-libsnowcrash +0 -0
- data/ext/snowcrash/build/perf-libsnowcrash.target.mk +151 -0
- data/ext/snowcrash/build/snowcrash.Makefile +6 -0
- data/ext/snowcrash/build/snowcrash.target.mk +149 -0
- data/ext/snowcrash/build/sundown.target.mk +143 -0
- data/ext/snowcrash/build/test-libsnowcrash.target.mk +170 -0
- data/ext/snowcrash/ext/cmdline/LICENSE +30 -0
- data/ext/snowcrash/ext/cmdline/README.rst +191 -0
- data/ext/snowcrash/ext/cmdline/cmdline.h +817 -0
- data/ext/snowcrash/ext/cmdline/test.cpp +50 -0
- data/ext/snowcrash/ext/cmdline/test2.cpp +61 -0
- data/ext/snowcrash/ext/markdown-parser/LICENSE +22 -0
- data/ext/snowcrash/ext/markdown-parser/README.md +11 -0
- data/ext/snowcrash/ext/markdown-parser/ext/sundown/README.markdown +141 -0
- data/ext/snowcrash/ext/markdown-parser/markdownparser.xcodeproj/project.pbxproj +448 -0
- data/ext/snowcrash/ext/markdown-parser/msvc/test-markdown/test-markdown.vcproj +195 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/LICENSE_1_0.txt +23 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/README.md +24 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/catch-logo-small.png +0 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/assertions.md +64 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/build-systems.md +36 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/command-line.md +155 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/contributing.md +19 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/logging.md +52 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/own-main.md +68 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/reference-index.md +14 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/test-cases-and-sections.md +60 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/test-fixtures.md +32 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/tutorial.md +228 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/whats-changed.md +24 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/docs/why-catch.md +42 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch.hpp +202 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch_runner.hpp +224 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/catch_with_main.hpp +15 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/external/clara.h +868 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/external/tbc_text_format.h +153 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_approx.hpp +91 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_assertionresult.h +71 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_assertionresult.hpp +91 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_capture.hpp +179 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_clara.h +32 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_commandline.hpp +145 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_common.h +119 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_common.hpp +86 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_compiler_capabilities.h +123 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_config.hpp +178 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_console_colour.hpp +66 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_console_colour_impl.hpp +166 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_context.h +53 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_context_impl.hpp +112 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_debugger.h +49 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_debugger.hpp +100 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_default_main.hpp +38 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_evaluate.hpp +178 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_exception_translator_registry.hpp +75 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expression_decomposer.hpp +31 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expression_lhs.hpp +105 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expressionresult_builder.h +63 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_expressionresult_builder.hpp +98 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_generators.hpp +190 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_generators_impl.hpp +86 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_impl.hpp +92 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_capture.h +46 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_config.h +54 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_exception.h +66 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_generators.h +32 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_registry_hub.h +44 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_reporter.h +265 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_runner.h +19 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_interfaces_testcase.h +37 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_legacy_reporter_adapter.h +59 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_legacy_reporter_adapter.hpp +82 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_list.hpp +150 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_matchers.hpp +233 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_message.h +65 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_message.hpp +43 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_notimplemented_exception.h +35 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_notimplemented_exception.hpp +30 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_objc.hpp +203 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_objc_arc.hpp +51 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_option.hpp +75 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_platform.h +20 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_ptr.hpp +94 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_registry_hub.hpp +83 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_reporter_registrars.hpp +74 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_reporter_registry.hpp +45 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_result_type.h +66 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_runner_impl.hpp +319 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section.h +55 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section.hpp +40 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section_info.h +31 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_section_info.hpp +113 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_sfinae.hpp +44 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_stream.h +33 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_stream.hpp +83 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_streambuf.h +23 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tags.h +109 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tags.hpp +137 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_info.h +84 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_info.hpp +166 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_registry_impl.hpp +146 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_case_tracker.hpp +148 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_registry.hpp +120 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_spec.h +65 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_test_spec.hpp +133 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_text.h +24 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_timer.h +35 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_timer.hpp +63 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_tostring.hpp +276 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_totals.hpp +67 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_version.h +37 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_version.hpp +19 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/internal/catch_xmlwriter.hpp +218 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_bases.hpp +203 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_console.hpp +411 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_junit.hpp +226 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/include/reporters/catch_reporter_xml.hpp +151 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/CMake/CMakeLists.txt +38 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ApproxTests.cpp +112 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/BDDTests.cpp +68 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.std.approved.txt +778 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.sw.approved.txt +6995 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/console.swa4.approved.txt +322 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/junit.sw.approved.txt +562 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/Baselines/xml.sw.approved.txt +7251 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ClassTests.cpp +57 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ConditionTests.cpp +334 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/ExceptionTests.cpp +153 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/GeneratorTests.cpp +42 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/MessageTests.cpp +121 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/MiscTests.cpp +341 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SectionTrackerTests.cpp +164 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_common.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_debugger.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_capture.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_config.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_exception.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_generators.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_registry_hub.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_runner.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_testcase.cpp +1 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_message.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_option.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_ptr.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_streambuf.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_tags.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/TestMain.cpp +541 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/TrickyTests.cpp +396 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/VariadicMacrosTests.cpp +31 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/SelfTest/makefile +21 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch.sln +20 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.cpp +8 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj +394 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2010/TestCatch/TestCatch.sln +20 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.vcxproj +148 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.pbxproj +685 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/xcshareddata/CatchSelfTest.xccheckout +41 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest/CatchSelfTest.1 +79 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTest/catch_text.cpp +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.pbxproj +258 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/xcshareddata/CatchSelfTestSingle.xccheckout +41 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/CatchSelfTest/CatchSelfTestSingle/dummy.txt +0 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.pbxproj +265 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest.xcodeproj/project.xcworkspace/xcshareddata/OCTest.xccheckout +41 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/CatchOCTestCase.h +25 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/CatchOCTestCase.mm +83 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/Main.mm +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/OCTest.1 +79 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/OCTest.mm +28 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/TestObj.h +28 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/OCTest/OCTest/TestObj.m +25 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest.xcodeproj/project.pbxproj +299 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/OCTest.mm +27 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/TestObj.h +25 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/TestObj.m +18 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/en.lproj/InfoPlist.strings +2 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/iOSTest-Info.plist +47 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/XCode/iOSTest/iOSTest/iOSTest-Prefix.pch +14 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerAppDelegate.h +114 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerMainView.h +189 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/internal/iTchRunnerReporter.h +115 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/itChRunnerMain.mm +27 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/projects/runners/iTchRunner/readme +6 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/approvalTests.py +99 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/approve.py +29 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/generateSingleHeader.py +152 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/scripts/scriptCommon.py +4 -0
- data/ext/snowcrash/ext/markdown-parser/test/ext/Catch/single_include/catch.hpp +8544 -0
- data/ext/snowcrash/ext/markdown-parser/test/test-ByteBuffer.cc +83 -0
- data/ext/snowcrash/ext/markdown-parser/test/test-MarkdownParser.cc +628 -0
- data/ext/snowcrash/ext/markdown-parser/test/test-libmarkdownparser.cc +10 -0
- data/ext/snowcrash/features/fixtures/ast.json +154 -0
- data/ext/snowcrash/features/fixtures/ast.yaml +87 -0
- data/ext/snowcrash/features/fixtures/blueprint.apib +84 -0
- data/ext/snowcrash/features/fixtures/invalid_blueprint.apib +4 -0
- data/ext/snowcrash/features/parse.feature +23 -0
- data/ext/snowcrash/features/step_definitions/file_content_step.rb +8 -0
- data/ext/snowcrash/features/support/env.rb +7 -0
- data/ext/snowcrash/features/support/setup.rb +1 -0
- data/ext/snowcrash/features/validate.feature +37 -0
- data/ext/snowcrash/features/version.feature +10 -0
- data/ext/snowcrash/snowcrash.xcodeproj/project.pbxproj +798 -0
- data/ext/snowcrash/test/README.md +7 -0
- data/ext/snowcrash/test/performance/fixtures/fixture-1.apib +174 -0
- data/ext/snowcrash/test/performance/fixtures/fixture-2.apib +2455 -0
- data/ext/snowcrash/test/performance/fixtures/fixture-3.apib +10363 -0
- data/ext/snowcrash/test/performance/fixtures/fixture-4.apib +8390 -0
- data/ext/snowcrash/test/performance/perf-snowcrash.cc +162 -0
- data/ext/snowcrash/test/snowcrashtest.h +88 -0
- data/ext/snowcrash/test/test-ActionParser.cc +491 -0
- data/ext/snowcrash/test/test-AssetParser.cc +224 -0
- data/ext/snowcrash/test/test-Blueprint.cc +32 -0
- data/ext/snowcrash/test/test-BlueprintParser.cc +462 -0
- data/ext/snowcrash/test/test-HeadersParser.cc +256 -0
- data/ext/snowcrash/test/test-Indentation.cc +336 -0
- data/ext/snowcrash/test/test-ParameterParser.cc +499 -0
- data/ext/snowcrash/test/test-ParametersParser.cc +355 -0
- data/ext/snowcrash/test/test-PayloadParser.cc +657 -0
- data/ext/snowcrash/test/test-RegexMatch.cc +35 -0
- data/ext/snowcrash/test/test-ResourceGroupParser.cc +457 -0
- data/ext/snowcrash/test/test-ResourceParser.cc +947 -0
- data/ext/snowcrash/test/test-SectionParser.cc +81 -0
- data/ext/snowcrash/test/test-StringUtility.cc +65 -0
- data/ext/snowcrash/test/test-SymbolIdentifier.cc +53 -0
- data/ext/snowcrash/test/test-SymbolTable.cc +31 -0
- data/ext/snowcrash/test/test-UriTemplateParser.cc +333 -0
- data/ext/snowcrash/test/test-ValuesParser.cc +106 -0
- data/ext/snowcrash/test/test-Warnings.cc +94 -0
- data/ext/snowcrash/test/test-csnowcrash.cc +404 -0
- data/ext/snowcrash/test/test-snowcrash.cc +664 -0
- data/ext/snowcrash/test/vendor/Catch/LICENSE_1_0.txt +23 -0
- data/ext/snowcrash/test/vendor/Catch/README.md +24 -0
- data/ext/snowcrash/test/vendor/Catch/catch-logo-small.png +0 -0
- data/ext/snowcrash/test/vendor/Catch/docs/assertions.md +59 -0
- data/ext/snowcrash/test/vendor/Catch/docs/command-line.md +137 -0
- data/ext/snowcrash/test/vendor/Catch/docs/logging.md +52 -0
- data/ext/snowcrash/test/vendor/Catch/docs/own-main.md +68 -0
- data/ext/snowcrash/test/vendor/Catch/docs/reference-index.md +13 -0
- data/ext/snowcrash/test/vendor/Catch/docs/test-fixtures.md +32 -0
- data/ext/snowcrash/test/vendor/Catch/docs/tutorial.md +100 -0
- data/ext/snowcrash/test/vendor/Catch/docs/whats-changed.md +24 -0
- data/ext/snowcrash/test/vendor/Catch/docs/why-catch.md +42 -0
- data/ext/snowcrash/test/vendor/Catch/include/catch.hpp +182 -0
- data/ext/snowcrash/test/vendor/Catch/include/catch_runner.hpp +236 -0
- data/ext/snowcrash/test/vendor/Catch/include/catch_with_main.hpp +15 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_approx.hpp +91 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_assertionresult.h +65 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_assertionresult.hpp +91 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_capture.hpp +175 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_commandline.hpp +129 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_common.h +148 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_compiler_capabilities.h +85 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_config.hpp +182 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_console_colour.hpp +66 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_console_colour_impl.hpp +153 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_context.h +53 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_context_impl.hpp +112 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_debugger.hpp +116 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_default_main.hpp +38 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_evaluate.hpp +178 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_exception_translator_registry.hpp +74 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expression_decomposer.hpp +31 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expression_lhs.hpp +97 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expressionresult_builder.h +63 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_expressionresult_builder.hpp +98 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_generators.hpp +190 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_generators_impl.hpp +86 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_impl.hpp +97 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_capture.h +46 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_config.h +32 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_exception.h +66 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_generators.h +32 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_registry_hub.h +45 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_reporter.h +339 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_runner.h +23 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_interfaces_testcase.h +34 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_legacy_reporter_adapter.h +39 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_legacy_reporter_adapter.hpp +84 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_list.hpp +198 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_matchers.hpp +233 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_message.h +65 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_message.hpp +43 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_notimplemented_exception.h +35 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_notimplemented_exception.hpp +30 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_objc.hpp +202 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_objc_arc.hpp +51 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_option.hpp +67 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_ptr.hpp +94 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_registry_hub.hpp +83 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_reporter_registrars.hpp +75 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_reporter_registry.hpp +45 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_result_type.h +66 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_runner_impl.hpp +326 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_running_test.hpp +117 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_section.hpp +56 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_section_info.hpp +113 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_sfinae.hpp +44 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_stream.hpp +90 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_streambuf.h +21 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_tags.hpp +193 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_info.h +82 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_info.hpp +127 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_case_registry_impl.hpp +151 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_registry.hpp +120 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_test_spec.h +166 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_text.h +61 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_text.hpp +92 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_tostring.hpp +224 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_totals.hpp +67 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_version.h +37 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_version.hpp +19 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/catch_xmlwriter.hpp +211 -0
- data/ext/snowcrash/test/vendor/Catch/include/internal/clara.h +553 -0
- data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_basic.hpp +353 -0
- data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_console.hpp +397 -0
- data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_junit.hpp +252 -0
- data/ext/snowcrash/test/vendor/Catch/include/reporters/catch_reporter_xml.hpp +145 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ApproxTests.cpp +112 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/BDDTests.cpp +68 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/Baselines/approvedResults.txt +14686 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ClassTests.cpp +57 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/CmdLineTests.cpp +191 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ConditionTests.cpp +348 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/ExceptionTests.cpp +143 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/GeneratorTests.cpp +42 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/MessageTests.cpp +102 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/MiscTests.cpp +343 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_common.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_console_colour.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_debugger.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_capture.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_config.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_exception.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_generators.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_registry_hub.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_runner.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_interfaces_testcase.cpp +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_message.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_option.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_ptr.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_stream.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_streambuf.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_tags.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/SurrogateCpps/catch_xmlwriter.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/TestMain.cpp +561 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/TrickyTests.cpp +382 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/VariadicMacrosTests.cpp +31 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/catch_self_test.cpp +31 -0
- data/ext/snowcrash/test/vendor/Catch/projects/SelfTest/catch_self_test.hpp +177 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch.sln +20 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/ReadMe.txt +33 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.cpp +8 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/TestCatch/TestCatch.vcproj +398 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/UpgradeLog.XML +12 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport.css +207 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport.xslt +232 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport_Minus.gif +0 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2008/TestCatch/_UpgradeReport_Files/UpgradeReport_Plus.gif +0 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch.sln +20 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/ReadMe.txt +33 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.cpp +8 -0
- data/ext/snowcrash/test/vendor/Catch/projects/VS2010/TestCatch/TestCatch/TestCatch.vcxproj +149 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/project.pbxproj +440 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcdebugger/Breakpoints.xcbkptlist +81 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcschemes/Test.xcscheme +154 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTest.xcodeproj/xcuserdata/phil.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTestSingle/CatchSelfTestSingle.1 +79 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/CatchSelfTestSingle/CatchSelfTestSingle.xcodeproj/project.pbxproj +246 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/CatchOCTestCase.h +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/CatchOCTestCase.mm +45 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/Main.mm +1 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.1 +79 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.mm +28 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest.xcodeproj/project.pbxproj +259 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/OCTest_Prefix.pch +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/TestObj.h +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode3/OCTest/TestObj.m +18 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/project.pbxproj +667 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest.xcodeproj/xcuserdata/Phil.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/CatchSelfTest.1 +79 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTest/catch_text.cpp +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.pbxproj +264 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/CatchSelfTest/CatchSelfTestSingle/dummy.txt +0 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest.xcodeproj/project.pbxproj +249 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/CatchOCTestCase.h +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/CatchOCTestCase.mm +82 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/Main.mm +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/OCTest.1 +79 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/OCTest.mm +28 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/TestObj.h +28 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/OCTest/OCTest/TestObj.m +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest.xcodeproj/project.pbxproj +299 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/OCTest.mm +27 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/TestObj.h +25 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/TestObj.m +18 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/en.lproj/InfoPlist.strings +2 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/iOSTest-Info.plist +47 -0
- data/ext/snowcrash/test/vendor/Catch/projects/XCode4/iOSTest/iOSTest/iOSTest-Prefix.pch +14 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerAppDelegate.h +114 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerMainView.h +189 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/internal/iTchRunnerReporter.h +115 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/itChRunnerMain.mm +27 -0
- data/ext/snowcrash/test/vendor/Catch/projects/runners/iTchRunner/readme +6 -0
- data/ext/snowcrash/test/vendor/Catch/scripts/approvalTests.py +63 -0
- data/ext/snowcrash/test/vendor/Catch/scripts/approve.py +14 -0
- data/ext/snowcrash/test/vendor/Catch/scripts/generateSingleHeader.py +117 -0
- data/ext/snowcrash/test/vendor/Catch/scripts/scriptCommon.py +4 -0
- data/ext/snowcrash/test/vendor/Catch/single_include/catch.hpp +8046 -0
- data/ext/snowcrash/tools/README.md +27 -0
- data/ext/snowcrash/tools/gyp/LICENSE +27 -0
- data/ext/snowcrash/tools/gyp/gyptest.py +274 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/MSVSSettings_test.py +1483 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/__init__.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/common.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/common_test.py +72 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/easy_xml_test.py +103 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/__init__.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/make.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/msvs_test.py +37 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/ninja_test.py +44 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/xcode.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/generator/xcode_test.py +23 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/input.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/input_test.py +90 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/xcode_emulation.pyc +0 -0
- data/ext/snowcrash/tools/gyp/pylib/gyp/xcodeproj_file.pyc +0 -0
- data/ext/snowcrash/tools/gyp/tools/README +15 -0
- data/ext/snowcrash/tools/gyp/tools/Xcode/README +5 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/README +12 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/gyp-tests.el +63 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/run-unit-tests.sh +7 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/testdata/media.gyp +1105 -0
- data/ext/snowcrash/tools/gyp/tools/emacs/testdata/media.gyp.fontified +1107 -0
- data/lib/redsnow.rb +2 -2
- data/lib/redsnow/blueprint.rb +2 -1
- data/lib/redsnow/version.rb +1 -1
- data/pkg/redsnow-0.1.3.gem +0 -0
- data/pkg/redsnow-0.1.4.gem +0 -0
- data/pkg/redsnow-0.1.5.gem +0 -0
- data/pkg/redsnow-0.1.6.gem +0 -0
- data/pkg/redsnow-0.2.0.gem +0 -0
- data/pkg/redsnow-0.2.1.gem +0 -0
- data/pkg/redsnow-0.3.1.gem +0 -0
- data/redsnow.gemspec +2 -1
- data/test/redsnow_binding_test.rb +1 -1
- data/test/redsnow_options_test.rb +4 -4
- metadata +540 -6
- data/.gitignore +0 -34
- data/.gitmodules +0 -3
- data/.travis.yml +0 -21
@@ -0,0 +1,112 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Top Level Namespace
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.7.4
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '';
|
20
|
+
framesUrl = "frames.html#!top-level-namespace.html";
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="_index.html">Index</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">Top Level Namespace</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Top Level Namespace
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
</dl>
|
82
|
+
<div class="clear"></div>
|
83
|
+
|
84
|
+
<h2>Defined Under Namespace</h2>
|
85
|
+
<p class="children">
|
86
|
+
|
87
|
+
|
88
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="RedSnow.html" title="RedSnow (module)">RedSnow</a></span>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
</p>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
</div>
|
104
|
+
|
105
|
+
<div id="footer">
|
106
|
+
Generated on Wed Jul 23 10:49:32 2014 by
|
107
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
108
|
+
0.8.7.4 (ruby-2.1.1).
|
109
|
+
</div>
|
110
|
+
|
111
|
+
</body>
|
112
|
+
</html>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
GIT
|
2
|
+
remote: http://github.com/cucumber/aruba.git
|
3
|
+
revision: fccb412d18d699b7ecacd0da6b2e5338987cf4eb
|
4
|
+
specs:
|
5
|
+
aruba (0.5.4)
|
6
|
+
childprocess (>= 0.3.6)
|
7
|
+
cucumber (>= 1.1.1)
|
8
|
+
rspec-expectations (>= 2.7.0)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
builder (3.2.2)
|
14
|
+
childprocess (0.5.3)
|
15
|
+
ffi (~> 1.0, >= 1.0.11)
|
16
|
+
cucumber (1.3.10)
|
17
|
+
builder (>= 2.1.2)
|
18
|
+
diff-lcs (>= 1.1.3)
|
19
|
+
gherkin (~> 2.12)
|
20
|
+
multi_json (>= 1.7.5, < 2.0)
|
21
|
+
multi_test (>= 0.0.2)
|
22
|
+
diff-lcs (1.2.5)
|
23
|
+
ffi (1.9.3)
|
24
|
+
ffi (1.9.3-x86-mingw32)
|
25
|
+
gherkin (2.12.2)
|
26
|
+
multi_json (~> 1.3)
|
27
|
+
gherkin (2.12.2-x86-mingw32)
|
28
|
+
multi_json (~> 1.3)
|
29
|
+
multi_json (1.8.4)
|
30
|
+
multi_test (0.0.3)
|
31
|
+
rspec-expectations (2.14.5)
|
32
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
33
|
+
|
34
|
+
PLATFORMS
|
35
|
+
ruby
|
36
|
+
x86-mingw32
|
37
|
+
|
38
|
+
DEPENDENCIES
|
39
|
+
aruba!
|
40
|
+
cucumber
|
@@ -0,0 +1,22 @@
|
|
1
|
+
(The MIT License)
|
2
|
+
|
3
|
+
Copyright (c) 2014 Apiary Inc. <support@apiary.io>.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
'Software'), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
20
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,118 @@
|
|
1
|
+
![logo](https://raw.github.com/apiaryio/api-blueprint/master/assets/logo_apiblueprint.png)
|
2
|
+
|
3
|
+
# Snow Crash [![Build Status](https://travis-ci.org/apiaryio/snowcrash.svg?branch=master)](https://travis-ci.org/apiaryio/snowcrash)
|
4
|
+
|
5
|
+
### API Blueprint Parser
|
6
|
+
Snow Crash is the reference [API Blueprint](http://apiblueprint.org) parser built on top of the [Sundown](https://github.com/vmg/sundown) Markdown parser.
|
7
|
+
|
8
|
+
API Blueprint is Web API documentation language. You can find API Blueprint documentation on the [API Blueprint site](http://apiblueprint.org).
|
9
|
+
|
10
|
+
## Status
|
11
|
+
- [Format 1A7](https://github.com/apiaryio/api-blueprint/releases/tag/format-1A7) fully implemented
|
12
|
+
|
13
|
+
## Install
|
14
|
+
OS X using Homebrew:
|
15
|
+
|
16
|
+
```sh
|
17
|
+
$ brew install --HEAD \
|
18
|
+
https://raw.github.com/apiaryio/snowcrash/master/tools/homebrew/snowcrash.rb
|
19
|
+
```
|
20
|
+
|
21
|
+
Other systems refer to [build notes](#build).
|
22
|
+
|
23
|
+
## Use
|
24
|
+
|
25
|
+
### C++ library
|
26
|
+
|
27
|
+
```c++
|
28
|
+
#include "snowcrash.h"
|
29
|
+
|
30
|
+
mdp::ByteBuffer blueprint = R"(
|
31
|
+
# My API
|
32
|
+
## GET /message
|
33
|
+
+ Response 200 (text/plain)
|
34
|
+
|
35
|
+
Hello World!
|
36
|
+
)";
|
37
|
+
|
38
|
+
snowcrash::ParseResult<snowcrash::Blueprint> ast;
|
39
|
+
snowcrash::parse(blueprint, 0, ast);
|
40
|
+
|
41
|
+
std::cout << "API Name: " << ast.node.name << std::endl;
|
42
|
+
```
|
43
|
+
|
44
|
+
Refer to [`Blueprint.h`](src/Blueprint.h) for the details about the Snow Crash AST and [`BlueprintSourcemap.h`](src/BlueprintSourcemap.h) for details about Source Maps tree. See [Snow Crash bindings](#bindings) for using the library in **other languages**.
|
45
|
+
|
46
|
+
### Command line tool
|
47
|
+
|
48
|
+
```bash
|
49
|
+
$ cat << 'EOF' > blueprint.apib
|
50
|
+
# My API
|
51
|
+
## GET /message
|
52
|
+
+ Response 200 (text/plain)
|
53
|
+
|
54
|
+
Hello World!
|
55
|
+
EOF
|
56
|
+
|
57
|
+
$ snowcrash blueprint.apib
|
58
|
+
_version: 2.1
|
59
|
+
metadata:
|
60
|
+
name: "My API"
|
61
|
+
...
|
62
|
+
```
|
63
|
+
|
64
|
+
Refer to [AST Serialization Media Types](https://github.com/apiaryio/api-blueprint-ast) for the details on serialized media types. See [parse feature](features/parse.feature) for the details on using the `snowcrash` command line tool.
|
65
|
+
|
66
|
+
## Build
|
67
|
+
1. Clone the repo + fetch the submodules:
|
68
|
+
|
69
|
+
```sh
|
70
|
+
$ git clone --recursive git://github.com/apiaryio/snowcrash.git
|
71
|
+
$ cd snowcrash
|
72
|
+
```
|
73
|
+
|
74
|
+
2. Build & test Snow Crash:
|
75
|
+
|
76
|
+
```sh
|
77
|
+
$ ./configure
|
78
|
+
$ make test
|
79
|
+
```
|
80
|
+
|
81
|
+
To include integration tests (using Cucumber) use the `--include-integration-tests` flag:
|
82
|
+
|
83
|
+
```sh
|
84
|
+
$ ./configure --include-integration-tests
|
85
|
+
$ make test
|
86
|
+
```
|
87
|
+
|
88
|
+
We love **Windows** too! Please refer to [Building on Windows](https://github.com/apiaryio/snowcrash/wiki/Building-on-Windows).
|
89
|
+
|
90
|
+
### Snow Crash command line tool
|
91
|
+
1. Build `snowcrash`:
|
92
|
+
|
93
|
+
```sh
|
94
|
+
$ make snowcrash
|
95
|
+
```
|
96
|
+
|
97
|
+
2. Install & use `snowcrash`:
|
98
|
+
|
99
|
+
```sh
|
100
|
+
$ sudo make install
|
101
|
+
$ snowcrash --help
|
102
|
+
```
|
103
|
+
|
104
|
+
## Bindings
|
105
|
+
Snow Crash bindings in other languages:
|
106
|
+
|
107
|
+
- [Protagonist](https://github.com/apiaryio/protagonist) (Node.js)
|
108
|
+
- [RedSnow](https://github.com/apiaryio/redsnow) (Ruby)
|
109
|
+
- [Snow Crash .NET](https://github.com/brutski/snowcrash-dot-net-wrapper) (.NET)
|
110
|
+
|
111
|
+
|
112
|
+
## Contribute
|
113
|
+
Fork & Pull Request
|
114
|
+
|
115
|
+
If you want to create a binding for Snow Crash please refer to the [Writing a Binding](https://github.com/apiaryio/snowcrash/wiki/Writing-a-binding) article.
|
116
|
+
|
117
|
+
## License
|
118
|
+
MIT License. See the [LICENSE](https://github.com/apiaryio/snowcrash/blob/master/LICENSE) file.
|
data/ext/snowcrash/bin/snowcrash
CHANGED
Binary file
|
Binary file
|
@@ -0,0 +1,375 @@
|
|
1
|
+
# We borrow heavily from the kernel build setup, though we are simpler since
|
2
|
+
# we don't have Kconfig tweaking settings on us.
|
3
|
+
|
4
|
+
# The implicit make rules have it looking for RCS files, among other things.
|
5
|
+
# We instead explicitly write all the rules we care about.
|
6
|
+
# It's even quicker (saves ~200ms) to pass -r on the command line.
|
7
|
+
MAKEFLAGS=-r
|
8
|
+
|
9
|
+
# The source directory tree.
|
10
|
+
srcdir := ..
|
11
|
+
abs_srcdir := $(abspath $(srcdir))
|
12
|
+
|
13
|
+
# The name of the builddir.
|
14
|
+
builddir_name ?= out
|
15
|
+
|
16
|
+
# The V=1 flag on command line makes us verbosely print command lines.
|
17
|
+
ifdef V
|
18
|
+
quiet=
|
19
|
+
else
|
20
|
+
quiet=quiet_
|
21
|
+
endif
|
22
|
+
|
23
|
+
# Specify BUILDTYPE=Release on the command line for a release build.
|
24
|
+
BUILDTYPE ?= Release
|
25
|
+
|
26
|
+
# Directory all our build output goes into.
|
27
|
+
# Note that this must be two directories beneath src/ for unit tests to pass,
|
28
|
+
# as they reach into the src/ directory for data with relative paths.
|
29
|
+
builddir ?= $(builddir_name)/$(BUILDTYPE)
|
30
|
+
abs_builddir := $(abspath $(builddir))
|
31
|
+
depsdir := $(builddir)/.deps
|
32
|
+
|
33
|
+
# Object output directory.
|
34
|
+
obj := $(builddir)/obj
|
35
|
+
abs_obj := $(abspath $(obj))
|
36
|
+
|
37
|
+
# We build up a list of every single one of the targets so we can slurp in the
|
38
|
+
# generated dependency rule Makefiles in one pass.
|
39
|
+
all_deps :=
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
CC.target ?= $(CC)
|
44
|
+
CFLAGS.target ?= $(CFLAGS)
|
45
|
+
CXX.target ?= $(CXX)
|
46
|
+
CXXFLAGS.target ?= $(CXXFLAGS)
|
47
|
+
LINK.target ?= $(LINK)
|
48
|
+
LDFLAGS.target ?= $(LDFLAGS)
|
49
|
+
AR.target ?= $(AR)
|
50
|
+
|
51
|
+
# C++ apps need to be linked with g++.
|
52
|
+
#
|
53
|
+
# Note: flock is used to seralize linking. Linking is a memory-intensive
|
54
|
+
# process so running parallel links can often lead to thrashing. To disable
|
55
|
+
# the serialization, override LINK via an envrionment variable as follows:
|
56
|
+
#
|
57
|
+
# export LINK=g++
|
58
|
+
#
|
59
|
+
# This will allow make to invoke N linker processes as specified in -jN.
|
60
|
+
LINK ?= ./gyp-mac-tool flock $(builddir)/linker.lock $(CXX.target)
|
61
|
+
|
62
|
+
# TODO(evan): move all cross-compilation logic to gyp-time so we don't need
|
63
|
+
# to replicate this environment fallback in make as well.
|
64
|
+
CC.host ?= gcc
|
65
|
+
CFLAGS.host ?=
|
66
|
+
CXX.host ?= g++
|
67
|
+
CXXFLAGS.host ?=
|
68
|
+
LINK.host ?= $(CXX.host)
|
69
|
+
LDFLAGS.host ?=
|
70
|
+
AR.host ?= ar
|
71
|
+
|
72
|
+
# Define a dir function that can handle spaces.
|
73
|
+
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
|
74
|
+
# "leading spaces cannot appear in the text of the first argument as written.
|
75
|
+
# These characters can be put into the argument value by variable substitution."
|
76
|
+
empty :=
|
77
|
+
space := $(empty) $(empty)
|
78
|
+
|
79
|
+
# http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces
|
80
|
+
replace_spaces = $(subst $(space),?,$1)
|
81
|
+
unreplace_spaces = $(subst ?,$(space),$1)
|
82
|
+
dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1)))
|
83
|
+
|
84
|
+
# Flags to make gcc output dependency info. Note that you need to be
|
85
|
+
# careful here to use the flags that ccache and distcc can understand.
|
86
|
+
# We write to a dep file on the side first and then rename at the end
|
87
|
+
# so we can't end up with a broken dep file.
|
88
|
+
depfile = $(depsdir)/$(call replace_spaces,$@).d
|
89
|
+
DEPFLAGS = -MMD -MF $(depfile).raw
|
90
|
+
|
91
|
+
# We have to fixup the deps output in a few ways.
|
92
|
+
# (1) the file output should mention the proper .o file.
|
93
|
+
# ccache or distcc lose the path to the target, so we convert a rule of
|
94
|
+
# the form:
|
95
|
+
# foobar.o: DEP1 DEP2
|
96
|
+
# into
|
97
|
+
# path/to/foobar.o: DEP1 DEP2
|
98
|
+
# (2) we want missing files not to cause us to fail to build.
|
99
|
+
# We want to rewrite
|
100
|
+
# foobar.o: DEP1 DEP2 \
|
101
|
+
# DEP3
|
102
|
+
# to
|
103
|
+
# DEP1:
|
104
|
+
# DEP2:
|
105
|
+
# DEP3:
|
106
|
+
# so if the files are missing, they're just considered phony rules.
|
107
|
+
# We have to do some pretty insane escaping to get those backslashes
|
108
|
+
# and dollar signs past make, the shell, and sed at the same time.
|
109
|
+
# Doesn't work with spaces, but that's fine: .d files have spaces in
|
110
|
+
# their names replaced with other characters.
|
111
|
+
define fixup_dep
|
112
|
+
# The depfile may not exist if the input file didn't have any #includes.
|
113
|
+
touch $(depfile).raw
|
114
|
+
# Fixup path as in (1).
|
115
|
+
sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile)
|
116
|
+
# Add extra rules as in (2).
|
117
|
+
# We remove slashes and replace spaces with new lines;
|
118
|
+
# remove blank lines;
|
119
|
+
# delete the first line and append a colon to the remaining lines.
|
120
|
+
sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\
|
121
|
+
grep -v '^$$' |\
|
122
|
+
sed -e 1d -e 's|$$|:|' \
|
123
|
+
>> $(depfile)
|
124
|
+
rm $(depfile).raw
|
125
|
+
endef
|
126
|
+
|
127
|
+
# Command definitions:
|
128
|
+
# - cmd_foo is the actual command to run;
|
129
|
+
# - quiet_cmd_foo is the brief-output summary of the command.
|
130
|
+
|
131
|
+
quiet_cmd_cc = CC($(TOOLSET)) $@
|
132
|
+
cmd_cc = $(CC.$(TOOLSET)) $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c -o $@ $<
|
133
|
+
|
134
|
+
quiet_cmd_cxx = CXX($(TOOLSET)) $@
|
135
|
+
cmd_cxx = $(CXX.$(TOOLSET)) $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
136
|
+
|
137
|
+
quiet_cmd_objc = CXX($(TOOLSET)) $@
|
138
|
+
cmd_objc = $(CC.$(TOOLSET)) $(GYP_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
|
139
|
+
|
140
|
+
quiet_cmd_objcxx = CXX($(TOOLSET)) $@
|
141
|
+
cmd_objcxx = $(CXX.$(TOOLSET)) $(GYP_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
142
|
+
|
143
|
+
# Commands for precompiled header files.
|
144
|
+
quiet_cmd_pch_c = CXX($(TOOLSET)) $@
|
145
|
+
cmd_pch_c = $(CC.$(TOOLSET)) $(GYP_PCH_CFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
146
|
+
quiet_cmd_pch_cc = CXX($(TOOLSET)) $@
|
147
|
+
cmd_pch_cc = $(CC.$(TOOLSET)) $(GYP_PCH_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c -o $@ $<
|
148
|
+
quiet_cmd_pch_m = CXX($(TOOLSET)) $@
|
149
|
+
cmd_pch_m = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCFLAGS) $(DEPFLAGS) -c -o $@ $<
|
150
|
+
quiet_cmd_pch_mm = CXX($(TOOLSET)) $@
|
151
|
+
cmd_pch_mm = $(CC.$(TOOLSET)) $(GYP_PCH_OBJCXXFLAGS) $(DEPFLAGS) -c -o $@ $<
|
152
|
+
|
153
|
+
# gyp-mac-tool is written next to the root Makefile by gyp.
|
154
|
+
# Use $(4) for the command, since $(2) and $(3) are used as flag by do_cmd
|
155
|
+
# already.
|
156
|
+
quiet_cmd_mac_tool = MACTOOL $(4) $<
|
157
|
+
cmd_mac_tool = ./gyp-mac-tool $(4) $< "$@"
|
158
|
+
|
159
|
+
quiet_cmd_mac_package_framework = PACKAGE FRAMEWORK $@
|
160
|
+
cmd_mac_package_framework = ./gyp-mac-tool package-framework "$@" $(4)
|
161
|
+
|
162
|
+
quiet_cmd_infoplist = INFOPLIST $@
|
163
|
+
cmd_infoplist = $(CC.$(TOOLSET)) -E -P -Wno-trigraphs -x c $(INFOPLIST_DEFINES) "$<" -o "$@"
|
164
|
+
|
165
|
+
quiet_cmd_touch = TOUCH $@
|
166
|
+
cmd_touch = touch $@
|
167
|
+
|
168
|
+
quiet_cmd_copy = COPY $@
|
169
|
+
# send stderr to /dev/null to ignore messages when linking directories.
|
170
|
+
cmd_copy = ln -f "$<" "$@" 2>/dev/null || (rm -rf "$@" && cp -af "$<" "$@")
|
171
|
+
|
172
|
+
quiet_cmd_alink = LIBTOOL-STATIC $@
|
173
|
+
cmd_alink = rm -f $@ && ./gyp-mac-tool filter-libtool libtool $(GYP_LIBTOOLFLAGS) -static -o $@ $(filter %.o,$^)
|
174
|
+
|
175
|
+
quiet_cmd_link = LINK($(TOOLSET)) $@
|
176
|
+
cmd_link = $(LINK.$(TOOLSET)) $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
|
177
|
+
|
178
|
+
quiet_cmd_solink = SOLINK($(TOOLSET)) $@
|
179
|
+
cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o "$@" $(LD_INPUTS) $(LIBS)
|
180
|
+
|
181
|
+
quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@
|
182
|
+
cmd_solink_module = $(LINK.$(TOOLSET)) -bundle $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -o $@ $(filter-out FORCE_DO_CMD, $^) $(LIBS)
|
183
|
+
|
184
|
+
|
185
|
+
# Define an escape_quotes function to escape single quotes.
|
186
|
+
# This allows us to handle quotes properly as long as we always use
|
187
|
+
# use single quotes and escape_quotes.
|
188
|
+
escape_quotes = $(subst ','\'',$(1))
|
189
|
+
# This comment is here just to include a ' to unconfuse syntax highlighting.
|
190
|
+
# Define an escape_vars function to escape '$' variable syntax.
|
191
|
+
# This allows us to read/write command lines with shell variables (e.g.
|
192
|
+
# $LD_LIBRARY_PATH), without triggering make substitution.
|
193
|
+
escape_vars = $(subst $$,$$$$,$(1))
|
194
|
+
# Helper that expands to a shell command to echo a string exactly as it is in
|
195
|
+
# make. This uses printf instead of echo because printf's behaviour with respect
|
196
|
+
# to escape sequences is more portable than echo's across different shells
|
197
|
+
# (e.g., dash, bash).
|
198
|
+
exact_echo = printf '%s\n' '$(call escape_quotes,$(1))'
|
199
|
+
|
200
|
+
# Helper to compare the command we're about to run against the command
|
201
|
+
# we logged the last time we ran the command. Produces an empty
|
202
|
+
# string (false) when the commands match.
|
203
|
+
# Tricky point: Make has no string-equality test function.
|
204
|
+
# The kernel uses the following, but it seems like it would have false
|
205
|
+
# positives, where one string reordered its arguments.
|
206
|
+
# arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \
|
207
|
+
# $(filter-out $(cmd_$@), $(cmd_$(1))))
|
208
|
+
# We instead substitute each for the empty string into the other, and
|
209
|
+
# say they're equal if both substitutions produce the empty string.
|
210
|
+
# .d files contain ? instead of spaces, take that into account.
|
211
|
+
command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\
|
212
|
+
$(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1))))
|
213
|
+
|
214
|
+
# Helper that is non-empty when a prerequisite changes.
|
215
|
+
# Normally make does this implicitly, but we force rules to always run
|
216
|
+
# so we can check their command lines.
|
217
|
+
# $? -- new prerequisites
|
218
|
+
# $| -- order-only dependencies
|
219
|
+
prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?))
|
220
|
+
|
221
|
+
# Helper that executes all postbuilds until one fails.
|
222
|
+
define do_postbuilds
|
223
|
+
@E=0;\
|
224
|
+
for p in $(POSTBUILDS); do\
|
225
|
+
eval $$p;\
|
226
|
+
E=$$?;\
|
227
|
+
if [ $$E -ne 0 ]; then\
|
228
|
+
break;\
|
229
|
+
fi;\
|
230
|
+
done;\
|
231
|
+
if [ $$E -ne 0 ]; then\
|
232
|
+
rm -rf "$@";\
|
233
|
+
exit $$E;\
|
234
|
+
fi
|
235
|
+
endef
|
236
|
+
|
237
|
+
# do_cmd: run a command via the above cmd_foo names, if necessary.
|
238
|
+
# Should always run for a given target to handle command-line changes.
|
239
|
+
# Second argument, if non-zero, makes it do asm/C/C++ dependency munging.
|
240
|
+
# Third argument, if non-zero, makes it do POSTBUILDS processing.
|
241
|
+
# Note: We intentionally do NOT call dirx for depfile, since it contains ? for
|
242
|
+
# spaces already and dirx strips the ? characters.
|
243
|
+
define do_cmd
|
244
|
+
$(if $(or $(command_changed),$(prereq_changed)),
|
245
|
+
@$(call exact_echo, $($(quiet)cmd_$(1)))
|
246
|
+
@mkdir -p "$(call dirx,$@)" "$(dir $(depfile))"
|
247
|
+
$(if $(findstring flock,$(word 2,$(cmd_$1))),
|
248
|
+
@$(cmd_$(1))
|
249
|
+
@echo " $(quiet_cmd_$(1)): Finished",
|
250
|
+
@$(cmd_$(1))
|
251
|
+
)
|
252
|
+
@$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile)
|
253
|
+
@$(if $(2),$(fixup_dep))
|
254
|
+
$(if $(and $(3), $(POSTBUILDS)),
|
255
|
+
$(call do_postbuilds)
|
256
|
+
)
|
257
|
+
)
|
258
|
+
endef
|
259
|
+
|
260
|
+
# Declare the "all" target first so it is the default,
|
261
|
+
# even though we don't have the deps yet.
|
262
|
+
.PHONY: all
|
263
|
+
all:
|
264
|
+
|
265
|
+
# make looks for ways to re-generate included makefiles, but in our case, we
|
266
|
+
# don't have a direct way. Explicitly telling make that it has nothing to do
|
267
|
+
# for them makes it go faster.
|
268
|
+
%.d: ;
|
269
|
+
|
270
|
+
# Use FORCE_DO_CMD to force a target to run. Should be coupled with
|
271
|
+
# do_cmd.
|
272
|
+
.PHONY: FORCE_DO_CMD
|
273
|
+
FORCE_DO_CMD:
|
274
|
+
|
275
|
+
TOOLSET := target
|
276
|
+
# Suffix rules, putting all outputs into $(obj).
|
277
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
|
278
|
+
@$(call do_cmd,cc,1)
|
279
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
280
|
+
@$(call do_cmd,cxx,1)
|
281
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD
|
282
|
+
@$(call do_cmd,cxx,1)
|
283
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD
|
284
|
+
@$(call do_cmd,cxx,1)
|
285
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.m FORCE_DO_CMD
|
286
|
+
@$(call do_cmd,objc,1)
|
287
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.mm FORCE_DO_CMD
|
288
|
+
@$(call do_cmd,objcxx,1)
|
289
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD
|
290
|
+
@$(call do_cmd,cc,1)
|
291
|
+
$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD
|
292
|
+
@$(call do_cmd,cc,1)
|
293
|
+
|
294
|
+
# Try building from generated source, too.
|
295
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
|
296
|
+
@$(call do_cmd,cc,1)
|
297
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
298
|
+
@$(call do_cmd,cxx,1)
|
299
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD
|
300
|
+
@$(call do_cmd,cxx,1)
|
301
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD
|
302
|
+
@$(call do_cmd,cxx,1)
|
303
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.m FORCE_DO_CMD
|
304
|
+
@$(call do_cmd,objc,1)
|
305
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.mm FORCE_DO_CMD
|
306
|
+
@$(call do_cmd,objcxx,1)
|
307
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD
|
308
|
+
@$(call do_cmd,cc,1)
|
309
|
+
$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD
|
310
|
+
@$(call do_cmd,cc,1)
|
311
|
+
|
312
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD
|
313
|
+
@$(call do_cmd,cc,1)
|
314
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
315
|
+
@$(call do_cmd,cxx,1)
|
316
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD
|
317
|
+
@$(call do_cmd,cxx,1)
|
318
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD
|
319
|
+
@$(call do_cmd,cxx,1)
|
320
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.m FORCE_DO_CMD
|
321
|
+
@$(call do_cmd,objc,1)
|
322
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.mm FORCE_DO_CMD
|
323
|
+
@$(call do_cmd,objcxx,1)
|
324
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD
|
325
|
+
@$(call do_cmd,cc,1)
|
326
|
+
$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD
|
327
|
+
@$(call do_cmd,cc,1)
|
328
|
+
|
329
|
+
|
330
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
331
|
+
$(findstring $(join ^,$(prefix)),\
|
332
|
+
$(join ^,libmarkdownparser.target.mk)))),)
|
333
|
+
include libmarkdownparser.target.mk
|
334
|
+
endif
|
335
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
336
|
+
$(findstring $(join ^,$(prefix)),\
|
337
|
+
$(join ^,libsnowcrash.target.mk)))),)
|
338
|
+
include libsnowcrash.target.mk
|
339
|
+
endif
|
340
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
341
|
+
$(findstring $(join ^,$(prefix)),\
|
342
|
+
$(join ^,libsundown.target.mk)))),)
|
343
|
+
include libsundown.target.mk
|
344
|
+
endif
|
345
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
346
|
+
$(findstring $(join ^,$(prefix)),\
|
347
|
+
$(join ^,perf-libsnowcrash.target.mk)))),)
|
348
|
+
include perf-libsnowcrash.target.mk
|
349
|
+
endif
|
350
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
351
|
+
$(findstring $(join ^,$(prefix)),\
|
352
|
+
$(join ^,snowcrash.target.mk)))),)
|
353
|
+
include snowcrash.target.mk
|
354
|
+
endif
|
355
|
+
ifeq ($(strip $(foreach prefix,$(NO_LOAD),\
|
356
|
+
$(findstring $(join ^,$(prefix)),\
|
357
|
+
$(join ^,test-libsnowcrash.target.mk)))),)
|
358
|
+
include test-libsnowcrash.target.mk
|
359
|
+
endif
|
360
|
+
|
361
|
+
quiet_cmd_regen_makefile = ACTION Regenerating $@
|
362
|
+
cmd_regen_makefile = cd $(srcdir); ./tools/gyp/gyp_main.py -fmake --ignore-environment "--toplevel-dir=." -I/Users/abtris/Sites/redsnow/ext/snowcrash/config.gypi "--depth=." "--generator-output=build"
|
363
|
+
Makefile: $(srcdir)/snowcrash.gyp $(srcdir)/common.gypi $(srcdir)/config.gypi
|
364
|
+
$(call do_cmd,regen_makefile)
|
365
|
+
|
366
|
+
# "all" is a concatenation of the "all" targets from all the included
|
367
|
+
# sub-makefiles. This is just here to clarify.
|
368
|
+
all:
|
369
|
+
|
370
|
+
# Add in dependency-tracking rules. $(all_deps) is the list of every single
|
371
|
+
# target in our tree. Only consider the ones with .d (dependency) info:
|
372
|
+
d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d))
|
373
|
+
ifneq ($(d_files),)
|
374
|
+
include $(d_files)
|
375
|
+
endif
|