frizz 1.6.0 → 1.7.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: b91f9450aa82504d7bcdd6682550c96b75ffd64d
4
- data.tar.gz: 6589519b90da99e3a9665a343fa4b62c6e0b9503
3
+ metadata.gz: be17060c59c45506180818f61b31a226dbcb873a
4
+ data.tar.gz: 1e41ab2d804d3fce8de5bd8f3b3f770dfaada643
5
5
  SHA512:
6
- metadata.gz: 7154646f33a7963bb27646b8e0acfdff1313729e8aa89ec115412bcd80cb24dd6099fd7f24e06b15dd6681102b0c4501ccee1dd094cc11a159eae3b41d40a646
7
- data.tar.gz: 77a3fbfbd4c0876c0668b4f0f2b151cd359b73b576b4e02ee6f686302c93ce4c0838ca4934202d499d33304e4aa39a74866c8cccc407ec8023b16473c4617643
6
+ metadata.gz: ca669561edc55c8220f1cbf28f8590b1337c27169a20aa979db29082b1640ebb7bd08c8c692dfc228538c306f6731d4d8a422e7cb1d98bf6986a2806bf78ce7b
7
+ data.tar.gz: d0be606d9c5f2e1ee7db3daf3fd8c1f01c4be6fd696d73831b27548c0c59c56c679807d49269c68ace40617881a5ca36735a9d6493050d171466d20b6673b664
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.1"
27
+ spec.add_dependency "listen", "~> 2.0"
28
28
  spec.add_dependency "cloudfront-invalidator", "~> 0.2.0"
29
29
  end
data/lib/frizz.rb CHANGED
@@ -9,6 +9,7 @@ module Frizz
9
9
  autoload :Sync, "frizz/sync"
10
10
  autoload :Configuration, "frizz/configuration"
11
11
  autoload :Environment, "frizz/environment"
12
+ autoload :NullEnvironment, "frizz/null_environment"
12
13
  autoload :Ignorance, "frizz/ignorance"
13
14
 
14
15
  class << self
@@ -23,7 +23,7 @@ module Frizz
23
23
  end
24
24
 
25
25
  def environment
26
- environments[current_environment]
26
+ environments[current_environment] || NullEnvironment.new
27
27
  end
28
28
 
29
29
  def environments=(environments_data)
@@ -48,8 +48,8 @@ module Frizz
48
48
  require "listen"
49
49
 
50
50
  Listen.to(Dir.pwd) do |modified, added, removed|
51
- load_yaml! if modified.include? "frizz.yml"
52
- end
51
+ load_yaml! if modified.include? File.expand_path(YAML_FILENAME)
52
+ end.start
53
53
  end
54
54
  end
55
55
  end
@@ -0,0 +1,7 @@
1
+ module Frizz
2
+ class NullEnvironment
3
+ # Don't raise on undefined methods. Allows for flexible use of frizz.yml
4
+ # attributes.
5
+ def method_missing(meth, *args, &block); end
6
+ end
7
+ end
data/lib/frizz/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Frizz
2
- VERSION = "1.6.0"
2
+ VERSION = "1.7.0"
3
3
  end
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frizz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.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-06-03 00:00:00.000000000 Z
11
+ date: 2014-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: s3
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.3.13
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.3.13
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: colorize
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.6.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.6.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mime-types
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.25'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.25'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: listen
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.1'
89
+ version: '2.0'
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.1'
96
+ version: '2.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: cloudfront-invalidator
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: 0.2.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.2.0
111
111
  description: Utility for deploying static sites to S3
@@ -115,7 +115,7 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - .gitignore
118
+ - ".gitignore"
119
119
  - Gemfile
120
120
  - LICENSE.txt
121
121
  - README.md
@@ -130,6 +130,7 @@ files:
130
130
  - lib/frizz/middleman/extension.rb
131
131
  - lib/frizz/middleman/tasks.rb
132
132
  - lib/frizz/middleman/view_helpers.rb
133
+ - lib/frizz/null_environment.rb
133
134
  - lib/frizz/remote.rb
134
135
  - lib/frizz/site.rb
135
136
  - lib/frizz/sync.rb
@@ -144,17 +145,17 @@ require_paths:
144
145
  - lib
145
146
  required_ruby_version: !ruby/object:Gem::Requirement
146
147
  requirements:
147
- - - '>='
148
+ - - ">="
148
149
  - !ruby/object:Gem::Version
149
150
  version: '0'
150
151
  required_rubygems_version: !ruby/object:Gem::Requirement
151
152
  requirements:
152
- - - '>='
153
+ - - ">="
153
154
  - !ruby/object:Gem::Version
154
155
  version: '0'
155
156
  requirements: []
156
157
  rubyforge_project:
157
- rubygems_version: 2.0.3
158
+ rubygems_version: 2.2.2
158
159
  signing_key:
159
160
  specification_version: 4
160
161
  summary: Utility for deploying static sites to S3