Robin Dupret
1d6d0cc245
Tiny documentation styling fixes [ci skip]
2014-11-02 12:32:50 +01:00
Zachary Scott
26126c8533
Merge pull request #17469 from rishijain/update_docs_2
...
added punctuations, and role of queue_adapter module [ci skip]
2014-11-02 01:21:11 -07:00
Robin Dupret
30c3813cf0
Tiny documentation fixes and styling improvements
...
[ci skip]
2014-11-01 19:36:24 +01:00
Rishi Jain
19f6ac929b
placed description at correct place [ci skip]
2014-11-01 10:29:34 +05:30
Rishi Jain
84f313ab5d
added punctuations, and role of queue_adapter module [ci skip]
2014-11-01 06:15:13 +05:30
Robin Dupret
aeb431a6ca
Tiny documentation improvements [ci skip]
2014-10-31 19:48:42 +01:00
Godfrey Chan
4daebedcc4
Prepare for 4.2.0.beta4 release
2014-10-30 14:12:24 -07:00
Terry Meacham
11ab04b111
Added queue_name_delimiter attribute.
...
- Added ActiveJob::Base#queue_name_delimiter to allow for
developers using ActiveJob to change the delimiter from the default
('_') to whatever else they may be using (e.g., '.', '-', ...).
- Updated source guide to include a blurb about the delimiter.
2014-10-26 21:46:05 -05:00
Yves Senn
5a16b5cd6d
Merge pull request #17355 from vipulnsward/aj-string-fixes
...
Fix error string raised from AJ enqueue_at for ClassQueueAdapter
2014-10-23 11:51:01 +02:00
Yves Senn
2e38f83241
Merge pull request #17343 from vipulnsward/inline-aj-callbacks
...
Inline AJ around_perform and around_enqueue in CallbackJob used for tests
2014-10-23 08:34:15 +02:00
Vipul A M
9494c74a9d
- Fix error string raised from enqueue_at
2014-10-22 19:26:46 +05:30
Joe Lewis
8e12371da6
💅 fix typos in activejob queuing test
2014-10-22 06:33:10 -07:00
Vipul A M
588b39e1cd
- Inline AJ around_perform and around_enqueue in CallbackJob used for tests.
2014-10-21 11:37:40 +05:30
Rafael Mendonça França
f1e1894101
Merge pull request #17331 from vipulnsward/activejob-cleanups
...
Activejob cleanups
2014-10-20 18:33:47 -02:00
Vipul A M
6ecd33e4e1
- Changed description for AJ enqueuing methods to provide a sane description.
...
[ci skip]
2014-10-21 00:54:03 +05:30
Vipul A M
7b87fb1b64
- Fix mentioned shortcut, to what the shortcut actually is, and that it accepts blocks for assert_no_enqueued_jobs
and assert_no_performed_jobs
test helpers.
...
- args => arguments when used in actual docs.
[ci skip]
2014-10-21 00:40:59 +05:30
Vipul A M
2965e1671d
- Remove duplication in AJ logging test for setting logger.
...
- Remove un-needed require in AJ rescue test.
2014-10-20 12:38:11 +05:30
Vipul A M
c417311c4a
No need to specify log level, run at log level as all other Rails components.
2014-10-20 12:36:44 +05:30
Yves Senn
74a527cc63
Merge pull request #17329 from vipulnsward/mention-perform-later-docs
...
Mention `perform_now` in AJ base docs to specify how to immediately invoke a job [ci skip]
2014-10-20 09:04:39 +02:00
Yves Senn
e62554607c
docs, It's "Active Job" not "Active job". [ci skip]
2014-10-20 09:00:16 +02:00
Vipul A M
e16592e744
Mention perform_now
in AJ base docs to specify how to immediately invoke a job. [ci skip]
2014-10-20 00:26:38 +05:30
Vipul A M
8660853770
- Removed unused variable warnings from ActiveJob Adapters
2014-10-19 23:17:22 +05:30
Vipul A M
16c04040f4
Enable emitting of warnings from ActiveJob tests.
2014-10-19 23:05:03 +05:30
Yves Senn
64e64c6f04
tests, move original_
var assignments outside of begin
.
2014-10-10 08:55:17 +02:00
Blake Gentry
4a1dbba108
ActiveJob: allow blank queue names
...
As discussed in #17195 , Que uses blank queue names by default for
performance reasons. At the very least, ActiveJob should allow users to
choose "" as their queue name. This commit allows blank queue names, as
well as tests to make sure that nil queue names still use the default.
2014-10-09 19:42:43 -07:00
Ari Pollak
1472e0cf2c
Don't pass retry option to Sidekiq
...
* This would override whatever default is configured in Sidekiq
system-wide, and retry is true by default anyway.
2014-10-08 13:41:38 -04:00
Rafael Mendonça França
ee9f86e2e3
Point to a specific version of guide to make the redirect work
2014-10-08 11:24:16 -03:00
yuuji.yaginuma
a1e925db70
update error message when InlineAdapter is used
2014-10-08 11:24:02 +09:00
Jean-Philippe Boily
76056c627c
update queue_classic details
2014-10-06 11:58:45 -04:00
mo khan
bc6421c9ef
Add documentation on Active Job.
...
This adds documentation for the Active Job API. It includes
documentation on how to configure the queue_adapter, and how to create
new jobs. It adds links to the various other sections of the Active Job
documentation.
2014-10-02 10:57:30 -06:00
Robin Dupret
1fac7b79f3
Follow up to #16613
...
Since we want this flag to be enabled anytime we are running the tests
under JRuby, let's enable this at the Rakefile level so people get the
performance boost on their local checkout.
Moreover, we avoid having to update this particular line anytime the
option changes on the JRuby side.
The only drawback is that we have to define it in every Rakefile but
there's no big deal, this is already the case for other options.
2014-09-28 12:04:06 +02:00
Robin Dupret
d63005447b
Tiny follow-up to #16999 [ci skip]
...
* Fix a typo
* Remove references to Rails version
* Remove an extra whitespace
2014-09-27 16:22:15 +02:00
Matthew Draper
d7a058f785
Make AJ integration tests much less verbose
...
In passing, avoid a blind retry in QC: instead, just fix the problem.
2014-09-27 21:59:10 +09:30
Prathamesh Sonpatki
76ccbc2599
Fix some typos in ActiveJob
...
[ci skip]
2014-09-27 16:52:13 +05:30
yuuji.yaginuma
ab22946e51
[ci skip] fix typo in set examples
2014-09-27 15:07:24 +09:00
Rafael Mendonça França
4581d04477
Preparing for 4.2.0.beta2 release
2014-09-26 17:19:53 -03:00
Jeremy Kemper
3f1d04e3bb
Fix string/gid collision in job arguments
...
Serialize Global IDs as special objects, distinguishable from Strings
2014-09-25 10:00:19 -07:00
Yves Senn
017294066f
Merge pull request #17005 from y-yagi/fix_aj_test_helper
...
add message to `assert` in `assert_enqueued_with`
2014-09-23 10:44:44 +02:00
yuuji.yaginuma
39bef5823f
add message to assert
in assert_enqueued_with
2014-09-23 08:50:32 +09:00
Rafael Mendonça França
f4595e624b
Merge pull request #16963 from collectiveidea/activejob-dj
...
Cleaner queuing of jobs using Delayed Job
Conflicts:
activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb
2014-09-22 14:33:29 -03:00
Cristian Bica
c9a4c2a5ce
Added RDoc for each Active Job adapter
2014-09-22 17:33:02 +03:00
David Genord II
0b10565d96
Cleaner queuing of jobs using Delayed Job
2014-09-18 15:52:30 -04:00
Akshay Vishnoi
9fddcdd99e
[ci skip] AJ docs fixes
...
1. Indentation
2. Spaces issues
3. Spelling correction
4. Grammar correction
5. Add #:nodoc: to all internal classes
2014-09-18 01:16:53 +05:30
Abdelkader Boudih
b820eb2027
simplify test_adapter
2014-09-14 22:11:52 +00:00
Jeremy Kemper
e3a65c6d7c
Tighten up AJ::Arguments and its tests
...
* Disallow deserialization of non-primitive objects
* Broaden coverage; remove superfluous tests
2014-09-14 14:11:26 -07:00
Jeremy Kemper
01ac23423d
Pare down and simplify Active Job's rake tasks
2014-09-14 14:01:16 -07:00
Rafael Mendonça França
6c0adddccf
Se the test order of activejob tests
2014-09-12 14:33:09 -03:00
Rafael Mendonça França
a7dbfcf532
Change gid calls to to_gid
2014-09-12 14:33:09 -03:00
Abdelkader Boudih
ed9f71d11a
Bump globalid version
2014-09-12 08:30:35 +00:00
Cristian Bica
175ba66664
ActiveJob Integration Tests
2014-09-11 00:38:56 +03:00