1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/test/generators
Andrew White c9c5788a52 Add compatibility for Ruby 2.4 to_time changes
In Ruby 2.4 the `to_time` method for both `DateTime` and `Time` will
preserve the timezone of the receiver when converting to an instance
of `Time`. Since Rails 5.0 will support Ruby 2.2, 2.3 and later we
need to introduce a compatibility layer so that apps that upgrade do
not break. New apps will have a config initializer file that defaults
to match the new Ruby 2.4 behavior going forward.

For information about the changes to Ruby see:
https://bugs.ruby-lang.org/issues/12189
https://bugs.ruby-lang.org/issues/12271

Fixes #24617.
2016-04-23 15:03:50 +01:00
..
actions_test.rb AppGenerator: allow both 'rake' and 'rails' 2016-03-09 07:29:17 -08:00
api_app_generator_test.rb generate mailer views in Rails API 2016-02-15 22:13:32 +09:00
app_generator_test.rb Add compatibility for Ruby 2.4 to_time changes 2016-04-23 15:03:50 +01:00
argv_scrubber_test.rb
assets_generator_test.rb
channel_generator_test.rb don't remove cable.js 2016-04-16 15:19:41 +09:00
controller_generator_test.rb
create_migration_test.rb
generated_attribute_test.rb
generator_generator_test.rb
generator_test.rb Allow normal version updates within a release series 2015-12-18 18:02:21 +10:30
generators_test_helper.rb Cleaned up generators tests using internal assertion helper 2015-08-20 09:22:56 +05:30
helper_generator_test.rb
integration_test_generator_test.rb
job_generator_test.rb generate ApplicationJob if it does not already exist 2016-03-25 13:21:37 +09:00
mailer_generator_test.rb Fix generator test to match to use the string 2016-03-21 14:07:38 -03:00
migration_generator_test.rb Pare back default index option for the migration generator 2016-01-24 18:48:15 +05:30
model_generator_test.rb Generate ApplicationRecord if it does not already exist 2016-02-22 20:45:36 -05:00
named_base_test.rb Removed duplicate requiring minitest/mock as it is already required in method_call_assertions 2015-08-26 19:43:54 +05:30
namespaced_generators_test.rb Update test generators to use ActionDispatch::IntegrationTest 2015-12-15 15:19:16 -05:00
orm_test.rb
plugin_generator_test.rb generate ApplicationJob if it does not already exist 2016-03-25 13:21:37 +09:00
plugin_test_helper.rb show relative path the rerun snippet of test runner in rails engine 2015-12-10 16:08:37 +09:00
plugin_test_runner_test.rb fix build broken by 07e422f58d. 2016-02-15 15:57:14 +01:00
resource_generator_test.rb Update test generators to use ActionDispatch::IntegrationTest 2015-12-15 15:19:16 -05:00
scaffold_controller_generator_test.rb Update test generators to use ActionDispatch::IntegrationTest 2015-12-15 15:19:16 -05:00
scaffold_generator_test.rb make rake proxy work in rails engines 2016-01-31 09:49:48 +09:00
shared_generator_tests.rb ApplicationMailer should be generated by default just like every other Application* parent 2015-12-17 17:35:20 -02:00
task_generator_test.rb
test_runner_in_engine_test.rb fixing the build take II. 😓 2016-02-15 16:47:51 +01:00