aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added ActiveJob configuration for travisCristian Bica2014-08-142-2/+3
|
* Refactor DeliverLater into MessageDeliveryAbdelkader Boudih2014-08-149-83/+73
|
* Make ActionMailer::Previews methods class methods.Abdelkader Boudih2014-08-142-0/+8
|
* Update ActiveJob guide [ci skip]Cristian Bica2014-08-131-3/+12
|
* Merge branch 'master' into activejobCristian Bica2014-08-1319-39/+78
|\
| * Merge pull request #16493 from aditya-kapoor/correct-cache-store-docSantiago Pastorino2014-08-131-1/+1
| |\ | | | | | | [ci skip] correct default cache store class
| | * [ci skip] correct default cache store classAditya Kapoor2014-08-131-1/+1
| | |
| * | Missing ActiveSupport require for calling String#firstAkira Matsuda2014-08-141-0/+1
| | |
| * | use :test delivery method for `base_test.rb`Yves Senn2014-08-132-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This solves errors like: ``` BaseTest#test_you_can_register_multiple_observers_to_the_mail_object_that_both_get_informed_on_email_delivery: Errno::ECONNREFUSED: Connection refused - connect(2) for "localhost" port 25 /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `initialize' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `open' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:541:in `tcp_socket' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:551:in `block in do_start' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/timeout.rb:101:in `call' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/timeout.rb:101:in `timeout' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:550:in `do_start' /Users/senny/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/smtp.rb:520:in `start' /Users/senny/Projects/rails/.bundle/gems/mail-2.6.1/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!' /Users/senny/Projects/rails/.bundle/gems/mail-2.6.1/lib/mail/message.rb:2136:in `do_delivery' /Users/senny/Projects/rails/.bundle/gems/mail-2.6.1/lib/mail/message.rb:232:in `block in deliver' /Users/senny/Projects/rails/actionmailer/lib/action_mailer/base.rb:528:in `block in deliver_mail' /Users/senny/Projects/rails/activesupport/lib/active_support/notifications.rb:164:in `block in instrument' /Users/senny/Projects/rails/activesupport/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /Users/senny/Projects/rails/activesupport/lib/active_support/notifications.rb:164:in `instrument' /Users/senny/Projects/rails/actionmailer/lib/action_mailer/base.rb:526:in `deliver_mail' /Users/senny/Projects/rails/.bundle/gems/mail-2.6.1/lib/mail/message.rb:232:in `deliver' /Users/senny/Projects/rails/actionmailer/test/base_test.rb:598:in `block (2 levels) in <class:BaseTest>' /Users/senny/Projects/rails/actionmailer/test/base_test.rb:801:in `mail_side_effects' /Users/senny/Projects/rails/actionmailer/test/base_test.rb:593:in `block in <class:BaseTest>' ``` where the `:smtp` delivery method was leaked over to other test cases.
| * | actionmailer_tests_are_order_dependent!Akira Matsuda2014-08-131-0/+5
| |/
| * Merge pull request #16491 from akshay-vishnoi/doc-changesYves Senn2014-08-134-5/+5
| |\ | | | | | | [ci skip] fix spelling of overridden
| | * [ci skip] fix spelling of overrideAkshay Vishnoi2014-08-134-5/+5
| | |
| * | Railties tests are order_independent! Hopefully.Akira Matsuda2014-08-131-4/+0
| | |
| * | Fix Railties tests that were order dependentAkira Matsuda2014-08-131-0/+10
| | |
| * | AS tests are now order_independent!Akira Matsuda2014-08-131-5/+0
| | |
| * | Reset ActiveSupport::Dependencies.mechanism to make tests order independentAkira Matsuda2014-08-131-6/+10
| | |
| * | Duplicated method in the test helperAkira Matsuda2014-08-131-7/+0
| | |
| * | AM, AP, AV, and AMo tests are already order_independent!Akira Matsuda2014-08-134-20/+0
| | |
| * | Merge pull request #16489 from tomkadwill/updating_options_to_new_styleYves Senn2014-08-131-1/+1
| |\ \ | | | | | | | | [ci skip] Updated where scope documentation to conform to new style
| | * | [ci skip] Updated where scope to conform to new styleTom Kadwill2014-08-131-1/+1
| | | |
| * | | `index_exists?` with `:name` checks specified columns.Yves Senn2014-08-133-7/+30
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Yves Senn & Matthew Draper] The column check was embodied in the defaul index name. If the :name option was used, the specified columns were not verified at all. Given: ``` assert connection.index_exists?(table_name, :foo_id, :name => :index_testings_on_yo_momma) ``` That index could have been defined on any field, not necessarily on `:foo_id`.
| * | :bomb:Rafael Mendonça França2014-08-121-1/+1
| | |
| * | Merge pull request #16476 from akshay-vishnoi/doc-changesRafael Mendonça França2014-08-122-2/+2
| |\ \ | | | | | | | | [ci skip] use "based on" or "based off of"
| | * | use 'based on' instead of 'based off' [ci skip]Akshay Vishnoi2014-08-122-2/+2
| | |/
| * / Nobody sucks so nobody should call this awful method nameRafael Mendonça França2014-08-129-8/+12
| |/
| * CHANGELOG entry for TestCase.i_suck_and_my_tests_are_order_dependent! fixAkira Matsuda2014-08-121-0/+6
| |
| * Remove old setup from AS test caseCarlos Antonio da Silva2014-08-121-5/+0
| | | | | | | | | | This was added back in Rails 3 on c4a6109286909c394e8c5bfc471a1eb9de245d2b, and is not being used anymore.
| * users_dont_suck_but_only_we_suck_and_only_our_tests_are_order_dependent!Akira Matsuda2014-08-128-4/+34
| | | | | | | | | | Calling ActiveSupport::TestCase.i_suck_and_my_tests_are_order_dependent! in AS::TestCase makes everyone's tests order dependent, which should never be done by the framework.
| * Merge pull request #16472 from y-yagi/patch-1Carlos Antonio da Silva2014-08-121-1/+1
| |\ | | | | | | [ci skip] Fix broken url in plugins guide
| | * [ci skip] Fix broken url in plugins guideyuuji.yaginuma2014-08-121-1/+1
| |/
* | [ci skip] First version of the Active Job guideCristian Bica2014-08-131-0/+323
| |
* | Clean adapter_test.rb and skip test for sidekiq in unsupported rubiesAbdelkader Boudih2014-08-133-64/+33
| |
* | Added ActionMailer::DeliverLaterAbdelkader Boudih2014-08-1311-10/+163
| |
* | Modified activejob.gemspec to match other rails gems formatCristian Bica2014-08-121-4/+6
| |
* | Update activejob's READMECristian Bica2014-08-121-7/+28
| |
* | Added activejob to install.rbCristian Bica2014-08-121-1/+1
| |
* | Fixed failing tests; Load active_job in railtie; Renamed generator to jobCristian Bica2014-08-125-5/+9
| |
* | Remove activejob integration testsAbdelkader Boudih2014-08-1250-713/+65
| |
* | Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709'Abdelkader Boudih2014-08-12104-0/+2276
|\ \ | |/ |/| | | | | | | git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709
| * Merge pull request #102 from cristianbica/integration_testsDavid Heinemeier Hansson2014-08-0845-52/+574
| |\ | | | | | | Integration testing
| | * Integration testingCristian Bica2014-08-0845-52/+574
| |/
| * Merge pull request #103 from cristianbica/adapter-fixesDavid Heinemeier Hansson2014-08-063-9/+13
| |\ | | | | | | Fixed qu, queue_classic, sneakers adapters
| | * Fixed qu, queue_classic, sneakers adaptersCristian Bica2014-08-073-9/+13
| |/
| * Fix the test requirement of resque_schedulerDavid Heinemeier Hansson2014-08-011-3/+7
| |
| * Improve the error message when resque-scheduler is not availableDavid Heinemeier Hansson2014-08-011-2/+4
| |
| * Update README.mdDavid Heinemeier Hansson2014-08-011-0/+4
| |
| * Merge pull request #101 from DouweM/patch-9David Heinemeier Hansson2014-07-291-3/+3
| |\ | | | | | | Rename variables for consistency.
| | * Rename variables for consistency.Douwe Maan2014-07-291-3/+3
| |/
| * Merge pull request #100 from timriley/fix-que-class-serializationDavid Heinemeier Hansson2014-07-281-2/+2
| |\ | | | | | | Fix database serialization of job class names with Que
| | * Fix database serialization of job class names with QueTim Riley2014-07-291-2/+2
| |/ | | | | | | | | When passing a class constant as a job argument, Que’s stored procedures serialize it to JSON in the database as `{}`. This means that when the job (the ActiveJob “wrapper”) is deserialized from the database, it can’t find the original job class to run again. Changing the Que adapter to serialize the job class as a string fixes this behaviour. This change makes the adapter consistent with other adapters too (which constantize a class string in their JobWrapper#perform methods.