browserify-rails 4.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/README.md +2 -2
- data/lib/browserify-rails/browserify_processor.rb +1 -0
- data/lib/browserify-rails/version.rb +1 -1
- data/test/compilation_test.rb +15 -0
- data/test/dummy/package.json +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: a3dbf39800d0f322c5dd97d8f87b0ab79c64cdb4
|
4
|
+
data.tar.gz: bedce8de70990437b4ffa2c9e057bf16080f854e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95809395c0fc027e697408f4e38eba09ff568532178a67484f1851dd2841c88294d05808a9010fc053ad534ba9c43239e048597247dbf7197ce9f1538a560601
|
7
|
+
data.tar.gz: 4314a4867ed517e6da355313da2fbc85b56bad21e0f3b7639ba414dcded868583b29674d2279c9722231a627f683498472c6527f04c8f9effb94fe80d0f86617
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
All notable changes to this project will be documented in this file going forward.
|
3
3
|
|
4
4
|
## [4.0.0] - 2017-02-07
|
5
|
-
- depend on sprockets >= 3.6.0
|
5
|
+
- depend on sprockets >= 3.6.0
|
6
|
+
(https://github.com/browserify-rails/browserify-rails/commit/11f7c3c)
|
6
7
|
|
7
8
|
## [3.4.0] - 2016-11-22
|
8
9
|
- speeds up build by up to 20% thanks to cguillemette (see PR #183)
|
data/README.md
CHANGED
@@ -28,8 +28,8 @@ Create `package.json` in your Rails root:
|
|
28
28
|
{
|
29
29
|
"name": "something",
|
30
30
|
"dependencies" : {
|
31
|
-
"browserify": "
|
32
|
-
"browserify-incremental": "^3.0
|
31
|
+
"browserify": "^14.0.0",
|
32
|
+
"browserify-incremental": "^3.1.0"
|
33
33
|
},
|
34
34
|
"license": "MIT",
|
35
35
|
"engines": {
|
data/test/compilation_test.rb
CHANGED
@@ -295,4 +295,19 @@ class BrowserifyTest < ActionDispatch::IntegrationTest
|
|
295
295
|
Dummy::Application.config.browserify_rails.commandline_options = ""
|
296
296
|
end
|
297
297
|
end
|
298
|
+
|
299
|
+
test "generates files under plain browserify with browserifyinc disabled" do
|
300
|
+
Dummy::Application.config.browserify_rails.use_browserifyinc = false
|
301
|
+
|
302
|
+
begin
|
303
|
+
expected_output = fixture("main.out.js")
|
304
|
+
|
305
|
+
get "/assets/main.js"
|
306
|
+
|
307
|
+
assert_response :success
|
308
|
+
assert_equal expected_output, @response.body.strip
|
309
|
+
ensure
|
310
|
+
Dummy::Application.config.browserify_rails.use_browserifyinc = true
|
311
|
+
end
|
312
|
+
end
|
298
313
|
end
|
data/test/dummy/package.json
CHANGED
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: 4.
|
4
|
+
version: 4.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: 2017-02-
|
11
|
+
date: 2017-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|