Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Improve test runner's Minitest integration. | Kasper Timm Hansen | 2015-06-04 | 2 | -0/+64 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also adds free mix and matching of directories, files and lines filters. Like so: bin/rails test models/post_test.rb test/integration models/person_test.rb:26 You can also mix in a traditional Minitest filter: bin/rails test test/integration -n /check_it_out/ | |||||
* | | | Code fix in CHANGELOG | Aditya Sanghi | 2015-06-08 | 1 | -1/+1 | |
| | | | | | | | | | :nail: remove extraneous bracket | |||||
* | | | Merge pull request #20464 from ronakjangir47/active_support_stubbing | Arthur Nogueira Neves | 2015-06-07 | 10 | -309/+366 | |
|\ \ \ | | | | | | | | | Removed mocha stubbing in active_support | |||||
| * | | | Removed mocha stubbing in active_support | Ronak Jangir | 2015-06-07 | 10 | -309/+366 | |
| | | | | ||||||
* | | | | A few documentation tweaks [ci skip] | Robin Dupret | 2015-06-07 | 3 | -5/+5 | |
|/ / / | | | | | | | | | | [Robin Dupret & Shunsuke Aida] | |||||
* | | | Merge pull request #20443 from teoljungberg/thoughtbot-capitalization | Kasper Timm Hansen | 2015-06-05 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | [ci skip] Fix `thoughtbot` capitalization | |||||
| * | | | Fix `thoughtbot` capitalization | Teo Ljungberg | 2015-06-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | The company name is spelled `thoughtbot` per https://github.com/thoughtbot/presskit/blob/master/README.md#name | |||||
* | | | | Require active_support/duration. | Jimmy Cuadra | 2015-06-04 | 1 | -0/+1 | |
| |/ / |/| | | | | | | | | | | | | | | | | | | | | ActiveSupport::TimeWithZone references `ActiveSupport::Duration` but does not require it, which can result in a `LoadError` when required directly without requiring a component less granular like `active_support/time`, where the autoload for `ActiveSupport::Duration` is set up. | |||||
* | | | Merge pull request #20410 from schneems/schneems/boo-global-vars | Rafael Mendonça França | 2015-06-01 | 1 | -2/+2 | |
|\ \ \ | | | | | | | | | Use block variable instead of global | |||||
| * | | | Use block variable instead of global | schneems | 2015-06-01 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```ruby require 'benchmark/ips' Benchmark.ips do |x| x.report("$&") { "foo".sub(/f/) { $&.upcase } } x.report("block var") { "foo".sub(/f/) {|match| match.upcase } } end ``` ``` Calculating ------------------------------------- $& 48.658k i/100ms block var 49.666k i/100ms ------------------------------------------------- $& 873.156k (± 9.3%) i/s - 4.331M block var 969.744k (± 9.2%) i/s - 4.818M ``` It's faster, and gets rid of a few "magic" global variables | |||||
* | | | | Merge pull request #20362 from kddeisz/enumerable_pluck | Rafael Mendonça França | 2015-06-01 | 2 | -2/+18 | |
|\ \ \ \ | | | | | | | | | | | Allow Enumerable#pluck to take a splat. | |||||
| * | | | | Allow Enumerable#pluck to take a splat. | Kevin Deisz | 2015-05-29 | 2 | -2/+18 | |
| | |/ / | |/| | | | | | | | | | | | | | | | | | | This allows easier integration with ActiveRecord, such that AR#pluck will now use Enumerable#pluck if the relation is loaded, without needing to hit the database. | |||||
* | | | | Merge pull request #20138 from tgxworld/deprecated_assert_template | Rafael Mendonça França | 2015-06-01 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | Deprecate `assert_template` and `assigns()`. | |||||
| * | | | | Remove `assigns` and `assert_template`. | Guo Xiang Tan | 2015-05-30 | 1 | -1/+1 | |
| | |/ / | |/| | | ||||||
* / | | | Fix a range of values for parameters of the Time#change | Nikolay Kondratyev | 2015-06-01 | 3 | -1/+9 | |
|/ / / | | | | | | | | | | | | | Passing 999999000 < `:nsec` < 999999999 and 999999 < `:usec` < 1000000 to change a time with utc_offset doesn't throw an `ArgumentError`. | |||||
* / / | Revert "Replace use of alias chains with prepend at core_ext/date and ↵ | Roque Pinel | 2015-05-29 | 5 | -79/+89 | |
|/ / | | | | | | | core_ext/time" | |||||
* | | Merge pull request #19878 from pabloh/replace_alias_chains_with_prepend | Rafael Mendonça França | 2015-05-28 | 5 | -89/+79 | |
|\ \ | | | | | | | Replace use of alias chains with prepend at core_ext/date and core_ext/time | |||||
| * | | Replace use of alias chains with prepend at core_ext/date | Pablo Herrero | 2015-05-04 | 5 | -89/+79 | |
| | | | ||||||
* | | | Merge pull request #20267 from kaspth/fix-minitest-constant-clashing | Rafael Mendonça França | 2015-05-28 | 8 | -43/+45 | |
|\ \ \ | | | | | | | | | Avoid E constant clashing with Minitest defined version. | |||||
| * | | | Avoid E constant clashing with Minitest defined version. | Kasper Timm Hansen | 2015-05-22 | 8 | -43/+45 | |
| | | | | | | | | | | | | | | | | | | | | Minitest sets an E constant to an empty string to save GC time. This clashes with autoloading tests which define an E constant. | |||||
* | | | | Add Enumerable#pluck. | Kevin Deisz | 2015-05-28 | 3 | -0/+20 | |
| | | | | | | | | | | | | | | | | Allows fetching the same values from arrays as from ActiveRecord associations. | |||||
* | | | | Remove unused package tasks | Arun Agrawal | 2015-05-28 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | | | We are using `all:build` now. | |||||
* | | | | Fix indentation warning on active_support ordered_options | Mehmet Emin İNAÇ | 2015-05-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #20262 from arunagw/aa-remove-broken-unused-release-task | Yves Senn | 2015-05-27 | 1 | -7/+0 | |
|\ \ \ \ | | | | | | | | | | | Remove broken and unused release task | |||||
| * | | | | Remove broken and unused release task | Arun Agrawal | 2015-05-22 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | - We do release with release.rb - There is no `rake/gemcutter` | |||||
* | | | | | Merge pull request #20297 from gouravtiwari/patch-9 | Claudio B. | 2015-05-26 | 1 | -0/+6 | |
|\ \ \ \ \ | | | | | | | | | | | | | Added multibyte slice! example to doc [ci skip] | |||||
| * | | | | | Added multibyte slice! example to doc [ci skip] | Gourav Tiwari | 2015-05-26 | 1 | -0/+6 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #20208 from gaurish/raise_on_missing_ordered_options | Rafael Mendonça França | 2015-05-26 | 3 | -1/+39 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add bang version to OrderedOptions | |||||
| * | | | | | | Add bang version to OrderedOptions | Gaurish Sharma | 2015-05-23 | 3 | -1/+36 | |
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | By: Aditya Sanghi(@asanghi) Gaurish Sharma(gaurish) | |||||
* | | | | | | Remove redundant 'like' from doc of slice! method [ci skip] | Mehmet Emin İNAÇ | 2015-05-26 | 1 | -1/+1 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #16938 from akshay-vishnoi/remove-deprication | Yves Senn | 2015-05-26 | 4 | -168/+5 | |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | Remove `.superclass_delegating_accessor`. | |||||
| * | | | | | Remove `.superclass_delegating_accessor`. Refer #14271 | Akshay Vishnoi | 2015-05-24 | 4 | -168/+4 | |
| |/ / / / | ||||||
* | | | | | [skip ci] Update documentation for Duration#to_s | Anton Davydov | 2015-05-25 | 1 | -0/+4 | |
| | | | | | ||||||
* | | | | | Merge pull request #20286 from davydovanton/doc-deprecation-behavior | Abdelkader Boudih | 2015-05-25 | 1 | -0/+12 | |
|\ \ \ \ \ | | | | | | | | | | | | | Add documentation for Deprecation::Behavior module | |||||
| * | | | | | [skip ci] Add documentation for Deprecation::Behavior module | Anton Davydov | 2015-05-25 | 1 | -0/+12 | |
| | | | | | | ||||||
* | | | | | | s/contstant/constant re #20282 [ci skip] | Zachary Scott | 2015-05-24 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | Merge pull request #20282 from davydovanton/doc-proxy-wrappers | Zachary Scott | 2015-05-24 | 1 | -0/+5 | |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | Add documentation for DeprecatedConstantProxy#class | |||||
| * | | | | | | [skip ci] Add documentation for DeprecatedConstantProxy#class | Anton Davydov | 2015-05-24 | 1 | -0/+5 | |
| |/ / / / / | ||||||
* | / / / / | use keyword arguments in HTTP request methods of assert_difference example ↵ | yuuji.yaginuma | 2015-05-24 | 1 | -9/+9 | |
| |/ / / / |/| | | | | | | | | | | | | | | [ci skip] | |||||
* | | | | | Merge pull request #20251 from davydovanton/doc-memory-store | Rafael Mendonça França | 2015-05-21 | 2 | -2/+2 | |
|\ \ \ \ \ | | | | | | | | | | | | | Add nodoc label for protected Cache methods | |||||
| * | | | | | [skip ci] Add nodoc label for protected Cache methods | Anton Davydov | 2015-05-22 | 2 | -2/+2 | |
| |/ / / / | ||||||
* | | | | | Merge pull request #20250 from davydovanton/doc-mem-cache-store | Rafael Mendonça França | 2015-05-21 | 1 | -1/+8 | |
|\ \ \ \ \ | | | | | | | | | | | | | Update documentation for MemCacheStore::build_mem_cache [ci skip] | |||||
| * | | | | | [skip ci] Update documentation for MemCacheStore::build_mem_cache | Anton Davydov | 2015-05-21 | 1 | -1/+8 | |
| |/ / / / | ||||||
* | | | | | Merge pull request #20247 from davydovanton/doc-array-inquirer | Abdelkader Boudih | 2015-05-21 | 1 | -4/+10 | |
|\ \ \ \ \ | | | | | | | | | | | | | Update documentation for ArrayInquirer#any? | |||||
| * | | | | | [skip ci] Update documentation for ArrayInquirer#any? | Anton Davydov | 2015-05-21 | 1 | -4/+10 | |
| |/ / / / | ||||||
* / / / / | [skip ci] Update documentation for Date class | Anton Davydov | 2015-05-21 | 1 | -0/+6 | |
|/ / / / | ||||||
* | | | | add missing punctuation in changelog. [ci skip] | Yves Senn | 2015-05-20 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Give respond_to? a Symbol | Akira Matsuda | 2015-05-20 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Small stylistic tweaks for `Delegator#try` patch | Godfrey Chan | 2015-05-19 | 2 | -20/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * Rename `ActiveSupport::Try` => `ActiveSupport::Tryable` * Include the modules inline * `private` indentation | |||||
* | | | | Patch `Delegator` to work with `#try` | Nate Smith | 2015-05-19 | 3 | -17/+127 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `Delegator` inherits from `BasicObject`, which means that it will not have `Object#try` defined. It will then delegate the call to the underlying object, which will not (necessarily) respond to the method defined in the enclosing `Delegator`. This patches `Delegator` with the `#try` method to work around the surprising behaviour. Fixes #5790 |