npm-pipeline-rails 1.1.2 → 1.1.3

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: 33f1c5e32f28a8965aa36c2d1ce2cec54a3b22c3
4
- data.tar.gz: 75670cfba6475b6b21419611ff6857f838562810
3
+ metadata.gz: b2352c0fdaa7671d81dc16dfd8f988a530c2902f
4
+ data.tar.gz: c4af142a7947dfba2c2cd6e0f2861ead7c7afce5
5
5
  SHA512:
6
- metadata.gz: 4e778eaaaaaf92b9a3252f5e07b89719c40089c8540fed1f116940e4760c6b227d27cea3d81c7d6f8f7ac7a4033af3ad7b49c06cf42568a1a76419ca3a50e9fc
7
- data.tar.gz: b52b034e540931e69619cabd59a0986b9a31c1853d09e6de05c2a862dea72fb39b7f767b9e6f61ef3610d765accf401bf43a23e0a70b6857ec6d34d57cd960b6
6
+ metadata.gz: 48f150a8c4c481db5c4f74930c33e64e5f06f35797248290a5101ec83a075255decf1436be4b157c7e85c764e4151199c679f09ef590dee542de16a1aee605c0
7
+ data.tar.gz: ae0c08154b8d9e36871da192f2b4865c0f52cf9496492bd13acc6df7ef5d8b1bf951384d8a3adea22c75e921b7df1afc015a4dfafddb5664c2cc80e0a8610cd4
data/HISTORY.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [v1.1.3]
2
+ > Mar 22, 2016
3
+
4
+ - Fix "TypeError: no implicit conversion of Process::Status into Integer" error.
5
+
6
+ [v1.1.3]: https://github.com/rstacruz/npm-pipeline-rails/compare/v1.1.2...v1.1.3
7
+
1
8
  ## [v1.1.2]
2
9
  > Mar 22, 2016
3
10
 
data/Rakefile ADDED
@@ -0,0 +1,13 @@
1
+ task :test_system do
2
+ system 'cd examples/brunch && bundle exec rake assets:clean assets:precompile'
3
+ exit $?.exitstatus unless $?.exitstatus == 0
4
+ `grep "Brunch assets added successfully" examples/brunch/public/assets/application-*.css`
5
+ exit $?.exitstatus unless $?.exitstatus == 0
6
+
7
+ system 'cd examples/gulp && bundle exec rake assets:clean assets:precompile'
8
+ exit $?.exitstatus unless $?.exitstatus == 0
9
+ `grep "Gulp assets added successfully" examples/gulp/public/assets/application-*.css`
10
+ exit $?.exitstatus unless $?.exitstatus == 0
11
+ end
12
+
13
+ task :default => :test_system
@@ -6,7 +6,7 @@ module NpmPipelineRails
6
6
  def do_system(commands)
7
7
  [*commands].each do |cmd|
8
8
  system cmd
9
- exit $? unless $? == 0
9
+ exit $?.exitstatus unless $?.exitstatus == 0
10
10
  end
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module NpmPipelineRails
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: npm-pipeline-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rico Sta. Cruz
@@ -106,6 +106,7 @@ files:
106
106
  - Gemfile
107
107
  - HISTORY.md
108
108
  - README.md
109
+ - Rakefile
109
110
  - lib/generators/npm_pipeline/brunch/brunch-config.js
110
111
  - lib/generators/npm_pipeline/brunch/package.json
111
112
  - lib/generators/npm_pipeline/brunch_generator.rb