esperanto-source 0.6.27 → 0.6.28

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: 15656f4e11baf2f9856b86a74309909f89f20471
4
- data.tar.gz: 85595a972d43429af8c2ef17eff85440015a6330
3
+ metadata.gz: c394cc45735b9d0d951b4dfb2589e6a1bcf16d4c
4
+ data.tar.gz: 07243bd273b080b2b91a5eb0eb7e180f11fa0672
5
5
  SHA512:
6
- metadata.gz: 32788d21ca6ca4beac23076040b8c39e900970917fb986483b7285de61439a976dcbdd26ea3ebf323f8936756f655748cb648443c8b5f17651b958f42bf8df23
7
- data.tar.gz: d57bce8e433e126d7ecbb78703e342e86cc20d56064e2a5bd390e562fd78b4aa0760f961f6e03289f02cf78ac6343d2efc13713b3b83fcb32afaa58cce7b6807
6
+ metadata.gz: b4eda2f0f1fffa6813c8b2951f473ac05143c3f16b39eb7d5c9109c0b0dd09142244691675a2be2df71bd2dd61a4f7092257d0639af4f83ef04ab7b8262a375e
7
+ data.tar.gz: 8dfef8dbcd6025be12611a2060f2a0e6d4af701d4371064c6f52f829c746a8d6e6ad0901f1433013d7b9c343de4753f00190ad9e234a8e7eaee3ff36a714d6a6
@@ -1,5 +1,5 @@
1
1
  module Esperanto
2
2
  module Source
3
- VERSION = '0.6.27'
3
+ VERSION = '0.6.28'
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
1
  /*
2
- esperanto.js v0.6.27 - 2015-04-16
2
+ esperanto.js v0.6.28 - 2015-04-15
3
3
  http://esperantojs.org
4
4
 
5
5
  Released under the MIT License.
data/vendor/esperanto.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- esperanto.js v0.6.27 - 2015-04-16
2
+ esperanto.js v0.6.28 - 2015-04-15
3
3
  http://esperantojs.org
4
4
 
5
5
  Released under the MIT License.
@@ -1654,8 +1654,19 @@ function resolvePath ( base, userModules, moduleId, importerPath, resolver ) {
1654
1654
  return tryPath( base, moduleId + '.js', userModules )
1655
1655
  .catch( function() {return tryPath( base, moduleId + _path.sep + 'index.js', userModules )} )
1656
1656
  .catch( function ( err ) {
1657
- if ( resolver ) {
1658
- return resolver( moduleId, importerPath );
1657
+ var resolvedPromise = resolver && bundler_getBundle__Promise.resolve( resolver( moduleId, importerPath ) );
1658
+
1659
+ if ( resolvedPromise ) {
1660
+ return resolvedPromise.then( function(resolvedPath ) {
1661
+ if ( !resolvedPath ) {
1662
+ // hack but whatevs, it saves handling real ENOENTs differently
1663
+ var err = new Error();
1664
+ err.code = 'ENOENT';
1665
+ throw err;
1666
+ }
1667
+
1668
+ return sander.stat( resolvedPath ).then( function() {return resolvedPath} );
1669
+ });
1659
1670
  } else {
1660
1671
  throw err;
1661
1672
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esperanto-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.27
4
+ version: 0.6.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO