sprockets-es6 0.3.0 → 0.4.0

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: 7c67e316bee6ff8e934f7270ca8078a421e18125
4
- data.tar.gz: fb653c65017338df1a980ae06fe2dc0cf4238820
3
+ metadata.gz: 7bff26b1acf2592c984a023e5fb05542356df18d
4
+ data.tar.gz: ec198d138c98e1cfa6bc0ed6485b2b4b9c4e719c
5
5
  SHA512:
6
- metadata.gz: 6b57f6d735574f9058d3f757010226c169f79c2e61d31e4765059eba850ca605ca1eae4fc86a1701f1d0edcda507d9e97e603678c1306449ff180dcfa46c5878
7
- data.tar.gz: f26504ed7b76bc9ebb27a268b606655aee2bd8fe826f403dfc904b6fba690931382160cea32ab43c971a0d040995b4fb4da0b448a339024b5705c3c80f89f5d6
6
+ metadata.gz: ce8eee48aefb23a14208359cdfd8ef2c956ef7992a6460e7259c28ee7606281dcc537a826fddd533b0d323cc404c9f3729a6e57ee7a1dfbe09de7118bffb3bed
7
+ data.tar.gz: c716af4cd318347f3ca019a6e324e1c7466125a405e22c5289f917976e7945c66135764ae8168a2e098e913259b22f23ff948976199d5a09119a643241191ac0
data/lib/sprockets/es6.rb CHANGED
@@ -33,7 +33,7 @@ module Sprockets
33
33
  end
34
34
 
35
35
  append_path ES6to5::Source.root
36
- register_mime_type 'text/ecmascript-6', extensions: ['.es6'], charset: EncodingUtils::DETECT_UNICODE
36
+ register_mime_type 'text/ecmascript-6', extensions: ['.es6'], charset: :unicode
37
37
  register_transformer 'text/ecmascript-6', 'application/javascript', ES6
38
38
  register_preprocessor 'text/ecmascript-6', DirectiveProcessor
39
39
  end
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  class ES6
3
- VERSION = '0.3.0'
3
+ VERSION = '0.4.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-es6
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Peek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-30 00:00:00.000000000 Z
11
+ date: 2015-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: 6to5
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 2.2.2
100
+ rubygems_version: 2.4.5
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Sprockets ES6 transformer