browserify-rails 4.0.0 → 4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2b411c1b092a8ce83681dec1157e71de08d3d41
4
- data.tar.gz: 5f3a1f64ca16a6805d7a268ca43c7c2e2a3f67bd
3
+ metadata.gz: a3dbf39800d0f322c5dd97d8f87b0ab79c64cdb4
4
+ data.tar.gz: bedce8de70990437b4ffa2c9e057bf16080f854e
5
5
  SHA512:
6
- metadata.gz: 200ce47b6988f24865c086db9a71f3cc24714df142d0b72aeeb2bf563d8ec29edd578c358b64c68f8d428b2c2b3ab044d13a92ae2ce4c86d5f99733a95dd0fd7
7
- data.tar.gz: 5930724c1cb84a4e8d206741684b42a2a7f5fa6350b939e70e162e4309f74a62d310001415117c82410c854fd440ceb80d074686cec73472be1a0fb528deb5c8
6
+ metadata.gz: 95809395c0fc027e697408f4e38eba09ff568532178a67484f1851dd2841c88294d05808a9010fc053ad534ba9c43239e048597247dbf7197ce9f1538a560601
7
+ data.tar.gz: 4314a4867ed517e6da355313da2fbc85b56bad21e0f3b7639ba414dcded868583b29674d2279c9722231a627f683498472c6527f04c8f9effb94fe80d0f86617
@@ -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 and change to new API usage (#11f7c3c)
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": "~10.2.4",
32
- "browserify-incremental": "^3.0.1"
31
+ "browserify": "^14.0.0",
32
+ "browserify-incremental": "^3.1.0"
33
33
  },
34
34
  "license": "MIT",
35
35
  "engines": {
@@ -242,6 +242,7 @@ module BrowserifyRails
242
242
  end
243
243
 
244
244
  # Read the output that was stored in the temp file
245
+ output_file.open
245
246
  output = output_file.read
246
247
 
247
248
  # Destroy the temp file (good practice)
@@ -1,3 +1,3 @@
1
1
  module BrowserifyRails
2
- VERSION = "4.0.0"
2
+ VERSION = "4.1.0"
3
3
  end
@@ -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
@@ -6,7 +6,7 @@
6
6
  "babel": "6.3.26",
7
7
  "babel-preset-es2015": "^6.6.0",
8
8
  "babelify": "7.2.0",
9
- "browserify": "13.1.0",
9
+ "browserify": "14.1.0",
10
10
  "browserify-incremental": "3.1.1",
11
11
  "coffeeify": "2.0.1",
12
12
  "exorcist": "~> 0.3.0",
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.0.0
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-07 00:00:00.000000000 Z
11
+ date: 2017-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties