sprockets-es6 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee9c8d849768cd0125f7c29c36b0399bf81d1598
4
- data.tar.gz: 4d5bffee81a6cd231f86dccdf00b1559afad1020
3
+ metadata.gz: 3e9fa79c43808d8a386dbf667cbcd8ab3fdbab57
4
+ data.tar.gz: b1a4c20aad5f7f287eb09bd7c16c92626a4a89a9
5
5
  SHA512:
6
- metadata.gz: 98d97f9455dfbac6c9440307e4f21346bcbcab062a4380b8e5c543874b01296230a175a43780df4b6e4b23d62d4e835deca3148a468ca58e2922d4a637909a97
7
- data.tar.gz: b5d5b184647c34f1ce2ee43be2c530f77442326629d3828b981b49ae182fbc70cc16fd60c116acf8b26f76dc64263b88aa157d02d47c22aad30d949ea783c2ed
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
- ## Caveats
37
-
38
- Requires Sprockets 3 betas.
38
+ ## Asset manifests required for precompiling
39
39
 
40
- ``` ruby
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).
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  class ES6
3
- VERSION = '0.6.0'
3
+ VERSION = '0.6.1'
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.6.0
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-02-18 00:00:00.000000000 Z
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: http://github.com/josh/sprockets-es6
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.4.5
100
+ rubygems_version: 2.2.2
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Sprockets ES6 transformer