- 09 11月, 2015 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
This is the implementation of the file update checker written by Puneet Agarwal for GSoC 2015 (except for the tiny version of the listen gem, which was 3.0.2 in the original patch). Puneet's branch became too out of sync with upstream. This is the final work in one single clean commit. Credit goes in the first line using a convention understood by the contrib app.
-
- 08 11月, 2015 1 次提交
-
-
由 Michael Grosser 提交于
fetch is supposed to behave differently, this was a mistake merged in https://github.com/rails/rails/pull/22194
-
- 07 11月, 2015 1 次提交
-
-
由 Swaathi K 提交于
Added test cases Using kwargs instead of three seperate functions Updated parameterize in transliterate.rb Updated parameterize in transliterate.rb Added deprecation warnings and updating RDoc+Guide Misspelled separtor. Fixed. Deprecated test cases and added support to parameterize with keyword parameters Squashing commits. Fixed test cases and added deprecated test cases Small changes to Gemfile.lock and CHANGELOG Update Gemfile.lock
-
- 06 11月, 2015 1 次提交
-
-
由 Michael Grosser 提交于
-
- 05 11月, 2015 1 次提交
-
-
由 Jerry D'Antonio 提交于
-
- 31 10月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 30 10月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
This method was already niche, and is now redundant with `.new`
-
- 26 10月, 2015 1 次提交
-
-
由 yui-knk 提交于
Before this commit `Module#redefine_method` always changes visibility of redefined method to `public`. This commit changes behavior of Module#redefine_method` to keep method visibility.
-
- 25 10月, 2015 1 次提交
-
-
由 Sebastian McKenzie 提交于
-
- 21 10月, 2015 3 次提交
-
-
由 Andrew White 提交于
This is primarily to fix method redefinition warnings in class_attribute but may be of use in other places where we define singleton methods.
-
由 Sean Griffin 提交于
Given that this pull request affects a mutable value, we need to test for and document the affects on the receiver in this case. Additionally, this pull request was missing a CHANGELOG entry.
-
由 Gourav Tiwari 提交于
-
- 16 10月, 2015 2 次提交
-
-
由 Maarten Jacobs 提交于
The default timestamp used for AR is `updated_at` in nanoseconds! (:nsec) This causes issues on any machine that runs an OS that supports nanoseconds timestamps, i.e. not-OS X, where the cache_key of the record persisted in the database (milliseconds precision) is out-of-sync with the cache_key in the ruby VM. This commit adds: A test that shows the issue, it can be found in the separate file `cache_key_test.rb`, because - model couldn't be defined inline - transactional testing needed to be turned off to get it to pass the MySQL tests This seemed cleaner than putting it in an existing testcase file. It adds :usec as a dateformat that calculates datetime in microseconds It sets precision of cache_key to :usec instead of :nsec, as no db supports nsec precision on timestamps
-
由 David Celis 提交于
Currently, ActiveSupport::TimeWithZone#utc? simply runs a check to see if the linked ActiveSupport::TimeZone's name is "UTC". This will only return true for ActiveSupport::TimeZone["UTC"], but not for time zones such as "Etc/UTC", "Etc/Universal", or other time zones that are aliases for UTC. Interestingly enough, ActiveSupport::TimeWithZone#utc? is also aliased as #gmt? but will return false for the "GMT" timezone (along with other TZInfo aliases for GMT). Instead of running a simple check on the TimeZone name, we can rely on the underlying TZInfo::TimezonePeriod and TZInfo::TimezoneOffset which keep a record of of the offset's abbreviated name. The possibilities here for UTC time zones are `:UTC`, `:UCT`, and `:GMT`. Signed-off-by: NDavid <me@davidcel.is>
-
- 14 10月, 2015 1 次提交
-
-
由 Brandon Dunne 提交于
Add tests for ActiveSupport::Deprecation.deprecate_methods Modify ActiveSupport::Testing::Deprecation to allow a custom deprecator Leverage ActiveSupport::Testing::Deprecation assert_deprecated Update documentation for ActiveSupport::Deprecation.deprecate_methods Use cases: Using the default deprecator => "removed from Rails X.Y" Passing a custom deprecator in the options hash => "removed from MyGem next-release" Deprecating methods directly from custom deprecator => "removed from MyGem next-release"
-
- 02 10月, 2015 2 次提交
-
-
由 Aliaksandr Buhayeu 提交于
Change ^ and $ operators to \A and \z to prevent code injection after the line breaks
-
由 Roque Pinel 提交于
Move from `AS::Callbacks::CallbackChain.halt_and_display_warning_on_return_false` to `AS::Callbacks.halt_and_display_warning_on_return_false` base on [this discussion](https://github.com/rails/rails/pull/21218#discussion_r39354580) Fix the documentation broken by 0a120a81
-
- 30 9月, 2015 1 次提交
-
-
由 Fumiaki MATSUSHIMA 提交于
-
- 29 9月, 2015 1 次提交
-
-
由 Kenichi Kamiya 提交于
-
- 26 9月, 2015 2 次提交
-
-
由 Ronak Jangir 提交于
-
由 Ronak Jangir 提交于
-
- 25 9月, 2015 1 次提交
-
-
由 Lucas Mazza 提交于
With this we can perform new assertions on the returned value without having to cache it with an outer variable or wrapping all subsequent assertions inside the `assert_difference` block. Before: ``` post = nil assert_difference -> { Post.count }, 1 do Post.create end assert_predicate post, :persisted? ``` Now: ``` post = assert_difference -> { Post.count } do Post.create end assert_predicate post, :persisted? ```
-
- 23 9月, 2015 1 次提交
-
-
由 Roque Pinel 提交于
Rails 4.2.3 AS::Callbacks will not halt chain if `false` is returned. That is the behavior of specific callbacks like AR::Callbacks and AM::Callbacks.
-
- 21 9月, 2015 2 次提交
-
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
- 15 9月, 2015 1 次提交
-
-
由 Robin Clowers 提交于
-
- 06 9月, 2015 1 次提交
-
-
由 Ronak Jangir 提交于
-
- 29 8月, 2015 1 次提交
-
-
由 Leigh Halliday 提交于
The problem existed where if your ArrayInquirer values were strings but you checked them using any? with a symbol, it would not find the value. Now it will correctly check whether both the String form or the Symbol form are included in the Array. `
-
- 28 8月, 2015 1 次提交
-
-
由 Vipul A M 提交于
- Extracted `DELIMITED_REGEX` to `delimited_regex` method and made use of user passed `options[:delimited_regex]` if available. Changed `DELIMITED_REGEX` to `DEFAULT)DELIMITED_REGEX` to signify what it means. - Added tests for number to delimited and number to currency in both actionview and activesupport. Changes Changes
-
- 26 8月, 2015 1 次提交
-
-
由 Ronak Jangir 提交于
-
- 20 8月, 2015 2 次提交
-
-
由 Ronak Jangir 提交于
-
由 Jake Bell 提交于
-
- 17 8月, 2015 1 次提交
-
-
由 Ronak Jangir 提交于
-
- 13 8月, 2015 2 次提交
-
-
由 Ronak Jangir 提交于
-
由 Roque Pinel 提交于
-
- 11 8月, 2015 1 次提交
-
-
由 Jean Boussier 提交于
-
- 07 8月, 2015 1 次提交
-
-
由 Lachlan Sylvester 提交于
Only invoke the default block for mattr_accessor once so that it does not cause issues if it is not idempotent
-
- 27 7月, 2015 1 次提交
-
-
由 Max Jacobson 提交于
Fix #20869
-
- 23 7月, 2015 1 次提交
-
-
由 thedarkone 提交于
* only test the upgrade path, * add test to verify non upgrades can’t preempt, * add reentrancy assertion.
-