ceedling 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.vim +1 -0
- data/Gemfile +3 -0
- data/LICENSE +19 -0
- data/Rakefile +18 -0
- data/bin/ceedling +39 -0
- data/ceedling.gemspec +23 -0
- data/lib/ceedling/version.rb +10 -0
- data/lib/ceedling/version.rb.erb +10 -0
- data/lib/ceedling.rb +5 -0
- data/new_project_template/build/.gitkeep +0 -0
- data/new_project_template/project.yml +65 -0
- data/new_project_template/rakefile.rb +4 -0
- data/new_project_template/src/.gitkeep +0 -0
- data/new_project_template/test/.gitkeep +0 -0
- data/new_project_template/test/support/.gitkeep +0 -0
- data/new_project_template/vendor/ceedling/config/test_environment.rb +12 -0
- data/new_project_template/vendor/ceedling/docs/Ceedling Packet.odt +0 -0
- data/new_project_template/vendor/ceedling/docs/Ceedling Packet.pdf +0 -0
- data/new_project_template/vendor/ceedling/docs/CeedlingLogo.png +0 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v4.yml +91 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v5.yml +80 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/project.yml +65 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/rakefile.rb +5 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcConductor.c +42 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcConductor.h +13 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardware.c +27 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardware.h +11 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardwareConfigurator.c +18 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardwareConfigurator.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcModel.c +33 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcModel.h +13 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcTemperatureSensor.c +51 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcTemperatureSensor.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Executor.c +25 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Executor.h +9 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/IntrinsicsWrapper.c +18 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/IntrinsicsWrapper.h +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Main.c +46 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Main.h +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Model.c +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Model.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/ModelConfig.h +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TaskScheduler.c +72 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TaskScheduler.h +11 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureCalculator.c +27 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureCalculator.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureFilter.c +39 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureFilter.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConductor.c +15 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConductor.h +9 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConfigurator.c +51 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConfigurator.h +15 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerHardware.c +15 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerHardware.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptConfigurator.c +55 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptConfigurator.h +13 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptHandler.c +25 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptHandler.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerModel.c +9 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerModel.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Types.h +90 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +18 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConductor.c +21 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConductor.h +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConfigurator.c +39 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConfigurator.h +13 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartHardware.c +22 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartHardware.h +9 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartModel.c +34 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartModel.h +10 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartPutChar.c +16 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartPutChar.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartTransmitBufferStatus.c +7 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartTransmitBufferStatus.h +8 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcConductor.c +121 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcHardware.c +44 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcModel.c +33 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestExecutor.c +36 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestMain.c +24 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestModel.c +20 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTaskScheduler.c +104 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureCalculator.c +33 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureFilter.c +69 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerConductor.c +32 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerHardware.c +26 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerModel.c +18 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +21 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartConductor.c +40 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartHardware.c +36 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartModel.c +40 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.c +12 -0
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.h +8 -0
- data/new_project_template/vendor/ceedling/lib/cacheinator.rb +42 -0
- data/new_project_template/vendor/ceedling/lib/cacheinator_helper.rb +12 -0
- data/new_project_template/vendor/ceedling/lib/cmock_builder.rb +15 -0
- data/new_project_template/vendor/ceedling/lib/configurator.rb +254 -0
- data/new_project_template/vendor/ceedling/lib/configurator_builder.rb +408 -0
- data/new_project_template/vendor/ceedling/lib/configurator_plugins.rb +96 -0
- data/new_project_template/vendor/ceedling/lib/configurator_setup.rb +114 -0
- data/new_project_template/vendor/ceedling/lib/configurator_validator.rb +154 -0
- data/new_project_template/vendor/ceedling/lib/constants.rb +66 -0
- data/new_project_template/vendor/ceedling/lib/defaults.rb +349 -0
- data/new_project_template/vendor/ceedling/lib/dependinator.rb +92 -0
- data/new_project_template/vendor/ceedling/lib/file_finder.rb +132 -0
- data/new_project_template/vendor/ceedling/lib/file_finder_helper.rb +54 -0
- data/new_project_template/vendor/ceedling/lib/file_path_utils.rb +177 -0
- data/new_project_template/vendor/ceedling/lib/file_system_utils.rb +59 -0
- data/new_project_template/vendor/ceedling/lib/file_wrapper.rb +74 -0
- data/new_project_template/vendor/ceedling/lib/generator.rb +131 -0
- data/new_project_template/vendor/ceedling/lib/generator_test_results.rb +90 -0
- data/new_project_template/vendor/ceedling/lib/generator_test_results_sanity_checker.rb +62 -0
- data/new_project_template/vendor/ceedling/lib/generator_test_runner.rb +206 -0
- data/new_project_template/vendor/ceedling/lib/loginator.rb +31 -0
- data/new_project_template/vendor/ceedling/lib/makefile.rb +46 -0
- data/new_project_template/vendor/ceedling/lib/objects.yml +278 -0
- data/new_project_template/vendor/ceedling/lib/plugin.rb +63 -0
- data/new_project_template/vendor/ceedling/lib/plugin_manager.rb +85 -0
- data/new_project_template/vendor/ceedling/lib/plugin_manager_helper.rb +19 -0
- data/new_project_template/vendor/ceedling/lib/plugin_reportinator.rb +75 -0
- data/new_project_template/vendor/ceedling/lib/plugin_reportinator_helper.rb +52 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator.rb +43 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator_extractor.rb +27 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator_file_handler.rb +21 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator_helper.rb +46 -0
- data/new_project_template/vendor/ceedling/lib/preprocessinator_includes_handler.rb +55 -0
- data/new_project_template/vendor/ceedling/lib/project_config_manager.rb +38 -0
- data/new_project_template/vendor/ceedling/lib/project_file_loader.rb +64 -0
- data/new_project_template/vendor/ceedling/lib/rake_utils.rb +17 -0
- data/new_project_template/vendor/ceedling/lib/rake_wrapper.rb +31 -0
- data/new_project_template/vendor/ceedling/lib/rakefile.rb +60 -0
- data/new_project_template/vendor/ceedling/lib/release_invoker.rb +29 -0
- data/new_project_template/vendor/ceedling/lib/release_invoker_helper.rb +16 -0
- data/new_project_template/vendor/ceedling/lib/reportinator.rb +9 -0
- data/new_project_template/vendor/ceedling/lib/rules_cmock.rake +9 -0
- data/new_project_template/vendor/ceedling/lib/rules_preprocess.rake +26 -0
- data/new_project_template/vendor/ceedling/lib/rules_release.rake +63 -0
- data/new_project_template/vendor/ceedling/lib/rules_release_aux_dependencies.rake +15 -0
- data/new_project_template/vendor/ceedling/lib/rules_tests.rake +49 -0
- data/new_project_template/vendor/ceedling/lib/rules_tests_aux_dependencies.rake +15 -0
- data/new_project_template/vendor/ceedling/lib/setupinator.rb +45 -0
- data/new_project_template/vendor/ceedling/lib/stream_wrapper.rb +20 -0
- data/new_project_template/vendor/ceedling/lib/streaminator.rb +41 -0
- data/new_project_template/vendor/ceedling/lib/streaminator_helper.rb +15 -0
- data/new_project_template/vendor/ceedling/lib/system_wrapper.rb +67 -0
- data/new_project_template/vendor/ceedling/lib/task_invoker.rb +85 -0
- data/new_project_template/vendor/ceedling/lib/tasks_base.rake +104 -0
- data/new_project_template/vendor/ceedling/lib/tasks_filesystem.rake +89 -0
- data/new_project_template/vendor/ceedling/lib/tasks_release.rake +22 -0
- data/new_project_template/vendor/ceedling/lib/tasks_tests.rake +49 -0
- data/new_project_template/vendor/ceedling/lib/tasks_vendor.rake +36 -0
- data/new_project_template/vendor/ceedling/lib/test_includes_extractor.rb +81 -0
- data/new_project_template/vendor/ceedling/lib/test_invoker.rb +72 -0
- data/new_project_template/vendor/ceedling/lib/test_invoker_helper.rb +41 -0
- data/new_project_template/vendor/ceedling/lib/tool_executor.rb +178 -0
- data/new_project_template/vendor/ceedling/lib/tool_executor_helper.rb +57 -0
- data/new_project_template/vendor/ceedling/lib/verbosinator.rb +10 -0
- data/new_project_template/vendor/ceedling/lib/yaml_wrapper.rb +16 -0
- data/new_project_template/vendor/ceedling/plugins/stdout_ide_tests_report/stdout_ide_tests_report.rb +44 -0
- data/new_project_template/vendor/ceedling/plugins/stdout_ide_tests_report/stdout_ide_tests_report.yml +4 -0
- data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/stdout_pretty_tests_report.rb +108 -0
- data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/stdout_pretty_tests_report.yml +4 -0
- data/new_project_template/vendor/ceedling/plugins/xml_tests_report/xml_tests_report.rb +106 -0
- data/new_project_template/vendor/ceedling/rakefile.rb +59 -0
- data/new_project_template/vendor/ceedling/rakefile_helper.rb +23 -0
- data/new_project_template/vendor/ceedling/release/build.info +1 -0
- data/new_project_template/vendor/ceedling/release/version.info +1 -0
- data/new_project_template/vendor/ceedling/test/integration/paths.yml +17 -0
- data/new_project_template/vendor/ceedling/test/integration/paths_test.rb +80 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_aux_dependencies_test.rb +75 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_cmock_test.rb +74 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_preprocess_test.rb +178 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_test.rb +268 -0
- data/new_project_template/vendor/ceedling/test/integration/rake_tasks_test.rb +103 -0
- data/new_project_template/vendor/ceedling/test/integration_test_helper.rb +34 -0
- data/new_project_template/vendor/ceedling/test/rakefile_rules.rb +10 -0
- data/new_project_template/vendor/ceedling/test/rakefile_rules_aux_dependencies.rb +10 -0
- data/new_project_template/vendor/ceedling/test/rakefile_rules_cmock.rb +10 -0
- data/new_project_template/vendor/ceedling/test/rakefile_rules_preprocess.rb +10 -0
- data/new_project_template/vendor/ceedling/test/rakefile_tasks.rb +10 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_dependencies.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_kitchen_sink.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_mocks.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_preprocess.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_simple.yml +20 -0
- data/new_project_template/vendor/ceedling/test/system/file_system_test.rb +78 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/include/a_file.h +2 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/include/other_stuff.h +2 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/include/stuff.h +3 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/source/a_file.c +9 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/test/test_a_file.c +41 -0
- data/new_project_template/vendor/ceedling/test/system/mocks/test/test_no_file.c +14 -0
- data/new_project_template/vendor/ceedling/test/system/project_mocks.yml +43 -0
- data/new_project_template/vendor/ceedling/test/system/project_mocks_test.rb +38 -0
- data/new_project_template/vendor/ceedling/test/system/project_simple.yml +36 -0
- data/new_project_template/vendor/ceedling/test/system/project_simple_test.rb +39 -0
- data/new_project_template/vendor/ceedling/test/system/rule_mocks_test.rb +44 -0
- data/new_project_template/vendor/ceedling/test/system/rule_runners_test.rb +44 -0
- data/new_project_template/vendor/ceedling/test/system/simple/include/other_stuff.h +2 -0
- data/new_project_template/vendor/ceedling/test/system/simple/include/stuff.h +3 -0
- data/new_project_template/vendor/ceedling/test/system/simple/source/other_stuff.c +6 -0
- data/new_project_template/vendor/ceedling/test/system/simple/source/stuff.c +7 -0
- data/new_project_template/vendor/ceedling/test/system/simple/test/test_other_stuff.c +30 -0
- data/new_project_template/vendor/ceedling/test/system/simple/test/test_stuff.c +51 -0
- data/new_project_template/vendor/ceedling/test/system_test_helper.rb +73 -0
- data/new_project_template/vendor/ceedling/test/test_helper.rb +93 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_builder_test.rb +571 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_helper_test.rb +234 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_test.rb +232 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_validator_test.rb +169 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/deep_merge_fix_test.rb +55 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/dependinator_test.rb +129 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_helper_test.rb +45 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_test.rb +114 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/file_path_utils_test.rb +97 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/file_system_utils_test.rb +21 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test.rb +187 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_results_test.rb +129 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_runner_test.rb +478 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_extractor_test.rb +729 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_file_handler_test.rb +38 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_helper_test.rb +156 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_includes_handler_test.rb +93 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_test.rb +57 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/project_file_loader_test.rb +142 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/setupinator_test.rb +45 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/streaminator_test.rb +49 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/task_invoker_test.rb +69 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/test_includes_extractor_test.rb +111 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_helper_test.rb +62 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_test.rb +47 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_helper_test.rb +100 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_test.rb +351 -0
- data/new_project_template/vendor/ceedling/test/unit/busted/verbosinator_test.rb +65 -0
- data/new_project_template/vendor/ceedling/test/unit_test_helper.rb +16 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/Manifest.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/Rakefile +19 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors/reporttask.rb +158 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors.rb +76 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_tasks_test.rb +73 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_test.rb +50 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/Rakefile +19 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/lib/user.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/test/user_test.rb +17 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/docs/license.txt +30 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/docs/readme.txt +236 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/lib/CException.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/lib/CException.h +70 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/makefile +24 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/rakefile.rb +41 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/CExceptionConfig.h +27 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException.c +291 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException_Runner.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +39 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_config.yml +36 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_module.rb +202 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +303 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +126 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +217 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +12 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/makefile +40 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +260 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/readme.txt +18 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +3 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +37 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/makefile +35 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile.rb +48 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile_helper.rb +243 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.c +856 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.h +213 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity_internals.h +355 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc_64.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +101 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +89 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +94 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/sample.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/testsample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testparameterized.c +101 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testunity.c +1510 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/config/production_environment.rb +14 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/config/test_environment.rb +16 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/docs/CMock Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/docs/CMock Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/gcc.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v4.yml +91 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v5.yml +80 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile_helper.rb +274 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AT91SAM7X256.h +2556 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcConductor.c +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcConductor.h +11 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.c +27 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.h +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.c +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.c +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.h +13 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.c +25 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.h +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.c +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.h +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.h +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/ModelConfig.h +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.h +11 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureCalculator.c +27 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureCalculator.h +6 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.c +15 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.h +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.h +15 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.c +15 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.c +55 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.h +13 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.c +25 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Types.h +103 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartBaudRateRegisterCalculator.c +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartBaudRateRegisterCalculator.h +6 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.h +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.h +13 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.c +22 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.h +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.c +34 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.h +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.c +16 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.c +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.h +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcConductor.c +121 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardware.c +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardwareConfigurator.c +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcModel.c +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcTemperatureSensor.c +47 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestExecutor.c +36 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestMain.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestModel.c +20 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTaskScheduler.c +104 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureCalculator.c +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureFilter.c +69 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConductor.c +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConfigurator.c +112 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerHardware.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptConfigurator.c +78 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptHandler.c +66 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerModel.c +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartBaudRateRegisterCalculator.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConductor.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConfigurator.c +77 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartHardware.c +37 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartModel.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartPutChar.c +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c +22 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_FLASH.mac +71 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_RAM.mac +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_SIM.mac +67 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_FLASH.xcl +185 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_RAM.xcl +185 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/ioat91sam7x256.ddf +2259 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.dep +3691 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewd +1696 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewp +2581 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.eww +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X-EK.h +61 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.inc +2314 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.rdf +4704 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.tcl +3407 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +2268 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/ioat91sam7x256.h +4380 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/lib_AT91SAM7X256.h +4211 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.cspy.bat +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dbgdt +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dni +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.wsdt +76 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup.s79 +266 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup_SAM7.c +98 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_FLASH.mac +71 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_RAM.mac +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_SIM.mac +67 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_FLASH.icf +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_RAM.icf +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.dep +4204 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewd +1906 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewp +2426 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.eww +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X-EK.h +61 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +2268 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/lib_AT91SAM7X256.h +4211 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/project.h +30 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.cspy.bat +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dbgdt +5 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dni +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.wsdt +74 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X_FLASH_Debug.jlink +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.cspy.bat +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dbgdt +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dni +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.wsdt +73 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_Binary.jlink +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_FLASH_Debug.jlink +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_RAM_Debug.jlink +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup.s +299 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup_SAM7.c +98 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock.rb +65 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_config.rb +123 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_file_writer.rb +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator.rb +196 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_array.rb +57 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_callback.rb +78 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_expect.rb +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_utils.rb +177 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_header_parser.rb +270 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_plugin_manager.rb +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_unityhelper_parser.rb +74 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/rakefile.rb +89 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/rakefile_helper.rb +383 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/src/cmock.c +186 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/src/cmock.h +30 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc.yml +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_32_with_64_support.yml +52 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_64.yml +53 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v4.yml +107 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v5.yml +92 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.c +280 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.yml +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.c +186 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.yml +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +35 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC_Runner.c +37 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/systest_generator.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/config.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/const.h +15 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/osek.h +275 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/parsing.h +47 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +340 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +381 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +382 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +123 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +87 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +247 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +108 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +173 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +170 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +208 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +82 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +153 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +52 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +91 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +59 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +222 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +277 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +221 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +82 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_ignores.yml +139 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/test_helper.rb +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.rb +45 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.yml +5 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_file_writer_test.rb +30 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_main_test.rb +412 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +114 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +190 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_expect_test.rb +206 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +159 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_utils_test.rb +291 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_header_parser_test.rb +1170 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +223 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Manifest.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Rakefile +19 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors/reporttask.rb +158 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors.rb +76 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_tasks_test.rb +73 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_test.rb +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/Rakefile +19 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/lib/user.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/test/user_test.rb +17 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/license.txt +30 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/readme.txt +236 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.h +70 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/makefile +24 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/rakefile.rb +41 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/CExceptionConfig.h +27 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException.c +291 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_config.yml +36 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +202 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +303 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +126 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +217 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/makefile +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +260 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/readme.txt +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +3 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +37 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/makefile +35 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile.rb +48 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile_helper.rb +243 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +856 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +213 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +355 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc_64.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +101 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +89 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/sample.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testsample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testparameterized.c +101 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testunity.c +1510 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/CHANGES +78 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/LICENSE +7 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/README +70 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/Rakefile +8 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/config/environment.rb +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/assert_error.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/extend_test_unit.rb +14 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/errors.rb +22 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation.rb +229 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation_builder.rb +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expector.rb +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/method_cleanout.rb +33 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock.rb +180 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock_control.rb +53 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/stubbing.rb +210 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/trapper.rb +31 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/utils.rb +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock.rb +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/test_unit_before_after.rb +169 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc.rake +19 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc_options.rb +4 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/test.rake +22 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/assert_error_test.rb +52 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/auto_verify_test.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/direct_mock_usage_test.rb +396 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/hardmock_test.rb +434 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/stubbing_test.rb +479 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/test_helper.rb +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_builder_test.rb +19 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_test.rb +372 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expector_test.rb +57 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/method_cleanout_test.rb +36 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_control_test.rb +175 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_test.rb +279 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/test_unit_before_after_test.rb +452 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/trapper_test.rb +62 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/verify_error_test.rb +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_prompt.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_reporter.rb +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_config.yml +36 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_module.rb +202 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +303 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/test_file_filter.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +126 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.txt +217 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.h +12 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/makefile +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile_helper.rb +260 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/readme.txt +18 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.h +3 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.h +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode2.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +37 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/readme.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/makefile +35 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile.rb +48 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile_helper.rb +243 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.c +856 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.h +213 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity_internals.h +355 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc_64.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/hitech_picc18.yml +101 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v4.yml +89 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_msp430.yml +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/test_generate_test_runner.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/mocksample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/sample.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/testsample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testparameterized.c +101 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testunity.c +1510 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/History.rdoc +19 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/README.rdoc +72 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/Rakefile +33 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Notes.txt +27 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Rakefile +15 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.erb +27 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.html +36 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.graffle +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.html +9 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.png +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.png +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.rb +12 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/lib/constructor.rb +127 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/lib/constructor_struct.rb +33 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_spec.rb +407 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_struct_spec.rb +84 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/MIT-LICENSE +20 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/README +94 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/Rakefile +28 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/lib/deep_merge.rb +211 -0
- data/new_project_template/vendor/ceedling/vendor/deep_merge/test/test_deep_merge.rb +553 -0
- data/new_project_template/vendor/ceedling/vendor/diy/History.txt +28 -0
- data/new_project_template/vendor/ceedling/vendor/diy/README.rdoc +233 -0
- data/new_project_template/vendor/ceedling/vendor/diy/Rakefile +33 -0
- data/new_project_template/vendor/ceedling/vendor/diy/TODO.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/diy/diy.gemspec +131 -0
- data/new_project_template/vendor/ceedling/vendor/diy/lib/diy/factory.rb +36 -0
- data/new_project_template/vendor/ceedling/vendor/diy/lib/diy.rb +403 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/car.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/chassis.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/diy_example.rb +26 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/engine.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/objects.yml +10 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/constructor.rb +119 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/diy_test.rb +608 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/factory_test.rb +79 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/broken_construction.yml +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/cat.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/extra_conflict.yml +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/heritage.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/needs_input.yml +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/the_cat_lineage.rb +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_model.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_presenter.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_view.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/file_resolver.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/other_thing.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/simple.yml +11 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo/bar/qux.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo.rb +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/beef.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/dog.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/factory.yml +19 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/llama.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/pork.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/kitten.rb +13 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/objects.yml +13 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/toy.rb +14 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/attached_things_builder.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/invalid_method.yml +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/method_extractor.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/nonsingleton_objects.yml +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/objects.yml +22 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing_builder.rb +25 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/things_builder.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/objects.yml +14 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/thinger.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/base.rb +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/can.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/goat.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/objects.yml +12 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/paper.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/plane.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/shirt.rb +6 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/wings.rb +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/holder_thing.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/objects.yml +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/bird.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/cat.rb +5 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/hardshell/turtle.rb +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/lizard.rb +7 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/bad_module_specified.yml +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/class_name_combine.yml +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/hello.txt +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/no_module_specified.yml +8 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/objects.yml +21 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/road.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/sky.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/subcontext.yml +22 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/air.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/fat_cat.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/objects.yml +19 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/pig.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/thread_spinner.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/tick.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/yard.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_model.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_presenter.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_view.rb +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/data_source.rb +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_model.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_presenter.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_view.rb +1 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/giant_squid.rb +3 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/krill.rb +2 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/my_objects.yml +21 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/sub_sub_context_test.yml +27 -0
- data/new_project_template/vendor/ceedling/vendor/diy/test/test_helper.rb +55 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/CHANGES +78 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/LICENSE +7 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/README +70 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/Rakefile +8 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/config/environment.rb +12 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/assert_error.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/extend_test_unit.rb +14 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/errors.rb +22 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation.rb +229 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation_builder.rb +9 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expector.rb +26 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/method_cleanout.rb +33 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock.rb +180 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock_control.rb +53 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/stubbing.rb +210 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/trapper.rb +31 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/utils.rb +9 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock.rb +86 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/test_unit_before_after.rb +169 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc.rake +19 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc_options.rb +4 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/test.rake +22 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/assert_error_test.rb +52 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/auto_verify_test.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/direct_mock_usage_test.rb +396 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/hardmock_test.rb +434 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/stubbing_test.rb +479 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/test_helper.rb +43 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_builder_test.rb +19 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_test.rb +372 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expector_test.rb +57 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/method_cleanout_test.rb +36 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_control_test.rb +175 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_test.rb +279 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/test_unit_before_after_test.rb +452 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/trapper_test.rb +62 -0
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/verify_error_test.rb +40 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_prompt.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_reporter.rb +39 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_config.yml +36 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_module.rb +202 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_test_runner.rb +303 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/test_file_filter.rb +23 -0
- data/new_project_template/vendor/ceedling/vendor/unity/auto/unity_test_summary.rb +126 -0
- data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.txt +217 -0
- data/new_project_template/vendor/ceedling/vendor/unity/docs/license.txt +31 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.c +10 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.h +12 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/makefile +40 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile.rb +32 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile_helper.rb +260 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/readme.txt +18 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.c +24 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.h +3 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.c +9 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.h +2 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode.c +62 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode2.c +26 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile.rb +37 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/readme.txt +9 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
- data/new_project_template/vendor/ceedling/vendor/unity/makefile +35 -0
- data/new_project_template/vendor/ceedling/vendor/unity/rakefile.rb +48 -0
- data/new_project_template/vendor/ceedling/vendor/unity/rakefile_helper.rb +243 -0
- data/new_project_template/vendor/ceedling/vendor/unity/release/build.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/unity/release/version.info +2 -0
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity.c +856 -0
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity.h +213 -0
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity_internals.h +355 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc.yml +42 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc_64.yml +43 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/hitech_picc18.yml +101 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v4.yml +89 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_msp430.yml +94 -0
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_def.c +50 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_param.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run1.c +60 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run2.c +63 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/test_generate_test_runner.rb +94 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/mocksample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/sample.yml +9 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/testsample.c +51 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testparameterized.c +101 -0
- data/new_project_template/vendor/ceedling/vendor/unity/test/testunity.c +1510 -0
- metadata +1058 -0
@@ -0,0 +1,19 @@
|
|
1
|
+
== 1.0.4 / 2009-12-01
|
2
|
+
|
3
|
+
* Building is now done with Jeweler.
|
4
|
+
|
5
|
+
== 1.0.3 / 2009-11-30
|
6
|
+
|
7
|
+
* Quick release to include ConstructorStruct.
|
8
|
+
|
9
|
+
== 1.0.2 / 2008-05-07
|
10
|
+
|
11
|
+
* An error is raised when constructor keys are passed in that already exist in the super class
|
12
|
+
|
13
|
+
== 1.0.1 / 2007-12-21
|
14
|
+
|
15
|
+
* You can now pass a block to your constructor call; it gets executed after all the ivars get assigned. (This lets you write some initializer code if you need to.)
|
16
|
+
|
17
|
+
== 1.0.0 / 2007-11-18
|
18
|
+
|
19
|
+
* Released!
|
@@ -0,0 +1,72 @@
|
|
1
|
+
== Constructor
|
2
|
+
|
3
|
+
* http://atomicobject.github.com/constructor
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
Declarative means to define object properties by passing a hash
|
8
|
+
to the constructor, which will set the corresponding ivars.
|
9
|
+
|
10
|
+
== SYNOPSIS:
|
11
|
+
|
12
|
+
require 'constructor'
|
13
|
+
|
14
|
+
class Horse
|
15
|
+
constructor :name, :breed, :weight
|
16
|
+
end
|
17
|
+
Horse.new :name => 'Ed', :breed => 'Mustang', :weight => 342
|
18
|
+
|
19
|
+
By default the ivars do not get accessors defined.
|
20
|
+
But you can get them auto-made if you want:
|
21
|
+
|
22
|
+
class Horse
|
23
|
+
constructor :name, :breed, :weight, :accessors => true
|
24
|
+
end
|
25
|
+
...
|
26
|
+
puts my_horse.weight
|
27
|
+
|
28
|
+
Arguments specified are required by default. You can disable
|
29
|
+
strict argument checking with :strict option. This means that
|
30
|
+
the constructor will not raise an error if you pass more or
|
31
|
+
fewer arguments than declared.
|
32
|
+
|
33
|
+
class Donkey
|
34
|
+
constructor :age, :odor, :strict => false
|
35
|
+
end
|
36
|
+
|
37
|
+
... this allows you to pass either an age or odor key (or neither)
|
38
|
+
to the Donkey constructor.
|
39
|
+
|
40
|
+
|
41
|
+
== REQUIREMENTS:
|
42
|
+
|
43
|
+
* rubygems
|
44
|
+
|
45
|
+
== INSTALL:
|
46
|
+
|
47
|
+
* sudo gem install constructor
|
48
|
+
|
49
|
+
== LICENSE:
|
50
|
+
|
51
|
+
(The MIT License)
|
52
|
+
|
53
|
+
Copyright (c) 2007 Atomic Object
|
54
|
+
|
55
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
56
|
+
a copy of this software and associated documentation files (the
|
57
|
+
'Software'), to deal in the Software without restriction, including
|
58
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
59
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
60
|
+
permit persons to whom the Software is furnished to do so, subject to
|
61
|
+
the following conditions:
|
62
|
+
|
63
|
+
The above copyright notice and this permission notice shall be
|
64
|
+
included in all copies or substantial portions of the Software.
|
65
|
+
|
66
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
67
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
68
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
69
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
70
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
71
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
72
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
|
3
|
+
desc 'Default: run specs'
|
4
|
+
task :default => :spec
|
5
|
+
|
6
|
+
require 'spec/rake/spectask'
|
7
|
+
desc 'Run constructor specs'
|
8
|
+
Spec::Rake::SpecTask.new(:spec) do |t|
|
9
|
+
t.spec_files = FileList['specs/*_spec.rb']
|
10
|
+
t.spec_opts << '-c -f s'
|
11
|
+
end
|
12
|
+
|
13
|
+
begin
|
14
|
+
require 'jeweler'
|
15
|
+
Jeweler::Tasks.new do |gemspec|
|
16
|
+
$: << "lib"
|
17
|
+
require 'constructor.rb'
|
18
|
+
gemspec.name = 'constructor'
|
19
|
+
gemspec.version = CONSTRUCTOR_VERSION
|
20
|
+
gemspec.summary = 'Declarative named-argument object initialization.'
|
21
|
+
gemspec.description = 'Declarative means to define object properties by passing a hash to the constructor, which will set the corresponding ivars.'
|
22
|
+
gemspec.homepage = 'http://atomicobject.github.com/constructor'
|
23
|
+
gemspec.authors = 'Atomic Object'
|
24
|
+
gemspec.email = 'github@atomicobject.com'
|
25
|
+
gemspec.test_files = FileList['specs/*_spec.rb']
|
26
|
+
end
|
27
|
+
|
28
|
+
Jeweler::GemcutterTasks.new
|
29
|
+
|
30
|
+
rescue LoadError
|
31
|
+
puts "(jeweler not installed)"
|
32
|
+
end
|
33
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
Wed Nov 21 21:49:27 EST 2007
|
2
|
+
crosby
|
3
|
+
|
4
|
+
1. Edit page_header.graffle
|
5
|
+
2. Export as HTML imagemap
|
6
|
+
3. Open ../sample_code/synopsis.rb
|
7
|
+
4. Screen shot, save as sample_code.png
|
8
|
+
5. rake (rewrites index.html)
|
9
|
+
6. cd ..
|
10
|
+
7. rake publish_docs
|
11
|
+
|
12
|
+
page_header.graffle
|
13
|
+
Export-as-HTML-Imagemap
|
14
|
+
Use png
|
15
|
+
Use 125% scale
|
16
|
+
Remember to use the style inspector to assign actions to things that should be links.
|
17
|
+
|
18
|
+
rake index
|
19
|
+
Rewrites index.html using index.erb and page_header.html (and some values in the Rakefile)
|
20
|
+
|
21
|
+
The code sample screenshot:
|
22
|
+
Taken with Snapz Pro X (this is important, as Snapz is providing the
|
23
|
+
dropshadow and about 28 extra pixels widthwise)
|
24
|
+
|
25
|
+
Should be 650 px wide to line up with the page header.
|
26
|
+
|
27
|
+
Transparency: be conscious of WHAT'S IN THE BACKGROUND
|
@@ -0,0 +1,15 @@
|
|
1
|
+
desc "Rewrite index.html using index.erb and publisher_homepage.html"
|
2
|
+
task :index do
|
3
|
+
require 'erb'
|
4
|
+
@title = "Constructor - atomicobject.rb"
|
5
|
+
@plugin_install = "$ script/plugin install svn://rubyforge.org/var/svn/atomicobjectrb/tags/constructor"
|
6
|
+
@header_html = File.read("page_header.html")
|
7
|
+
html = ERB.new(File.read("index.erb")).result(binding)
|
8
|
+
fname = "index.html"
|
9
|
+
File.open(fname,"w") do |f|
|
10
|
+
f.print html
|
11
|
+
end
|
12
|
+
puts "Wrote #{fname}"
|
13
|
+
end
|
14
|
+
|
15
|
+
task :default => :index
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title><%= @title %></title>
|
4
|
+
</head>
|
5
|
+
<style>
|
6
|
+
#rails_plugin_installation {
|
7
|
+
padding: 5px;
|
8
|
+
margin-bottom: 10px;
|
9
|
+
font: bold 10pt "Courier New", courier, serif
|
10
|
+
}
|
11
|
+
</style>
|
12
|
+
|
13
|
+
<body>
|
14
|
+
|
15
|
+
<div align="center">
|
16
|
+
|
17
|
+
<%= @header_html %>
|
18
|
+
|
19
|
+
<div id="rails_plugin_installation"><%= @plugin_install %></div>
|
20
|
+
|
21
|
+
<a href="rdoc/index.html"><img border=0 src="sample_code.png"></a>
|
22
|
+
</div>
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
</body>
|
27
|
+
</html>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Constructor - atomicobject.rb</title>
|
4
|
+
</head>
|
5
|
+
<style>
|
6
|
+
#rails_plugin_installation {
|
7
|
+
padding: 5px;
|
8
|
+
margin-bottom: 10px;
|
9
|
+
font: bold 10pt "Courier New", courier, serif
|
10
|
+
}
|
11
|
+
</style>
|
12
|
+
|
13
|
+
<body>
|
14
|
+
|
15
|
+
<div align="center">
|
16
|
+
|
17
|
+
<map name="GraffleExport">
|
18
|
+
<area shape=rect coords="486,91,635,108" href="http://atomicobjectrb.rubyforge.org/">
|
19
|
+
<area shape=rect coords="485,120,635,187" href="rdoc/index.html">
|
20
|
+
<area shape=rect coords="310,120,463,187" href="http://rubyforge.org/frs/?group_id=4897&release_id=16546">
|
21
|
+
<area shape=rect coords="14,91,168,108" href="http://atomicobject.com">
|
22
|
+
<area shape=rect coords="572,16,627,71" href="http://atomicobjectrb.rubyforge.org/">
|
23
|
+
<area shape=rect coords="21,13,83,75" href="http://atomicobject.com">
|
24
|
+
</map>
|
25
|
+
<img border=0 src="page_header.png" usemap="#GraffleExport">
|
26
|
+
|
27
|
+
|
28
|
+
<div id="rails_plugin_installation">$ script/plugin install svn://rubyforge.org/var/svn/atomicobjectrb/tags/constructor</div>
|
29
|
+
|
30
|
+
<a href="rdoc/index.html"><img border=0 src="sample_code.png"></a>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
</body>
|
36
|
+
</html>
|
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<map name="GraffleExport">
|
2
|
+
<area shape=rect coords="486,91,635,108" href="http://atomicobjectrb.rubyforge.org/">
|
3
|
+
<area shape=rect coords="485,120,635,187" href="rdoc/index.html">
|
4
|
+
<area shape=rect coords="310,120,463,187" href="http://rubyforge.org/frs/?group_id=4897&release_id=16546">
|
5
|
+
<area shape=rect coords="14,91,168,108" href="http://atomicobject.com">
|
6
|
+
<area shape=rect coords="572,16,627,71" href="http://atomicobjectrb.rubyforge.org/">
|
7
|
+
<area shape=rect coords="21,13,83,75" href="http://atomicobject.com">
|
8
|
+
</map>
|
9
|
+
<img border=0 src="page_header.png" usemap="#GraffleExport">
|
Binary file
|
Binary file
|
@@ -0,0 +1,127 @@
|
|
1
|
+
CONSTRUCTOR_VERSION = '1.0.4' #:nodoc:#
|
2
|
+
|
3
|
+
class Class #:nodoc:#
|
4
|
+
def constructor(*attrs, &block)
|
5
|
+
call_block = ''
|
6
|
+
if block_given?
|
7
|
+
@constructor_block = block
|
8
|
+
call_block = 'self.instance_eval(&self.class.constructor_block)'
|
9
|
+
end
|
10
|
+
# Look for embedded options in the listing:
|
11
|
+
opts = attrs.find { |a| a.kind_of?(Hash) and attrs.delete(a) }
|
12
|
+
do_acc = opts.nil? ? false : opts[:accessors] == true
|
13
|
+
do_reader = opts.nil? ? false : opts[:readers] == true
|
14
|
+
require_args = opts.nil? ? true : opts[:strict] != false
|
15
|
+
super_args = opts.nil? ? nil : opts[:super]
|
16
|
+
|
17
|
+
# Incorporate superclass's constructor keys, if our superclass
|
18
|
+
if superclass.constructor_keys
|
19
|
+
similar_keys = superclass.constructor_keys & attrs
|
20
|
+
raise "Base class already has keys #{similar_keys.inspect}" unless similar_keys.empty?
|
21
|
+
attrs = [attrs,superclass.constructor_keys].flatten
|
22
|
+
end
|
23
|
+
# Generate ivar assigner code lines
|
24
|
+
assigns = ''
|
25
|
+
attrs.each do |k|
|
26
|
+
assigns += "@#{k.to_s} = args[:#{k.to_s}]\n"
|
27
|
+
end
|
28
|
+
|
29
|
+
# If accessors option is on, declare accessors for the attributes:
|
30
|
+
if do_acc
|
31
|
+
add_accessors = "attr_accessor " + attrs.reject {|x| superclass.constructor_keys.include?(x.to_sym)}.map {|x| ":#{x.to_s}"}.join(',')
|
32
|
+
#add_accessors = "attr_accessor " + attrs.map {|x| ":#{x.to_s}"}.join(',')
|
33
|
+
self.class_eval add_accessors
|
34
|
+
end
|
35
|
+
|
36
|
+
# If readers option is on, declare readers for the attributes:
|
37
|
+
if do_reader
|
38
|
+
self.class_eval "attr_reader " + attrs.reject {|x| superclass.constructor_keys.include?(x.to_sym)}.map {|x| ":#{x.to_s}"}.join(',')
|
39
|
+
end
|
40
|
+
|
41
|
+
# If user supplied super-constructor hints:
|
42
|
+
super_call = ''
|
43
|
+
if super_args
|
44
|
+
list = super_args.map do |a|
|
45
|
+
case a
|
46
|
+
when String
|
47
|
+
%|"#{a}"|
|
48
|
+
when Symbol
|
49
|
+
%|:#{a}|
|
50
|
+
end
|
51
|
+
end
|
52
|
+
super_call = %|super(#{list.join(',')})|
|
53
|
+
end
|
54
|
+
|
55
|
+
# If strict is on, define the constructor argument validator method,
|
56
|
+
# and setup the initializer to invoke the validator method.
|
57
|
+
# Otherwise, insert lax code into the initializer.
|
58
|
+
validation_code = "return if args.nil?"
|
59
|
+
if require_args
|
60
|
+
self.class_eval do
|
61
|
+
def _validate_constructor_args(args)
|
62
|
+
# First, make sure we've got args of some kind
|
63
|
+
unless args and args.keys and args.keys.size > 0
|
64
|
+
raise ConstructorArgumentError.new(self.class.constructor_keys)
|
65
|
+
end
|
66
|
+
# Scan for missing keys in the argument hash
|
67
|
+
a_keys = args.keys
|
68
|
+
missing = []
|
69
|
+
self.class.constructor_keys.each do |ck|
|
70
|
+
unless a_keys.member?(ck)
|
71
|
+
missing << ck
|
72
|
+
end
|
73
|
+
a_keys.delete(ck) # Delete inbound keys as we address them
|
74
|
+
end
|
75
|
+
if missing.size > 0 || a_keys.size > 0
|
76
|
+
raise ConstructorArgumentError.new(missing,a_keys)
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
# Setup the code to insert into the initializer:
|
81
|
+
validation_code = "_validate_constructor_args args "
|
82
|
+
end
|
83
|
+
|
84
|
+
# Generate the initializer code
|
85
|
+
self.class_eval %{
|
86
|
+
def initialize(args=nil)
|
87
|
+
#{super_call}
|
88
|
+
#{validation_code}
|
89
|
+
#{assigns}
|
90
|
+
setup if respond_to?(:setup)
|
91
|
+
#{call_block}
|
92
|
+
end
|
93
|
+
}
|
94
|
+
|
95
|
+
# Remember our constructor keys
|
96
|
+
@_ctor_keys = attrs
|
97
|
+
end
|
98
|
+
|
99
|
+
# Access the constructor keys for this class
|
100
|
+
def constructor_keys; @_ctor_keys ||=[]; end
|
101
|
+
|
102
|
+
def constructor_block #:nodoc:#
|
103
|
+
@constructor_block
|
104
|
+
end
|
105
|
+
|
106
|
+
end
|
107
|
+
|
108
|
+
# Fancy validation exception, based on missing and extraneous keys.
|
109
|
+
class ConstructorArgumentError < RuntimeError #:nodoc:#
|
110
|
+
def initialize(missing,rejected=[])
|
111
|
+
err_msg = ''
|
112
|
+
if missing.size > 0
|
113
|
+
err_msg = "Missing constructor args [#{missing.join(',')}]"
|
114
|
+
end
|
115
|
+
if rejected.size > 0
|
116
|
+
# Some inbound keys were not addressed earlier; this means they're unwanted
|
117
|
+
if err_msg
|
118
|
+
err_msg << "; " # Appending to earlier message about missing items
|
119
|
+
else
|
120
|
+
err_msg = ''
|
121
|
+
end
|
122
|
+
# Enumerate the rejected key names
|
123
|
+
err_msg << "Rejected constructor args [#{rejected.join(',')}]"
|
124
|
+
end
|
125
|
+
super err_msg
|
126
|
+
end
|
127
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
class ConstructorStruct
|
2
|
+
def self.new(*accessors, &block)
|
3
|
+
defaults = {:accessors => true, :strict => false}
|
4
|
+
|
5
|
+
accessor_names = accessors.dup
|
6
|
+
if accessors.last.is_a? Hash
|
7
|
+
accessor_names.pop
|
8
|
+
user_opts = accessors.last
|
9
|
+
user_opts.delete(:accessors)
|
10
|
+
defaults.each do |k,v|
|
11
|
+
user_opts[k] ||= v
|
12
|
+
end
|
13
|
+
else
|
14
|
+
accessors << defaults
|
15
|
+
end
|
16
|
+
|
17
|
+
Class.new do
|
18
|
+
constructor *accessors
|
19
|
+
|
20
|
+
class_eval(&block) if block
|
21
|
+
|
22
|
+
comparator_code = accessor_names.map { |fname| "self.#{fname} == o.#{fname}" }.join(" && ")
|
23
|
+
eval %|
|
24
|
+
def ==(o)
|
25
|
+
(self.class == o.class) && #{comparator_code}
|
26
|
+
end
|
27
|
+
def eql?(o)
|
28
|
+
(self.class == o.class) && #{comparator_code}
|
29
|
+
end
|
30
|
+
|
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|