Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 113 lines (67 sloc) 4.146 kB
f60ce89 @apotonick added Cell::Base#render_state_with_args.
apotonick authored
1 h2. 3.6.5
2
3 h3. Bugfixes
4 * `Cell::TestCase#invoke` now properly accepts state-args.
5
6
ca90c18 @apotonick version bump to 3.6.4.
apotonick authored
7 h2. 3.6.4
8
9 h3. Bugfixes
10 * Fixes @ArgumentError: wrong number of arguments (1 for 0)@ in @#render_cell@ for Ruby 1.8.
11
12
6969681 @apotonick added CHANGES notes.
apotonick authored
13 h2. 3.6.3
14
15 h3. Bugfixes
b707e51 @apotonick version bump to 3.6.3.
apotonick authored
16 * [Rails 3.0] Helpers are now properly included (only once). Thanks to [paneq] for a fix.
17 * `#url_options` in the Metal module is now delegated to `parent_controller` which propagates global URL setting like relative URLs to your cells.
18
19 h3. Changes
20 * `cells/test_case` is no longer required as it should be loaded automatically.
21
6969681 @apotonick added CHANGES notes.
apotonick authored
22
11dfb14 @apotonick added 3.6.2 notes.
apotonick authored
23 h2. 3.6.2
24
25 h3. Bugfixes
26 * Fixed cells.gemspec to allow Rails 3.x.
27
2a5e102 @apotonick version bump to 3.6.1.
apotonick authored
28 h2. 3.6.1
29
30 h3. Changes
31 * Added the @:format@ option allowing @#render@ to set different template types, e.g. @render :format => :json@.
32
33
5a6caf9 @apotonick version bump to 3.6.0, marking the internal changes to make cells run…
apotonick authored
34 h2. 3.6.0
35
36 h3. Changes
37 * Cells runs with Rails 3.0 and 3.1.
38
39
d4223f2 @apotonick added 2.5.6 notes.
apotonick authored
40 h2. 3.5.6
41
42 h3. Changes
43 * Added a generator for slim. Use it with `-e slim` when generating.
44
45
381c9bc @apotonick updated CHANGES.
apotonick authored
46 h2. 3.5.5
47
48 h3. Bugfixes
49 * 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`.
50
1d3309c @apotonick added changes for 3.5.5.
apotonick authored
51 h3. Changes
52 * Gem dependencies changed, we now require @actionpack@ and @railties@ >= 3.0.0 instead of @rails@.
381c9bc @apotonick updated CHANGES.
apotonick authored
53
4d3c7bf @apotonick version bump to 3.5.6.
apotonick authored
54
d7e3a31 @apotonick fixed CHANGES, the 3.5.3 release got yanked.
apotonick authored
55 h2. 3.5.4
69171f3 @apotonick fixed a bug where optional state-args caused #render_cell to crash. t…
apotonick authored
56
57 h3. Bugfixes
58 * state-args work even if your state method receives optional arguments or default values, like @def show(user, age=18)@.
59
4eb96d2 @apotonick moved things to Cells::Railtie. view_paths setup now happens in Cell:…
apotonick authored
60 h3. Changes
61
62 * Cell::Base.view_paths is now setup in an initializer. If you do scary stuff with view_paths this might lead to scary problems.
addce77 @apotonick added notes about setting Cell::Base.view_paths.
apotonick authored
63 * 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.
4eb96d2 @apotonick moved things to Cells::Railtie. view_paths setup now happens in Cell:…
apotonick authored
64
69171f3 @apotonick fixed a bug where optional state-args caused #render_cell to crash. t…
apotonick authored
65
0da1897 @apotonick not using #options anymore in the docs but clean state-args.
apotonick authored
66 h2. 3.5.2
67
68 h3. Bugfixes
69 * Controller#render_cell now accepts multiple args as options.
70
71 h3. Changes
72 * 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.
73
74
cf16c7d @apotonick Cell::Caching refactoring. Use as many as possible from AS::Caching. …
apotonick authored
75 h2. 3.5.1
0da1897 @apotonick not using #options anymore in the docs but clean state-args.
apotonick authored
76
42c15c3 @apotonick simplified the .cache API as nobody needed the complicated form. wrot…
apotonick authored
77 * No longer pass an explicit Proc but a versioner block to @Cell.Base.cache@. Example: @cache :show do "v1" end@
78 * 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.
79 * Controller#expire_cell_state now expects the cell class as first arg. Example: @expire_cell_state(DirectorCell, :count)@
cf16c7d @apotonick Cell::Caching refactoring. Use as many as possible from AS::Caching. …
apotonick authored
80
81 h3. Bugfixes
42c15c3 @apotonick simplified the .cache API as nobody needed the complicated form. wrot…
apotonick authored
82 * Passing options to @render :state@ in views finally works: @render({:state => :list_item}, item, i)@
cf16c7d @apotonick Cell::Caching refactoring. Use as many as possible from AS::Caching. …
apotonick authored
83
0da1897 @apotonick not using #options anymore in the docs but clean state-args.
apotonick authored
84
9260f6f @apotonick fixed tests. CHANGES updated for 3.5.
apotonick authored
85 h2. 3.5.0
86
87 h3. Changes
c5785b5 @apotonick delegating #request and #config to parent_controller now, we don't wa…
apotonick authored
88 * Deprecated @opts, use #options now.
89 * 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.
90 * #params, #request, and #config is now delegated to @parent_controller.
42c7701 @apotonick updated README and CHANGES to the generator refactorings.
apotonick authored
91 * The generator now is invoked as @rails g cell ...@
92 * The `--haml` option is no longer available.
93 * 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`
94 Thanks to Jorge Calás Lozano <calas@qvitta.net> for patching this in the most reasonable manner i could imagine.
aad6487 @apotonick render_view_for now takes state first.
apotonick authored
95 * Privatized @#find_family_view_for_state@, @#render_view_for@, and all *ize methods in Cell::Rails.
96 * New signature: @#render_view_for(state, *args)@
42c7701 @apotonick updated README and CHANGES to the generator refactorings.
apotonick authored
97
175dbd9 @apotonick Cells.setup now yields Cell::Base. Removed the completely unusable an…
apotonick authored
98 h2. 3.4.4
99
100 h3. Changes
101 * Cells.setup now yields Cell::Base, so you can really call append_view_path and friends here.
cfb9b52 @apotonick version bump to 3.4.4
apotonick authored
102 * 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
103 * added TestCase#in_view to test helpers in a real cell view.
104
175dbd9 @apotonick Cells.setup now yields Cell::Base. Removed the completely unusable an…
apotonick authored
105
55829a4 @apotonick you can now pass a block to #render_cell. the block receives the cell…
apotonick authored
106 h2. 3.4.3
107
108 h3. Changes
109 * #render_cell now accepts a block which yields the cell instance before rendering.
110
111 h3. Bugfixes
112 * We no longer use TestTaskWithoutDescription in our rake tasks.
Something went wrong with that request. Please try again.