resty-generators 0.5.1 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ import <%= gwt_rails_package %>.session.SessionManager;
18
18
  import <%= gwt_rails_package %>.views.MenuPanel;
19
19
 
20
20
  @Singleton
21
- public class <%= application_name %>MenuPanel extends MenuPanel<User> {
21
+ public class <%= application_name %>MenuPanel extends MenuPanel<<%= options[:session] ? 'User' : 'Void' -%>> {
22
22
 
23
23
  @Inject
24
24
  <%= application_name %>MenuPanel(final PlaceController placeController<% if options[:session] -%>, SessionManager<User> sessionManager<% end %>){
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: resty-generators
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.1
5
+ version: 0.5.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - mkristian
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-07 00:00:00 +05:30
13
+ date: 2011-09-18 00:00:00 +05:30
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency