Santiago Pastorino
e8915d098c
api option implies skipping javascript & sprockets
2015-06-11 16:54:10 -03:00
Santiago Pastorino
c09a401660
Generate appropriate initializers for an api app
2015-06-11 16:54:10 -03:00
Santiago Pastorino
2a9cf48a61
rails new --api generates an api app skeleton
2015-06-11 16:54:10 -03:00
Santiago Pastorino
212a099ab0
Add AC::API + its middleware stack integration test
2015-06-11 16:54:10 -03:00
Santiago Pastorino
135c059d6f
Add config.api_only option to application and remove appropriate middleware when true
2015-06-11 16:54:09 -03:00
Yuki Nishijima
a888c3cdc9
Change the index
arg of ActionDispatch::Static#new
to a kwarg
2015-06-11 04:34:11 -07:00
masarakki
83b7bf4d3b
add option to avoid generating scaffold.css
2015-06-09 04:41:19 +09:00
Yves Senn
e8d02ccf8c
Merge pull request #19571 from kaspth/improve-runner-integration
...
Improve Test Runner's Minitest integration.
2015-06-08 12:05:12 +02:00
Rafael Mendonça França
847a5ea7db
Merge pull request #20444 from y-yagi/can_use_path_helper_method_in_console
...
modify console of app method in that can use the path helpers
2015-06-06 00:07:45 -03:00
yuuji.yaginuma
4fded7c069
modify console of app method in that can use the path helpers
2015-06-05 18:38:53 +09:00
Arun Agrawal
382f52ddbb
Remove warning for setting eager_load
...
AppTemplate::Application.new does not run load hooks.
To load this configuration we need to use create which will
run load hooks to load this configuration.
2015-06-05 11:07:16 +02:00
Kasper Timm Hansen
b6fc8e25a1
Improve test runner's Minitest integration.
...
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/
2015-06-04 20:57:08 +02:00
Ronak Jangir
a68ffa731e
Removed duplicate test cases for template execution
2015-06-04 01:55:54 +05:30
Rafael Mendonça França
cecbf9ed32
Merge pull request #18587 from chrismcg/allow_deliver_later_queue_name_to_be_configured
...
Allow configuration of ActionMailer queue name
2015-06-03 13:25:32 -03:00
Yves Senn
939d5a4932
Merge pull request #20387 from y-yagi/fix_engine_generated_controller_test
...
set engine's route in the functional test is generated in the engine
2015-06-02 16:20:40 +02:00
Chris McGrath
f5a131aaea
Allow configuration of ActionMailer queue name
2015-06-02 10:49:49 +01:00
yuuji.yaginuma
3612793475
add test to run generated test files inside mountable engine
2015-06-02 09:11:48 +09:00
Rafael Mendonça França
8b67f28f4a
Merge pull request #20357 from ronakjangir47/remove_mocha1
...
Removed use of mocha from railties actions_test
2015-06-01 13:44:01 -03:00
Santiago Pastorino
651fa5edcd
Merge pull request #20406 from yoongkang/add_edge_sprockets
...
Use sprockets-rails from github repo
2015-06-01 13:35:31 -03:00
Ronak Jangir
655b8be814
Removed use of mocha from railties actions_test
2015-06-01 21:56:12 +05:30
Yoong Kang Lim
757dd93c7f
Use sprockets-rails from github repo
...
See #20397
2015-06-02 02:02:01 +10:00
Rafael Mendonça França
bdfc662a11
Merge pull request #20138 from tgxworld/deprecated_assert_template
...
Deprecate `assert_template` and `assigns()`.
2015-06-01 12:39:03 -03:00
yuuji.yaginuma
c861ef283f
add engine's namespace to fixture name
2015-05-31 21:28:51 +09:00
yuuji.yaginuma
6a8d91897b
set engine's route in the functional test is generated in the engine
2015-05-31 12:54:38 +09:00
Yoong Kang Lim
0cb327c549
Add test to ensure tmp:clear works when tmp is missing
...
See #20299 .
2015-05-30 00:44:12 -07:00
Yoong Kang Lim
f06ce4c12a
Generate a .keep
file in tmp
folder
...
A lot of scripts assumes the existence of this folder and most would fail if it
is absent.
One example of this is `rake restart` (before the previous commit) – it tries to
`touch tmp/restart.txt`, which would fail if `tmp` does not exist, which was the
case for a freshly-cloned project as `tmp` is `.gitignored` by default.
See #20299 .
[Yoong Kang Lim, Sunny Juneja]
2015-05-30 00:44:12 -07:00
Yoong Kang Lim
6fc83f8efe
rake restart
should work without a tmp
folder
...
In restart.rake, the creation of tmp/restart.txt
would fail if the tmp folder does not exist in the
app. This is a problem because apps cloned using
git would not have the tmp folder, as the folder is
in .gitignore. This commit creates the tmp folder
if it does not exist.
Fixes #20299
[Yoong Kang Lim, Sunny Juneja]
2015-05-30 00:44:05 -07:00
Guo Xiang Tan
ca83436d1b
Remove assigns
and assert_template
.
2015-05-30 14:13:57 +08:00
Rafael Mendonça França
73aab036ee
Merge pull request #20017 from eliotsykes/configurable-static-index-filename
...
config.static_index configures directory Index "index.html" filename
2015-05-28 18:53:00 -03:00
Rafael Mendonça França
233ceda594
Merge pull request #20331 from arunagw/arunagw-remove-unused-package-tasks
...
Remove unused package tasks
2015-05-28 18:48:21 -03:00
Mehmet Emin İNAÇ
44781b6e97
Deprecate :nothing
option for render method
...
`head` method works similar to `render` method with `:nothing` option
2015-05-28 15:13:32 +03:00
Eliot Sykes
3ff39494cd
config.static_index configures directory index "index.html" filename
...
Set `config.static_index` to serve a static directory index file not
named `index`. For example, to serve `main.html` instead of `index.html`
for directory requests, set `config.static_index` to `"main"`.
2015-05-28 09:41:00 +01:00
Arun Agrawal
21b6b68f63
Remove unused package tasks
...
We are using `all:build` now.
2015-05-28 09:06:10 +02:00
Rafael Mendonça França
a75f6cfb1b
Merge pull request #20326 from hderms/dh/fix_task_bug
...
Fix rake method definition leaking onto Object
2015-05-27 22:19:57 -03:00
Rafael Mendonça França
4b606d0713
💣 Fix another leftover
2015-05-27 21:59:00 -03:00
Rafael Mendonça França
6b1e67e1a1
Fix file name
...
This is a leftover of #19867
2015-05-27 21:48:01 -03:00
Rafael Mendonça França
99c042b3cc
Merge pull request #19867 from radar/rename-app-rails-loader
...
Remove redundant 'Rails' from Rails::AppRailsLoader constant
2015-05-27 21:41:06 -03:00
Dermot Haughey
ae5c3c3514
add fixed file
...
add framework_test
add another test
2015-05-27 19:24:47 -05:00
Kassio Borges
ac8356eb22
Remove web-console and spring from test group on default Gemfile.
2015-05-27 14:58:05 -03:00
Yves Senn
852460852c
Merge pull request #20262 from arunagw/aa-remove-broken-unused-release-task
...
Remove broken and unused release task
2015-05-27 09:14:19 +02:00
Rafael Mendonça França
5e92f9022f
Merge pull request #20248 from ronakjangir47/remove_mocha
...
Remove use of mocha in the railties generators tests
2015-05-25 11:01:02 -03:00
Zachary Scott
83d0252fe3
Add missing type reference here
2015-05-24 21:18:09 -07:00
Ben Pickles
46fedb4782
Omit .keep in .gitignore when generated with --skip-keeps.
2015-05-22 13:32:06 +01:00
Arun Agrawal
4194d052d8
Remove broken and unused release task
...
- We do release with release.rb
- There is no `rake/gemcutter`
2015-05-22 14:30:30 +02:00
Ronak Jangir
722a367d4e
Remove use of mocha in the railties generators tests
2015-05-22 00:12:58 +05:30
Ryan Bigg
f9640b0900
Remove redundant 'Rails' from Rails::AppRailsLoader constant
2015-05-21 16:50:41 +10:00
Roque Pinel
b36f159adf
Remove use of mocha in the railties path tests
2015-05-18 00:47:30 +00:00
claudiob
271a5521e2
[ci skip] Remove comments about Rails 3.1
...
Stems from https://github.com/rails/rails/pull/20105#issuecomment-100900939
where @senny said:
> From my point of view, all the docs (guides, API) are version bound.
> They should describe that version and continue to be available when newer versions are released.
> The cross referencing can be done by the interested user.
2015-05-11 16:06:09 -07:00
Ankit Gupta
533a73c125
removing unused and already required require's
...
custom test - Does not include EnvHelpers and the require is not needed
path generation test - require abstract_unit which has . rails/all requires rails and corresponding
2015-05-11 11:33:28 -04:00
Mehmet Emin İNAÇ
117bb54125
Refactor railties console and dbconsole commands
...
fix minor convention problems
2015-05-10 06:30:26 +03:00