actionpack 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionpack might be problematic. Click here for more details.

Files changed (40) hide show
  1. data/CHANGELOG +78 -0
  2. data/README +1 -1
  3. data/install.rb +4 -2
  4. data/lib/action_controller.rb +3 -0
  5. data/lib/action_controller/base.rb +16 -8
  6. data/lib/action_controller/caching.rb +401 -0
  7. data/lib/action_controller/cgi_process.rb +2 -1
  8. data/lib/action_controller/cookies.rb +3 -3
  9. data/lib/action_controller/filters.rb +94 -24
  10. data/lib/action_controller/layout.rb +63 -21
  11. data/lib/action_controller/session/mem_cache_store.rb +1 -1
  12. data/lib/action_controller/support/binding_of_caller.rb +72 -68
  13. data/lib/action_controller/support/breakpoint.rb +526 -524
  14. data/lib/action_controller/support/class_inheritable_attributes.rb +105 -29
  15. data/lib/action_controller/support/core_ext.rb +1 -0
  16. data/lib/action_controller/support/core_ext/hash.rb +5 -0
  17. data/lib/action_controller/support/core_ext/hash/keys.rb +35 -0
  18. data/lib/action_controller/support/core_ext/numeric.rb +7 -0
  19. data/lib/action_controller/support/core_ext/numeric/bytes.rb +33 -0
  20. data/lib/action_controller/support/core_ext/numeric/time.rb +59 -0
  21. data/lib/action_controller/support/core_ext/string.rb +5 -0
  22. data/lib/action_controller/support/core_ext/string/inflections.rb +41 -0
  23. data/lib/action_controller/support/dependencies.rb +1 -14
  24. data/lib/action_controller/support/inflector.rb +6 -6
  25. data/lib/action_controller/support/misc.rb +0 -24
  26. data/lib/action_controller/templates/rescues/_request_and_response.rhtml +7 -4
  27. data/lib/action_controller/test_process.rb +9 -0
  28. data/lib/action_controller/url_rewriter.rb +13 -5
  29. data/lib/action_view/helpers/active_record_helper.rb +10 -3
  30. data/lib/action_view/helpers/cache_helper.rb +10 -0
  31. data/lib/action_view/helpers/form_helper.rb +25 -2
  32. data/lib/action_view/helpers/form_options_helper.rb +1 -2
  33. data/lib/action_view/helpers/url_helper.rb +8 -5
  34. data/lib/action_view/partials.rb +2 -2
  35. data/rakefile +6 -3
  36. data/test/controller/filters_test.rb +118 -3
  37. data/test/controller/render_test.rb +5 -0
  38. data/test/controller/send_file_test.rb +24 -0
  39. data/test/controller/url_test.rb +47 -2
  40. metadata +16 -2
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.4
3
3
  specification_version: 1
4
4
  name: actionpack
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.0
7
- date: 2005-01-04
6
+ version: 1.3.0
7
+ date: 2005-01-17
8
8
  summary: Web-flow and rendering framework putting the VC in MVC.
9
9
  require_paths:
10
10
  - lib
@@ -43,6 +43,7 @@ files:
43
43
  - lib/action_controller/assertions
44
44
  - lib/action_controller/base.rb
45
45
  - lib/action_controller/benchmarking.rb
46
+ - lib/action_controller/caching.rb
46
47
  - lib/action_controller/cgi_ext
47
48
  - lib/action_controller/cgi_process.rb
48
49
  - lib/action_controller/cookies.rb
@@ -75,10 +76,22 @@ files:
75
76
  - lib/action_controller/support/class_attribute_accessors.rb
76
77
  - lib/action_controller/support/class_inheritable_attributes.rb
77
78
  - lib/action_controller/support/clean_logger.rb
79
+ - lib/action_controller/support/core_ext
80
+ - lib/action_controller/support/core_ext.rb
78
81
  - lib/action_controller/support/dependencies.rb
79
82
  - lib/action_controller/support/inflector.rb
80
83
  - lib/action_controller/support/misc.rb
81
84
  - lib/action_controller/support/module_attribute_accessors.rb
85
+ - lib/action_controller/support/core_ext/hash
86
+ - lib/action_controller/support/core_ext/hash.rb
87
+ - lib/action_controller/support/core_ext/numeric
88
+ - lib/action_controller/support/core_ext/numeric.rb
89
+ - lib/action_controller/support/core_ext/string
90
+ - lib/action_controller/support/core_ext/string.rb
91
+ - lib/action_controller/support/core_ext/hash/keys.rb
92
+ - lib/action_controller/support/core_ext/numeric/bytes.rb
93
+ - lib/action_controller/support/core_ext/numeric/time.rb
94
+ - lib/action_controller/support/core_ext/string/inflections.rb
82
95
  - lib/action_controller/templates/rescues
83
96
  - lib/action_controller/templates/scaffolds
84
97
  - lib/action_controller/templates/rescues/_request_and_response.rhtml
@@ -98,6 +111,7 @@ files:
98
111
  - lib/action_view/template_error.rb
99
112
  - lib/action_view/vendor
100
113
  - lib/action_view/helpers/active_record_helper.rb
114
+ - lib/action_view/helpers/cache_helper.rb
101
115
  - lib/action_view/helpers/date_helper.rb
102
116
  - lib/action_view/helpers/debug_helper.rb
103
117
  - lib/action_view/helpers/form_helper.rb