Emilio Tagua
|
d5bb640eb0
|
Remove methods to avoid warnings.
|
2010-09-28 18:40:38 -03:00 |
|
Emilio Tagua
|
783e9b8de5
|
Change test to avoid warnings.
|
2010-09-28 18:38:25 -03:00 |
|
Emilio Tagua
|
34fc109549
|
Redefine duplicated test name.
|
2010-09-28 18:36:45 -03:00 |
|
Emilio Tagua
|
454960d9fb
|
Redefine duplicated test name.
|
2010-09-28 18:35:02 -03:00 |
|
Emilio Tagua
|
3e336f9ab7
|
Use redefine_method since baz is already defined.
|
2010-09-28 18:31:52 -03:00 |
|
Emilio Tagua
|
0c08d8bd75
|
Fix more warnings by defining variables and using instance_variable_defined? instead instance_variable_get.
|
2010-09-28 18:25:52 -03:00 |
|
Emilio Tagua
|
0fa9c5392e
|
Define @_layout if it is not defined.
|
2010-09-28 18:25:24 -03:00 |
|
Emilio Tagua
|
357f59447d
|
Initialize @path.
|
2010-09-28 18:20:54 -03:00 |
|
Emilio Tagua
|
e804104200
|
Use helper method here.
|
2010-09-28 18:16:26 -03:00 |
|
Emilio Tagua
|
a0f95a887e
|
Silence warnings here, only setting Encoding.default_external for testing.
|
2010-09-28 18:11:57 -03:00 |
|
Emilio Tagua
|
d1e976da7f
|
Silence warnings here, only setting Encoding.default_external for testing.
|
2010-09-28 18:10:32 -03:00 |
|
Emilio Tagua
|
523f98099d
|
Remove more warnings on AP.
|
2010-09-28 18:01:48 -03:00 |
|
Emilio Tagua
|
ad2c21089e
|
Define @title to avoid warnings.
|
2010-09-28 17:44:26 -03:00 |
|
Emilio Tagua
|
80a98e9b25
|
Use instance_variable_defined? instead instance_variable_get in tests.
|
2010-09-28 17:35:17 -03:00 |
|
Emilio Tagua
|
3abd0593a6
|
Initialize ivars in tests.
|
2010-09-28 17:32:18 -03:00 |
|
Emilio Tagua
|
c648a4cb94
|
Remove useless string line causing a warning.
|
2010-09-28 17:18:48 -03:00 |
|
Emilio Tagua
|
9917356d66
|
Remove more warnings by initializing variables in test.
|
2010-09-28 17:16:18 -03:00 |
|
Emilio Tagua
|
3f94b45262
|
Remove more warnings: no need to define attr_accessor if already exists. Initialize ivar.
|
2010-09-28 17:08:43 -03:00 |
|
Emilio Tagua
|
19d9fffb9b
|
Use redefine_method instead define_method, it may be already defined.
|
2010-09-28 17:08:10 -03:00 |
|
Emilio Tagua
|
c8db1adc0d
|
Remove duplicated class test. copy/paste fail?
|
2010-09-28 16:40:28 -03:00 |
|
Emilio Tagua
|
4d6e178f88
|
Remove method if exists, avoid calling Array#first so many times.
|
2010-09-28 16:31:21 -03:00 |
|
Emilio Tagua
|
da8f9ca432
|
Remove more warnings on variables.
|
2010-09-28 16:27:05 -03:00 |
|
Emilio Tagua
|
dc37bd778a
|
Initialize @trusted_proxies.
|
2010-09-28 16:25:06 -03:00 |
|
Emilio Tagua
|
eea61a030e
|
Initialize @compiled_at if it is not.
|
2010-09-28 16:24:42 -03:00 |
|
Emilio Tagua
|
6286b63f27
|
Remove warings from rescues: don't define more than once debug_hash method and ask if @response if defined.
|
2010-09-28 16:20:48 -03:00 |
|
Emilio Tagua
|
540e87256d
|
Remove remaining warnings on _trace by adding parenthesis to gsub arguments.
|
2010-09-28 16:12:07 -03:00 |
|
Emilio Tagua
|
c9416546a2
|
Use parenthesis to avoid ambiguous first argument warning.
|
2010-09-28 16:09:31 -03:00 |
|
Emilio Tagua
|
7129dd95d0
|
undef method if already defined.
|
2010-09-28 16:08:00 -03:00 |
|
Emilio Tagua
|
dda3431942
|
Remove useless use of :: in void context.
|
2010-09-28 16:02:31 -03:00 |
|
Emilio Tagua
|
7c8b43ed4f
|
Ask if the instance variable is defined before asking for it, avoid *many* warnings.
|
2010-09-28 15:53:32 -03:00 |
|
Emilio Tagua
|
9027721b11
|
Add parenthesis to avoid syntax warnings.
|
2010-09-28 15:48:45 -03:00 |
|
Emilio Tagua
|
059d609a1a
|
Avoid more uninitialized variable warnings.
|
2010-09-28 15:46:30 -03:00 |
|
Emilio Tagua
|
97174980e5
|
Remove duplicated method.
|
2010-09-28 15:43:03 -03:00 |
|
Emilio Tagua
|
04c4f47fed
|
Initialize @sub_templates
|
2010-09-28 15:33:48 -03:00 |
|
Emilio Tagua
|
699fb81def
|
Initialize @_virtual_path path ivar.
|
2010-09-28 15:31:29 -03:00 |
|
Emilio Tagua
|
dc2cd266cd
|
Rename tests to avoid name collisions and warnings when running rake task.
|
2010-09-28 15:30:59 -03:00 |
|
Emilio Tagua
|
f63f90134a
|
Rename duplicated test, and give it a correct name. Remove nonsense line.
|
2010-09-28 15:30:16 -03:00 |
|
Emilio Tagua
|
dc61ab0be5
|
Remove duplicated test.
|
2010-09-28 15:29:59 -03:00 |
|
Emilio Tagua
|
adcc5e11fe
|
@selected may not be defined here, avoid warning.
|
2010-09-28 15:29:40 -03:00 |
|
Emilio Tagua
|
8ee27afd06
|
Don't define _test_case method if already defined.
|
2010-09-28 15:21:44 -03:00 |
|
Emilio Tagua
|
4bce8e3c75
|
No need to call super here. Use yield instead block.call
|
2010-09-28 15:10:55 -03:00 |
|
Emilio Tagua
|
b8c565fbd6
|
Initialize @app if it doesn't exists.
|
2010-09-28 15:10:15 -03:00 |
|
Emilio Tagua
|
197a995bc5
|
Move uri parser to AS as URI.parser method to reuse it in AP and ARes.
|
2010-09-27 20:57:26 -03:00 |
|
Emilio Tagua
|
8adb24016d
|
Define @_routes inside method, makes more sense and will be initialized when called anywhere.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-09-27 16:43:33 -03:00 |
|
Emilio Tagua
|
1ab2ab07b5
|
Remove more warnings shadowing outer local variable.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-09-27 16:43:17 -03:00 |
|
Emilio Tagua
|
2f326b7f27
|
Remove warning "URI.unescape is obsolete" from actionpack.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2010-09-27 16:43:04 -03:00 |
|
José Valim
|
8be911c698
|
Merge remote branch 'gramos/ares-missing-prefix-value'
|
2010-09-27 21:33:03 +02:00 |
|
José Valim
|
8aa3684e07
|
Do not cache the script name outcome.
|
2010-09-27 21:14:18 +02:00 |
|
José Valim
|
fe0251e408
|
Merge remote branch 'miloops/warnings'
Conflicts:
actionpack/lib/action_controller/metal/url_for.rb
|
2010-09-27 21:00:54 +02:00 |
|
José Valim
|
6067d16200
|
Call it compile_methods! and do the same on AM.
|
2010-09-27 20:43:56 +02:00 |
|