Yves Senn
2e9e670c0f
Merge pull request #12924 from kuldeepaggarwal/f-specs
...
added test cases to find notes in a file with .builder extension
2013-11-18 06:01:35 -08:00
Kuldeep Aggarwal
4b7fee029f
added test cases to find notes in a file with .builder extension
2013-11-17 15:33:02 +05:30
Kuldeep Aggarwal
4e7d7fc863
[ci skip]updated documentation: added sass and less extensions
2013-11-17 08:14:13 +05:30
Arun Agrawal
e23c77f12b
Build fix for ruby 1.9.3 syntax
2013-11-16 22:50:52 +01:00
Paul Nikitochkin
251923c7a8
Instrument each load config initializer
...
In order to simplify profiling loading of initializers,
added instument for tracking load config initializer event from
`config/initializers`
2013-11-16 21:47:08 +02:00
Akshay Vishnoi
7865805636
avoiding iterations and calling of underscore on all elements of array
2013-11-17 00:58:37 +05:30
David Heinemeier Hansson
07996ebc50
Revert "Used Yield instead of block.call" -- this causes all of atom_feed_helper_test.rb to fail with "SystemStackError: stack level too deep".
...
This reverts commit d3a1ce1cdc60d593de1682c5f4e3230c8db9a0fd.
2013-11-14 15:31:27 -08:00
Rafael Mendonça França
84961dc5df
Merge pull request #12889 from kuldeepaggarwal/speed_ups
...
Used Yield instead of block.call
2013-11-14 11:29:28 -08:00
Kuldeep Aggarwal
d3a1ce1cdc
Used Yield instead of block.call
2013-11-15 00:53:57 +05:30
Yves Senn
98991a9839
Merge pull request #12695 from mikepack/allow_pathnames
...
Allow Pathnames to be added to eager load paths
2013-11-11 23:36:02 -08:00
Etienne Lemay
7166507eae
Make static error pages responsive
2013-11-11 13:40:10 -05:00
Mike Pack
ec3134739c
Allow Pathnames to be added to eager load paths
2013-11-11 11:36:44 -07:00
Dmitry Korotkov
bc010e7140
Fix missing line and shadow on static error pages [ci skip]
2013-11-11 11:17:44 +04:00
Erik Michaels-Ober
9d664b18df
Update tzinfo dependency to ~> 1.1
...
Include the tzinfo-data in the generated Gemfile on Windows.
2013-11-10 06:52:16 -05:00
Rafael Mendonça França
4f00612287
Require the top file and autoload Base class
...
The generators entry point file is rails/generators so we need to make
sure uers will be able to use the generators when requiring that file.
Fixes #12802
2013-11-09 17:55:56 -02:00
Rafael Mendonça França
dc5070e78a
Merge pull request #12803 from arunagw/remove-unused-require
...
Removed unused require
2013-11-08 07:49:04 -08:00
Benjamin Fleischer
124216ada8
Extract common database defaults; better use of YAML
2013-11-08 06:59:28 -06:00
Arun Agrawal
01250308e1
Removed unused require
2013-11-08 08:36:19 +01:00
Arun Agrawal
e259afe847
Added platform dependent gems
...
See #12475
If people are on rbx they will get the desired gem
2013-11-07 21:32:46 +01:00
Arun Agrawal
fefa8ae9a1
Fixed plugin_generator test
...
Template replay needs to happen after bundle.
As we are doing TemplateRecording in apply_rails_template.
here are few commits for changes
8beb42cfbc41753ae4dbb91e16abcd1fb7d00356
9104702be61253f9448ca070a22fc86bb4299555
2013-11-07 19:58:36 +01:00
Rafael Mendonça França
0fca7d67d4
Aesthetics
2013-11-07 12:15:11 -02:00
Rafael Mendonça França
99da3fc098
Merge pull request #12787 from notalex/extract_method
...
Extract method refactoring for Rails::Server#start
2013-11-07 05:58:09 -08:00
Aaron Patterson
656d412546
only ask for these ivars if the target responds to them
2013-11-06 20:34:04 -08:00
Alex Johnson
1410d46b30
Move interrupt information to print_boot_information method
2013-11-07 03:50:23 +05:30
Alex Johnson
919fafa54b
Extract method refactoring for Rails::Server#start
2013-11-07 02:52:10 +05:30
Yves Senn
7d17b1dedb
Merge pull request #12752 from notalex/expand_path_refactoring
...
Refactor File.expand_path usage to remove additional File.join
2013-11-05 01:35:28 -08:00
Alex Johnson
01ef2c1943
Refactor File.expand_path usage to remove additional File.join
2013-11-05 10:50:03 +05:30
Aaron Patterson
9104702be6
oops, template replay needs to happen after bundle. :orz:
2013-11-04 15:13:15 -08:00
Aaron Patterson
7eb586f57f
application template respects Gemfile entries
2013-11-04 15:00:29 -08:00
Aaron Patterson
8beb42cfbc
gems can be added or skipped from the template
2013-11-04 15:00:29 -08:00
Colin Bartlett
87205c3ca4
Remove extra whitespace
...
When generating an app with --skip_active_record, an extra
line of whitespace was included unnecessarily.
2013-11-04 10:06:58 -05:00
Carlos Antonio da Silva
b5cd187ae4
Fix typo in railties changelog
...
Also improve the example to show as shell command [ci skip]
2013-11-04 12:53:19 -02:00
Yves Senn
84eac5dab8
BACKTRACE environment variable to show unfiltered backtraces.
...
We used to support the `BACKTRACE` environment variable but when
we switched to MiniTest it got removed: f9382cd7948
This commit adds back the functionality to show the unfiltered backtrace when needed.
This also works when you run your tests with `rake`:
* `BACKTRACE=1 bin/rake test`
* `BACKTRACE=1 ruby -Itest ...`
2013-11-04 10:00:44 +01:00
Arun Agrawal
fae08dd9ca
No web-console for now
2013-11-03 22:19:17 +01:00
Rafael Mendonça França
9616a7ee1a
Merge pull request #12733 from robin850/fix-railties-build
...
Fix railties build
2013-11-01 08:23:06 -07:00
Rafael Mendonça França
fe64edec3d
Merge pull request #12728 from arunagw/aa-warnings-removed-ruby-trunk
...
More Warnings removed for ruby trunk
2013-11-01 08:10:48 -07:00
Rafael Mendonça França
09ce1df7aa
💣
2013-11-01 11:59:47 -02:00
Rafael Mendonça França
fe21c8589f
Use consistent order of the arguments
2013-11-01 11:58:40 -02:00
Robin Dupret
bca36b080b
Fix some failing tests for Rails::Paths
...
Since we are not using the File.exists? alias which raises a warning on
current ruby trunk, few stubs are wrong.
2013-11-01 14:42:12 +01:00
Robin Dupret
1a566c87cb
Set the destination_root for plugins
...
Since the plugin generator is relying on the application one, we need to
define the proper root when creating the plugin. The AppBase class is
not setting the destination_root (this is done via the AppGenerator)
2013-11-01 14:40:29 +01:00
Arun Agrawal
dbdb25463c
shadowing variable warning removed
2013-11-01 13:47:23 +01:00
Arun Agrawal
c10a78124c
More Warnings removed for ruby trunk
...
Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb
2013-11-01 13:47:23 +01:00
Arun Agrawal
e42fb393c2
Passing args for gemfile entry
...
Fixing build
2013-11-01 13:44:49 +01:00
Robin Dupret
b79e4223f7
Remove "circular require considered harmful" error
...
rails/generators should not load rails/generators/base since the
latter is loading it.
2013-11-01 11:41:02 +01:00
Aaron Patterson
3f2230b9ec
gemfile entries can be added to the app builder
2013-10-31 14:59:56 -07:00
Aaron Patterson
90ace1b986
forgot to add the test. orz 😢
2013-10-31 11:48:12 -07:00
Aaron Patterson
4d4ff531b8
clean up some warnings on trunk ruby
2013-10-31 11:47:51 -07:00
Aaron Patterson
f7e0758714
add filters for gemfile entries
2013-10-31 11:46:11 -07:00
Aaron Patterson
02d4912d1c
We need to fix Sam Ruby's tests.
...
Revert "always call set_default_accessors from create_root"
This reverts commit faa1b82bf2ae5d33bfa1ee5552878d5ca69607b0.
2013-10-30 17:38:07 -07:00
Aaron Patterson
1df1877b74
golf down rc file reading
2013-10-30 16:53:40 -07:00