summaryrefslogtreecommitdiff
path: root/rake_tasks
Commit message (Collapse)AuthorAgeFilesLines
...
* Less verbose rake output, but with Ruby version.murphy2008-12-251-0/+1
|
* Changed CodeRay.for_redcloth into require 'coderay/for_redcloth'.murphy2008-08-281-10/+4
| | | | | * Cleanup in documentation.rake.
* Added diff task and a Redmine TODO.murphy2008-08-111-0/+86
|
* Trying to fix doc task for 1.9murphy2008-01-211-2/+6
|
* - fixed a bug in coderay_suite (break outside of loop?)murphy2008-01-122-4/+4
| | | | | | | | - made test and bench tasks run with all implementations - included term/ansicolor in lib (will need in some day anyway) as svn:external (this also means that tests will be colorful on all rubys) - incremented CodeRay version number (we're near...)
* Lib:murphy2008-01-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Encoder: removed a warning - Encoders::HTML: don't shadow outer variable - Plugin: move require_plugin into class namespace - Ruby Scanner: - "alias" keyword recognition - better regexp/division distinction - recognize ~, !, !=, and !~ as method names (partly Ruby 1.9 only) - reordered states for speed Tests: - updated coderay-suite to use gem instead of require_gem - general improvements (more colors!, new parameter: new, new syntax lang.test for only and new) - fixed ruby suite - adjusted a lot of Ruby tests (alias uses methods now) - new tests: ruby/operators, ruby/regexp Samples: - fixed/updated ('bout time) Rake tasks: - updated to use new rubygems API
* Done:murphy2007-01-014-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General: - Declared version 0.7.6. - Moved WordList, CaseIgnoringWordList, Plugin, PluginHost and FileType into CodeRay namespace. CodeRay should be "clean" now, except for the String#to_unix helper function. - Fixed a bit of documentation. - CodeRay binary: Prepare for streaming switch. Scanners: - Added code= alias for string=. - Added streaming? method: Is this Scanner in streaming mode? - Enhanced error info a bit. - Ruby scanner: - Highlights Regexp heredocs now. They may be added to Ruby 1.9. - Speedups with better support for Ruby 1.9. - Change in whitespace handling (faster and cleaner now.) - Speed up some operator recognition (saving two string comparisons). - Declared C and Plaintext Scanners as Streamable. Tokens: - Changed Text/Block token recognition (#is_a? ::String for Ruby 1.9 support). - New method: Tokens#text yields the code string. - text_size fixed. - Token kind shortcuts (like r for reserved) are now defined in token_classes.rb (instead of encoders/html/classes.rb). Encoders: - Debug Scanner added. - Base encoder class adds to @out when encoding (if @out is set). - A little Tokens scanner speedup. - Text encoder uses text_token. - Statistic encoder counts block tokens. - Smaller changes in XML and HTML encoders. Styles: - cYcnus style defines a debug class now. Duo: - scanner and encoder are now methods. Scanner and Encoder are created (and cached) when needed, not earlier. - Documented. Tests: - Disabled encoder and scanner list check (breaks too often). - Added identity test, which checks if tokens#text matches the input. - Added nocolor switch. Developer tools: - Benchmark uses Encoder#file_extension for output now. - Rakefile: Support for 19, 18, yarv and ruby switches for easy comparing different Ruby versions. - Statistic: Demos are no longer tests.
* Don't run tests in debug mode per default.murphy2006-10-191-3/+3
|
* Added functional test task and renamed all test task descriptions.murphy2006-10-171-4/+9
| | | | | | rake test now runs both functional and scanner tests! Deleted stupid classes test.
* Renamed CodeRay::Version to CodeRay::VERSION.murphy2006-10-171-1/+1
|
* Declared Version 0.7.4!murphy2006-10-171-3/+4
| | | | | | Plugin#all_plugin_names is now called #list. Added some basic functional tests and adjusted statistic.rake.
* Moved demos to sample/.murphy2006-10-171-3/+3
|
* Renamed tests: .actual.* is (ignored) output, .expected.* is input now.murphy2006-10-171-0/+7
| | | | | Added test:clean task.
* Moved scanner tests into test/scanners.murphy2006-10-151-3/+3
|
* benchmark.rake: fixed pathname murphy2006-10-151-1/+1
|
* Tests:murphy2006-10-151-6/+6
| | | | | | | | | | | | | | | | - improved coderay_suite.rb (random and shuffled tests, max parameter, scannerlang->lang, sorted test cases...) - changed html output extension to .actual.html to svn:ignore them - fixed some tests (deleted $Id$ etc.) - made XHTML testcase work Scanners: - fixed HTML, Delphi and Nitro scanners thanks to new tests Engine: - Tokens#fix and #fix! added (yet to be tested) - improved Scanner#raise_inspect a bit Converted more files to UNIX format (go away, stinkin' \r!)
* Added import task to get updates from rubyforge trunk.murphy2006-10-151-0/+14
|
* Workaround for YAML gem index generation (f*ck Zlib!)murphy2006-07-111-2/+2
| | | | Updated README version
* Fixed Plaintext scanner (crashed on empty text - ouch!!)murphy2006-07-111-1/+1
| | | | Added coderay_stylesheet executable (should be "coderay stylesheet css" or just "coderay sty" some day.)
* Ruby 1.8.2 is enough, so use >= instead of >.murphy2006-07-111-1/+1
|
* Set gem requirement for Ruby 1.8.2+.murphy2006-07-111-0/+1
|
* Updated gem.rake for Rubygems 0.9.0.murphy2006-07-111-1/+1
|
* rake test now runs in debug mode.murphy2006-07-111-1/+1
| | | | All .rb files converted to UNIX format (where did the \r come from?)
* Big re-indenting - no more tabs!murphy2006-07-107-189/+189
|
* Fixed another bug in the Ruby scanner, this time it was unfinished heredocs ↵murphy2006-07-091-1/+1
| | | | | | with empty delimiter. Fixed documentation uploading.
* Link to new website in gem.murphy2006-07-051-1/+1
|
* Fix:murphy2006-06-281-2/+3
| | | | | | | | | | | | | | HTML Scanner: Fixed a nasty bug with invalid entities. Thanks to Daniel Bovensiepen. Scanner: added Scanner.normify. Plugin: small documentation fix. Code statistic: added lib root folder rake_helpers/code_statistics.rb: added ability to include non-Ruby code in the statistics used it to count the mountain of test data There is some mixed space/tab indentation now. Complete 2-space-re-indentation will follow.
* new version: 0.7.1murphy2006-05-111-1/+12
| | | | | | | improved bin/coderay and included it into package added gem:install task added Duo#highlight (alias for encode) fixed a Plugin bug
* New Version: 0.7.0!murphy2006-04-191-1/+1
| | | | | | | | | | | Adjusted gem.rake. HTML scanner fixed. Enhanced filetype.rb: .rake files, xml, yaml (preparing for YAML scanner.) Enhanced test/ruby/1.in.rb. Added XML scanner with example. plugin.rb: made all_plugin_names public.
* test.rake: debug tags deleted (use rake test diff=+)murphy2006-04-162-9/+4
| | | | | | gem.rake: renamed up_gem to upload and fixed. Rakefile: added upload meta task. ftp.rb: do login only once.
* Rake tasks completely redone.murphy2006-04-167-0/+230
rdoctask2.rb deleted; issues were fixed as of Rake 0.7.0.