summaryrefslogtreecommitdiff
path: root/Rakefile
Commit message (Collapse)AuthorAgeFilesLines
* Refactor tests. (#1953)Samuel Williams2022-08-261-27/+0
|
* Remove rubyforge related tasks (#1920)Aaron Patterson2022-07-071-10/+0
| | | RubyForge isn't available anymore, so we should remove these tasks
* Remove dependency on rack-session, and development dependency on minitest-sprintJeremy Evans2022-05-051-0/+1
| | | Add rack-session gem when testing rack-attack
* Fix URL for rack-cache external testing.Samuel Williams2022-02-231-1/+1
|
* Use forked `rack-cache` git repo.Samuel Williams2022-02-221-1/+1
|
* Enable directly requiring Rack componentsJeremy Evans2022-02-031-1/+17
| | | | | | | | | | | | | | | | | | | | | Add test:separate task to test run each test file separately. This is to test that directly requiring a rack component will work. With test:separate, the test helper will not require rack, and each test file should call separate_testing with a block that uses require_relative to only require that component being tested. Add the appropriate relative requires to get all tests passing when run separately. Note that this isn't foolproof. In many cases, the tests use Rack components that are not under test (such as lint and mock), and both of those other other rack components, so it's possible the tests are loading hidden dependencies. I attempted to check each component to try to find the hidden dependencies, but it is certainly possible I missed something. Implements #1621.
* Skip rubocop for external testsTasos Latsas2020-11-141-1/+1
|
* Rakefile: external tests: Rename our RuboCop YAMLOlle Jonsson2020-05-251-0/+3
| | | | | - this allows the other projects to run their own YAML configurations in separation
* RuboCop: Lint with automatic fixingOlle Jonsson2020-05-251-1/+1
|
* Add rack-cache to external testing.Samuel Williams2020-02-091-0/+1
|
* Add support for testing external gems.Samuel Williams2020-02-091-0/+22
|
* fix release taskAaron Patterson2020-02-081-1/+1
|
* Fix SPEC formatting.Samuel Williams2020-02-061-1/+1
|
* Move from SPEC to SPEC.rdocJeremy Evans2020-02-061-5/+5
| | | | | SPEC is already in rdoc format, and this results in nicer rendering on GitHub.
* Add test coverage using test_cov rake taskJeremy Evans2020-01-301-0/+6
| | | | Currently: 3352 / 3602 LOC (93.06%) covered
* Improve install process.Samuel Williams2020-01-121-0/+1
|
* Refactor RakefileYoshiyuki Hirano2018-04-161-16/+21
| | | | | | | * Removed needless magic comment * Display downcased task names * Add downcased "spec" task same as "changelog" * Use Rake::TestTask and set verbose option by default
* Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b } (#1253)yhirano552018-04-161-11/+11
| | | | | | | Use Ruby >= 1.9 syntax for hashes * Required Ruby version is >= 2.2, so It's better to use prefer `{ a: :b }` over `{ :a => :b }` in hash syntax. * It's hard to modify manufally all points, so I've installed rubocop and enabled only `Style/HashSyntax` (All cops are disabled by default) * Executed `rubocop --auto-correct`
* Add frozen_string_literal: true to remaining filesDillon Welch2018-04-131-0/+2
| | | | See https://github.com/rack/rack/issues/1243 for history of this task
* prefix with "rack-"2.0.0.alphaAaron Patterson2015-12-171-1/+1
|
* fix Rakefile to read the version from lib/rack.rbAaron Patterson2015-12-171-1/+1
|
* Cleanup older code than Ruby 2.0+ onedeepj2015-06-141-1/+1
|
* No difference between fulltest and test, per tenderlove.Ryan Davis2015-06-111-9/+2
|
* Added minitest/bacon to the top of each file so they can be run straight up.Ryan Davis2015-06-111-3/+1
|
* Converting to minitest: phase 1: minitest/baconRyan Davis2015-06-111-4/+5
| | | | | | | | | | This is a VERY quick conversion to minitest/bacon. It does nothing but include minitest/bacon and get the tests passing again. Some things are different, namely, how minitest treats tests (instance methods run randomly) vs how bacon treats tests ("class" blocks run serially). Instance variable access is different between the two, so some things got wrapped in before/after blocks WITHOUT indenting properly. That'll come later.
* Run all the tests on ci, we have the pkgsJames Tucker2015-01-061-1/+1
|
* use shasum1.6.0Aaron Patterson2014-12-181-1/+1
|
* chmod binaries to 755 instead of 775Felix C. Stegerman2013-12-041-2/+2
|
* Remove unused require rbconfigbajamircea2013-09-091-1/+0
| | | Rbconfig is no longer used in the :deps task, so no longer required
* Fix ChangeLog generation on 1.9.3+1.5.1James Tucker2013-01-281-1/+3
|
* Turn warnings back on for basic test runsJames Tucker2013-01-131-1/+1
|
* Documentation and Rakefile updates! Yay!James Tucker2012-03-181-12/+18
|
* Do not assume 'gem' on $PATH is the same as the one that this Ruby runtime ↵Hiro Asari2012-01-251-1/+3
| | | | should use. (Or, that 'gem' is found on $PATH at all.)
* Whoops, that's not what I meant. There is no exclude here.James Tucker2011-12-271-3/+1
|
* Move to a CI task, skipping the cgi tests for now, as they're problematic stillJames Tucker2011-12-271-0/+5
|
* Further improvements for CI, no more bundle!James Tucker2011-12-271-0/+12
|
* Make tests easier to run cross-interpreterJames Tucker2011-09-021-3/+3
|
* Add .rdoc extension so GitHub can apply formattingErik Michaels-Ober2011-05-251-2/+2
|
* We don't actually use rdoctaskJames Tucker2011-05-221-1/+0
|
* 1.9 not having '.' in load pathraggi2011-05-021-1/+1
|
* Add some basic Rack::Server tests, nothing like the oldies, but fasterraggi2011-05-021-1/+1
|
* Adding SPEC with rake task dependenciesraggi2010-12-311-3/+4
|
* Use gemloader in fulltestraggi2010-12-191-1/+1
|
* rack handler specs are "fast"Joshua Peek2010-06-161-1/+1
|
* Fix Rakefile1.2.1Christian Neukirchen2010-06-151-2/+1
|
* Rename spec/ back to test/Christian Neukirchen2010-06-151-3/+3
|
* Silence test suiteChristian Neukirchen2010-06-131-2/+2
|
* Ported specs to baconMichael Fellinger2010-06-121-5/+9
|
* gem and rdoc need SPECChristian Neukirchen2010-02-071-1/+1
|
* Drop RDOX supportChristian Neukirchen2010-01-061-11/+4
|