ember-auth-source 6.0.0 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/dist/ember-auth.js +4 -0
  2. metadata +3 -3
data/dist/ember-auth.js CHANGED
@@ -670,6 +670,7 @@ void function () {
670
670
  self = this;
671
671
  get$(Em, 'Route').reopen({
672
672
  activate: function () {
673
+ this._super.apply(this, arguments);
673
674
  self.router || (self.router = get$(this, 'router'));
674
675
  return self.registerInitRedirect(get$(this, 'routeName'));
675
676
  }
@@ -707,6 +708,7 @@ set$(get$(get$(Em, 'Auth'), 'Module'), 'AuthRedirectable', Ember.Object.extend({
707
708
  self = this;
708
709
  set$(this, 'AuthRedirectable', Ember.Mixin.create({
709
710
  redirect: function () {
711
+ this._super.apply(this, arguments);
710
712
  if (!get$(get$(self, 'auth'), 'signedIn')) {
711
713
  get$(self, 'auth').trigger('authAccess');
712
714
  return this.transitionTo(get$(get$(self, 'config'), 'route'));
@@ -793,6 +795,7 @@ set$(get$(get$(Em, 'Auth'), 'Module'), 'Rememberable', Ember.Object.extend({
793
795
  self = this;
794
796
  return get$(Em, 'Route').reopen({
795
797
  redirect: function () {
798
+ this._super.apply(this, arguments);
796
799
  if (get$(get$(self, 'config'), 'autoRecall') && !get$(get$(self, 'auth'), 'signedIn'))
797
800
  return self.recall({ async: false });
798
801
  }
@@ -1136,6 +1139,7 @@ void function () {
1136
1139
  self = this;
1137
1140
  get$(Em, 'Route').reopen({
1138
1141
  redirect: function () {
1142
+ this._super.apply(this, arguments);
1139
1143
  return self.authenticate({ async: false });
1140
1144
  }
1141
1145
  });
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-auth-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-02 00:00:00.000000000 Z
12
+ date: 2013-05-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ember-source
@@ -75,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  segments:
77
77
  - 0
78
- hash: 625843565
78
+ hash: 321111087
79
79
  required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  none: false
81
81
  requirements: