nutshell-crm 0.0.5 → 0.0.6.alpha
Sign up to get free protection for your applications and to get access to all the features.
- data/.rbenv-version +1 -0
- data/.travis.yml +8 -0
- data/CHANGELOG.md +5 -0
- data/README.md +37 -0
- data/Rakefile +14 -3
- data/lib/nutshell-crm.rb +92 -5
- data/lib/nutshell-crm/version.rb +1 -1
- data/nutshell-crm.gemspec +1 -0
- data/spec/nutshell-crm_spec.rb +17 -8
- data/vendor/bundle/bin/rake +19 -0
- data/vendor/bundle/gems/json-1.6.4/.gitignore +8 -0
- data/vendor/bundle/gems/json-1.6.4/.travis.yml +15 -0
- data/vendor/bundle/gems/json-1.6.4/CHANGES +227 -0
- data/vendor/bundle/gems/json-1.6.4/COPYING +58 -0
- data/vendor/bundle/gems/json-1.6.4/COPYING-json-jruby +57 -0
- data/vendor/bundle/gems/json-1.6.4/GPL +340 -0
- data/vendor/bundle/gems/json-1.6.4/Gemfile +11 -0
- data/vendor/bundle/gems/json-1.6.4/README-json-jruby.markdown +33 -0
- data/vendor/bundle/gems/json-1.6.4/README.rdoc +358 -0
- data/vendor/bundle/gems/json-1.6.4/Rakefile +408 -0
- data/vendor/bundle/gems/json-1.6.4/TODO +1 -0
- data/vendor/bundle/gems/json-1.6.4/VERSION +1 -0
- data/{README → vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/.keep} +0 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/data/.keep +0 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/generator2_benchmark.rb +222 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/generator_benchmark.rb +224 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/ohai.json +1216 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/ohai.ruby +1 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/parser2_benchmark.rb +251 -0
- data/vendor/bundle/gems/json-1.6.4/benchmarks/parser_benchmark.rb +259 -0
- data/vendor/bundle/gems/json-1.6.4/data/example.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/data/index.html +38 -0
- data/vendor/bundle/gems/json-1.6.4/data/prototype.js +4184 -0
- data/vendor/bundle/gems/json-1.6.4/diagrams/.keep +0 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/fbuffer/fbuffer.h +156 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/generator/Makefile +187 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/generator/extconf.rb +13 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/generator/generator.bundle +0 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/generator/generator.c +1384 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/generator/generator.h +161 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/json/ext/generator.bundle +0 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/json/ext/parser.bundle +0 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/parser/Makefile +187 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/parser/extconf.rb +13 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/parser/parser.bundle +0 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/parser/parser.c +2203 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/parser/parser.h +77 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/gems/json-1.6.4/ext/json/ext/parser/parser.rl +926 -0
- data/vendor/bundle/gems/json-1.6.4/install.rb +19 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/ByteListTranscoder.java +167 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/Generator.java +437 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/GeneratorMethods.java +232 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/GeneratorService.java +43 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/GeneratorState.java +522 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/OptionsReader.java +113 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/Parser.java +2640 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/Parser.rl +964 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/ParserService.java +35 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/RuntimeInfo.java +121 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/StringDecoder.java +166 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/StringEncoder.java +106 -0
- data/vendor/bundle/gems/json-1.6.4/java/src/json/ext/Utils.java +89 -0
- data/vendor/bundle/gems/json-1.6.4/json-java.gemspec +22 -0
- data/vendor/bundle/gems/json-1.6.4/json.gemspec +40 -0
- data/vendor/bundle/gems/json-1.6.4/json_pure.gemspec +42 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json.rb +62 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/bigdecimal.rb +21 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/complex.rb +22 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/core.rb +11 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/date.rb +34 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/date_time.rb +50 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/exception.rb +31 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/ostruct.rb +31 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/range.rb +29 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/rational.rb +22 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/regexp.rb +30 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/struct.rb +30 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/symbol.rb +25 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/add/time.rb +35 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/common.rb +470 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/ext.rb +21 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/ext/.keep +0 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/pure.rb +21 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/pure/generator.rb +468 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/pure/parser.rb +359 -0
- data/vendor/bundle/gems/json-1.6.4/lib/json/version.rb +8 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail1.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail10.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail11.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail12.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail13.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail14.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail18.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail19.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail2.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail20.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail21.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail22.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail23.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail24.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail25.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail27.json +2 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail28.json +2 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail3.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail4.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail5.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail6.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail7.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail8.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/fail9.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/pass1.json +56 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/pass15.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/pass16.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/pass17.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/pass2.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/pass26.json +1 -0
- data/vendor/bundle/gems/json-1.6.4/tests/fixtures/pass3.json +6 -0
- data/vendor/bundle/gems/json-1.6.4/tests/setup_variant.rb +11 -0
- data/vendor/bundle/gems/json-1.6.4/tests/test_json.rb +527 -0
- data/vendor/bundle/gems/json-1.6.4/tests/test_json_addition.rb +188 -0
- data/vendor/bundle/gems/json-1.6.4/tests/test_json_encoding.rb +65 -0
- data/vendor/bundle/gems/json-1.6.4/tests/test_json_fixtures.rb +35 -0
- data/vendor/bundle/gems/json-1.6.4/tests/test_json_generate.rb +249 -0
- data/vendor/bundle/gems/json-1.6.4/tests/test_json_string_matching.rb +40 -0
- data/vendor/bundle/gems/json-1.6.4/tests/test_json_unicode.rb +72 -0
- data/vendor/bundle/gems/json-1.6.4/tools/fuzz.rb +139 -0
- data/vendor/bundle/gems/json-1.6.4/tools/server.rb +62 -0
- data/vendor/bundle/gems/rake-0.9.2.2/.gemtest +0 -0
- data/vendor/bundle/gems/rake-0.9.2.2/CHANGES +522 -0
- data/vendor/bundle/gems/rake-0.9.2.2/MIT-LICENSE +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/README.rdoc +197 -0
- data/vendor/bundle/gems/rake-0.9.2.2/Rakefile +369 -0
- data/vendor/bundle/gems/rake-0.9.2.2/TODO +20 -0
- data/vendor/bundle/gems/rake-0.9.2.2/bin/rake +33 -0
- data/vendor/bundle/gems/rake-0.9.2.2/install.rb +90 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake.rb +69 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/alt_system.rb +109 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/application.rb +595 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/classic_namespace.rb +11 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/clean.rb +32 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/cloneable.rb +25 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/compositepublisher.rb +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/ftptools.rb +150 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/publisher.rb +73 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/sshpublisher.rb +50 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/contrib/sys.rb +191 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/default_loader.rb +10 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/dsl_definition.rb +176 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/early_time.rb +18 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/core.rb +27 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/module.rb +39 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/string.rb +167 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb +14 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_creation_task.rb +24 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_list.rb +403 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_task.rb +47 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_utils.rb +114 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/gempackagetask.rb +15 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/invocation_chain.rb +51 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/invocation_exception_mixin.rb +16 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/loaders/makefile.rb +40 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/multi_task.rb +16 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/name_space.rb +25 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/packagetask.rb +185 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/pathmap.rb +1 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/pseudo_status.rb +24 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_module.rb +29 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb +22 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rdoctask.rb +234 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/ruby182_test_unit_fix.rb +25 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/runtest.rb +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/task.rb +327 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/task_argument_error.rb +7 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/task_arguments.rb +78 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/task_manager.rb +307 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/tasklib.rb +22 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/testtask.rb +191 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/version.rb +8 -0
- data/vendor/bundle/gems/rake-0.9.2.2/lib/rake/win32.rb +55 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/file_creation.rb +34 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/helper.rb +492 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake.rb +40 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_application.rb +489 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_application_options.rb +335 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_clean.rb +14 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_definitions.rb +80 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_directory_task.rb +46 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_dsl.rb +77 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_early_time.rb +31 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_extension.rb +59 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_creation_task.rb +56 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_list.rb +628 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_list_path_map.rb +8 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_task.rb +102 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_file_utils.rb +305 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_ftp_file.rb +59 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_functional.rb +450 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_invocation_chain.rb +52 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_makefile_loader.rb +44 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_multi_task.rb +51 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_name_space.rb +43 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_package_task.rb +79 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_path_map.rb +157 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_path_map_explode.rb +34 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_path_map_partial.rb +18 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_pseudo_status.rb +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_rake_test_loader.rb +21 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_rdoc_task.rb +83 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_require.rb +40 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_rules.rb +327 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task.rb +267 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_argument_parsing.rb +103 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_arguments.rb +88 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_lib.rb +9 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_manager.rb +157 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_manager_argument_resolution.rb +36 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_task_with_arguments.rb +173 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_test_task.rb +120 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_top_level_functions.rb +111 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_rake_win32.rb +72 -0
- data/vendor/bundle/gems/rake-0.9.2.2/test/test_sys.rb +20 -0
- data/vendor/bundle/specifications/json-1.6.4.gemspec +39 -0
- data/vendor/bundle/specifications/rake-0.9.2.2.gemspec +34 -0
- metadata +285 -18
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# -*- coding: utf-8 -*-
|
3
|
+
|
4
|
+
require 'test/unit'
|
5
|
+
require File.join(File.dirname(__FILE__), 'setup_variant')
|
6
|
+
require 'stringio'
|
7
|
+
require 'time'
|
8
|
+
|
9
|
+
class TestJsonStringMatching < Test::Unit::TestCase
|
10
|
+
include JSON
|
11
|
+
|
12
|
+
class TestTime < ::Time
|
13
|
+
def self.json_create(string)
|
14
|
+
Time.parse(string)
|
15
|
+
end
|
16
|
+
|
17
|
+
def to_json(*)
|
18
|
+
%{"#{strftime('%FT%T%z')}"}
|
19
|
+
end
|
20
|
+
|
21
|
+
def ==(other)
|
22
|
+
to_i == other.to_i
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_match_date
|
27
|
+
t = TestTime.new
|
28
|
+
t_json = [ t ].to_json
|
29
|
+
assert_equal [ t ],
|
30
|
+
JSON.parse(t_json,
|
31
|
+
:match_string => { /\A\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[+-]\d{4}\Z/ => TestTime })
|
32
|
+
assert_equal [ t.strftime('%FT%T%z') ],
|
33
|
+
JSON.parse(t_json,
|
34
|
+
:match_string => { /\A\d{3}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[+-]\d{4}\Z/ => TestTime })
|
35
|
+
assert_equal [ t.strftime('%FT%T%z') ],
|
36
|
+
JSON.parse(t_json,
|
37
|
+
:match_string => { /\A\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[+-]\d{4}\Z/ => TestTime },
|
38
|
+
:create_additions => false)
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# -*- coding: utf-8 -*-
|
3
|
+
|
4
|
+
require 'test/unit'
|
5
|
+
require File.join(File.dirname(__FILE__), 'setup_variant')
|
6
|
+
|
7
|
+
class TC_JSONUnicode < Test::Unit::TestCase
|
8
|
+
include JSON
|
9
|
+
|
10
|
+
def test_unicode
|
11
|
+
assert_equal '""', ''.to_json
|
12
|
+
assert_equal '"\\b"', "\b".to_json
|
13
|
+
assert_equal '"\u0001"', 0x1.chr.to_json
|
14
|
+
assert_equal '"\u001f"', 0x1f.chr.to_json
|
15
|
+
assert_equal '" "', ' '.to_json
|
16
|
+
assert_equal "\"#{0x7f.chr}\"", 0x7f.chr.to_json
|
17
|
+
utf8 = [ "© ≠ €! \01" ]
|
18
|
+
json = '["© ≠ €! \u0001"]'
|
19
|
+
assert_equal json, utf8.to_json(:ascii_only => false)
|
20
|
+
assert_equal utf8, parse(json)
|
21
|
+
json = '["\u00a9 \u2260 \u20ac! \u0001"]'
|
22
|
+
assert_equal json, utf8.to_json(:ascii_only => true)
|
23
|
+
assert_equal utf8, parse(json)
|
24
|
+
utf8 = ["\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212"]
|
25
|
+
json = "[\"\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212\"]"
|
26
|
+
assert_equal utf8, parse(json)
|
27
|
+
assert_equal json, utf8.to_json(:ascii_only => false)
|
28
|
+
utf8 = ["\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212"]
|
29
|
+
assert_equal utf8, parse(json)
|
30
|
+
json = "[\"\\u3042\\u3044\\u3046\\u3048\\u304a\"]"
|
31
|
+
assert_equal json, utf8.to_json(:ascii_only => true)
|
32
|
+
assert_equal utf8, parse(json)
|
33
|
+
utf8 = ['საქართველო']
|
34
|
+
json = '["საქართველო"]'
|
35
|
+
assert_equal json, utf8.to_json(:ascii_only => false)
|
36
|
+
json = "[\"\\u10e1\\u10d0\\u10e5\\u10d0\\u10e0\\u10d7\\u10d5\\u10d4\\u10da\\u10dd\"]"
|
37
|
+
assert_equal json, utf8.to_json(:ascii_only => true)
|
38
|
+
assert_equal utf8, parse(json)
|
39
|
+
assert_equal '["Ã"]', JSON.generate(["Ã"], :ascii_only => false)
|
40
|
+
assert_equal '["\\u00c3"]', JSON.generate(["Ã"], :ascii_only => true)
|
41
|
+
assert_equal ["€"], JSON.parse('["\u20ac"]')
|
42
|
+
utf8 = ["\xf0\xa0\x80\x81"]
|
43
|
+
json = "[\"\xf0\xa0\x80\x81\"]"
|
44
|
+
assert_equal json, JSON.generate(utf8, :ascii_only => false)
|
45
|
+
assert_equal utf8, JSON.parse(json)
|
46
|
+
json = '["\ud840\udc01"]'
|
47
|
+
assert_equal json, JSON.generate(utf8, :ascii_only => true)
|
48
|
+
assert_equal utf8, JSON.parse(json)
|
49
|
+
end
|
50
|
+
|
51
|
+
def test_chars
|
52
|
+
(0..0x7f).each do |i|
|
53
|
+
json = '["\u%04x"]' % i
|
54
|
+
if RUBY_VERSION >= "1.9."
|
55
|
+
i = i.chr
|
56
|
+
end
|
57
|
+
assert_equal i, JSON.parse(json).first[0]
|
58
|
+
if i == ?\b
|
59
|
+
generated = JSON.generate(["" << i])
|
60
|
+
assert '["\b"]' == generated || '["\10"]' == generated
|
61
|
+
elsif [?\n, ?\r, ?\t, ?\f].include?(i)
|
62
|
+
assert_equal '[' << ('' << i).dump << ']', JSON.generate(["" << i])
|
63
|
+
elsif i.chr < 0x20.chr
|
64
|
+
assert_equal json, JSON.generate(["" << i])
|
65
|
+
end
|
66
|
+
end
|
67
|
+
assert_raise(JSON::GeneratorError) do
|
68
|
+
JSON.generate(["\x80"], :ascii_only => true)
|
69
|
+
end
|
70
|
+
assert_equal "\302\200", JSON.parse('["\u0080"]').first
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,139 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
require 'iconv'
|
4
|
+
ISO_8859_1_TO_UTF8 = Iconv.new('utf-8', 'iso-8859-15')
|
5
|
+
class ::String
|
6
|
+
def to_utf8
|
7
|
+
ISO_8859_1_TO_UTF8.iconv self
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
class Fuzzer
|
12
|
+
def initialize(n, freqs = {})
|
13
|
+
sum = freqs.inject(0.0) { |s, x| s + x.last }
|
14
|
+
freqs.each_key { |x| freqs[x] /= sum }
|
15
|
+
s = 0.0
|
16
|
+
freqs.each_key do |x|
|
17
|
+
freqs[x] = s .. (s + t = freqs[x])
|
18
|
+
s += t
|
19
|
+
end
|
20
|
+
@freqs = freqs
|
21
|
+
@n = n
|
22
|
+
@alpha = (0..0xff).to_a
|
23
|
+
end
|
24
|
+
|
25
|
+
def random_string
|
26
|
+
s = ''
|
27
|
+
30.times { s << @alpha[rand(@alpha.size)] }
|
28
|
+
s.to_utf8
|
29
|
+
end
|
30
|
+
|
31
|
+
def pick
|
32
|
+
r = rand
|
33
|
+
found = @freqs.find { |k, f| f.include? rand }
|
34
|
+
found && found.first
|
35
|
+
end
|
36
|
+
|
37
|
+
def make_pick
|
38
|
+
k = pick
|
39
|
+
case
|
40
|
+
when k == Hash, k == Array
|
41
|
+
k.new
|
42
|
+
when k == true, k == false, k == nil
|
43
|
+
k
|
44
|
+
when k == String
|
45
|
+
random_string
|
46
|
+
when k == Fixnum
|
47
|
+
rand(2 ** 30) - 2 ** 29
|
48
|
+
when k == Bignum
|
49
|
+
rand(2 ** 70) - 2 ** 69
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
def fuzz(current = nil)
|
54
|
+
if @n > 0
|
55
|
+
case current
|
56
|
+
when nil
|
57
|
+
@n -= 1
|
58
|
+
current = fuzz [ Hash, Array ][rand(2)].new
|
59
|
+
when Array
|
60
|
+
while @n > 0
|
61
|
+
@n -= 1
|
62
|
+
current << case p = make_pick
|
63
|
+
when Array, Hash
|
64
|
+
fuzz(p)
|
65
|
+
else
|
66
|
+
p
|
67
|
+
end
|
68
|
+
end
|
69
|
+
when Hash
|
70
|
+
while @n > 0
|
71
|
+
@n -= 1
|
72
|
+
current[random_string] = case p = make_pick
|
73
|
+
when Array, Hash
|
74
|
+
fuzz(p)
|
75
|
+
else
|
76
|
+
p
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
current
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
class MyState < JSON.state
|
86
|
+
WS = " \r\t\n"
|
87
|
+
|
88
|
+
def initialize
|
89
|
+
super(
|
90
|
+
:indent => make_spaces,
|
91
|
+
:space => make_spaces,
|
92
|
+
:space_before => make_spaces,
|
93
|
+
:object_nl => make_spaces,
|
94
|
+
:array_nl => make_spaces,
|
95
|
+
:max_nesting => false
|
96
|
+
)
|
97
|
+
end
|
98
|
+
|
99
|
+
def make_spaces
|
100
|
+
s = ''
|
101
|
+
rand(1).times { s << WS[rand(WS.size)] }
|
102
|
+
s
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
n = (ARGV.shift || 500).to_i
|
107
|
+
loop do
|
108
|
+
fuzzer = Fuzzer.new(n,
|
109
|
+
Hash => 25,
|
110
|
+
Array => 25,
|
111
|
+
String => 10,
|
112
|
+
Fixnum => 10,
|
113
|
+
Bignum => 10,
|
114
|
+
nil => 5,
|
115
|
+
true => 5,
|
116
|
+
false => 5
|
117
|
+
)
|
118
|
+
o1 = fuzzer.fuzz
|
119
|
+
json = JSON.generate o1, MyState.new
|
120
|
+
if $DEBUG
|
121
|
+
puts "-" * 80
|
122
|
+
puts json, json.size
|
123
|
+
else
|
124
|
+
puts json.size
|
125
|
+
end
|
126
|
+
begin
|
127
|
+
o2 = JSON.parse(json, :max_nesting => false)
|
128
|
+
rescue JSON::ParserError => e
|
129
|
+
puts "Caught #{e.class}: #{e.message}\n#{e.backtrace * "\n"}"
|
130
|
+
puts "o1 = #{o1.inspect}", "json = #{json}", "json_str = #{json.inspect}"
|
131
|
+
puts "locals = #{local_variables.inspect}"
|
132
|
+
exit
|
133
|
+
end
|
134
|
+
if o1 != o2
|
135
|
+
puts "mismatch", "o1 = #{o1.inspect}", "o2 = #{o2.inspect}",
|
136
|
+
"json = #{json}", "json_str = #{json.inspect}"
|
137
|
+
puts "locals = #{local_variables.inspect}"
|
138
|
+
end
|
139
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: utf-8
|
3
|
+
|
4
|
+
require 'webrick'
|
5
|
+
include WEBrick
|
6
|
+
$:.unshift 'ext'
|
7
|
+
$:.unshift 'lib'
|
8
|
+
require 'json'
|
9
|
+
|
10
|
+
class JSONServlet < HTTPServlet::AbstractServlet
|
11
|
+
@@count = 1
|
12
|
+
|
13
|
+
def do_GET(req, res)
|
14
|
+
obj = {
|
15
|
+
"TIME" => Time.now.strftime("%FT%T"),
|
16
|
+
"foo" => "Bär",
|
17
|
+
"bar" => "© ≠ €!",
|
18
|
+
'a' => 2,
|
19
|
+
'b' => 3.141,
|
20
|
+
'COUNT' => @@count += 1,
|
21
|
+
'c' => 'c',
|
22
|
+
'd' => [ 1, "b", 3.14 ],
|
23
|
+
'e' => { 'foo' => 'bar' },
|
24
|
+
'g' => "松本行弘",
|
25
|
+
'h' => 1000.0,
|
26
|
+
'i' => 0.001,
|
27
|
+
'j' => "\xf0\xa0\x80\x81",
|
28
|
+
}
|
29
|
+
res.body = JSON.generate obj
|
30
|
+
res['Content-Type'] = "application/json"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def create_server(err, dir, port)
|
35
|
+
dir = File.expand_path(dir)
|
36
|
+
err.puts "Surf to:", "http://#{Socket.gethostname}:#{port}"
|
37
|
+
|
38
|
+
s = HTTPServer.new(
|
39
|
+
:Port => port,
|
40
|
+
:DocumentRoot => dir,
|
41
|
+
:Logger => WEBrick::Log.new(err),
|
42
|
+
:AccessLog => [
|
43
|
+
[ err, WEBrick::AccessLog::COMMON_LOG_FORMAT ],
|
44
|
+
[ err, WEBrick::AccessLog::REFERER_LOG_FORMAT ],
|
45
|
+
[ err, WEBrick::AccessLog::AGENT_LOG_FORMAT ]
|
46
|
+
]
|
47
|
+
)
|
48
|
+
s.mount("/json", JSONServlet)
|
49
|
+
s
|
50
|
+
end
|
51
|
+
|
52
|
+
default_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'data'))
|
53
|
+
dir = ARGV.shift || default_dir
|
54
|
+
port = (ARGV.shift || 6666).to_i
|
55
|
+
s = create_server(STDERR, dir, 6666)
|
56
|
+
t = Thread.new { s.start }
|
57
|
+
trap(:INT) do
|
58
|
+
s.shutdown
|
59
|
+
t.join
|
60
|
+
exit
|
61
|
+
end
|
62
|
+
sleep
|
File without changes
|
@@ -0,0 +1,522 @@
|
|
1
|
+
= Rake Changelog
|
2
|
+
|
3
|
+
== Master (for 0.9.3)
|
4
|
+
|
5
|
+
* The rake test loader now removes arguments it has processed. Issue #51
|
6
|
+
* Rake::TaskArguments now responds to #values_at
|
7
|
+
* RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7
|
8
|
+
* Rake tests are now directory-independent
|
9
|
+
* Rake tests are no longer require flexmock
|
10
|
+
* Commands constant is no longer polluting top level namespace.
|
11
|
+
|
12
|
+
== Version 0.9.2
|
13
|
+
|
14
|
+
* Unknown
|
15
|
+
|
16
|
+
== Version 0.9.1
|
17
|
+
|
18
|
+
* Added deprecation warnings to the Rake DSL methods.
|
19
|
+
|
20
|
+
== Version 0.9.0
|
21
|
+
|
22
|
+
* *Incompatible* *change*: Rake DSL commands ('task', 'file', etc.) are
|
23
|
+
no longer private methods in Object. If you need to call 'task :xzy' inside
|
24
|
+
your class, include Rake::DSL into the class. The DSL is still available at
|
25
|
+
the top level scope (via the top level object which extends Rake::DSL).
|
26
|
+
|
27
|
+
* Rake now warns when the deprecated :needs syntax used.
|
28
|
+
|
29
|
+
* Rake history is now UTF-8 encoded.
|
30
|
+
|
31
|
+
* Rake now uses case-insensitive comparisons to find the Rakefile on Windows.
|
32
|
+
Based on patch by Roger Pack.
|
33
|
+
|
34
|
+
* Rake now requires (instead of loads) files in the test task. Patch by Cezary
|
35
|
+
Baginski.
|
36
|
+
|
37
|
+
* Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow.
|
38
|
+
|
39
|
+
* Rake now prints the Rakefile directory only when it's different from the
|
40
|
+
current directory. Patch by Alex Chaffee.
|
41
|
+
|
42
|
+
* Improved rakefile_location discovery on Windows. Patch by James Tucker.
|
43
|
+
|
44
|
+
* Rake now recognizes "Windows Server" as a windows system. Patch by Matthias
|
45
|
+
Lüdtke
|
46
|
+
|
47
|
+
* Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require
|
48
|
+
'rdoc/task')
|
49
|
+
|
50
|
+
* Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require
|
51
|
+
'rubygems/package_task')
|
52
|
+
|
53
|
+
* Rake now outputs various messages to $stderr instead of $stdout.
|
54
|
+
|
55
|
+
* Rake no longer emits warnings for Config. Patch by Santiago Pastorino.
|
56
|
+
|
57
|
+
* Split rake.rb into individual files.
|
58
|
+
|
59
|
+
* Support for the --where (-W) flag for showing where a task is defined.
|
60
|
+
|
61
|
+
* Fixed quoting in test task.
|
62
|
+
(http://onestepback.org/redmine/issues/show/44,
|
63
|
+
http://www.pivotaltracker.com/story/show/1223138)
|
64
|
+
|
65
|
+
* Fixed the silent option parsing problem.
|
66
|
+
(http://onestepback.org/redmine/issues/show/47)
|
67
|
+
|
68
|
+
* Fixed :verbose=>false flag on sh and ruby commands.
|
69
|
+
|
70
|
+
* Rake command line options may be given by default in a RAKEOPT
|
71
|
+
environment variable.
|
72
|
+
|
73
|
+
* Errors in Rake will now display the task invocation chain in effect
|
74
|
+
at the time of the error.
|
75
|
+
|
76
|
+
* Accepted change by warnickr to not expand test patterns in shell
|
77
|
+
(allowing more files in the test suite).
|
78
|
+
|
79
|
+
* Fixed that file tasks did not perform prereq lookups in scope
|
80
|
+
(Redmine #57).
|
81
|
+
|
82
|
+
== Version 0.8.7
|
83
|
+
|
84
|
+
* Fixed EXEEXT for JRuby on windows.
|
85
|
+
|
86
|
+
== Version 0.8.6
|
87
|
+
|
88
|
+
* Minor fixes to the RDoc generation (removed dependency on darkfish
|
89
|
+
and removed inline source option).
|
90
|
+
|
91
|
+
== PreVersion 0.8.6
|
92
|
+
|
93
|
+
* Now allow # comments to comment a task definition.
|
94
|
+
|
95
|
+
== Version 0.8.5
|
96
|
+
|
97
|
+
* Better support for the system command on Windows.
|
98
|
+
|
99
|
+
== Version 0.8.4
|
100
|
+
|
101
|
+
* Preserve case when locating rakefiles (patch from James
|
102
|
+
M. Lawrence/quix)
|
103
|
+
|
104
|
+
* Better support for windows paths in the test task (patch from Simon
|
105
|
+
Chiang/bahuvrihi)
|
106
|
+
|
107
|
+
* Windows system dir search order is now: HOME, HOMEDRIVE + HOMEPATH,
|
108
|
+
APPDATA, USERPROFILE (patch from Luis Lavena)
|
109
|
+
|
110
|
+
* MingGW is now recognized as a windows platform. (patch from Luis
|
111
|
+
Lavena)
|
112
|
+
|
113
|
+
* Numerous fixes to the windows test suite (patch from Luis Lavena).
|
114
|
+
|
115
|
+
* Improved Rakefile case insensitivity testing (patch from Luis
|
116
|
+
Lavena).
|
117
|
+
|
118
|
+
* Fixed stray ARGV option problem that was interfering with
|
119
|
+
Test::Unit::Runner.
|
120
|
+
|
121
|
+
* Fixed default verbose mode (was accidently changed to false).
|
122
|
+
|
123
|
+
* Removed reference to manage_gem to fix the warning produced by the
|
124
|
+
gem package task.
|
125
|
+
|
126
|
+
== Version 0.8.3
|
127
|
+
|
128
|
+
* Enhanced the system directory detection in windows. We now check
|
129
|
+
HOMEDRIVE/HOMEPATH and USERPROFILE if APPDATA isn't found. (Patch
|
130
|
+
supplied by James Tucker). Rake no long aborts if it can't find the
|
131
|
+
directory.
|
132
|
+
|
133
|
+
* Added fix to handle ruby installations in directories with spaces in
|
134
|
+
their name.
|
135
|
+
|
136
|
+
== Version 0.8.2
|
137
|
+
|
138
|
+
* Fixed bug in package task so that it will include the subdir
|
139
|
+
directory in the package for testing. (Bug found by Adam Majer)
|
140
|
+
|
141
|
+
* Added ENV var to rakefile to prevent OS X from including extended
|
142
|
+
attribute junk in a tar file. (Bug found by Adam Majer)
|
143
|
+
|
144
|
+
* Fixed filename dependency order bug in test_inspect_pending and
|
145
|
+
test_to_s_pending. (Bug found by Adam Majer)
|
146
|
+
|
147
|
+
* Fixed check for file utils options to make them immune to the
|
148
|
+
symbol/string differences. (Patch supplied by Edwin Pratomo)
|
149
|
+
|
150
|
+
* Fixed bug with rules involving multiple source (Patch supplied by
|
151
|
+
Emanuel Indermühle)
|
152
|
+
|
153
|
+
* Switched from getoptlong to optparse (patches supplied by Edwin
|
154
|
+
Pratomo)
|
155
|
+
|
156
|
+
* The -T option will now attempt to dynamically sense the size of the
|
157
|
+
terminal. RAKE_COLUMNS will override any dynamic sensing.
|
158
|
+
|
159
|
+
* FileList#clone and FileList#dup have better sematics w.r.t. taint
|
160
|
+
and freeze.
|
161
|
+
|
162
|
+
* Added ability clear prerequisites, and/or actions from an existing
|
163
|
+
task.
|
164
|
+
|
165
|
+
* Added the ability to reenable a task to be invoked a second time.
|
166
|
+
|
167
|
+
* Changed RDoc test task to have no default template. This makes it
|
168
|
+
easier for the tempate to pick up the template from the environment.
|
169
|
+
|
170
|
+
* Changed from using Mutex to Monitor. Evidently Mutex causes thread
|
171
|
+
join errors when Ruby is compiled with -disable-pthreads. (Patch
|
172
|
+
supplied by Ittay Dror)
|
173
|
+
|
174
|
+
* Fixed bug in makefile parser that had problems with extra spaces in
|
175
|
+
file task names. (Patch supplied by Ittay Dror)
|
176
|
+
|
177
|
+
* Added a performance patch for reading large makefile dependency
|
178
|
+
files. (Patch supplied by Ittay Dror)
|
179
|
+
|
180
|
+
* Default values for task arguments can easily be specified with the
|
181
|
+
:with_defaults method. (Idea for default argument merging supplied
|
182
|
+
by (Adam Q. Salter)
|
183
|
+
|
184
|
+
* The -T output will only self-truncate if the output is a tty.
|
185
|
+
However, if RAKE_COLUMNS is explicitly set, it will be honored in
|
186
|
+
any case. (Patch provided by Gavin Stark).
|
187
|
+
|
188
|
+
* Numerous fixes for running under windows. A big thanks to Bheeshmar
|
189
|
+
Redheendran for spending a good part of the afternoon at the
|
190
|
+
Lonestar Ruby Conference to help me work out these issues.
|
191
|
+
|
192
|
+
== Version 0.8.1
|
193
|
+
|
194
|
+
* Removed requires on parsedate.rb (in Ftptools)
|
195
|
+
* Removed ftools from rake.rb. Made it options in sys.rb
|
196
|
+
|
197
|
+
== Version 0.8.0
|
198
|
+
|
199
|
+
* Added task parameters (e.g. "rake build[version7]")
|
200
|
+
* Made task parameters passable to prerequisites.
|
201
|
+
* Comments are limited to 80 columns or so (suggested by Jamis Buck).
|
202
|
+
* Added -D to display full comments (suggested by Jamis Buck).
|
203
|
+
* The rake program will set the status value used in any explicit
|
204
|
+
exit(n) calls. (patch provided by Stephen Touset)
|
205
|
+
* Fixed error in functional tests that were not including session (and
|
206
|
+
silently skipping the functionl tests.
|
207
|
+
* Removed --usage and make -h the same as -H.
|
208
|
+
* Make a prettier inspect for tasks.
|
209
|
+
|
210
|
+
== Version 0.7.3
|
211
|
+
|
212
|
+
* Added existing and existing! methods to FileList
|
213
|
+
* FileLists now claim to be Arrays (via is_a?) to get better support
|
214
|
+
from the FileUtil module.
|
215
|
+
* Added init and top_level for custom rake applications.
|
216
|
+
|
217
|
+
== Version 0.7.2
|
218
|
+
|
219
|
+
* Error messages are now send to stderr rather than stdout (from
|
220
|
+
Payton Quackenbush).
|
221
|
+
* Better error handling on invalid command line arguments (from Payton
|
222
|
+
Quackenbush).
|
223
|
+
* Added rcov task and updated unit testing for better code coverage.
|
224
|
+
* Fixed some bugs where the application object was going to the global
|
225
|
+
appliation instead of using its own data.
|
226
|
+
* Added square and curly bracket patterns to FileList#include (Tilman
|
227
|
+
Sauerbeck).
|
228
|
+
* Added plain filename support to rule dependents (suggested by Nobu
|
229
|
+
Nakada).
|
230
|
+
* Added pathmap support to rule dependents.
|
231
|
+
* Added a 'tasks' method to a namespace to get a list of tasks
|
232
|
+
associated with the namespace.
|
233
|
+
* Fixed the method name leak from FileUtils (bug found by Glenn
|
234
|
+
Vanderburg).
|
235
|
+
* Added rake_extension to handle detection of extension collisions.
|
236
|
+
* Added test for noop, bad_option and verbose flags to sh command.
|
237
|
+
* Removed dependency on internal fu_xxx functions from FileUtils.
|
238
|
+
* Added a 'shame' task to the Rakefile.
|
239
|
+
* Added tar_command and zip_command options to the Package task.
|
240
|
+
* Added a description to the gem task in GemPackageTask.
|
241
|
+
* Fixed a bug when rules have multiple prerequisites (patch by Joel
|
242
|
+
VanderWerf)
|
243
|
+
* Added a protected 'require "rubygems"' to test/test_application to
|
244
|
+
unbreak cruisecontrol.rb.
|
245
|
+
* Added the handful of RakeFileUtils to the private method as well.
|
246
|
+
* Added block based exclusion.
|
247
|
+
* The clean task will no longer delete 'core' if it is a directory.
|
248
|
+
* Removed rake_dup. Now we just simply rescue a bad dup.
|
249
|
+
* Refactored the FileList reject logic to remove duplication.
|
250
|
+
* Removed if __FILE__ at the end of the rake.rb file.
|
251
|
+
|
252
|
+
== Version 0.7.1
|
253
|
+
|
254
|
+
* Added optional filter parameter to the --tasks command line option.
|
255
|
+
* Added flatten to allow rule transform procs to return lists of
|
256
|
+
prereqs (Joel VanderWerf provided patch).
|
257
|
+
* Added pathmap to String and FileList.
|
258
|
+
* The -r option will now load .rake files (but a straight require
|
259
|
+
doesn't yet). NOTE: This is experimental ... it may be
|
260
|
+
discontinued.
|
261
|
+
* The -f option without a value will disable the search for a
|
262
|
+
Rakefile. The assumption is that the -r files are adequate.
|
263
|
+
* Fixed the safe_ln function to fall back to cp in more error
|
264
|
+
scenarios.
|
265
|
+
|
266
|
+
== Version 0.7.0
|
267
|
+
|
268
|
+
* Added Rake.original_dir to return the original starting directory of
|
269
|
+
the rake application.
|
270
|
+
* Added safe_ln support for openAFS (from Ludvig Omholt).
|
271
|
+
* Added --trace reminder on short exception messages (David Heinemeier
|
272
|
+
Hansson suggestion).
|
273
|
+
* Added multitask declaration that executes prerequisites in
|
274
|
+
parallel. (Doug Young providied an initial implementation).
|
275
|
+
* Fixed missing_const hack to be compatible with Rails. (Jamis Buck
|
276
|
+
supplied test case).
|
277
|
+
* Made the RDoc task default to internal (in-process) RDoc formatting.
|
278
|
+
The old behavior is still available by setting the +external+ flag
|
279
|
+
to true.
|
280
|
+
* Rakefiles are now loaded with the expanded path to prevent
|
281
|
+
accidental polution from the Ruby load path.
|
282
|
+
* The +namespace+ command now returns a NameSpace object that can be
|
283
|
+
used to lookup tasks defined in that namespace. This allows for
|
284
|
+
better anonymous namespace behavior.
|
285
|
+
* Task objects my now be used in prerequisite lists directly.
|
286
|
+
|
287
|
+
== Version 0.6.1
|
288
|
+
|
289
|
+
* Rebuilt 0.6.0 gem without signing.
|
290
|
+
|
291
|
+
== Version 0.6.0
|
292
|
+
|
293
|
+
* Fixed file creation bug in the unit tests (caused infinite loop on
|
294
|
+
windows).
|
295
|
+
* Fixed bug where session based functional tests were run under
|
296
|
+
windows.
|
297
|
+
* Fixed bug in directory tasks so that updating a directory will not
|
298
|
+
retrigger file tasks depending on the directory (see
|
299
|
+
FileCreationTask and EarlyTime).
|
300
|
+
* Added egrep to FileList
|
301
|
+
* ruby command now runs same ruby version as rake.
|
302
|
+
* Added investigation to task object. (suggested by Martin Fowler)
|
303
|
+
* Added ruby_opts to the test task to allow arbitrary ruby options to
|
304
|
+
be passed to the test script. (Greg Fast)
|
305
|
+
* Fixed the test loader to ignore options. (Greg Fast)
|
306
|
+
* Moved Task, FileTask, FileCreationTask and RakeApp into the Rake
|
307
|
+
module namespace. Old style namespace behavior can be invoked via
|
308
|
+
the --classic-namespace option. (requested by Kelly Felkins).
|
309
|
+
* GemTask is now sensitive to the gem platform (Masao Mutoh).
|
310
|
+
* A non-existing file prerequisite will no longer cause an exception
|
311
|
+
(Philipp Neubeck).
|
312
|
+
* Multiple prerequisites on Rake rules now allowed (initial patch
|
313
|
+
supplied by Stuart Jansen).
|
314
|
+
|
315
|
+
== Version 0.5.4
|
316
|
+
|
317
|
+
* Added double quotes to the test runner.
|
318
|
+
* Added .svn to default ignore list.
|
319
|
+
* Updated FileList#include to support nested arrays and filelists.
|
320
|
+
|
321
|
+
== Version 0.5.3
|
322
|
+
|
323
|
+
* Added support for importing Rakefile and other dependencies.
|
324
|
+
* Fixed bug so that now rules can chain off of existing tasks as well
|
325
|
+
as existing files.
|
326
|
+
* Fixed verbose flag bug in the testing task. Shortened some failure
|
327
|
+
messages.
|
328
|
+
* Make FileUtils methods private at the top level module to avoid
|
329
|
+
accidental method leaking into other objects.
|
330
|
+
* Added test loader option to test task. "testrb" is no longer the
|
331
|
+
default test loader. It is now eating syntax errors that should
|
332
|
+
halt the unit tests.
|
333
|
+
* Revamped FileList so that it works more like and array (addressed
|
334
|
+
flatten bug). Added many tests around file list.
|
335
|
+
* Added +ext+ method to both String and FileList.
|
336
|
+
|
337
|
+
== Version 0.5.0
|
338
|
+
|
339
|
+
* Fixed documentation that was lacking the Rake module name (Tilman
|
340
|
+
Sauerbeck).
|
341
|
+
* Added tar.gz and tar.bz2 support to package task (Tilman Sauerbeck).
|
342
|
+
* Recursive rules are now supported (Tilman Sauerbeck).
|
343
|
+
* Added warning option for the Test Task (requested by Eric Hodel).
|
344
|
+
* The jamis rdoc template is only used if it exists.
|
345
|
+
* Added fix for Ruby 1.8.2 test/unit and rails problem.
|
346
|
+
* Added contributed rake man file (Jani Monoses).
|
347
|
+
* Added Brian Candler's fix for problems in --trace and --dry-run
|
348
|
+
mode.
|
349
|
+
|
350
|
+
== Version 0.4.15
|
351
|
+
|
352
|
+
* Fixed a bug that prevented the TESTOPTS flag from working with the
|
353
|
+
revised for 1.8.2 test task.
|
354
|
+
* Updated the docs on --trace to indicate that it also enables a full
|
355
|
+
backtrace on errors.
|
356
|
+
|
357
|
+
== Version 0.4.14
|
358
|
+
|
359
|
+
* Modified the TestTask to workaround the Ruby 1.8.2 change in
|
360
|
+
autoexecuting unit tests.
|
361
|
+
|
362
|
+
== Version 0.4.13
|
363
|
+
|
364
|
+
* Fixed the dry-run flag so it is operating again.
|
365
|
+
* Multiple arguments to sh and ruby commands will not be interpreted
|
366
|
+
by the shell (patch provided by Jonathan Paisley).
|
367
|
+
|
368
|
+
== Version 0.4.12
|
369
|
+
|
370
|
+
* Added --silent (-s) to suppress the (in directory) rake message.
|
371
|
+
|
372
|
+
== Version 0.4.11
|
373
|
+
|
374
|
+
* Changed the "don't know how to rake" message (finally)
|
375
|
+
* Changes references to a literal "Rakefile" to reference the global
|
376
|
+
variable $rakefile (which contains the actual name of the rakefile).
|
377
|
+
|
378
|
+
== Version 0.4.10
|
379
|
+
|
380
|
+
* Added block support to the "sh" command, allowing users to take
|
381
|
+
special actions on the result of the system call. E.g.
|
382
|
+
|
383
|
+
sh "shell_command" do |ok, res|
|
384
|
+
puts "Program returned #{res.exitstatus}" if ! ok
|
385
|
+
end
|
386
|
+
|
387
|
+
== Version 0.4.9
|
388
|
+
|
389
|
+
* Switched to Jamis Buck's RDoc template.
|
390
|
+
* Removed autorequire from Rake's gem spec. This prevents the Rake
|
391
|
+
libraries from loading while using rails.
|
392
|
+
|
393
|
+
== Version 0.4.8
|
394
|
+
|
395
|
+
* Added support for .rb versions of Rakefile.
|
396
|
+
* Removed \\\n's from test task.
|
397
|
+
* Fixed Ruby 1.9 compatibility issue with FileList.
|
398
|
+
|
399
|
+
== Version 0.4.7
|
400
|
+
|
401
|
+
* Fixed problem in FileList that caused Ruby 1.9 to go into infinite
|
402
|
+
recursion. Since to_a was removed from Object, it does not need to
|
403
|
+
added back into the list of methods to rewrite in FileList. (Thanks
|
404
|
+
to Kent Sibilev for pointing this out).
|
405
|
+
|
406
|
+
== Version 0.4.6
|
407
|
+
* Removed test version of ln in FileUtils that prevented safe_ln from
|
408
|
+
using ln.
|
409
|
+
|
410
|
+
== Version 0.4.5
|
411
|
+
* Upgraded comments in TestTask.
|
412
|
+
* FileList to_s and inspect now automatically resolve pending changes.
|
413
|
+
* FileList#exclude properly returns the FileList.
|
414
|
+
|
415
|
+
== Version 0.4.4
|
416
|
+
* Fixed initialization problem with @comment.
|
417
|
+
* Now using multi -r technique in TestTask. Switch Rakefile back to
|
418
|
+
using the built-in test task macros because the rake runtime is no
|
419
|
+
longer needed.
|
420
|
+
* Added 'TEST=filename' and 'TESTOPTS=options' to the Test Task
|
421
|
+
macros.
|
422
|
+
* Allow a +test_files+ attribute in test tasks. This allows more
|
423
|
+
flexibility in specifying test files.
|
424
|
+
|
425
|
+
== Version 0.4.3
|
426
|
+
* Fixed Comment leakage.
|
427
|
+
|
428
|
+
== Version 0.4.2
|
429
|
+
* Added safe_ln that falls back to a copy if a file link is not supported.
|
430
|
+
* Package builder now uses safe_ln.
|
431
|
+
|
432
|
+
== Version 0.4.1
|
433
|
+
* Task comments are now additive, combined with "/".
|
434
|
+
* Works with (soon to be released) rubygems 0.6.2 (or 0.7.0)
|
435
|
+
|
436
|
+
== Version 0.4.0
|
437
|
+
* FileList now uses deferred loading. The file system is not searched
|
438
|
+
until the first call that needs the file names.
|
439
|
+
* VAR=VALUE options are now accepted on the command line and are
|
440
|
+
treated like environment variables. The values may be tested in a
|
441
|
+
Rakefile by referencing ENV['VAR'].
|
442
|
+
* File.mtime is now used (instead of File.new().mtime).
|
443
|
+
|
444
|
+
== Version 0.3.2.x
|
445
|
+
|
446
|
+
* Removed some hidden dependencies on rubygems. Tests now will test
|
447
|
+
gems only if they are installed.
|
448
|
+
* Removed Sys from some example files. I believe that is that last
|
449
|
+
reference to Sys outside of the contrib area.
|
450
|
+
* Updated all copyright notices to include 2004.
|
451
|
+
|
452
|
+
== Version 0.3.2
|
453
|
+
|
454
|
+
* GEM Installation now works with the application stub.
|
455
|
+
|
456
|
+
== Version 0.3.1
|
457
|
+
|
458
|
+
* FileLists now automatically ignore CVS, .bak, !
|
459
|
+
* GEM Installation now works.
|
460
|
+
|
461
|
+
== Version 0.3.0
|
462
|
+
|
463
|
+
Promoted 0.2.10.
|
464
|
+
|
465
|
+
== Version 0.2.10
|
466
|
+
General
|
467
|
+
|
468
|
+
* Added title to Rake's rdocs
|
469
|
+
* Contrib packages are no longer included in the documentation.
|
470
|
+
|
471
|
+
RDoc Issues
|
472
|
+
|
473
|
+
* Removed default for the '--main' option
|
474
|
+
* Fixed rendering of the rdoc options
|
475
|
+
* Fixed clean/clobber confusion with rerdoc
|
476
|
+
* 'title' attribute added
|
477
|
+
|
478
|
+
Package Task Library Issues
|
479
|
+
|
480
|
+
* Version (or explicit :noversion) is required.
|
481
|
+
* +package_file+ attribute is now writable
|
482
|
+
|
483
|
+
FileList Issues
|
484
|
+
|
485
|
+
* Dropped bang version of exclude. Now using ant-like include/exclude semantics.
|
486
|
+
* Enabled the "yield self" idiom in FileList#initialize.
|
487
|
+
|
488
|
+
== Version 0.2.9
|
489
|
+
|
490
|
+
This version contains numerous changes as the RubyConf.new(2003)
|
491
|
+
presentation was being prepared. The changes include:
|
492
|
+
|
493
|
+
* The monolithic rubyapp task library is in the process of being
|
494
|
+
dropped in favor of lighter weight task libraries.
|
495
|
+
|
496
|
+
== Version 0.2.7
|
497
|
+
|
498
|
+
* Added "desc" for task descriptions.
|
499
|
+
* -T will now display tasks with descriptions.
|
500
|
+
* -P will display tasks and prerequisites.
|
501
|
+
* Dropped the Sys module in favor of the 1.8.x FileUtils module. Sys
|
502
|
+
is still supported in the contrib area.
|
503
|
+
|
504
|
+
== Version 0.2.6
|
505
|
+
|
506
|
+
* Moved to RubyForge
|
507
|
+
|
508
|
+
== Version 0.2.5
|
509
|
+
|
510
|
+
* Switched to standard ruby app builder.
|
511
|
+
* Added no_match option to file matcher.
|
512
|
+
|
513
|
+
== Version 0.2.4
|
514
|
+
|
515
|
+
* Fixed indir, which neglected to actually change directories.
|
516
|
+
|
517
|
+
== Version 0.2.3
|
518
|
+
|
519
|
+
* Added rake module for a help target
|
520
|
+
* Added 'for_files' to Sys
|
521
|
+
* Added a $rakefile constant
|
522
|
+
* Added test for selecting proper rule with multiple targets.
|