1. 26 8月, 2015 1 次提交
  2. 17 8月, 2015 1 次提交
  3. 15 8月, 2015 1 次提交
  4. 13 8月, 2015 2 次提交
  5. 11 8月, 2015 1 次提交
  6. 06 8月, 2015 2 次提交
  7. 04 8月, 2015 1 次提交
    • J
      Fixes #20799 · 3860e6b2
      Johannes Opper 提交于
      When `#perform_later` is called the locale isn't stored on the
      queue, which results in a locale reset when the job is performed.
      
      An example of the problem:
      
          I18n.locale = 'de'
          HelloJob.perform_now # german message, correct
      
      but
      
          I18n.locale = 'de'
          HelloJob.perform_later # english message, incorrect
      
      This PR attaches the current I18n.locale to every job during the
      serialization process. It is then restored during deserialization
      and used to perform the job with the correct locale.
      
      It falls back to the default locale if no serialized locale is
      found in order to provide backward compatibility with previously
      stored jobs. It is not necessary to clear the queue for the update.
      3860e6b2
  8. 28 7月, 2015 1 次提交
  9. 29 6月, 2015 1 次提交
  10. 10 6月, 2015 1 次提交
  11. 02 6月, 2015 1 次提交
  12. 01 6月, 2015 1 次提交
  13. 31 5月, 2015 1 次提交
  14. 28 5月, 2015 1 次提交
  15. 25 5月, 2015 1 次提交
  16. 22 5月, 2015 1 次提交
  17. 20 5月, 2015 1 次提交
  18. 16 5月, 2015 1 次提交
  19. 13 5月, 2015 1 次提交
    • C
      [ci skip] Don’t encourage `sudo gem install` · 0080a886
      claudiob 提交于
      I think we are better off leaving `sudo` outside of the documented
      way of installing gems (`activerecord`, `actionpack`, …).
      
      We don’t want newbies to think that `sudo` is required or, even worse, than
      they actually have to type `[sudo] gem install`.
      
      In most scenarios, `sudo` is not needed to install gems, and people who do
      need it, probably already know about it.
      
      What do you think? 😁
      0080a886
  20. 08 5月, 2015 5 次提交
  21. 05 5月, 2015 1 次提交
  22. 04 5月, 2015 2 次提交
  23. 01 5月, 2015 1 次提交
  24. 30 4月, 2015 4 次提交
  25. 29 4月, 2015 1 次提交
  26. 27 4月, 2015 1 次提交
  27. 24 4月, 2015 1 次提交
  28. 23 4月, 2015 1 次提交
  29. 20 4月, 2015 2 次提交
    • M
      Only *configure* the queue in setup; DB creation must come later · 8b09b454
      Matthew Draper 提交于
      setup gets called from the initializer, so it happens more than once in
      a test run. Trying to drop the database again after the first process is
      connected is.. ineffective. And entirely pointless.
      
      Instead, defer creating the database to start_workers -- which only
      happens once, right before we start doing anything real.
      8b09b454
    • M
      Shuffle a few things in aid of easier debugging · 41ae432f
      Matthew Draper 提交于
      * Don't swallow output -- if there is any, it's probably useful
      * Wait for the process to finish
      * Use IPC instead of a sleep
      * No need for a pidfile
      41ae432f