breakfast 0.5.0 → 0.5.1

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: 06729a9f4ec425004a396267be979def63479548
4
- data.tar.gz: 255069e7bee6574707efbe4926d1bc4b3d306bcd
3
+ metadata.gz: 28af3d5d9cae5b7f41a8b2a9902c4ba5df10873f
4
+ data.tar.gz: 4d62dbc3c6a61489ea111d5418d448fec23a47c6
5
5
  SHA512:
6
- metadata.gz: 47159bde9216149cca74dfbd03daf4c40b22cc1525e702338e4fc8b0929d17ef3e63ccc0d83b708b32334da55e584be758134b1ecd321ec3d850893e2b4a075a
7
- data.tar.gz: eb7db55eff1331db08f50f69338f278b0aa35cc67ca7a02b96799cc7da7eccc84dbf266adf4ece8c34674ce38c803a8a2fee7820c2be0a5b674557d2a67b9e0e
6
+ metadata.gz: 5fa202409d2c833f6a37c142eb2e3d717bc5c9ba93cf1a2a7863e7f5a3223051fb40c29f142bc5d8d6a413a73ad3bc1ef8fc32cc3e4d66954bc53d43a03011b5
7
+ data.tar.gz: 57c3fd611d2e41b3d0af248281c89fcc00b1516520c93403a11a31843ba96e9e6746a3d382b0dca187a4b8aba52c53a679fc29dce2f9ec9b1ed0b21f6cf40fae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGE LOG
2
2
 
3
+ ### 0.5.1 - 2017-02-06
4
+ #### Changed
5
+ If `public/assets` does not exist Breakfast will now create the folder before
6
+ attempting to write to it.
7
+
8
+
3
9
  ### 0.5.0 - 2017-02-03
4
10
  #### Added
5
11
  - Adds support for [Yarn](https://yarnpkg.com/).
data/README.md CHANGED
@@ -15,6 +15,11 @@ See the official docs at
15
15
 
16
16
  View updates in the [CHANGELOG](https://github.com/devlocker/breakfast/blob/master/CHANGELOG.md)
17
17
 
18
+ ### Latest Patch `0.5.1`
19
+ #### Changed
20
+ If `public/assets` does not exist Breakfast will now create the folder before
21
+ attempting to write to it.
22
+
18
23
  ### Latest Release `0.5.0`
19
24
  #### Added
20
25
  - Adds support for [Yarn](https://yarnpkg.com/).
@@ -1,4 +1,5 @@
1
1
  require "rails"
2
+ require "fileutils"
2
3
  require "listen"
3
4
 
4
5
  module Breakfast
@@ -34,6 +35,9 @@ module Breakfast
34
35
  end
35
36
 
36
37
  if config.breakfast.environments.include?(Rails.env) && LocalEnvironment.new.running_server?
38
+ # Ensure public/assets directory exists
39
+ FileUtils.mkdir_p(Rails.root.join('public', 'assets'))
40
+
37
41
  Thread.new do
38
42
  Breakfast::BrunchWatcher.spawn(log: Rails.logger)
39
43
  end
@@ -1,3 +1,3 @@
1
1
  module Breakfast
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Koperwas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-03 00:00:00.000000000 Z
11
+ date: 2017-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler