Commit Graph

24803 Commits

Author SHA1 Message Date
Santiago Pastorino
bd0550ef5a Merge pull request #2714 from vijaydev/docs
doc fixes
2011-08-27 14:03:55 -07:00
Vijay Dev
8526f727cf doc fixes 2011-08-28 02:27:39 +05:30
Xavier Noria
827a0fee07 use sdoc to generate the API 2011-08-27 03:55:01 -07:00
Aaron Patterson
e8b525f169 stop messing with the load path, load path should be adjusted in the test task 2011-08-26 10:15:17 -07:00
Santiago Pastorino
4a4dcb5059 Merge pull request #2702 from arunagw/removed_unused_var
Removed Unused Variable.
2011-08-26 05:41:59 -07:00
Arun Agrawal
651ef614f1 Removed Unused Variable. 2011-08-26 11:29:05 +05:30
Aaron Patterson
e3a020a679 Merge pull request #2699 from guilleiguaran/fix-asset-debugging-test-1.8
Fix failing asset debug test under 1.8
2011-08-25 19:12:24 -07:00
Guillermo Iguaran
a071c9b667 Fix failing asset debug test under 1.8 2011-08-25 21:05:23 -05:00
Aaron Patterson
42a7979cf1 Force binary data inserted for a string data type to utf-8 and log an
error.  Strings tagged as binary will be stored in sqlite3 as blobs.  It
is an error to insert binary data to a string column, so an error is
emitted in the log file.  People are highly encouraged to track down the
source of the binary strings and make sure that the encoding is set
correctly before inserting to the database.
2011-08-25 16:07:54 -07:00
Xavier Noria
635b9d4ca8 Merge pull request #2681 from guilleiguaran/doc-changes
Documentation changes: Assets Pipeline guide and Railties changelog
2011-08-25 15:07:11 -07:00
Jon Leighton
8ba491acc3 Revert all the stuff to do with disallowing non-public methods for Module#delegate 2011-08-25 22:30:42 +01:00
Santiago Pastorino
bad6803570 Merge pull request #2696 from guilleiguaran/string-keys-sprockets-helpers
Removing redundant stringify_keys in Sprockets helpers
2011-08-25 14:18:16 -07:00
Guillermo Iguaran
f5472a3898 Removing redundant stringify_keys in Sprockets helpers 2011-08-25 16:09:53 -05:00
Aaron Patterson
25ee30961a Merge pull request #2695 from dasch/more-debug-assets
Don't require a specific value for the ?debug flag
2011-08-25 11:47:23 -07:00
Daniel Schierbeck
8724f00cbd Don't require a specific value for the ?debug flag
Previously, only "1" and "true" were accepted. This change makes
any value, or no value at all, have the same effect.
2011-08-25 20:39:18 +02:00
Arun Agrawal
a840172c53 Yes we need this to pass the test. we are using config.log_level.
Fix broken test test_copying_migrations(RailtiesTest::EngineTest):
NoMethodError: undefined method `log_level' for #<Rails::Engine::Configuration:0xb87a98c>
2011-08-25 11:25:37 -07:00
Aaron Patterson
df948f3100 Merge pull request #2690 from dasch/pretty-debug-assets
Make Sprockets::Helpers::RailsHelper#debug_assets? more readable
2011-08-25 11:05:57 -07:00
Aaron Patterson
35f3907f34 Merge pull request #2688 from dasch/refactor-asset-debugging-tests
Refactor asset debugging tests
2011-08-25 11:04:34 -07:00
Santiago Pastorino
a16e888003 Merge pull request #2694 from bogdan/internal_validation
Moved strict validation changelog entry to right place
2011-08-25 10:14:25 -07:00
Bogdan Gusiev
f2f05da06e Moved strict validation changelog entry to right place 2011-08-25 19:37:11 +03:00
Guillermo Iguaran
3731a0f97b Update Debugging Assets section of Assets Pipeline guide 2011-08-25 09:49:18 -05:00
Guillermo Iguaran
9a68ea9643 Add missing CHANGELOG entries for Railties 2011-08-25 09:47:37 -05:00
Santiago Pastorino
eb6906890e Tiny refactor 2011-08-25 11:40:59 -03:00
Santiago Pastorino
67274ca162 Merge pull request #2491 from waynn/fix_symbol
fix destructive stringify_keys for label_tag
2011-08-25 07:39:31 -07:00
José Valim
d15069316f Merge pull request #2563 from bogdan/internal_validation
Implemented strict validation concept
2011-08-25 07:10:16 -07:00
Bogdan Gusiev
cbb147931b Typo fix 2011-08-25 16:43:43 +03:00
Daniel Schierbeck
b59aa358bb Make Sprockets::Helpers::RailsHelper#debug_assets? more readable 2011-08-25 12:36:11 +02:00
Daniel Schierbeck
372892eaea Move asset debugging tests into a separate test case
Also:

- Refactor AssetDebuggingTest.
- Use the %r regexp syntax. That way we don't need to escape the /'s.
2011-08-25 11:57:16 +02:00
Aaron Patterson
68424fb1cf fix ambiguous * and remove unused variable 2011-08-24 16:52:23 -07:00
Aaron Patterson
32836e7a53 fix ambiguous use of * 2011-08-24 16:48:30 -07:00
Aaron Patterson
b907271b4b stop circular require warnings 2011-08-24 16:47:01 -07:00
Aaron Patterson
bac5da3ccc only backport the to_d method if it does not exist 2011-08-24 16:33:49 -07:00
Aaron Patterson
4af431285b only define the encoding reader since we define the writer later on 2011-08-24 16:33:36 -07:00
Aaron Patterson
3096629d29 we are *sure* we want to set the encoding, so silence warnings around it 2011-08-24 16:23:38 -07:00
Aaron Patterson
5345958b3a Merge pull request #2679 from amatsuda/nullify_abstract_class_table_name
do not compute table names for abstract classes
2011-08-24 16:05:24 -07:00
Xavier Noria
0a2b105621 the command line guide is good to go 2011-08-24 14:45:42 -07:00
Jon Leighton
28a4d37843 Merge pull request #2674 from masterkain/master
Add back autoload :Table
2011-08-24 14:33:09 -07:00
Santiago Pastorino
e7634c2fdd Merge pull request #2677 from guilleiguaran/refactor-sprockets-helpers
Refactoring javascript_include_tag and stylesheet_link_tag Sprockets helpers
2011-08-24 14:11:35 -07:00
Guillermo Iguaran
23b5c55221 Preserve stylesheet_link_tag and javascript_include_tag options on debug 2011-08-24 16:01:06 -05:00
Guillermo Iguaran
e0db9cb17d Use super in javascript_include_tag and stylesheet_link_tag instead of generate tags manually 2011-08-24 15:54:47 -05:00
Guillermo Iguaran
c5a52850b3 Remove redundant join and call to html_safe 2011-08-24 15:40:10 -05:00
Aaron Patterson
09e2109686 bumping bcrypt-ruby requirement 2011-08-24 13:26:38 -07:00
Aaron Patterson
44f07098fe dealing with some -w warnings on startup 2011-08-24 13:25:11 -07:00
José Valim
2f88743c30 Merge pull request #2675 from jdelStrother/load_once_pathnames_fix
Fix autoload_once_paths when using Pathnames & ruby 1.9
2011-08-24 10:29:16 -07:00
Claudio Poli
098cc186c1 Adding missing autoload 2011-08-24 19:15:49 +02:00
Jonathan del Strother
e0714ee005 Fix autoload_once_paths when using Pathnames & ruby 1.9
Under ruby 1.9.2 -
  "/var/log".starts_with?(Pathname.new("/var"))  # => false

so setting config.autoload_once_paths with Pathnames would not work
2011-08-24 18:14:25 +01:00
Santiago Pastorino
289540e4ff Revert "Simplify JavaScriptHelper#escape_javascript"
This commit broke the build without any improvement.

This reverts commit eb0b71478a.
2011-08-24 13:22:37 -03:00
Joshua Peek
5493d22419 Bring in sprockets precompile task 2011-08-24 10:58:43 -05:00
Santiago Pastorino
976b2be108 Merge pull request #2644 from guilleiguaran/allow-assets-debugging
Add config.allow_debugging option
2011-08-24 08:01:08 -07:00
Guillermo Iguaran
827cdae6fb Add config.allow_debugging option to determine if the debug_assets query param can be passed by user 2011-08-24 09:53:55 -05:00