Variety of small changes (mostly to properties) plus a few "in the
[selectricity] / vendor / plugins / engines / CHANGELOG
1 *SVN*
2
3
4 -----
5 1.1.4
6
7 Fixed creation of multipart emails (Ticket #190)
8 Added a temporary fix to the code-mixing issue. In your engine's test/test_helper.rb, please add the following lines:
9
10   # Ensure that the code mixing and view loading from the application is disabled
11   Engines.disable_app_views_loading = true
12   Engines.disable_app_code_mixing = true
13
14 is will prevent code mixing for controllers and helpers, and loading views from the application. One thing to remember is to load any controllers/helpers using 'require_or_load' in your tests, to ensure that the engine behaviour is respected (Ticket #135)
15 Added tasks to easily test engines individually (Ticket #120)
16 Fixture extensions will now fail with an exception if the corresponding class cannot be loaded (Ticket #138)
17 Patch for new routing/controller loading in Rails 1.1.6. The routing code is now replaced with the contents of config.controller_paths, along with controller paths from any started engines (Ticket #196)
18 Rails' Configuration instance is now stored, and available from all engines and plugins.
19
20
21 -----
22 1.1.3
23
24 Fixed README to show 'models' rather than 'model' class (Ticket #167)
25 Fixed dependency loading to work with Rails 1.1.4 (Ticket #180)
26
27
28 -----
29 1.1.2
30
31 Added better fix to version checking (Ticket #130, jdell@gbdev.com).
32 Fixed generated init_engine.rb so that VERSION module doesn't cause probems (Ticket #131, japgolly@gmail.com)
33 Fixed error with Rails 1.0 when trying to ignore the engine_schema_info table (Ticket #132, snowblink@gmail.com)
34 Re-added old style rake tasks (Ticket #133)
35 No longer adding all subdirectories of <engine>/app or <engine>/lib, as this can cause issues when files are grouped in modules (Ticket #149, kasatani@gmail.com)
36 Fixed engine precidence ordering for Rails 1.1 (Ticket #146)
37 Added new Engines.each method to assist in processing the engines in the desired order (Ticket #146)
38 Fixed annoying error message at appears when starting the console in development mode (Ticket #134)
39 Engines is now super-careful about loading the correct version of Rails from vendor (Ticket #154)
40
41
42 -----
43 1.1.1
44
45 Fixed migration rake task failing when given a specific version (Ticket #115)
46 Added new rake task "test:engines" which will test engines (and other plugins) but ensure that the test database is cloned from development beforehand (Ticket #125)
47 Fixed issue where 'engine_schema_info' table was included in schema dumps (Ticket #87)
48 Fixed multi-part emails (Ticket #121)
49 Added an 'install.rb' file to new engines created by the bundled generator, which installs the engines plugin automatically if it doesn't already exist (Ticket #122)
50 Added a default VERSION module to generated engines (Ticket #123)
51 Refactored copying of engine's public files to a method of an Engine instance. You can now call Engines.get(:engine_name).copy_public_files (Ticket #108)
52 Changed engine generator templates from .rb files to .erb files (Ticket #106)
53 Fixed the test_helper.erb file to use the correct testing extensions and not load any schema - the schema will be cloned automatically via rake test:engines
54 Fixed problem when running with Rails 1.1.1 where version wasn't determined correctly (Ticket #129)
55 Fixed bug preventing engines from loading when both Rails 1.1.0 and 1.1.1 gems are installed and in use.
56 Updated version (d'oh!)
57
58
59 -----
60 1.1.0
61
62 Improved regexp matching for Rails 1.0 engines with peculiar paths
63 Engine instance objects can be accessed via Engines[:name], an alias for Engines.get(:name) (Ticket #99)
64 init_engine.rb is now processed as the final step in the Engine.start process, so it can access files within the lib directory, which is now in the $LOAD_PATH at that point. (Ticket #99)
65 Clarified MIT license (Ticket #98)
66 Updated Rake tasks to integrate smoothly with Rails 1.1 namespaces
67 Changed the version to "1.1.0 (svn)"
68 Added more information about using the plugin with Edge Rails to the README
69 moved extensions into lib/engines/ directory to enable use of Engines module in extension code.
70 Added conditional require_or_load method which attempts to detect the current Rails version. To use the Edge Rails version of the loading mechanism, add the line:
71   Engines.config :edge, true
72 to your environment.rb file.
73 Merged changes from /branches/edge and /branches/rb_1.0 into /trunk
74 engine_schema_info now respects the prefix/suffixes set for ActiveRecord::Base (Ticket #67)
75 added ActiveRecord::Base.wrapped_table_name(name) method to assist in determining the correct table name
76
77
78 -----
79 1.0.6
80
81 Added ability to determine version information for engines: rake engine_info
82 Added a custom logger for the Engines module, to stop pollution of the Rails logs.
83 Added some more tests (in particular, see rails_engines/applications/engines_test).
84 Another attempt at solving Ticket #53 - controllers and helpers should now be loadable from modules, and if a full path (including RAILS_ROOT/ENGINES_ROOT) is given, it should be safely stripped from the require filename such that corresponding files can be located in any active engines. In other words, controller/helper overloading should now completely work, even if the controllers/helpers are in modules.
85 Added (finally) patch from Ticket #22 - ActionMailer helpers should now load
86 Removed support for Engines.start :engine, :engine_name => 'whatever'. It was pointless.
87 Fixed engine name referencing; engine_stylesheet/engine_javascript can now happily use shorthand engine names (i.e. :test == :test_engine) (Ticket #45)
88 Fixed minor documentation error ('Engine.start' ==> 'Engines.start') (Ticket #57)
89 Fixed double inclusion of RAILS_ROOT in engine_migrate rake task (Ticket #61)
90 Added ability to force config values even if given as a hash (Ticket #62)
91
92
93 -----
94 1.0.5
95
96 Fixed bug stopping fixtures from loading with PostgreSQL
97
98
99 -----
100 1.0.4
101
102 Another attempt at loading controllers within modules (Ticket #56)
103
104
105 -----
106 1.0.3
107
108 Fixed serious dependency bug stopping controllers being loaded (Ticket #56)
109
110
111 -----
112 1.0.2
113
114 Fixed bug with overloading controllers in modules from /app directory
115 Fixed exception thrown when public files couldn't be created; exception is now logged (Ticket #52)
116 Fixed problem with generated test_helper.rb file via File.expand_path (Ticket #50)
117
118
119 -----
120 1.0.1
121
122 Added engine generator for creation of new engines
123 Fixed 'Engine' typo in README
124 Fixed bug in fixtures extensions
125 Fixed /lib path management bug
126 Added method to determine public directory location from Engine object
127 Fixed bug in the error message in get_engine_dir()
128 Added proper component loading
129 Added preliminary tests for the config() methods module
130
131
132 -----
133 pre-v170
134
135 Fixed copyright notices to point to DHH, rather than me.
136 Moved extension require statements into lib/engines.rb, so the will be loaded if another module/file calls require 'engines
137 Added a CHANGELOG file (this file)

Benjamin Mako Hill || Want to submit a patch?