es6-promise-rails 2.0.2 → 2.0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3b42a1e38eac75f8b31ecb80a60518350df3434
4
- data.tar.gz: f6de2ff48564b71d06bb34ed76bdfac37a2db85e
3
+ metadata.gz: 2285fa5f38d5c44b624c05dd47fc6e1d94e802b7
4
+ data.tar.gz: 50f7c16ce76148c471f391d3aa2e6fe2d6e507b1
5
5
  SHA512:
6
- metadata.gz: a9755e8bb70a020cbbeaa321ae433368519c43669809aec0fe6257846332f03d8d5a7fb470620be87e50d39cfbea1cefc7691084a8e8d01579e2404a0464c027
7
- data.tar.gz: 234c5dce6ca66eb3794a17d0865a784458d3d15ef0d9738da5a9e2414878e82fdcda7f84554db1619e62c307bc1f63541a0bc79eae30c6c46294b699dad8fa59
6
+ metadata.gz: 8a81a48131ac8885f30910ba931a5b9eff13f8c71bb902945dded67fe75b5c3ed9a15e787d1dec479af95c166849cef529481280375f191201459e14dada1ef9
7
+ data.tar.gz: 8dab67429cbecd92e0bc592be9a53e586de9e7279b65dd8bd1a05b5e89aa4516d0e9cbda17183b5cb5c820c8f563cdabd393a439487ef36ada23c6923b4b91f8
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- es6-promise-rails (2.0.2)
4
+ es6-promise-rails (2.0.2.1)
5
5
  railties (>= 3.1.0)
6
6
 
7
7
  GEM
@@ -35,7 +35,7 @@ GEM
35
35
  activesupport (= 4.1.8)
36
36
  rake (>= 0.8.7)
37
37
  thor (>= 0.18.1, < 2.0)
38
- rake (10.3.2)
38
+ rake (10.4.2)
39
39
  thor (0.19.1)
40
40
  thread_safe (0.3.4)
41
41
  tzinfo (1.2.2)
@@ -1,7 +1,7 @@
1
1
  module E6
2
2
  module Promise
3
3
  module Rails
4
- VERSION = '2.0.2'.freeze
4
+ VERSION = '2.0.2.1'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -634,13 +634,11 @@
634
634
 
635
635
  @class Promise
636
636
  @param {function} resolver
637
- @param {String} label optional string for labeling the promise.
638
637
  Useful for tooling.
639
638
  @constructor
640
639
  */
641
- function $$es6$promise$promise$$Promise(resolver, label) {
640
+ function $$es6$promise$promise$$Promise(resolver) {
642
641
  this._id = $$es6$promise$promise$$counter++;
643
- this._label = label;
644
642
  this._state = undefined;
645
643
  this._result = undefined;
646
644
  this._subscribers = [];
@@ -856,11 +854,10 @@
856
854
  @method then
857
855
  @param {Function} onFulfilled
858
856
  @param {Function} onRejected
859
- @param {String} label optional string for labeling the promise.
860
857
  Useful for tooling.
861
858
  @return {Promise}
862
859
  */
863
- then: function(onFulfillment, onRejection, label) {
860
+ then: function(onFulfillment, onRejection) {
864
861
  var parent = this;
865
862
  var state = parent._state;
866
863
 
@@ -868,9 +865,7 @@
868
865
  return this;
869
866
  }
870
867
 
871
- parent._onerror = null;
872
-
873
- var child = new this.constructor($$$internal$$noop, label);
868
+ var child = new this.constructor($$$internal$$noop);
874
869
  var result = parent._result;
875
870
 
876
871
  if (state) {
@@ -909,12 +904,11 @@
909
904
 
910
905
  @method catch
911
906
  @param {Function} onRejection
912
- @param {String} label optional string for labeling the promise.
913
907
  Useful for tooling.
914
908
  @return {Promise}
915
909
  */
916
- 'catch': function(onRejection, label) {
917
- return this.then(null, onRejection, label);
910
+ 'catch': function(onRejection) {
911
+ return this.then(null, onRejection);
918
912
  }
919
913
  };
920
914
 
@@ -951,8 +945,8 @@
951
945
  };
952
946
 
953
947
  var es6$promise$umd$$ES6Promise = {
954
- Promise: $$es6$promise$promise$$default,
955
- polyfill: $$es6$promise$polyfill$$default
948
+ 'Promise': $$es6$promise$promise$$default,
949
+ 'polyfill': $$es6$promise$polyfill$$default
956
950
  };
957
951
 
958
952
  /* global define:true module:true window: true */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: es6-promise-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Beder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-17 00:00:00.000000000 Z
11
+ date: 2014-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties