breakfast 0.6.4 → 0.6.5

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
  SHA256:
3
- metadata.gz: '08c203029ac129f53a40e1f93b10b539bb21ba20ee229ac91a30400e3b04bdc3'
4
- data.tar.gz: 12be3eb68d1ecb3d6a8e896b905051738965443a4e142fe161fc9b2faacc495d
3
+ metadata.gz: 612c2f4d140e2c46f1cfda34a6b7c2c17e03194b4060ee125b1cc33d98320488
4
+ data.tar.gz: ec675d1a2121181b07288290e47fc5f5034aa914a01550c965b98da1722da148
5
5
  SHA512:
6
- metadata.gz: 14cf12cf1d9bd1304c2d2f30a6154627a32f605d97a0a42b014e02c4b40166eceed841e4d652f8eb12cdc9c2eea7c457691ca773fa8229a914172f4524c42b96
7
- data.tar.gz: 6686f8d95ad6a50d2dc557ee5c8b405f92846e9fd6fb78f71ac459eac42ce72e585eba3106752737af916d69f1fd8a74dc3ddf59e54215247172a385a4c24a7f
6
+ metadata.gz: 706985d794768de0d0628775cdab3972334a1d29169421389118aa96d05385713f19ff35d12f915d26d6a511e731fdd7d53d90fc83bc606db85ed60bc70b234f
7
+ data.tar.gz: 60f11fdc2ee38d32498eb29a650ec71493179cfdcb45c0ebb0f4cf84035e2ca0b9f0c32b6f7dbd2200d8b6b4ee6d2dbd822ed92bd918c08bad2bc5524363f5b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # CHANGE LOG
2
2
 
3
+ ### 0.6.5 - 2019-04-04
4
+
5
+ #### Changes
6
+
7
+ - Make Rake Task System Calls Fail Loudly
8
+
9
+ @mcclayton
10
+
3
11
  ### 0.6.3 - 2018-08-14
4
12
 
5
13
  #### Fixed
data/README.md CHANGED
@@ -17,13 +17,13 @@ See the official docs at
17
17
 
18
18
  View updates in the [CHANGELOG](https://github.com/devlocker/breakfast/blob/master/CHANGELOG.md)
19
19
 
20
- ### Latest Patch `0.6.4`
20
+ ### Latest Patch `0.6.5`
21
21
 
22
22
  #### Fixed
23
23
 
24
- - Typo in install rake task
24
+ - Make Rake Task System Calls Fail Loudly
25
25
 
26
- [@karmiclycheea](https://github.com/devlocker/breakfast/pull/28)
26
+ [@mcclayton](https://github.com/devlocker/breakfast/pull/30)
27
27
 
28
28
  ### Latest Release `0.6.0`
29
29
 
@@ -1,3 +1,3 @@
1
1
  module Breakfast
2
- VERSION = "0.6.4"
2
+ VERSION = "0.6.5"
3
3
  end
@@ -12,12 +12,12 @@ namespace :breakfast do
12
12
 
13
13
  desc "Build assets for production"
14
14
  task build_production: :environment do
15
- system "NODE_ENV=production ./node_modules/brunch/bin/brunch build --production"
15
+ Breakfast.call_system "NODE_ENV=production ./node_modules/brunch/bin/brunch build --production"
16
16
  end
17
17
 
18
18
  desc "Build assets"
19
19
  task build: :environment do
20
- system "./node_modules/brunch/bin/brunch build"
20
+ Breakfast.call_system "./node_modules/brunch/bin/brunch build"
21
21
  end
22
22
 
23
23
  desc "Add a digest to non-fingerprinted assets"
@@ -51,7 +51,7 @@ namespace :breakfast do
51
51
  namespace :yarn do
52
52
  desc "Install package.json dependencies with Yarn"
53
53
  task :install do
54
- system "yarn"
54
+ Breakfast.call_system "yarn"
55
55
  end
56
56
  end
57
57
  end
@@ -86,4 +86,10 @@ module Breakfast
86
86
  )
87
87
  end
88
88
  end
89
+
90
+ SystemCallError = Class.new(StandardError)
91
+
92
+ def self.call_system(cmd)
93
+ raise SystemCallError, "Failed to execute system command: \"#{cmd}\"" unless system(cmd)
94
+ end
89
95
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "breakfast-rails",
3
- "version": "0.6.2",
3
+ "version": "0.6.5",
4
4
  "description": "Assets for the Breakfast Gem",
5
5
  "main": "./lib/breakfast-rails.js",
6
6
  "scripts": {
@@ -19,6 +19,8 @@
19
19
  "eslint": "^2.4.0"
20
20
  },
21
21
  "babel": {
22
- "presets": ["es2015"]
22
+ "presets": [
23
+ "es2015"
24
+ ]
23
25
  }
24
26
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breakfast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Koperwas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-15 00:00:00.000000000 Z
11
+ date: 2019-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -155,8 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubyforge_project:
159
- rubygems_version: 2.7.6
158
+ rubygems_version: 3.0.3
160
159
  signing_key:
161
160
  specification_version: 4
162
161
  summary: Integrates Brunch into Rails