Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed to_datetime docs [ci skip] | Ronak Jangir | 2015-08-26 | 1 | -2/+3 |
| | |||||
* | Merge pull request #21257 from jdantonio/async-job | Kasper Timm Hansen | 2015-08-25 | 1 | -1/+1 |
|\ | | | | | Initial implementation of ActiveJob AsyncAdapter. | ||||
| * | Initial implementation of ActiveJob AsyncAdapter. | Jerry D'Antonio | 2015-08-25 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #21281 from ronakjangir47/added_docs | Rafael Mendonça França | 2015-08-25 | 1 | -1/+10 |
|\ \ | |/ |/| | Added docs for TimeWithZone [ci skip] | ||||
| * | Added docs for TimeWithZone [ci skip] | Ronak Jangir | 2015-08-18 | 1 | -1/+10 |
| | | |||||
* | | use `caller_locations` instead of `caller` | Aaron Patterson | 2015-08-24 | 2 | -3/+14 |
| | | | | | | | | | | We have `caller_locations`, so we don't need to parse the strings in the callstack. | ||||
* | | minor documentation improvement [ci skip] | Sam Auciello | 2015-08-24 | 1 | -2/+2 |
| | | |||||
* | | temp files are no more require | Gaurav Sharma | 2015-08-25 | 1 | -2/+0 |
| | | | | | | `:nail_care:` | ||||
* | | Merge branch 'master' of github.com:rails/rails | Vijay Dev | 2015-08-24 | 43 | -278/+884 |
|\ \ | | | | | | | | | | | | | Conflicts: guides/source/security.md | ||||
| * \ | Merge pull request #16245 from byroot/more-atomic-write | Matthew Draper | 2015-08-21 | 1 | -27/+29 |
| |\ \ | | | | | | | | | File renaming should be the last operation of an atomic write | ||||
| | * | | File renaming should be the last operation of an atomic write | Jean Boussier | 2015-08-20 | 1 | -27/+29 |
| | | | | |||||
| * | | | Merge pull request #21300 from jonahb/cache | Yves Senn | 2015-08-20 | 1 | -1/+1 |
| |\ \ \ | | | | | | | | | | | Correct cache store superclass in comment [ci skip] | ||||
| | * | | | Correct cache store superclass in comment | Jonah Burke | 2015-08-19 | 1 | -1/+1 |
| | | |/ | | |/| | |||||
| * | | | Merge pull request #21279 from ronakjangir47/test_cleanup | Kasper Timm Hansen | 2015-08-20 | 2 | -2/+10 |
| |\ \ \ | | |/ / | |/| | | Cleaned up generators tests using internal assertion helper | ||||
| | * | | Cleaned up generators tests using internal assertion helper | Ronak Jangir | 2015-08-20 | 2 | -2/+10 |
| | |/ | |||||
| * / | Use == 0 instead of .zero? in #try | Jean Boussier | 2015-08-17 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The perf gain is relatively minor but consistent: ``` Calculating ------------------------------------- 0.zero? 137.091k i/100ms 1.zero? 137.350k i/100ms 0 == 0 142.207k i/100ms 1 == 0 144.724k i/100ms ------------------------------------------------- 0.zero? 8.893M (± 6.5%) i/s - 44.280M 1.zero? 8.751M (± 6.4%) i/s - 43.677M 0 == 0 10.033M (± 7.0%) i/s - 49.915M 1 == 0 9.814M (± 8.0%) i/s - 48.772M ``` And try! is quite a big hotspot for us so every little gain is appreciable. | ||||
| * | Replacing lambda with proc getting argument error because of it. | Ronak Jangir | 2015-08-17 | 2 | -1/+7 |
| | | |||||
| * | Merge pull request #20647 from twalpole/method_source_dependency | Rafael Mendonça França | 2015-08-14 | 1 | -0/+1 |
| |\ | | | | | | | Add method_source dependency to activesupport | ||||
| | * | Add method_source dependency to activesupport | Thomas Walpole | 2015-07-29 | 1 | -0/+1 |
| | | | |||||
| * | | Merge pull request #21025 from ronakjangir47/asserts | Kasper Timm Hansen | 2015-08-13 | 2 | -1/+18 |
| |\ \ | | | | | | | | | Added helper methods to stub any instance | ||||
| | * | | Added helper methods to stub any instance | Ronak Jangir | 2015-08-13 | 2 | -1/+18 |
| | | | | |||||
| * | | | Merge pull request #21219 from repinel/assert-human-size-prefix-deprecated | Yves Senn | 2015-08-13 | 1 | -8/+10 |
| |\ \ \ | | | | | | | | | | | Assert that the `:prefix` option of `number_to_human_size` is deprecated | ||||
| | * | | | Assert that the `:prefix` option of `number_to_human_size` is deprecated | Roque Pinel | 2015-08-12 | 1 | -8/+10 |
| | | | | | |||||
| * | | | | Merge pull request #21217 from myrridin/myrridin-documentation-updates | Zachary Scott | 2015-08-12 | 2 | -4/+4 |
| |\ \ \ \ | | |/ / / | |/| | | | [ci skip] Documentation: Switch around a common phrase for readability | ||||
| | * | | | [ci skip] Switch around a common idiom for readability | Thomas Hart II | 2015-08-05 | 2 | -4/+4 |
| | | |/ | | |/| | |||||
| * | | | [ci skip] Fix rdoc markup | akihiro17 | 2015-08-12 | 1 | -1/+1 |
| | |/ | |/| | |||||
| * | | :nodoc: internal class [ci skip] | Godfrey Chan | 2015-08-10 | 1 | -1/+1 |
| | | | |||||
| * | | Deprecate :si prefix in number_to_human_size without replacement | Jean Boussier | 2015-08-10 | 2 | -9/+15 |
| | | | |||||
| * | | Deprecate the :prefix option of `number_to_human_size` | Jean Boussier | 2015-08-10 | 2 | -2/+4 |
| | | | |||||
| * | | Merge pull request #21124 from kirs/feature/reload-i18n | Kasper Timm Hansen | 2015-08-10 | 1 | -2/+17 |
| |\ \ | | | | | | | | | Reload I18n.load_path in development | ||||
| | * | | Reload I18n locales in development | Kir Shatrov | 2015-08-10 | 1 | -2/+17 |
| | | | | |||||
| * | | | Merge pull request #21173 from repinel/fix-callback-terminator-docs | Claudio B. | 2015-08-08 | 1 | -3/+3 |
| |\ \ \ | | | | | | | | | | | [ci skip] Fix the AS::Callbacks terminator docs | ||||
| | * | | | [ci skip] Fix the AS::Callbacks terminator docs | Roque Pinel | 2015-08-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The second argument of the terminator lambda is no longer the result of the callback, but the result lambda. https://github.com/rails/rails/blob/3a7609e2bafee4b071fe35136274e6ccbae8cacd/activesupport/test/callbacks_test.rb#L553 | ||||
| * | | | | replace each with each_key when only the key is needed | Aaron Lasseigne | 2015-08-08 | 1 | -1/+1 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using each_key is faster and more intention revealing. Calculating ------------------------------------- each 31.378k i/100ms each_key 33.790k i/100ms ------------------------------------------------- each 450.225k (± 7.0%) i/s - 2.259M each_key 494.459k (± 6.3%) i/s - 2.467M Comparison: each_key: 494459.4 i/s each: 450225.1 i/s - 1.10x slower | ||||
| * | | | Regexp#=== is faster than String#=~ | schneems | 2015-08-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Discussion https://github.com/JuanitoFatas/fast-ruby/pull/59#issuecomment-128513763 | ||||
| * | | | Only invoke the default block for mattr_accessor once so that it does not ↵ | Lachlan Sylvester | 2015-08-07 | 2 | -1/+7 |
| | | | | | | | | | | | | | | | | cause issues if it is not idempotent | ||||
| * | | | speed up code and avoid unnecessary MatchData objects | Aaron Lasseigne | 2015-08-06 | 1 | -1/+1 |
| |/ / | |||||
| * | | Merge pull request #21087 from vngrs/fix_hash_except_doc | Kasper Timm Hansen | 2015-08-03 | 1 | -8/+9 |
| |\ \ | | | | | | | | | Fix the documentation of Hash#except method [ci skip] | ||||
| | * | | Fix the documentation of Hash#except method [ci skip] | Mehmet Emin İNAÇ | 2015-08-03 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | fix minor problems | ||||
| * | | | [ci skip] Update Time#advance documentation with examples | Michael Stock | 2015-08-02 | 1 | -0/+6 |
| |/ / | |||||
| * | | String#freeze optimizations | schneems | 2015-07-30 | 2 | -2/+2 |
| | | | |||||
| * | | Decrease allocations in transliterate | schneems | 2015-07-30 | 1 | -5/+13 |
| | | | | | | | | | | | | | | | | | | We can save a few objects by freezing the `replacement` string. We save a few more by down-casing the string in memory instead of allocating a new one. We save far more objects by checking for the default separator `"-"`, and using pre-generated regular expressions. We will save 209,231 bytes and 1,322 objects. | ||||
| * | | Decrease string allocations in apply_inflections | schneems | 2015-07-29 | 2 | -5/+36 |
| |/ | | | | | | | | | | | In `apply_inflections` a string is down cased and some whitespace stripped in the front (which allocate strings). This would normally be fine, however `uncountables` is a fairly small array (10 elements out of the box) and this method gets called a TON. Instead we can keep an array of valid regexes for each uncountable so we don't have to allocate new strings. This change buys us 325,106 bytes of memory and 3,251 fewer objects per request. | ||||
| * | Tiny documentation edits [ci skip] | Robin Dupret | 2015-07-28 | 1 | -1/+1 |
| | | |||||
| * | Add `:nodoc:` for internal testing methods [ci skip] | Robin Dupret | 2015-07-28 | 1 | -2/+2 |
| | | |||||
| * | Merge pull request #20928 from matthewd/unload-interlock | Matthew Draper | 2015-07-24 | 4 | -34/+384 |
| |\ | | | | | | | We need stricter locking before we can unload | ||||
| | * | Small tweaks to mainly lock-ordering tests. | thedarkone | 2015-07-22 | 1 | -21/+58 |
| | | | | | | | | | | | | | | | | | | * only test the upgrade path, * add test to verify non upgrades can’t preempt, * add reentrancy assertion. | ||||
| | * | Handle thread death during lock acquisition | Matthew Draper | 2015-07-21 | 2 | -4/+27 |
| | | | | | | | | | | | | | | | | | | Specifically, clean up if the thread is killed while it's blocked awaiting the lock... if we get killed on some other arbitrary line, the result remains quite undefined. | ||||
| | * | Adjust expectations around purpose/compatibility options | Matthew Draper | 2015-07-21 | 2 | -9/+36 |
| | | | |||||
| | * | Add some meta-assertions for the custom assertions | Matthew Draper | 2015-07-21 | 1 | -11/+63 |
| | | | | | | | | | | | | | | | | | | I accidentally discovered `assert_threads_not_stuck` couldn't fail, so the simplest solution was to prove they're all now working in both directions. |