sprockets-es6 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/lib/sprockets/es6/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e9fa79c43808d8a386dbf667cbcd8ab3fdbab57
|
4
|
+
data.tar.gz: b1a4c20aad5f7f287eb09bd7c16c92626a4a89a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c477a067b85a04725133902a6b05573b8f6afd2bb59227b55d6d774fb58884f24d8638fcff7ea50d06469c4d0ae89a42f87b58ecc45d514ffcbd68b30e594d3
|
7
|
+
data.tar.gz: ec672db399e4f23d53b79992f9c81f522adcee98795baba3b4ea94b5b888ad6665d2f59fdda253e1278d37344bbc8f2abb261ce45461ca3408644e2d0f51a09b
|
data/README.md
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
# Sprockets ES6
|
2
2
|
|
3
|
+
**Experimental**
|
4
|
+
|
3
5
|
A Sprockets transformer that converts ES6 code into vanilla ES5 with [Babel JS](https://babeljs.io).
|
4
6
|
|
5
7
|
## Usage
|
6
8
|
|
7
9
|
``` ruby
|
8
10
|
# Gemfile
|
9
|
-
gem 'sprockets'
|
11
|
+
gem 'sprockets', '~>3.0.0.beta'
|
10
12
|
gem 'sprockets-es6'
|
11
13
|
```
|
12
14
|
|
@@ -33,10 +35,6 @@ This plugin is primarily experimental and will never reach a stable 1.0. The
|
|
33
35
|
purpose is to test out BabelJS features on Sprockets 3.x and include it by default
|
34
36
|
in Sprockets 4.x.
|
35
37
|
|
36
|
-
##
|
37
|
-
|
38
|
-
Requires Sprockets 3 betas.
|
38
|
+
## Asset manifests required for precompiling
|
39
39
|
|
40
|
-
|
41
|
-
gem 'sprockets', '~>3.0.0.beta'
|
42
|
-
```
|
40
|
+
`.es6` won't work directly with `config.assets.precompile = %w( foo.es6 )` for annoying compatibility reasons with Sprockets 2.x. Besides, you should look into moving away from `config.assets.precompile` and using manifests instead. See [Sprockets 3.x UPGRADING guide](https://github.com/rails/sprockets/blob/master/UPGRADING.md#preference-for-asset-manifest-and-links).
|
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.6.
|
4
|
+
version: 0.6.1
|
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-
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babel-transpiler
|
@@ -77,7 +77,7 @@ files:
|
|
77
77
|
- README.md
|
78
78
|
- lib/sprockets/es6.rb
|
79
79
|
- lib/sprockets/es6/version.rb
|
80
|
-
homepage:
|
80
|
+
homepage: https://github.com/TannerRogalsky/sprockets-es6
|
81
81
|
licenses:
|
82
82
|
- MIT
|
83
83
|
metadata: {}
|
@@ -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.
|
100
|
+
rubygems_version: 2.2.2
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Sprockets ES6 transformer
|