frizz 1.4.4 → 1.5.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: 8c3e77d2ce6f3e44dcf539aca4469d47dd5db57b
4
- data.tar.gz: 8110035dc7a5496e373d37cf460e0f6dec0dead9
3
+ metadata.gz: dd98be44204c71104dc4e9beffb9585aee906ffd
4
+ data.tar.gz: 74ff1e15857a32f6f2f885eb18739b2c79eb9d3b
5
5
  SHA512:
6
- metadata.gz: 92d57c6991464b9b7f7cd4f67e7df1ec69196fbcdb80f3a6885fd4d1ddbe286e69be26c5e4731dbbc0f36ee28974aa42c0bbc078ad4d96d30be50d36a3be293d
7
- data.tar.gz: bd54c532c26a117b3550d274e1252ace552d924b2eec44909a9c5fd8b4ebf881c54e7c464a8e7e69bf6defdbbf82f0aadb474c642face4a47b0850859ee381cb
6
+ metadata.gz: 7f6eb8e8f85760394202ac6fbdff28c33f93087b8f1d189ee671b9803778a8c9a77b5d294ed8d9172397b6c564a31b962076749f05bfa22645218612ab7eee0b
7
+ data.tar.gz: 672554e30b5de992ced207b98cb36528c5c5e17a6df9b0d9fe11cd4b4776dcda8019ca6868c874f50189ddbb4efeb74bb535e31e0c2df1767f69f8fc9d84d442
data/frizz.gemspec CHANGED
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency "s3", "~> 0.3.13"
25
25
  spec.add_dependency "colorize", "~> 0.6.0"
26
26
  spec.add_dependency "mime-types", "~> 1.25"
27
- spec.add_dependency "listen", "~> 1.2.2"
27
+ spec.add_dependency "listen", "~> 1.1"
28
28
  spec.add_dependency "cloudfront-invalidator", "~> 0.2.0"
29
29
  end
@@ -46,13 +46,10 @@ module Frizz
46
46
 
47
47
  def start_yaml_listener
48
48
  require "listen"
49
- listener = Listen.to Dir.pwd
50
49
 
51
- listener.change do |modified, added, removed|
50
+ Listen.to(Dir.pwd) do |modified, added, removed|
52
51
  load_yaml! if modified.include? "frizz.yml"
53
52
  end
54
-
55
- listener.start
56
53
  end
57
54
  end
58
- end
55
+ end
@@ -12,4 +12,4 @@ module Frizz
12
12
  end
13
13
  end
14
14
 
15
- ::Middleman::Extensions.register(:frizz, Frizz::Middleman::Extension)
15
+ ::Middleman::Extensions.register(:frizz, Frizz::Middleman::Extension)
@@ -25,6 +25,7 @@ module Frizz
25
25
  relevant_environments.each do |name, env|
26
26
  desc "Build #{env.name}"
27
27
  task env.name do
28
+ FileUtils.rm_rf(Dir[".cache"])
28
29
  CmdHelper.run_with_live_output "FRIZZ_ENV=#{env.name} middleman build"
29
30
  end
30
31
  end
@@ -57,4 +58,4 @@ module Frizz
57
58
  end
58
59
  end
59
60
 
60
- Frizz::Middleman::Tasks.install!
61
+ Frizz::Middleman::Tasks.install!
data/lib/frizz/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Frizz
2
- VERSION = "1.4.4"
2
+ VERSION = "1.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frizz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - patbenatar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-07 00:00:00.000000000 Z
11
+ date: 2014-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: 1.2.2
89
+ version: '1.1'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: 1.2.2
96
+ version: '1.1'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: cloudfront-invalidator
99
99
  requirement: !ruby/object:Gem::Requirement