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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9db677392e8e41ca08d237c328f32847f5410b7d
|
4
|
+
data.tar.gz: 0f0060858b8321e8b6b9d44e044f36c5f0a52318
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d17c9445c7d9f56e1fb298cdb7cd27b3683d36855de235828c7df9cc086a02234011ddc4a4bd452f3ceca041740296c18f36e8efe637241e8e191cfbd6e785e
|
7
|
+
data.tar.gz: 9df23b83042e79259415498566995d63868dd0702a147b2a900a6364115b2eebcbba37262994eae35a63a6556daba415aadc897d4ae70fcc7a3c7d784d403f06
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
redsnow (0.3.2)
|
5
|
+
bundler (~> 1.7.0)
|
6
|
+
ffi (~> 1.9.3)
|
7
|
+
rake (~> 10.3.2)
|
8
|
+
yard (~> 0.8.7.4)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
activesupport (4.0.8)
|
14
|
+
i18n (~> 0.6, >= 0.6.9)
|
15
|
+
minitest (~> 4.2)
|
16
|
+
multi_json (~> 1.3)
|
17
|
+
thread_safe (~> 0.1)
|
18
|
+
tzinfo (~> 0.3.37)
|
19
|
+
ansi (1.4.3)
|
20
|
+
ast (2.0.0)
|
21
|
+
astrolabe (1.3.0)
|
22
|
+
parser (>= 2.2.0.pre.3, < 3.0)
|
23
|
+
ffi (1.9.6)
|
24
|
+
i18n (0.6.11)
|
25
|
+
metaclass (0.0.4)
|
26
|
+
minitest (4.7.5)
|
27
|
+
mocha (1.1.0)
|
28
|
+
metaclass (~> 0.0.1)
|
29
|
+
multi_json (1.10.1)
|
30
|
+
parser (2.2.0.pre.6)
|
31
|
+
ast (>= 1.1, < 3.0)
|
32
|
+
slop (~> 3.4, >= 3.4.5)
|
33
|
+
powerpack (0.0.9)
|
34
|
+
rainbow (2.0.0)
|
35
|
+
rake (10.3.2)
|
36
|
+
rubocop (0.26.1)
|
37
|
+
astrolabe (~> 1.3)
|
38
|
+
parser (>= 2.2.0.pre.4, < 3.0)
|
39
|
+
powerpack (~> 0.0.6)
|
40
|
+
rainbow (>= 1.99.1, < 3.0)
|
41
|
+
ruby-progressbar (~> 1.4)
|
42
|
+
ruby-progressbar (1.6.0)
|
43
|
+
shoulda (3.5.0)
|
44
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
45
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
46
|
+
shoulda-context (1.2.1)
|
47
|
+
shoulda-matchers (2.6.2)
|
48
|
+
activesupport (>= 3.0.0)
|
49
|
+
slop (3.6.0)
|
50
|
+
thread_safe (0.3.4)
|
51
|
+
turn (0.9.7)
|
52
|
+
ansi
|
53
|
+
minitest (~> 4)
|
54
|
+
tzinfo (0.3.40)
|
55
|
+
unindent (1.0)
|
56
|
+
yard (0.8.7.6)
|
57
|
+
|
58
|
+
PLATFORMS
|
59
|
+
ruby
|
60
|
+
|
61
|
+
DEPENDENCIES
|
62
|
+
mocha
|
63
|
+
redsnow!
|
64
|
+
rubocop
|
65
|
+
shoulda
|
66
|
+
turn
|
67
|
+
unindent
|
data/Rakefile
CHANGED
@@ -33,7 +33,7 @@ task :compile do
|
|
33
33
|
# Path to compiled snowcrash library
|
34
34
|
path = File.expand_path("ext/snowcrash/build/out/Release/#{prefix}libsnowcrash.#{FFI::Platform::LIBSUFFIX}", File.dirname(__FILE__))
|
35
35
|
puts "Path to library #{path}"
|
36
|
-
if !File.
|
36
|
+
if !File.exist?(path) || ENV['RECOMPILE']
|
37
37
|
unless File.directory?(File.expand_path("ext/snowcrash/src"))
|
38
38
|
puts "Initializing submodules (if required)..."
|
39
39
|
`git submodule update --init --recursive 2>/dev/null`
|
data/doc/RedSnow.html
ADDED
@@ -0,0 +1,321 @@
|
|
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
|
+
Module: RedSnow
|
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#!RedSnow.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 (R)</a> »
|
35
|
+
|
36
|
+
|
37
|
+
<span class="title">RedSnow</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>Module: RedSnow
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
<dt class="r1">Includes:</dt>
|
79
|
+
<dd class="r1"><span class='object_link'><a href="RedSnow/Binding.html" title="RedSnow::Binding (module)">Binding</a></span></dd>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
<dt class="r2 last">Defined in:</dt>
|
86
|
+
<dd class="r2 last">lib/redsnow/object.rb<span class="defines">,<br />
|
87
|
+
lib/redsnow.rb,<br /> lib/redsnow/version.rb,<br /> lib/redsnow/binding.rb,<br /> lib/redsnow/blueprint.rb,<br /> lib/redsnow/parseresult.rb</span>
|
88
|
+
</dd>
|
89
|
+
|
90
|
+
</dl>
|
91
|
+
<div class="clear"></div>
|
92
|
+
|
93
|
+
<h2>Overview</h2><div class="docstring">
|
94
|
+
<div class="discussion">
|
95
|
+
|
96
|
+
<p>The classes in this module should be 1:1 with the Snow Crash AST
|
97
|
+
counterparts (<a
|
98
|
+
href="https://github.com/apiaryio/snowcrash/blob/master/src/Blueprint.h">github.com/apiaryio/snowcrash/blob/master/src/Blueprint.h</a>).</p>
|
99
|
+
|
100
|
+
|
101
|
+
</div>
|
102
|
+
</div>
|
103
|
+
<div class="tags">
|
104
|
+
|
105
|
+
|
106
|
+
</div><h2>Defined Under Namespace</h2>
|
107
|
+
<p class="children">
|
108
|
+
|
109
|
+
|
110
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="RedSnow/Binding.html" title="RedSnow::Binding (module)">Binding</a></span>
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="RedSnow/Action.html" title="RedSnow::Action (class)">Action</a></span>, <span class='object_link'><a href="RedSnow/Blueprint.html" title="RedSnow::Blueprint (class)">Blueprint</a></span>, <span class='object_link'><a href="RedSnow/BlueprintNode.html" title="RedSnow::BlueprintNode (class)">BlueprintNode</a></span>, <span class='object_link'><a href="RedSnow/ErrorCodes.html" title="RedSnow::ErrorCodes (class)">ErrorCodes</a></span>, <span class='object_link'><a href="RedSnow/Headers.html" title="RedSnow::Headers (class)">Headers</a></span>, <span class='object_link'><a href="RedSnow/KeyValueCollection.html" title="RedSnow::KeyValueCollection (class)">KeyValueCollection</a></span>, <span class='object_link'><a href="RedSnow/Location.html" title="RedSnow::Location (class)">Location</a></span>, <span class='object_link'><a href="RedSnow/Metadata.html" title="RedSnow::Metadata (class)">Metadata</a></span>, <span class='object_link'><a href="RedSnow/NamedBlueprintNode.html" title="RedSnow::NamedBlueprintNode (class)">NamedBlueprintNode</a></span>, <span class='object_link'><a href="RedSnow/Object.html" title="RedSnow::Object (class)">Object</a></span>, <span class='object_link'><a href="RedSnow/Parameter.html" title="RedSnow::Parameter (class)">Parameter</a></span>, <span class='object_link'><a href="RedSnow/Parameters.html" title="RedSnow::Parameters (class)">Parameters</a></span>, <span class='object_link'><a href="RedSnow/ParseResult.html" title="RedSnow::ParseResult (class)">ParseResult</a></span>, <span class='object_link'><a href="RedSnow/Payload.html" title="RedSnow::Payload (class)">Payload</a></span>, <span class='object_link'><a href="RedSnow/Resource.html" title="RedSnow::Resource (class)">Resource</a></span>, <span class='object_link'><a href="RedSnow/ResourceGroup.html" title="RedSnow::ResourceGroup (class)">ResourceGroup</a></span>, <span class='object_link'><a href="RedSnow/TransactionExample.html" title="RedSnow::TransactionExample (class)">TransactionExample</a></span>, <span class='object_link'><a href="RedSnow/WarningCodes.html" title="RedSnow::WarningCodes (class)">WarningCodes</a></span>
|
115
|
+
|
116
|
+
|
117
|
+
</p>
|
118
|
+
|
119
|
+
<h2>Constant Summary</h2>
|
120
|
+
|
121
|
+
<dl class="constants">
|
122
|
+
|
123
|
+
<dt id="VERSION-constant" class="">VERSION =
|
124
|
+
<div class="docstring">
|
125
|
+
<div class="discussion">
|
126
|
+
|
127
|
+
<p>Gem version</p>
|
128
|
+
|
129
|
+
|
130
|
+
</div>
|
131
|
+
</div>
|
132
|
+
<div class="tags">
|
133
|
+
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</dt>
|
137
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.8</span><span class='tstring_end'>"</span></span></pre></dd>
|
138
|
+
|
139
|
+
</dl>
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
<h2>
|
150
|
+
Class Method Summary
|
151
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
152
|
+
</h2>
|
153
|
+
|
154
|
+
<ul class="summary">
|
155
|
+
|
156
|
+
<li class="public ">
|
157
|
+
<span class="summary_signature">
|
158
|
+
|
159
|
+
<a href="#parse-class_method" title="parse (class method)">+ (Blueprint, ParseResult) <strong>parse</strong>(rawBlueprint, options = 0) </a>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
</span>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
<span class="summary_desc"><div class='inline'>
|
174
|
+
<p>parse parsing API Blueprint into Ruby objects.</p>
|
175
|
+
</div></span>
|
176
|
+
|
177
|
+
</li>
|
178
|
+
|
179
|
+
|
180
|
+
</ul>
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
<div id="class_method_details" class="method_details_list">
|
189
|
+
<h2>Class Method Details</h2>
|
190
|
+
|
191
|
+
|
192
|
+
<div class="method_details first">
|
193
|
+
<h3 class="signature first" id="parse-class_method">
|
194
|
+
|
195
|
+
+ (<tt><span class='object_link'><a href="RedSnow/Blueprint.html" title="RedSnow::Blueprint (class)">Blueprint</a></span></tt>, <tt><span class='object_link'><a href="RedSnow/ParseResult.html" title="RedSnow::ParseResult (class)">ParseResult</a></span></tt>) <strong>parse</strong>(rawBlueprint, options = 0)
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
</h3><div class="docstring">
|
202
|
+
<div class="discussion">
|
203
|
+
|
204
|
+
<p>parse parsing API Blueprint into Ruby objects</p>
|
205
|
+
|
206
|
+
|
207
|
+
</div>
|
208
|
+
</div>
|
209
|
+
<div class="tags">
|
210
|
+
<p class="tag_title">Parameters:</p>
|
211
|
+
<ul class="param">
|
212
|
+
|
213
|
+
<li>
|
214
|
+
|
215
|
+
<span class='name'>rawBlueprint</span>
|
216
|
+
|
217
|
+
|
218
|
+
<span class='type'>(<tt>String</tt>)</span>
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
—
|
223
|
+
<div class='inline'>
|
224
|
+
<p>API Blueprint</p>
|
225
|
+
</div>
|
226
|
+
|
227
|
+
</li>
|
228
|
+
|
229
|
+
<li>
|
230
|
+
|
231
|
+
<span class='name'>options</span>
|
232
|
+
|
233
|
+
|
234
|
+
<span class='type'>(<tt>Number</tt>)</span>
|
235
|
+
|
236
|
+
|
237
|
+
<em class="default">(defaults to: <tt>0</tt>)</em>
|
238
|
+
|
239
|
+
|
240
|
+
—
|
241
|
+
<div class='inline'>
|
242
|
+
<p>Parsing Options</p>
|
243
|
+
</div>
|
244
|
+
|
245
|
+
</li>
|
246
|
+
|
247
|
+
</ul>
|
248
|
+
|
249
|
+
<p class="tag_title">Returns:</p>
|
250
|
+
<ul class="return">
|
251
|
+
|
252
|
+
<li>
|
253
|
+
|
254
|
+
|
255
|
+
<span class='type'>(<tt><span class='object_link'><a href="RedSnow/Blueprint.html" title="RedSnow::Blueprint (class)">Blueprint</a></span></tt>, <tt><span class='object_link'><a href="RedSnow/ParseResult.html" title="RedSnow::ParseResult (class)">ParseResult</a></span></tt>)</span>
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
</li>
|
260
|
+
|
261
|
+
</ul>
|
262
|
+
|
263
|
+
</div><table class="source_code">
|
264
|
+
<tr>
|
265
|
+
<td>
|
266
|
+
<pre class="lines">
|
267
|
+
|
268
|
+
|
269
|
+
15
|
270
|
+
16
|
271
|
+
17
|
272
|
+
18
|
273
|
+
19
|
274
|
+
20
|
275
|
+
21
|
276
|
+
22
|
277
|
+
23
|
278
|
+
24
|
279
|
+
25
|
280
|
+
26
|
281
|
+
27
|
282
|
+
28
|
283
|
+
29
|
284
|
+
30</pre>
|
285
|
+
</td>
|
286
|
+
<td>
|
287
|
+
<pre class="code"><span class="info file"># File 'lib/redsnow.rb', line 15</span>
|
288
|
+
|
289
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_rawBlueprint'>rawBlueprint</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='int'>0</span><span class='rparen'>)</span>
|
290
|
+
<span class='id identifier rubyid_blueprint'>blueprint</span> <span class='op'>=</span> <span class='const'>FFI</span><span class='op'>::</span><span class='const'>MemoryPointer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='symbol'>:pointer</span>
|
291
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='const'>FFI</span><span class='op'>::</span><span class='const'>MemoryPointer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='symbol'>:pointer</span>
|
292
|
+
<span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_c_parse'>sc_c_parse</span><span class='lparen'>(</span><span class='id identifier rubyid_rawBlueprint'>rawBlueprint</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span> <span class='id identifier rubyid_blueprint'>blueprint</span><span class='rparen'>)</span>
|
293
|
+
|
294
|
+
<span class='id identifier rubyid_blueprint'>blueprint</span> <span class='op'>=</span> <span class='id identifier rubyid_blueprint'>blueprint</span><span class='period'>.</span><span class='id identifier rubyid_get_pointer'>get_pointer</span><span class='lparen'>(</span><span class='int'>0</span><span class='rparen'>)</span>
|
295
|
+
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_result'>result</span><span class='period'>.</span><span class='id identifier rubyid_get_pointer'>get_pointer</span><span class='lparen'>(</span><span class='int'>0</span><span class='rparen'>)</span>
|
296
|
+
|
297
|
+
<span class='id identifier rubyid_bp'>bp</span> <span class='op'>=</span> <span class='const'>Blueprint</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_blueprint'>blueprint</span><span class='rparen'>)</span>
|
298
|
+
<span class='id identifier rubyid_parseResult'>parseResult</span> <span class='op'>=</span> <span class='const'>ParseResult</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
299
|
+
|
300
|
+
<span class='kw'>return</span> <span class='id identifier rubyid_bp'>bp</span><span class='comma'>,</span> <span class='id identifier rubyid_parseResult'>parseResult</span>
|
301
|
+
<span class='kw'>ensure</span>
|
302
|
+
<span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_blueprint_free'>sc_blueprint_free</span><span class='lparen'>(</span><span class='id identifier rubyid_blueprint'>blueprint</span><span class='rparen'>)</span>
|
303
|
+
<span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_result_free'>sc_result_free</span><span class='lparen'>(</span><span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
|
304
|
+
<span class='kw'>end</span></pre>
|
305
|
+
</td>
|
306
|
+
</tr>
|
307
|
+
</table>
|
308
|
+
</div>
|
309
|
+
|
310
|
+
</div>
|
311
|
+
|
312
|
+
</div>
|
313
|
+
|
314
|
+
<div id="footer">
|
315
|
+
Generated on Wed Jul 23 10:49:32 2014 by
|
316
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
317
|
+
0.8.7.4 (ruby-2.1.1).
|
318
|
+
</div>
|
319
|
+
|
320
|
+
</body>
|
321
|
+
</html>
|
@@ -0,0 +1,702 @@
|
|
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
|
+
Class: RedSnow::Action
|
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#!RedSnow/Action.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)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../RedSnow.html" title="RedSnow (module)">RedSnow</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">Action</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>Class: RedSnow::Action
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
<dt class="r1">Inherits:</dt>
|
75
|
+
<dd class="r1">
|
76
|
+
<span class="inheritName"><span class='object_link'><a href="NamedBlueprintNode.html" title="RedSnow::NamedBlueprintNode (class)">NamedBlueprintNode</a></span></span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="BlueprintNode.html" title="RedSnow::BlueprintNode (class)">BlueprintNode</a></span></li>
|
82
|
+
|
83
|
+
<li class="next"><span class='object_link'><a href="NamedBlueprintNode.html" title="RedSnow::NamedBlueprintNode (class)">NamedBlueprintNode</a></span></li>
|
84
|
+
|
85
|
+
<li class="next">RedSnow::Action</li>
|
86
|
+
|
87
|
+
</ul>
|
88
|
+
<a href="#" class="inheritanceTree">show all</a>
|
89
|
+
|
90
|
+
</dd>
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<dt class="r2 last">Defined in:</dt>
|
101
|
+
<dd class="r2 last">lib/redsnow/blueprint.rb</dd>
|
102
|
+
|
103
|
+
</dl>
|
104
|
+
<div class="clear"></div>
|
105
|
+
|
106
|
+
<h2>Overview</h2><div class="docstring">
|
107
|
+
<div class="discussion">
|
108
|
+
|
109
|
+
<p>Action Blueprint AST node represetns 'action sction'</p>
|
110
|
+
|
111
|
+
|
112
|
+
</div>
|
113
|
+
</div>
|
114
|
+
<div class="tags">
|
115
|
+
|
116
|
+
|
117
|
+
</div>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
122
|
+
<ul class="summary">
|
123
|
+
|
124
|
+
<li class="public ">
|
125
|
+
<span class="summary_signature">
|
126
|
+
|
127
|
+
<a href="#description-instance_method" title="#description (instance method)">- (String) <strong>description</strong> </a>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</span>
|
132
|
+
|
133
|
+
<span class="note title not_defined_here">
|
134
|
+
inherited
|
135
|
+
from <span class='object_link'><a href="NamedBlueprintNode.html#description-instance_method" title="RedSnow::NamedBlueprintNode#description (method)">NamedBlueprintNode</a></span>
|
136
|
+
</span>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
<span class="summary_desc"><div class='inline'>
|
150
|
+
<p>description of the node.</p>
|
151
|
+
</div></span>
|
152
|
+
|
153
|
+
</li>
|
154
|
+
|
155
|
+
|
156
|
+
<li class="public ">
|
157
|
+
<span class="summary_signature">
|
158
|
+
|
159
|
+
<a href="#examples-instance_method" title="#examples (instance method)">- (Array<TransactionExample>) <strong>examples</strong> </a>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
</span>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
<span class="summary_desc"><div class='inline'>
|
177
|
+
<p>action transaction examples.</p>
|
178
|
+
</div></span>
|
179
|
+
|
180
|
+
</li>
|
181
|
+
|
182
|
+
|
183
|
+
<li class="public ">
|
184
|
+
<span class="summary_signature">
|
185
|
+
|
186
|
+
<a href="#method-instance_method" title="#method (instance method)">- (String) <strong>method</strong> </a>
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
</span>
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
<span class="summary_desc"><div class='inline'>
|
204
|
+
<p>HTTP request method or nil.</p>
|
205
|
+
</div></span>
|
206
|
+
|
207
|
+
</li>
|
208
|
+
|
209
|
+
|
210
|
+
<li class="public ">
|
211
|
+
<span class="summary_signature">
|
212
|
+
|
213
|
+
<a href="#name-instance_method" title="#name (instance method)">- (String) <strong>name</strong> </a>
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
</span>
|
218
|
+
|
219
|
+
<span class="note title not_defined_here">
|
220
|
+
inherited
|
221
|
+
from <span class='object_link'><a href="NamedBlueprintNode.html#name-instance_method" title="RedSnow::NamedBlueprintNode#name (method)">NamedBlueprintNode</a></span>
|
222
|
+
</span>
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
<span class="summary_desc"><div class='inline'>
|
236
|
+
<p>name of the node.</p>
|
237
|
+
</div></span>
|
238
|
+
|
239
|
+
</li>
|
240
|
+
|
241
|
+
|
242
|
+
<li class="public ">
|
243
|
+
<span class="summary_signature">
|
244
|
+
|
245
|
+
<a href="#parameters-instance_method" title="#parameters (instance method)">- (Parameters) <strong>parameters</strong> </a>
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
</span>
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
<span class="summary_desc"><div class='inline'>
|
263
|
+
<p>action-specific URI parameters or nil.</p>
|
264
|
+
</div></span>
|
265
|
+
|
266
|
+
</li>
|
267
|
+
|
268
|
+
|
269
|
+
</ul>
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
<h2>
|
276
|
+
Instance Method Summary
|
277
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
278
|
+
</h2>
|
279
|
+
|
280
|
+
<ul class="summary">
|
281
|
+
|
282
|
+
<li class="public ">
|
283
|
+
<span class="summary_signature">
|
284
|
+
|
285
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Action) <strong>initialize</strong>(sc_action_handle) </a>
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
</span>
|
290
|
+
|
291
|
+
|
292
|
+
<span class="note title constructor">constructor</span>
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
<span class="summary_desc"><div class='inline'>
|
302
|
+
<p>A new instance of Action.</p>
|
303
|
+
</div></span>
|
304
|
+
|
305
|
+
</li>
|
306
|
+
|
307
|
+
|
308
|
+
</ul>
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
<div id="constructor_details" class="method_details_list">
|
316
|
+
<h2>Constructor Details</h2>
|
317
|
+
|
318
|
+
<div class="method_details first">
|
319
|
+
<h3 class="signature first" id="initialize-instance_method">
|
320
|
+
|
321
|
+
- (<tt><span class='object_link'><a href="" title="RedSnow::Action (class)">Action</a></span></tt>) <strong>initialize</strong>(sc_action_handle)
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
</h3><div class="docstring">
|
328
|
+
<div class="discussion">
|
329
|
+
|
330
|
+
<p>Returns a new instance of Action</p>
|
331
|
+
|
332
|
+
|
333
|
+
</div>
|
334
|
+
</div>
|
335
|
+
<div class="tags">
|
336
|
+
<p class="tag_title">Parameters:</p>
|
337
|
+
<ul class="param">
|
338
|
+
|
339
|
+
<li>
|
340
|
+
|
341
|
+
<span class='name'>sc_action_handle</span>
|
342
|
+
|
343
|
+
|
344
|
+
<span class='type'>(<tt>FFI::Pointer</tt>)</span>
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
</li>
|
349
|
+
|
350
|
+
</ul>
|
351
|
+
|
352
|
+
|
353
|
+
</div><table class="source_code">
|
354
|
+
<tr>
|
355
|
+
<td>
|
356
|
+
<pre class="lines">
|
357
|
+
|
358
|
+
|
359
|
+
243
|
360
|
+
244
|
361
|
+
245
|
362
|
+
246
|
363
|
+
247
|
364
|
+
248
|
365
|
+
249
|
366
|
+
250
|
367
|
+
251
|
368
|
+
252
|
369
|
+
253
|
370
|
+
254
|
371
|
+
255
|
372
|
+
256
|
373
|
+
257
|
374
|
+
258
|
375
|
+
259
|
376
|
+
260
|
377
|
+
261</pre>
|
378
|
+
</td>
|
379
|
+
<td>
|
380
|
+
<pre class="code"><span class="info file"># File 'lib/redsnow/blueprint.rb', line 243</span>
|
381
|
+
|
382
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_sc_action_handle'>sc_action_handle</span><span class='rparen'>)</span>
|
383
|
+
<span class='ivar'>@name</span> <span class='op'>=</span> <span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_action_name'>sc_action_name</span><span class='lparen'>(</span><span class='id identifier rubyid_sc_action_handle'>sc_action_handle</span><span class='rparen'>)</span>
|
384
|
+
<span class='ivar'>@description</span> <span class='op'>=</span> <span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_action_description'>sc_action_description</span><span class='lparen'>(</span><span class='id identifier rubyid_sc_action_handle'>sc_action_handle</span><span class='rparen'>)</span>
|
385
|
+
|
386
|
+
<span class='ivar'>@method</span> <span class='op'>=</span> <span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_action_httpmethod'>sc_action_httpmethod</span><span class='lparen'>(</span><span class='id identifier rubyid_sc_action_handle'>sc_action_handle</span><span class='rparen'>)</span>
|
387
|
+
|
388
|
+
<span class='ivar'>@parameters</span> <span class='op'>=</span> <span class='const'>Parameters</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_parameter_collection_handle_action'>sc_parameter_collection_handle_action</span><span class='lparen'>(</span><span class='id identifier rubyid_sc_action_handle'>sc_action_handle</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
389
|
+
|
390
|
+
<span class='ivar'>@examples</span> <span class='op'>=</span> <span class='const'>Array</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
391
|
+
<span class='id identifier rubyid_sc_transaction_example_collection_handle'>sc_transaction_example_collection_handle</span> <span class='op'>=</span> <span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_transaction_example_collection_handle'>sc_transaction_example_collection_handle</span><span class='lparen'>(</span><span class='id identifier rubyid_sc_action_handle'>sc_action_handle</span><span class='rparen'>)</span>
|
392
|
+
<span class='id identifier rubyid_sc_transaction_example_collection_size'>sc_transaction_example_collection_size</span> <span class='op'>=</span> <span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_transaction_example_collection_size'>sc_transaction_example_collection_size</span><span class='lparen'>(</span><span class='id identifier rubyid_sc_transaction_example_collection_handle'>sc_transaction_example_collection_handle</span><span class='rparen'>)</span>
|
393
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_sc_transaction_example_collection_size'>sc_transaction_example_collection_size</span> <span class='op'>></span> <span class='int'>0</span>
|
394
|
+
<span class='id identifier rubyid_examples_size'>examples_size</span> <span class='op'>=</span> <span class='id identifier rubyid_sc_transaction_example_collection_size'>sc_transaction_example_collection_size</span> <span class='op'>-</span> <span class='int'>1</span>
|
395
|
+
<span class='kw'>for</span> <span class='id identifier rubyid_index'>index</span> <span class='kw'>in</span> <span class='int'>0</span><span class='op'>..</span><span class='id identifier rubyid_examples_size'>examples_size</span> <span class='kw'>do</span>
|
396
|
+
<span class='id identifier rubyid_example'>example</span> <span class='op'>=</span> <span class='const'>TransactionExample</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>RedSnow</span><span class='op'>::</span><span class='const'>Binding</span><span class='period'>.</span><span class='id identifier rubyid_sc_transaction_example_handle'>sc_transaction_example_handle</span><span class='lparen'>(</span><span class='id identifier rubyid_sc_transaction_example_collection_handle'>sc_transaction_example_collection_handle</span><span class='comma'>,</span> <span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
397
|
+
<span class='ivar'>@examples</span> <span class='op'><<</span> <span class='id identifier rubyid_example'>example</span>
|
398
|
+
<span class='kw'>end</span>
|
399
|
+
<span class='kw'>end</span>
|
400
|
+
<span class='kw'>end</span></pre>
|
401
|
+
</td>
|
402
|
+
</tr>
|
403
|
+
</table>
|
404
|
+
</div>
|
405
|
+
|
406
|
+
</div>
|
407
|
+
|
408
|
+
<div id="instance_attr_details" class="attr_details">
|
409
|
+
<h2>Instance Attribute Details</h2>
|
410
|
+
|
411
|
+
|
412
|
+
<span id="description=-instance_method"></span>
|
413
|
+
<div class="method_details first">
|
414
|
+
<h3 class="signature first" id="description-instance_method">
|
415
|
+
|
416
|
+
- (<tt>String</tt>) <strong>description</strong>
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
<span class="not_defined_here">
|
423
|
+
Originally defined in class
|
424
|
+
<span class='object_link'><a href="NamedBlueprintNode.html#description-instance_method" title="RedSnow::NamedBlueprintNode#description (method)">NamedBlueprintNode</a></span>
|
425
|
+
</span>
|
426
|
+
|
427
|
+
</h3><div class="docstring">
|
428
|
+
<div class="discussion">
|
429
|
+
|
430
|
+
<p>description of the node</p>
|
431
|
+
|
432
|
+
|
433
|
+
</div>
|
434
|
+
</div>
|
435
|
+
<div class="tags">
|
436
|
+
|
437
|
+
<p class="tag_title">Returns:</p>
|
438
|
+
<ul class="return">
|
439
|
+
|
440
|
+
<li>
|
441
|
+
|
442
|
+
|
443
|
+
<span class='type'>(<tt>String</tt>)</span>
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
—
|
448
|
+
<div class='inline'>
|
449
|
+
<p>the current value of description</p>
|
450
|
+
</div>
|
451
|
+
|
452
|
+
</li>
|
453
|
+
|
454
|
+
</ul>
|
455
|
+
|
456
|
+
</div>
|
457
|
+
</div>
|
458
|
+
|
459
|
+
|
460
|
+
<span id="examples=-instance_method"></span>
|
461
|
+
<div class="method_details ">
|
462
|
+
<h3 class="signature " id="examples-instance_method">
|
463
|
+
|
464
|
+
- (<tt>Array<<span class='object_link'><a href="TransactionExample.html" title="RedSnow::TransactionExample (class)">TransactionExample</a></span>></tt>) <strong>examples</strong>
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
</h3><div class="docstring">
|
471
|
+
<div class="discussion">
|
472
|
+
|
473
|
+
<p>action transaction examples</p>
|
474
|
+
|
475
|
+
|
476
|
+
</div>
|
477
|
+
</div>
|
478
|
+
<div class="tags">
|
479
|
+
|
480
|
+
<p class="tag_title">Returns:</p>
|
481
|
+
<ul class="return">
|
482
|
+
|
483
|
+
<li>
|
484
|
+
|
485
|
+
|
486
|
+
<span class='type'>(<tt>Array<<span class='object_link'><a href="TransactionExample.html" title="RedSnow::TransactionExample (class)">TransactionExample</a></span>></tt>)</span>
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
—
|
491
|
+
<div class='inline'>
|
492
|
+
<p>the current value of examples</p>
|
493
|
+
</div>
|
494
|
+
|
495
|
+
</li>
|
496
|
+
|
497
|
+
</ul>
|
498
|
+
|
499
|
+
</div><table class="source_code">
|
500
|
+
<tr>
|
501
|
+
<td>
|
502
|
+
<pre class="lines">
|
503
|
+
|
504
|
+
|
505
|
+
237
|
506
|
+
238
|
507
|
+
239</pre>
|
508
|
+
</td>
|
509
|
+
<td>
|
510
|
+
<pre class="code"><span class="info file"># File 'lib/redsnow/blueprint.rb', line 237</span>
|
511
|
+
|
512
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_examples'>examples</span>
|
513
|
+
<span class='ivar'>@examples</span>
|
514
|
+
<span class='kw'>end</span></pre>
|
515
|
+
</td>
|
516
|
+
</tr>
|
517
|
+
</table>
|
518
|
+
</div>
|
519
|
+
|
520
|
+
|
521
|
+
<span id="method=-instance_method"></span>
|
522
|
+
<div class="method_details ">
|
523
|
+
<h3 class="signature " id="method-instance_method">
|
524
|
+
|
525
|
+
- (<tt>String</tt>) <strong>method</strong>
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
</h3><div class="docstring">
|
532
|
+
<div class="discussion">
|
533
|
+
|
534
|
+
<p>HTTP request method or nil</p>
|
535
|
+
|
536
|
+
|
537
|
+
</div>
|
538
|
+
</div>
|
539
|
+
<div class="tags">
|
540
|
+
|
541
|
+
<p class="tag_title">Returns:</p>
|
542
|
+
<ul class="return">
|
543
|
+
|
544
|
+
<li>
|
545
|
+
|
546
|
+
|
547
|
+
<span class='type'>(<tt>String</tt>)</span>
|
548
|
+
|
549
|
+
|
550
|
+
|
551
|
+
—
|
552
|
+
<div class='inline'>
|
553
|
+
<p>the current value of method</p>
|
554
|
+
</div>
|
555
|
+
|
556
|
+
</li>
|
557
|
+
|
558
|
+
</ul>
|
559
|
+
|
560
|
+
</div><table class="source_code">
|
561
|
+
<tr>
|
562
|
+
<td>
|
563
|
+
<pre class="lines">
|
564
|
+
|
565
|
+
|
566
|
+
237
|
567
|
+
238
|
568
|
+
239</pre>
|
569
|
+
</td>
|
570
|
+
<td>
|
571
|
+
<pre class="code"><span class="info file"># File 'lib/redsnow/blueprint.rb', line 237</span>
|
572
|
+
|
573
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_method'>method</span>
|
574
|
+
<span class='ivar'>@method</span>
|
575
|
+
<span class='kw'>end</span></pre>
|
576
|
+
</td>
|
577
|
+
</tr>
|
578
|
+
</table>
|
579
|
+
</div>
|
580
|
+
|
581
|
+
|
582
|
+
<span id="name=-instance_method"></span>
|
583
|
+
<div class="method_details ">
|
584
|
+
<h3 class="signature " id="name-instance_method">
|
585
|
+
|
586
|
+
- (<tt>String</tt>) <strong>name</strong>
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
|
591
|
+
|
592
|
+
<span class="not_defined_here">
|
593
|
+
Originally defined in class
|
594
|
+
<span class='object_link'><a href="NamedBlueprintNode.html#name-instance_method" title="RedSnow::NamedBlueprintNode#name (method)">NamedBlueprintNode</a></span>
|
595
|
+
</span>
|
596
|
+
|
597
|
+
</h3><div class="docstring">
|
598
|
+
<div class="discussion">
|
599
|
+
|
600
|
+
<p>name of the node</p>
|
601
|
+
|
602
|
+
|
603
|
+
</div>
|
604
|
+
</div>
|
605
|
+
<div class="tags">
|
606
|
+
|
607
|
+
<p class="tag_title">Returns:</p>
|
608
|
+
<ul class="return">
|
609
|
+
|
610
|
+
<li>
|
611
|
+
|
612
|
+
|
613
|
+
<span class='type'>(<tt>String</tt>)</span>
|
614
|
+
|
615
|
+
|
616
|
+
|
617
|
+
—
|
618
|
+
<div class='inline'>
|
619
|
+
<p>the current value of name</p>
|
620
|
+
</div>
|
621
|
+
|
622
|
+
</li>
|
623
|
+
|
624
|
+
</ul>
|
625
|
+
|
626
|
+
</div>
|
627
|
+
</div>
|
628
|
+
|
629
|
+
|
630
|
+
<span id="parameters=-instance_method"></span>
|
631
|
+
<div class="method_details ">
|
632
|
+
<h3 class="signature " id="parameters-instance_method">
|
633
|
+
|
634
|
+
- (<tt><span class='object_link'><a href="Parameters.html" title="RedSnow::Parameters (class)">Parameters</a></span></tt>) <strong>parameters</strong>
|
635
|
+
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
</h3><div class="docstring">
|
641
|
+
<div class="discussion">
|
642
|
+
|
643
|
+
<p>action-specific URI parameters or nil</p>
|
644
|
+
|
645
|
+
|
646
|
+
</div>
|
647
|
+
</div>
|
648
|
+
<div class="tags">
|
649
|
+
|
650
|
+
<p class="tag_title">Returns:</p>
|
651
|
+
<ul class="return">
|
652
|
+
|
653
|
+
<li>
|
654
|
+
|
655
|
+
|
656
|
+
<span class='type'>(<tt><span class='object_link'><a href="Parameters.html" title="RedSnow::Parameters (class)">Parameters</a></span></tt>)</span>
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
—
|
661
|
+
<div class='inline'>
|
662
|
+
<p>the current value of parameters</p>
|
663
|
+
</div>
|
664
|
+
|
665
|
+
</li>
|
666
|
+
|
667
|
+
</ul>
|
668
|
+
|
669
|
+
</div><table class="source_code">
|
670
|
+
<tr>
|
671
|
+
<td>
|
672
|
+
<pre class="lines">
|
673
|
+
|
674
|
+
|
675
|
+
237
|
676
|
+
238
|
677
|
+
239</pre>
|
678
|
+
</td>
|
679
|
+
<td>
|
680
|
+
<pre class="code"><span class="info file"># File 'lib/redsnow/blueprint.rb', line 237</span>
|
681
|
+
|
682
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_parameters'>parameters</span>
|
683
|
+
<span class='ivar'>@parameters</span>
|
684
|
+
<span class='kw'>end</span></pre>
|
685
|
+
</td>
|
686
|
+
</tr>
|
687
|
+
</table>
|
688
|
+
</div>
|
689
|
+
|
690
|
+
</div>
|
691
|
+
|
692
|
+
|
693
|
+
</div>
|
694
|
+
|
695
|
+
<div id="footer">
|
696
|
+
Generated on Wed Jul 23 10:49:33 2014 by
|
697
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
698
|
+
0.8.7.4 (ruby-2.1.1).
|
699
|
+
</div>
|
700
|
+
|
701
|
+
</body>
|
702
|
+
</html>
|