Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 121 lines (73 sloc) 4.531 kb
bfa48ed5 » apotonick
2011-09-21 version bump to 3.6.6.
1 h2. 3.6.6
2
3 h3. Changes
4 * Added the @:format@ option for @#render@ which should be used with caution. Sorry for that.
5 * Removed the useless @layouts/@ view path from Cell::Base.
6
f60ce893 » apotonick
2011-08-15 added Cell::Base#render_state_with_args.
7 h2. 3.6.5
8
9 h3. Bugfixes
10 * `Cell::TestCase#invoke` now properly accepts state-args.
11
fc28a16c » apotonick
2011-08-15 added docs for Base.cache :if.
12 h3. Changes
13 * Added the `:if` option to `Base.cache` which allows adding a conditional proc or instance method to the cache definition. If it doesn't return true, caching for that state is skipped.
14
f60ce893 » apotonick
2011-08-15 added Cell::Base#render_state_with_args.
15
ca90c186 » apotonick
2011-07-25 version bump to 3.6.4.
16 h2. 3.6.4
17
18 h3. Bugfixes
19 * Fixes @ArgumentError: wrong number of arguments (1 for 0)@ in @#render_cell@ for Ruby 1.8.
20
21
6969681c » apotonick
2011-07-13 added CHANGES notes.
22 h2. 3.6.3
23
24 h3. Bugfixes
b707e514 » apotonick
2011-07-14 version bump to 3.6.3.
25 * [Rails 3.0] Helpers are now properly included (only once). Thanks to [paneq] for a fix.
26 * `#url_options` in the Metal module is now delegated to `parent_controller` which propagates global URL setting like relative URLs to your cells.
27
28 h3. Changes
29 * `cells/test_case` is no longer required as it should be loaded automatically.
30
6969681c » apotonick
2011-07-13 added CHANGES notes.
31
11dfb144 » apotonick
2011-06-29 added 3.6.2 notes.
32 h2. 3.6.2
33
34 h3. Bugfixes
35 * Fixed cells.gemspec to allow Rails 3.x.
36
2a5e1022 » apotonick
2011-06-28 version bump to 3.6.1.
37 h2. 3.6.1
38
39 h3. Changes
40 * Added the @:format@ option allowing @#render@ to set different template types, e.g. @render :format => :json@.
41
42
5a6caf9e » apotonick
2011-06-14 version bump to 3.6.0, marking the internal changes to make cells run…
43 h2. 3.6.0
44
45 h3. Changes
46 * Cells runs with Rails 3.0 and 3.1.
47
48
d4223f2c » apotonick
2011-03-14 added 2.5.6 notes.
49 h2. 3.5.6
50
51 h3. Changes
52 * Added a generator for slim. Use it with `-e slim` when generating.
53
54
381c9bc6 » apotonick
2011-03-08 updated CHANGES.
55 h2. 3.5.5
56
57 h3. Bugfixes
58 * The generator now places views of namespaced cells into the correct directory. E.g. `rails g Blog::Post display` puts views to `app/cells/blog/post/display.html.erb`.
59
1d3309cf » apotonick
2011-03-08 added changes for 3.5.5.
60 h3. Changes
61 * Gem dependencies changed, we now require @actionpack@ and @railties@ >= 3.0.0 instead of @rails@.
381c9bc6 » apotonick
2011-03-08 updated CHANGES.
62
4d3c7bf9 » apotonick
2011-03-24 version bump to 3.5.6.
63
d7e3a311 » apotonick
2011-02-21 fixed CHANGES, the 3.5.3 release got yanked.
64 h2. 3.5.4
69171f39 » apotonick
2011-02-14 fixed a bug where optional state-args caused #render_cell to crash. t…
65
66 h3. Bugfixes
67 * state-args work even if your state method receives optional arguments or default values, like @def show(user, age=18)@.
68
4eb96d28 » apotonick
2011-02-20 moved things to Cells::Railtie. view_paths setup now happens in Cell:…
69 h3. Changes
70
71 * Cell::Base.view_paths is now setup in an initializer. If you do scary stuff with view_paths this might lead to scary problems.
addce773 » apotonick
2011-02-20 added notes about setting Cell::Base.view_paths.
72 * Cells::DEFAULT_VIEW_PATHS is now Cell::Base::DEFAULT_VIEW_PATHS. Note that Cells will set its view_paths to DEFAULT_VIEW_PATHS at initialization time. If you want to alter the view_paths, use Base.append_view_path and friends in a separate initializer.
4eb96d28 » apotonick
2011-02-20 moved things to Cells::Railtie. view_paths setup now happens in Cell:…
73
69171f39 » apotonick
2011-02-14 fixed a bug where optional state-args caused #render_cell to crash. t…
74
0da1897b » apotonick
2011-02-11 not using #options anymore in the docs but clean state-args.
75 h2. 3.5.2
76
77 h3. Bugfixes
78 * Controller#render_cell now accepts multiple args as options.
79
80 h3. Changes
81 * Caching versioners now can accept state-args or options from the #render_cell call. This way, you don't have to access #options at all anymore.
82
83
cf16c7d8 » apotonick
2011-02-10 Cell::Caching refactoring. Use as many as possible from AS::Caching. …
84 h2. 3.5.1
0da1897b » apotonick
2011-02-11 not using #options anymore in the docs but clean state-args.
85
42c15c3f » apotonick
2011-02-10 simplified the .cache API as nobody needed the complicated form. wrot…
86 * No longer pass an explicit Proc but a versioner block to @Cell.Base.cache@. Example: @cache :show do "v1" end@
87 * Caching.cache_key_for now uses @ActiveSupport::Cache.expand_cache_key@. Consequently, a key which used to be like @"cells/director/count/a=1/b=2"@ now is @cells/director/count/a=1&b=2@ and so on. Be warned that this might break your home-made cache expiry.
88 * Controller#expire_cell_state now expects the cell class as first arg. Example: @expire_cell_state(DirectorCell, :count)@
cf16c7d8 » apotonick
2011-02-10 Cell::Caching refactoring. Use as many as possible from AS::Caching. …
89
90 h3. Bugfixes
42c15c3f » apotonick
2011-02-10 simplified the .cache API as nobody needed the complicated form. wrot…
91 * Passing options to @render :state@ in views finally works: @render({:state => :list_item}, item, i)@
cf16c7d8 » apotonick
2011-02-10 Cell::Caching refactoring. Use as many as possible from AS::Caching. …
92
0da1897b » apotonick
2011-02-11 not using #options anymore in the docs but clean state-args.
93
9260f6f3 » apotonick
2011-01-26 fixed tests. CHANGES updated for 3.5.
94 h2. 3.5.0
95
96 h3. Changes
c5785b54 » apotonick
2011-02-04 delegating #request and #config to parent_controller now, we don't wa…
97 * Deprecated @opts, use #options now.
98 * Added state-args. State methods can now receive the options as method arguments. This should be the prefered way of parameter exchange with the outer world.
99 * #params, #request, and #config is now delegated to @parent_controller.
42c77019 » apotonick
2011-01-27 updated README and CHANGES to the generator refactorings.
100 * The generator now is invoked as @rails g cell ...@
101 * The `--haml` option is no longer available.
102 * The `-t` option now is compatible with the rest of rails generators, now it is used as alias for `--test-framework`. Use the `-e` option as an alias of `--template-engine`
103 Thanks to Jorge Calás Lozano <calas@qvitta.net> for patching this in the most reasonable manner i could imagine.
aad6487b » apotonick
2011-02-04 render_view_for now takes state first.
104 * Privatized @#find_family_view_for_state@, @#render_view_for@, and all *ize methods in Cell::Rails.
105 * New signature: @#render_view_for(state, *args)@
42c77019 » apotonick
2011-01-27 updated README and CHANGES to the generator refactorings.
106
175dbd9e » apotonick
2010-12-23 Cells.setup now yields Cell::Base. Removed the completely unusable an…
107 h2. 3.4.4
108
109 h3. Changes
110 * Cells.setup now yields Cell::Base, so you can really call append_view_path and friends here.
cfb9b527 » apotonick
2011-01-02 version bump to 3.4.4
111 * added Cell::Base.build for streamlining the process of deciders around #render_cell, "see here":http://nicksda.apotomo.de/2010/12/pragmatic-rails-thoughts-on-views-inheritance-view-inheritance-and-rails-304
112 * added TestCase#in_view to test helpers in a real cell view.
113
175dbd9e » apotonick
2010-12-23 Cells.setup now yields Cell::Base. Removed the completely unusable an…
114
55829a4d » apotonick
2010-12-13 you can now pass a block to #render_cell. the block receives the cell…
115 h2. 3.4.3
116
117 h3. Changes
118 * #render_cell now accepts a block which yields the cell instance before rendering.
119
120 h3. Bugfixes
121 * We no longer use TestTaskWithoutDescription in our rake tasks.
Something went wrong with that request. Please try again.