frizz 1.1.1 → 1.2.1
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.
- data/README.md +8 -5
- data/lib/frizz/middleman/tasks.rb +10 -1
- data/lib/frizz/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -80,7 +80,8 @@ to.
|
|
80
80
|
|
81
81
|
### Rake tasks
|
82
82
|
|
83
|
-
Based on your `frizz.yml`, Frizz will create useful Rake tasks for
|
83
|
+
Based on your `frizz.yml`, Frizz will create useful Rake tasks for building
|
84
|
+
and deploying.
|
84
85
|
|
85
86
|
#### Configuration
|
86
87
|
|
@@ -106,10 +107,12 @@ Frizz would give us the following Rake tasks:
|
|
106
107
|
|
107
108
|
```bash
|
108
109
|
$ rake -T
|
109
|
-
rake frizz:build:production
|
110
|
-
rake frizz:build:staging
|
111
|
-
rake frizz:deploy:production
|
112
|
-
rake frizz:deploy:staging
|
110
|
+
rake frizz:build:production # Build production
|
111
|
+
rake frizz:build:staging # Build staging
|
112
|
+
rake frizz:deploy:production # Deploy build dir to production: example.com
|
113
|
+
rake frizz:deploy:staging # Deploy build dir to staging: staging.example.com
|
114
|
+
rake frizz:release:production # Build and deploy production: example.com
|
115
|
+
rake frizz:release:staging # Build and deploy staging: staging.example.com
|
113
116
|
```
|
114
117
|
|
115
118
|
### Settings and Variables for each of your environments
|
@@ -32,7 +32,16 @@ module Frizz
|
|
32
32
|
|
33
33
|
namespace :deploy do
|
34
34
|
relevant_environments.each do |name, env|
|
35
|
-
desc "
|
35
|
+
desc "Deploy build dir to #{env.name}: #{env.host}"
|
36
|
+
task env.name do
|
37
|
+
Frizz::Site.new(env.host).deploy!
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
namespace :release do
|
43
|
+
relevant_environments.each do |name, env|
|
44
|
+
desc "Build and deploy #{env.name}: #{env.host}"
|
36
45
|
task env.name => ["frizz:build:#{env.name}"] do
|
37
46
|
Frizz::Site.new(env.host).deploy!
|
38
47
|
end
|
data/lib/frizz/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: frizz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.
|
5
|
+
version: 1.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- patbenatar
|
@@ -144,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
segments:
|
146
146
|
- 0
|
147
|
-
hash: -
|
147
|
+
hash: -4483948247228393043
|
148
148
|
version: '0'
|
149
149
|
none: false
|
150
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
segments:
|
155
155
|
- 0
|
156
|
-
hash: -
|
156
|
+
hash: -4483948247228393043
|
157
157
|
version: '0'
|
158
158
|
none: false
|
159
159
|
requirements: []
|