browserify-rails 1.0.0b → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c8103ff1e727b4eee4db86c1ae36f900e548d20
4
- data.tar.gz: d2653f2f4c937bee245287349e9fa9f90bf03649
3
+ metadata.gz: eab59961d4c925e7d459f3f6e06a259f607e0109
4
+ data.tar.gz: 0043c07367218424a31d2138095d63031d7e81b7
5
5
  SHA512:
6
- metadata.gz: 3ec483f2f43910396a4540b14097cecbf698fe01234205e2154aa60782dea6778e5e4beecce3c3579ae725f9a7ae5529ce5d5bb85f666004f8c13c47d253f8ce
7
- data.tar.gz: e966c041ea4b9eb93feeaf5ebb66ef81b81064db1f1635787d0c5f9fa50b9cb1aafeffa6648584dd0f242f826387c75f0b67b3c5c3ae86ec52e4b3d1587febfe
6
+ metadata.gz: 4781e0719b6a3224d11566dcb06f6dee359f938d6c28fe89bd0c01e3ebb94e5d63d8d5ce8d4fa4fc1d111b388427f6b2f00c91927d193e8da480e40a88ff483c
7
+ data.tar.gz: 7128609e8b7f92e222da8053f428cc0fddc54a86fb9120926c8ecbb3a7e2ee62708147837283ea334ea1167dfa4cabd27eed754d42f06697ad4ea76c7884e513
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file going forward.
3
3
 
4
+ ## [1.0.0] - 2015-06-03
5
+ - fix bugs when path has a space in it
6
+
4
7
  ## [1.0.0b] - 2015-06-03
5
8
  - update dependencies to be compatible with sass-rails and more...
6
9
 
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
- require "bundler/gem_tasks"
2
-
1
+ require 'bundler/gem_tasks'
3
2
  require 'rake/testtask'
3
+ require 'shellwords'
4
4
 
5
5
  Rake::TestTask.new(:test) do |t|
6
6
  t.libs << 'lib'
@@ -15,7 +15,7 @@ namespace :dummy do
15
15
  task :install do
16
16
  dummy_dir = Bundler.root.join 'test/dummy'
17
17
 
18
- sh "cd #{dummy_dir} && npm install" do |ok, res|
18
+ sh "cd #{Shellwords.shellescape(dummy_dir)} && npm install" do |ok, res|
19
19
  fail "Error running npm install in #{dummy_dir}." unless ok
20
20
  end
21
21
  end
@@ -185,7 +185,7 @@ module BrowserifyRails
185
185
  bfy_output = output_file.read
186
186
  end
187
187
  sourcemap_output_file = "#{File.dirname(file)}/#{logical_path.split('/')[-1]}.map"
188
- exorcist_command = "#{exorcist_cmd} #{sourcemap_output_file} #{exorcist_options}"
188
+ exorcist_command = "#{Shellwords.shellescape(exorcist_cmd)} #{Shellwords.shellescape(sourcemap_output_file)} #{exorcist_options}"
189
189
  Logger::log "Exorcist: #{exorcist_command}"
190
190
  exorcist_stdout, exorcist_stderr, exorcist_status = Open3.capture3(env,
191
191
  exorcist_command,
@@ -1,3 +1,3 @@
1
1
  module BrowserifyRails
2
- VERSION = "1.0.0b"
2
+ VERSION = "1.0.0"
3
3
  end
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.0b
4
+ version: 1.0.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-06-03 00:00:00.000000000 Z
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -245,9 +245,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
245
245
  version: '0'
246
246
  required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - ">"
248
+ - - ">="
249
249
  - !ruby/object:Gem::Version
250
- version: 1.3.1
250
+ version: '0'
251
251
  requirements: []
252
252
  rubyforge_project:
253
253
  rubygems_version: 2.4.5