Aaron Patterson
377b15a223
make sure AR isolated tests set the environment variable
2011-06-06 18:01:19 -07:00
Aaron Patterson
75fb26aeca
oops! add parens so the block is properly bound
2011-06-06 16:59:51 -07:00
Aaron Patterson
945b131eb2
set the environment variable from the rake file
2011-06-06 16:51:28 -07:00
Aaron Patterson
b8714ed907
add test to the include path
2011-06-06 15:46:50 -07:00
Jon Leighton
dc4da12c55
Make sure that the build/drop database rake tasks take account of the test/config.yml config
2011-06-06 21:24:36 +01:00
José Valim
0c4fd88686
Merge pull request #1478 from arunagw/warning_cherry-picks
...
Some Cherry-picks for 1.9.2 warning removal
2011-06-06 02:43:44 -07:00
Jon Leighton
f9e3d4bc59
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
2011-06-04 23:25:36 +01:00
Vijay Dev
a81c2ec560
fixes Rake::GemPackageTask deprecation warnings from rake 0.9.0
2011-06-04 09:01:26 +05:30
Aaron Patterson
2947197421
use rake to create test databases for us
2011-01-14 14:07:16 -08:00
Santiago Pastorino
9a57a2279e
sorry, the CI cannot lie to us anymore (Part II)
2011-01-13 10:55:41 -02:00
Jon Leighton
c47c541402
Have a separate test connection directory for sqlite3 in-memory so that the tests can be run without having to specifically rename the connection file (which then causes git to pick up the changes)
2011-01-11 13:45:06 -08:00
raggi
cb1570936d
Rakefiles are executables, and rake loads rake, not rakefile code
2010-11-25 06:49:55 +08:00
Greg Hazel
3f49456f5b
remove use of echo [ #4410 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-02 11:50:38 +02:00
Xavier Noria
43291469cb
deletes the rdoc task of each component, they are no longer published separately
2010-08-20 13:30:31 +02:00
Santiago Pastorino
cad8bef5ea
Bump up rdoc to 2.5.10
2010-08-18 11:44:12 -03:00
Brian Lopez
21e81da335
update tests for mysql2 support
2010-08-02 01:37:57 -07:00
Xavier Noria
dcb7832ed5
APIs for individual components are no longer published
2010-07-26 00:05:14 +02:00
Aaron Patterson
b50635a59f
update Rakefiles for RDoc 2.5
2010-07-23 21:11:29 +02:00
Santiago Pastorino
b378b19430
Makes Rakefile activate rdoc >= 2.5.9
...
Signed-off-by: Xavier Noria <fxn@hashref.com >
2010-07-23 00:04:06 +02:00
José Valim
508fba9e07
Add .rdoc extension to README files.
2010-07-21 12:51:14 +02:00
Santiago Pastorino
ab96c71a52
Add this rule to run common tests and specifics ones from adapters dir
2010-06-27 21:20:53 -07:00
Aaron Patterson
5e2b473b47
reorganizing adapter specific tests. [ #4974 state:resolved]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-06-25 14:47:14 -07:00
Xavier Noria
2aa4e5f3fa
pdoc tasks publishe APIs in api.rubyonrails.org
2010-06-16 22:39:13 +02:00
Xavier Noria
01f3f0dbae
use RDoc 2.2 to generate the documentation of individual components
2010-06-16 22:30:06 +02:00
Aaron Patterson
f46dc9b6b7
clear the rest of the warnings, run with warnings turned on [ #4332 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-10 13:50:38 +02:00
Bryan Helmkamp
f221a6f19f
Leverage VERSION constants from gemspecs to avoid tedious updates when releasing
2010-03-02 00:32:53 -05:00
Bryan Helmkamp
11db694e0b
Remove cruft in the gem packaging and release code
2010-03-01 19:00:19 -08:00
Jeremy Kemper
459ecaf95d
Submarine the rake-gemcutter dep in Rakefiles
2010-02-05 00:03:03 -08:00
Jeremy Kemper
7b81f5981f
Fix task defines
2010-02-04 18:44:32 -08:00
Jeremy Kemper
c1785f3282
Release using gemcutter gem:push tasks
2010-02-04 18:28:45 -08:00
Jeremy Kemper
bbb3e5a858
Unify test:isolated across components and run by default at toplevel
2009-11-10 16:50:15 -08:00
Joshua Peek
6094e65169
We won't be publishing tars and zips anymore
2009-10-16 13:56:59 -05:00
Joshua Peek
f430d6b63e
Make gemspecs the authoritative source instead of generating them from the Rakefile
2009-09-25 00:46:13 -05:00
Carl Lerche
bd53ebde72
Add required dependencies on activemodel
2009-09-01 12:26:00 -07:00
Yehuda Katz
67f5d611f5
Add rake gemspec and gemspecs to the repo
2009-08-31 17:20:44 -07:00
Jeffrey Hardy
c10396b142
When running multiple test tasks, don't abort early if one produces failures
...
[#3107 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-27 11:20:51 -07:00
Pratik Naik
25e5b0c4a8
Remove support for SQLite 2.
...
If you're still using it, please install the plugin from git://github.com/rails/sqlite2_adapter.git
2009-08-17 14:54:34 +01:00
Jeremy Kemper
76335c27b6
Bump pg gem requirement to 0.8.0. Build psql db with UTF8 encoding.
2009-08-15 19:04:25 -07:00
Hugo Peixoto
d8041538dd
MySQL: fix diacritic uniqueness test by setting the default character set and collation to utf8/utf8_unicode_ci
...
[#2883 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-08-08 19:02:29 -07:00
Carl Lerche
db3de78a83
Bump up the version to 3.0.pre
2009-06-30 14:37:12 -07:00
Jeremy Kemper
e8550ee032
Cherry-pick core extensions
2009-05-13 12:00:15 -07:00
Jeremy Kemper
fa5da8ad54
isolated_test task
2009-05-13 11:43:03 -07:00
Jeremy Kemper
dc9f53b05b
Selectively require rake sshpublisher so full gem isn't required
2009-04-30 21:02:23 -07:00
David Heinemeier Hansson
73fc42cc0b
Prepare for final 2.3 release
2009-03-15 22:06:50 -05:00
David Heinemeier Hansson
77b0994c78
Prep for RC2 later today
2009-02-27 14:46:23 +01:00
Jeremy Kemper
49afe58d0b
Test jdbc adapters by default on jruby
2009-02-06 13:32:07 -08:00
Stephen Bannasch
4ef9845aa3
Adding AR tests for JDBC connections
...
New connections:
jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb jdbcpostgresql
To test you will need the native database installed (if one is required),
activerecord-jdbc-adapter and the specific activerecord-jdbc<database>-adapter
for the database you are testing.
Run the tests like this:
jruby -S rake test_jdbcmysql
Signed-off-by: Michael Koziarski <michael@koziarski.com >
[#1685 state:committed]
2009-01-26 16:08:44 +13:00
David Heinemeier Hansson
51a19ae2bf
Assume that the next version is going to be 2.3 for now
2008-11-19 14:12:38 +01:00
David Heinemeier Hansson
3be853b59d
A few more dependency updates
2008-11-14 14:08:26 +01:00
David Heinemeier Hansson
5366e61458
Proper update call for gem server
2008-10-23 20:29:25 +02:00