1. 16 7月, 2019 3 次提交
  2. 01 7月, 2019 1 次提交
    • X
      bumps Zeitwerk · f51fae1f
      Xavier Noria 提交于
      This version makes eager loading and autoloading consistent,
      as documented in the upgrading guide.
      f51fae1f
  3. 17 6月, 2019 1 次提交
  4. 13 6月, 2019 1 次提交
  5. 05 6月, 2019 2 次提交
  6. 01 6月, 2019 1 次提交
  7. 26 5月, 2019 1 次提交
  8. 15 5月, 2019 1 次提交
  9. 01 5月, 2019 1 次提交
  10. 27 4月, 2019 1 次提交
    • J
      Frozen truncate (#36109) · 95da7fa5
      Jordan Thomas 提交于
      * Add test asserting truncate returns unfrozen string
      
      * Ensure strings returned from truncate are not frozen
      
      This fixes an issue where strings too short to be truncated were
      returned unfrozen, where as long-enough strings were returned
      frozen. Now retuned strings will not be frozen whether or not
      the string returned was shortened.
      
      * Update changelog w/ new truncate behavior description
      
      [Jordan Thomas + Rafael Mendonça França]
      95da7fa5
  11. 25 4月, 2019 1 次提交
  12. 23 4月, 2019 1 次提交
    • X
      upgrades Zeitwerk to 2.1.4 · 1b2efe5a
      Xavier Noria 提交于
      This commit more or less undoes 9b5401fc, restores autoloaded? not to
      touch the descendants tracker, and autoloaded_constants because it is
      documented in the guide.
      1b2efe5a
  13. 19 4月, 2019 9 次提交
  14. 17 4月, 2019 3 次提交
  15. 16 4月, 2019 6 次提交
  16. 12 4月, 2019 3 次提交
    • D
      Redis fetch without names returns {} · 5e216674
      David Verhasselt 提交于
      When trying to call mget in Redis without any
      parameters, a Redis error is thrown. To avoid
      this, we circumvent Redis entirely when there
      are no key names given.
      5e216674
    • R
      Auto-correct `Style/RedundantBegin` cop offences · b031d42a
      Ryuta Kamizono 提交于
      It is newly added at 7b6b1054.
      
      ```
      % be rubocop -a
      Inspecting 2781 files
      ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................C.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
      
      Offenses:
      
      activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:12:1: C: [Corrected] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body beginning.
      activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:12:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
      activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:12:13: C: [Corrected] Style/RedundantBegin: Redundant begin block detected.
                  begin
                  ^^^^^
      activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:13:11: C: [Corrected] Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
                    Rails.autoloaders.main.reload
                ^^^^
      activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:16:1: C: [Corrected] Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end.
      activesupport/lib/active_support/dependencies/zeitwerk_integration.rb:16:1: C: [Corrected] Layout/TrailingWhitespace: Trailing whitespace detected.
      
      2781 files inspected, 6 offenses detected, 6 offenses corrected
      ```
      b031d42a
    • X
      improves the reloading disabled error message · 7b6b1054
      Xavier Noria 提交于
      The original message from Zeitwerk is "can't reload, please call
      loader.enable_reloading before setup (Zeitwerk::Error)", which is not
      very informative for Rails programmers.
      
      Rails should err with a message worded in terms of its interface.
      7b6b1054
  17. 09 4月, 2019 1 次提交
  18. 07 4月, 2019 1 次提交
  19. 04 4月, 2019 2 次提交