browserify-rails 1.0.2 → 1.1.0
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -11
- data/lib/browserify-rails/browserify_processor.rb +1 -1
- data/lib/browserify-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4b9951e1b2777f3e224e48844d70b3cf567a791
|
|
4
|
+
data.tar.gz: d940be7cbc9cb51fae08559ede9df6b9906db3cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87e2c647685b95f0fb074f87d360c057de42f132e58bebcc078e77bb9ea0904d876ba13d46ec0a82773e88bc38f3d48b83d6f189ef2ef34c429d954547cd3385
|
|
7
|
+
data.tar.gz: 9c880ee3a85ef0eb5e9542df44d37c05fa72a71658e8a6997a67f485786b7917d04655def63094f83ef364850a518bd21b9082b15161cab2f07f271e00606ab7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
All notable changes to this project will be documented in this file going forward.
|
|
3
3
|
|
|
4
|
+
## [1.1.0] - 2015-07-04
|
|
5
|
+
- fix major performance bug with browserify-incremental cachefile
|
|
6
|
+
- remove specific version in README
|
|
7
|
+
|
|
4
8
|
## [1.0.2] - 2015-06-29
|
|
5
9
|
- updates to README for versions
|
|
6
10
|
|
data/README.md
CHANGED
|
@@ -19,7 +19,7 @@ It lets you mix and match `//= require` directives and `require()` calls for in
|
|
|
19
19
|
|
|
20
20
|
Add this line to your application's Gemfile:
|
|
21
21
|
|
|
22
|
-
gem "browserify-rails"
|
|
22
|
+
gem "browserify-rails"
|
|
23
23
|
|
|
24
24
|
Create `package.json` in your Rails root:
|
|
25
25
|
|
|
@@ -200,17 +200,11 @@ invalid.
|
|
|
200
200
|
|
|
201
201
|
## Deploying to Heroku
|
|
202
202
|
|
|
203
|
-
Heroku is a very common target for deploying. You'll have to
|
|
204
|
-
|
|
205
|
-
`bundle` and `npm install` on the target machine.
|
|
203
|
+
Heroku is a very common target for deploying. You'll have to add custom
|
|
204
|
+
buildpacks that run `bundle` and `npm install` on the target machine.
|
|
206
205
|
|
|
207
|
-
$ heroku
|
|
208
|
-
|
|
209
|
-
and add a `.buildpacks` file in your project root containing the strategies
|
|
210
|
-
|
|
211
|
-
# .buildpacks
|
|
212
|
-
https://github.com/heroku/heroku-buildpack-nodejs.git
|
|
213
|
-
https://github.com/heroku/heroku-buildpack-ruby.git
|
|
206
|
+
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-nodejs.git
|
|
207
|
+
$ heroku buildpacks:add https://github.com/heroku/heroku-buildpack-ruby.git
|
|
214
208
|
|
|
215
209
|
## Troubleshooting
|
|
216
210
|
|
|
@@ -156,7 +156,7 @@ module BrowserifyRails
|
|
|
156
156
|
# we're going to use browserifyinc.
|
|
157
157
|
if uses_browserifyinc(force_browserifyinc)
|
|
158
158
|
cache_file_path = rails_path(tmp_path, "browserifyinc-cache.json")
|
|
159
|
-
command_options << " --cachefile=#{Shellwords.escape(cache_file_path
|
|
159
|
+
command_options << " --cachefile=#{Shellwords.escape(cache_file_path)}"
|
|
160
160
|
end
|
|
161
161
|
|
|
162
162
|
# Create a temporary file for the output. Such file is necessary when
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: browserify-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Henry Hsu, Cymen Vig
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-07-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|