aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | | Add few information on the field typesRobin Dupret2012-07-041-0/+49
| | |/ / / / / / /
| * | | | | | | | Merge pull request #6967 from frodsan/quite_as_durationRafael Mendonça França2012-07-053-1/+15
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | fix quoting for ActiveSupport::Duration instances
| | * | | | | | | | fix quoting for ActiveSupport::Duration instancesFrancesco Rodriguez2012-07-043-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes quoting for ActiveSupport::Duration instances: # before >> ActiveRecord::Base.connection.quote 30.minutes => "'--- 1800\n...\n'" # after >> ActiveRecord::Base.connection.quote 30.minutes => "1800" Also, adds a test for type casting ActiveSupport::Duration instances. Related to #1119.
| * | | | | | | | | Merge pull request #6969 from mkdynamic/patch-1Jeremy Kemper2012-07-041-1/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Use ArgumentError vs. RuntimeError, which is more precise
| | * | | | | | | | | Use ArgumentError vs. RuntimeError, which is more precise.Mark Dodwell2012-07-041-1/+1
| |/ / / / / / / / /
| * | | | | | | | | Merge pull request #6968 from guilleiguaran/update-test-helperRafael Mendonça França2012-07-041-1/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | CSV fixtures aren't supported by default anymore, update generated test_helper.rb to reflect that
| | * | | | | | | | | CSV fixtures aren't supported by default anymore, update generated ↵Guillermo Iguaran2012-07-041-1/+1
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_helper.rb to reflect that
* | | | | | | | | | Merge branch 'master' into testcleanAaron Patterson2012-07-045-13/+19
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: activesupport gem dependencies should reflect the versions we actually use fix link and add activeresource link in release notes page [ci skip] Update 4.0 Release Notes Kill not used constant since removal of runner method
| * | | | | | | | | activesupport gem dependencies should reflect the versions we actually useAaron Patterson2012-07-043-1/+2
| |/ / / / / / / /
| * | | | | | | | Merge pull request #6961 from frodsan/fix_release_noteSantiago Pastorino2012-07-041-2/+2
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | fix link and add activeresource link in release notes page [ci skip]
| | * | | | | | | fix link and add activeresource link in release notes page [ci skip]Francesco Rodriguez2012-07-041-2/+2
| |/ / / / / / /
| * | | | | | | Update 4.0 Release NotesRafael Mendonça França2012-07-041-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related with 17d2115e3df6caf15d554b44e28177069fa3ed5b
| * | | | | | | Kill not used constant since removal of runner methodCarlos Antonio da Silva2012-07-031-9/+0
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Runner method was removed in ada571bfcdbad669ae43a4dd18277ef227680a0b.
* | | | | | | push parameter instantiation to one methodAaron Patterson2012-07-031-1/+1
| | | | | | |
* | | | | | | add Mime.fetch so we can have default mime typesAaron Patterson2012-07-032-2/+6
| | | | | | |
* | | | | | | make the default environment have actual defaultsAaron Patterson2012-07-032-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of deleting keys on every instantiation, create defaults we actually use. eventually we can pass an environment in to the request, and create a new req / res object on each call.
* | | | | | | assing the request on the response only onceAaron Patterson2012-07-031-4/+5
| | | | | | |
* | | | | | | group things that are alikeAaron Patterson2012-07-032-10/+10
| | | | | | |
* | | | | | | push functional test specific methods to it's own moduleAaron Patterson2012-07-032-9/+15
| | | | | | |
* | | | | | | test should be testing to_param not to_s, remove Array subclassAaron Patterson2012-07-032-7/+3
| | | | | | |
* | | | | | | push the cookie writing stuff out of the controllerAaron Patterson2012-07-032-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | merging cookies is responsibility of the test runner
* | | | | | | extend the controller with special logic on recycleAaron Patterson2012-07-032-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason, this special logic is only supposed to be executed on the second request. For now, we'll extend on recycle, but we should figure out why this functionality can't be run on every request
* | | | | | | push req / res setting to the test runnerAaron Patterson2012-07-032-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try to avoid making the controller mutate itself so that we can eventually make the response async
* | | | | | | extract response setting to a methodAaron Patterson2012-07-031-2/+8
|/ / / / / /
* | | | | | remove duplicate requires of mocha.Aaron Patterson2012-07-033-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mocha is already required by AS::TestCase, so remove the duplicate requires.
* | | | | | remove the runner method copied from minitestAaron Patterson2012-07-031-20/+7
| | | | | |
* | | | | | hook mocha in through m/t before_setup, after_teardown hooksAaron Patterson2012-07-034-9/+26
| | | | | |
* | | | | | Merge pull request #6948 from frodsan/plugin_skip_ignoreRafael Mendonça França2012-07-032-1/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | remove test/dummy from gitignore when "plugin new -T"
| * | | | | | remove test/dummy from gitignore when "plugin new -T"Francesco Rodriguez2012-07-032-1/+9
| | | | | | |
* | | | | | | Merge branch 'lexmag-reference_statements'Rafael Mendonça França2012-07-038-40/+226
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | Closes #6920
| * | | | | | Don't need to use delete in the options hashRafael Mendonça França2012-07-032-3/+2
| | | | | | |
| * | | | | | Add changelog entry for references statementsAleksey Magusev2012-07-031-0/+13
| | | | | | |
| * | | | | | Refactor references schema definitionsAleksey Magusev2012-07-032-34/+24
| | | | | | |
| * | | | | | Make references statements reversibleAleksey Magusev2012-07-032-4/+40
| | | | | | |
| * | | | | | Add references schema statementsAleksey Magusev2012-07-033-1/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Examples: add_reference :products, :supplier, polymorphic: true, index: true remove_reference :products, :user `add_belongs_to` and `remove_belongs_to` are acceptable.
* | | | | | | Merge pull request #6946 from threedaymonk/queue-refsAaron Patterson2012-07-033-45/+132
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Ensure that queued jobs are marshallable
| * | | | | | Make TestQueueTest work with marshalling queuePaul Battley2012-07-031-25/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires all jobs to be instances of named classes, without block implementations of methods.
| * | | | | | Ensure jobs do not refer to the queuePaul Battley2012-07-031-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jobs pushed to the queue should not contain a reference to it. As the queue itself cannot be marshalled, and as a consequence of checking the marshallability of all jobs in the test environment, we can now guarantee this to be the case in the test environment when using the default TestQueue implementation.
| * | | | | | Ensure test jobs are marshallablePaul Battley2012-07-032-8/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By marshalling and unmarshalling jobs when adding them to the test queue, we can ensure that jobs created during test runs are valid candidates for marshalling, and, thus, that they can be used with queueing backends other than the default simple in-process implementation. This will also be used in a subsequent commit to ensure that jobs pushed to the queue do not contain a reference to the queue itself.
| * | | | | | Track queue threading with named classesPaul Battley2012-07-031-14/+24
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using an anonymous class prevented marshalling: we're not doing that yet, but the next commit will introduce this. This also provided an opportunity to improve the expressivity of the tests and to make the assertion failure messages clearer.
* | | | | | Merge pull request #6940 from acapilleri/observer_updateCarlos Antonio da Silva2012-07-031-2/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Observer #update refactoring
| * | | | | observer update refactoringAngelo Capilleri2012-07-031-2/+1
| | | | | |
* | | | | | Merge pull request #6934 from kennyj/fix_storeRafael Mendonça França2012-07-022-2/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | Don't mark the store as changed if an attribute isn't changed.
| * | | | | | Don't mark the store as changed if an attribute isn't changed.kennyj2012-07-032-2/+10
|/ / / / / /
* | | | | | Update 4.0 Release Notes with changelogs [ci skip]Carlos Antonio da Silva2012-07-024-23/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fix some wrong formatting. Related discussion: https://github.com/rails/rails/commit/ab72040b74f742b6676b2d2a5dd029bfdca25a7a#commitcomment-1525256
* | | | | | explains why the file update checker ignores mtimes in the future, plus a ↵Xavier Noria2012-07-021-2/+12
|/ / / / / | | | | | | | | | | | | | | | little refactor for the same price
* | | | | push response creation down since third param is never used.Aaron Patterson2012-07-021-3/+3
| | | | |
* | | | | Merge pull request #6919 from rahul100885/masterCarlos Antonio da Silva2012-07-021-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make file name and class name consistant Related to dbc43bcce69aa4aaf0ae309bf410e2b786c4e3f6
| * | | | | Made file name and class name consistantRahul P. Chaudhari2012-07-021-1/+1
| |/ / / /
* / / / / Improve performance of DateTime#seconds_since_unix_epochAndrew White2012-07-022-2/+6
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calculate the seconds since the UNIX epoch using the difference in Julian day numbers from the epoch date. By reducing the Rational math to just the offset component this gives a significant improvement. Benchmark: Calculating -------------------------------------------- new 27733 i/100ms current 15031 i/100ms new 27737 i/100ms current 15549 i/100ms -------------------------------------------------------- new 548182.1 (±0.9%) i/s - 2745567 in 5.008943s current 216380.9 (±1.6%) i/s - 1082232 in 5.002781s new 510281.9 (±1.2%) i/s - 2551804 in 5.001525s current 219858.3 (±1.8%) i/s - 1103979 in 5.023039s