sprockets-babel 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sprockets/babel.rb +1 -1
- data/lib/sprockets/babel/version.rb +1 -1
- data/sprockets-babel.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff14e69d09bde9d2155c7ab9c51d549d7b5bb1db
|
4
|
+
data.tar.gz: 54c864aea7db7d26ebdf944e9ea6550538be4074
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac311058f2a9ad24d9f2d12b395f513185f4367a2c0fc166f7a8295222724aa4d1cc1c8e8711e4f6bec2c48336b4c7ff5b8289bca8ed4b2869ff0b011ec2c03
|
7
|
+
data.tar.gz: 27fd98c5411ebeab69aafb9c87b84938916e8e884fd7ff0f0cb05c993d5f8a0982dbd6213dcec29e83aa9206db445a549e6645bb5d75476b901d30fa2bca15bd
|
data/lib/sprockets/babel.rb
CHANGED
@@ -128,7 +128,7 @@ module Sprockets
|
|
128
128
|
end
|
129
129
|
|
130
130
|
def self.escape_module_id(module_id)
|
131
|
-
'$__' + ERB::Util.url_encode(module_id.gsub(/^\.\//, '')).gsub(
|
131
|
+
'$__' + ERB::Util.url_encode(module_id.gsub(/^\.\//, '')).gsub(/%|-/, '') + '__'
|
132
132
|
end
|
133
133
|
end
|
134
134
|
|
data/sprockets-babel.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['brad.chen@70ms.com']
|
11
11
|
spec.summary = %q{Sprockets 2.x plugin for Babel.}
|
12
12
|
spec.description = %q{Transpile ES6 files with Google Babel.}
|
13
|
-
|
13
|
+
spec.homepage = 'https://github.com/70mainstreet/sprockets-babel'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets-babel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Chen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|
@@ -85,7 +85,7 @@ files:
|
|
85
85
|
- sprockets-babel.gemspec
|
86
86
|
- test/fixtures/math.js.es6
|
87
87
|
- test/test_es6.rb
|
88
|
-
homepage:
|
88
|
+
homepage: https://github.com/70mainstreet/sprockets-babel
|
89
89
|
licenses:
|
90
90
|
- MIT
|
91
91
|
metadata: {}
|