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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95e200196bcc77161ad962be61ea750c29e5a843
4
- data.tar.gz: d4f8c86320439d40d1ab567aee5a493e922358f7
3
+ metadata.gz: ff14e69d09bde9d2155c7ab9c51d549d7b5bb1db
4
+ data.tar.gz: 54c864aea7db7d26ebdf944e9ea6550538be4074
5
5
  SHA512:
6
- metadata.gz: 01c858ce6d9e7336e3841de03f47524b1baf2b9a43f3ffafcd559d761f9fff4823a7dba44bddf61552f44b8c06cd3a3c588bc50a3daa42ef40d8d6f854377077
7
- data.tar.gz: 6ac922edba6d118268bb1ba4b2e4c99211bb1c45bd10aa910ef9871331aabe55958de41eb75767e235306db92302326c30084ea26b39e67083b7e303aaec6ad5
6
+ metadata.gz: cac311058f2a9ad24d9f2d12b395f513185f4367a2c0fc166f7a8295222724aa4d1cc1c8e8711e4f6bec2c48336b4c7ff5b8289bca8ed4b2869ff0b011ec2c03
7
+ data.tar.gz: 27fd98c5411ebeab69aafb9c87b84938916e8e884fd7ff0f0cb05c993d5f8a0982dbd6213dcec29e83aa9206db445a549e6645bb5d75476b901d30fa2bca15bd
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Babel
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
@@ -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
- #spec.homepage = "https://github.com/gunpowderlabs/sprockets-traceur"
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.2
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-04-13 00:00:00.000000000 Z
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: {}