- 01 7月, 2018 4 次提交
-
-
由 Kasper Timm Hansen 提交于
Firstly, increment and decrement shouldn't care about the particulars of key expiry. They should only know that they have to pass that responsibility on to somewhere else. Secondly, it moves the key normalization back inside the instrumentation like it was originally. I think that matches the original design intention or at the very least it lets users catch haywire key truncation. Thirdly, it moves the changelog entry to the top of the file, where new entries go. I couldn't understand what the entry was saying so I tried to rewrite it.
-
由 Kasper Timm Hansen 提交于
Fix assignment of TESTOPTS in railties test task
-
由 Ryuta Kamizono 提交于
Allow `queue` option to `assert_no_enqueued_jobs`
-
- 30 6月, 2018 9 次提交
-
-
由 bogdanvlviv 提交于
It can be asserted that no jobs are enqueued to a specific queue: ```ruby def test_no_logging assert_no_enqueued_jobs queue: 'default' do LoggingJob.set(queue: :some_queue).perform_later end end ```
-
由 Ryuta Kamizono 提交于
Fix Ruby warnings tickled by the test suite
-
由 Ryuta Kamizono 提交于
Clarify activejob/lib/active_job/test_helper.rb
-
由 Ryuta Kamizono 提交于
Remove erroneous remove_column option from example [ci skip]
-
由 utilum 提交于
-
由 Ryuta Kamizono 提交于
Fix Cache :redis_store increment/decrement ttl check and add more tests.
-
由 Jason Lee 提交于
-
由 bogdanvlviv 提交于
Rename `in_block_job` to `enqueued_job` since this variable can refer not only to jobs that were created in the block. See #33258. Return back accidentally removed test to activejob/test/cases/test_helper_test.rb See #33258. Fix name of tests.
-
由 George Semenov 提交于
-
- 29 6月, 2018 11 次提交
-
-
由 Rafael França 提交于
Fix docs of `assert_no_emails` [ci skip]
-
由 bogdanvlviv 提交于
`assert_no_emails` is shortcut for `assert_emails 0, &block`.
-
由 Rafael França 提交于
Allow call `assert_enqueued_with` and `assert_enqueued_email_with` with no block
-
由 bogdanvlviv 提交于
Example of `assert_enqueued_with` with no block ```ruby def test_assert_enqueued_with MyJob.perform_later(1,2,3) assert_enqueued_with(job: MyJob, args: [1,2,3], queue: 'low') MyJob.set(wait_until: Date.tomorrow.noon).perform_later assert_enqueued_with(job: MyJob, at: Date.tomorrow.noon) end ``` Example of `assert_enqueued_email_with` with no block: ```ruby def test_email ContactMailer.welcome.deliver_later assert_enqueued_email_with ContactMailer, :welcome end def test_email_with_arguments ContactMailer.welcome("Hello", "Goodbye").deliver_later assert_enqueued_email_with ContactMailer, :welcome, args: ["Hello", "Goodbye"] end ``` Related to #33243
-
由 Rafael França 提交于
Note deliver_later_queue_name gotcha in ActionMailer guide
-
由 Rafael França 提交于
Incompatibility of Direct Uploads & Mirror Service
-
由 Stanislas Boyet 提交于
[ci skip] It adds a note to the Active Storage documentation regarding the use of Mirror Service not being compatible with the use of the Direct Uploads as described later on in the documentation, as described in issue #32732
-
由 Rafael França 提交于
Merge pull request #33254 from huacnlee/add-expires-in-option-support-for-redis-cache-store-increment-method Add :expires_in option support for RedisCacheStore increment/decrement method
-
由 Jason Lee 提交于
-
由 Matthew Draper 提交于
Refactor Previewer::PopplerPDFPreviewer#pdftoppm_exists?
-
由 utilum 提交于
Does not warn `instance variable @pdftoppm_exists not initialized`.
-
- 28 6月, 2018 10 次提交
-
-
由 Rafael França 提交于
Improve wording for form_with in Getting Started Guide
-
由 Rafael Mendonça França 提交于
This reverts commit 9d6bbf4e, reversing changes made to 5a1ea090. This method only works with block.
-
由 Anthony Crumley 提交于
[ci skip] Improved wording by making it clear the form_with helper method was being referenced in the first paragraph and that the second paragraph is a continuation of the form_with train of thought. Additionally, a connection was made to examples of the form_with usage being described.
-
由 Rafael Mendonça França 提交于
Allow configurable attribute name on `#has_secure_password`
-
由 Rafael França 提交于
Break guides menu 'Digging Deeper' section in two
-
由 Rafael França 提交于
Fix ActionMailer assert_enqueued_email_with
-
由 utilum 提交于
This list in the menu is currently long, and the order of the items not immediately obvious. I often find my self rescanning to find what I'm looking for, so I imagine that others do to.
-
由 Marcus Ilgner 提交于
The documentation for assert_enqueued_email_with states that it's supposed to work without a block yet it calls assert_enqueued_with which doesn't check whether a block was passed before calling `yield`
-
由 dikond 提交于
-
由 Ryuta Kamizono 提交于
Add tests for duration multiplication and division
-
- 27 6月, 2018 6 次提交
-
-
由 Ryuta Kamizono 提交于
Autoload Activejob::Arguments
-
由 alpaca-tc 提交于
-
由 alpaca-tc 提交于
-
由 Prem Sichanugrist 提交于
Add changelog entry for allow passing multiple exceptions to retry_on/discard_on (3110caec) [ci skip]
-
由 bogdanvlviv 提交于
Since it is changes of the public API, it seems valuable to add a mention about it to the changelog file. Follow up 3110caec
-
由 Aaron Patterson 提交于
Speed up homogeneous AR lists / reduce allocations
-