wingman_rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1425,6 +1425,7 @@
1425
1425
  if (this.context.get(this.nodeData.name)) {
1426
1426
  this.view.setProperty(this.nodeData.name, this.context.get(this.nodeData.name));
1427
1427
  }
1428
+ this.view.render();
1428
1429
  element = this.view.el;
1429
1430
  this.scope.appendChild(element);
1430
1431
  }
@@ -2027,7 +2028,7 @@
2027
2028
  return typeof this.ready === "function" ? this.ready() : void 0;
2028
2029
  };
2029
2030
 
2030
- _Class.prototype.createChildView = function(viewName) {
2031
+ _Class.prototype.createChildView = function(viewName, options) {
2031
2032
  var className, klass, view,
2032
2033
  _this = this;
2033
2034
  className = Fleck.camelize(Fleck.underscore(viewName), true) + 'View';
@@ -2040,7 +2041,7 @@
2040
2041
  return _this.trigger('descendantCreated', view);
2041
2042
  });
2042
2043
  this.trigger('descendantCreated', view);
2043
- view.render();
2044
+ if (options != null ? options.render : void 0) view.render();
2044
2045
  return view;
2045
2046
  };
2046
2047
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wingman_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-03 00:00:00.000000000 Z
12
+ date: 2012-04-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70238977420440 !ruby/object:Gem::Requirement
16
+ requirement: &70311409102420 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -24,7 +24,7 @@ dependencies:
24
24
  version: '5.0'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *70238977420440
27
+ version_requirements: *70311409102420
28
28
  description: This gem provides Wingman for your Rails 3 application.
29
29
  email:
30
30
  - rasmusrnielsen@gmail.com