frizz 1.1.1 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
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 you.
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 # Build production
110
- rake frizz:build:staging # Build staging
111
- rake frizz:deploy:production # Build and deploy production
112
- rake frizz:deploy:staging # Build and 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 "Build and deploy #{env.name}"
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
@@ -1,3 +1,3 @@
1
1
  module Frizz
2
- VERSION = "1.1.1"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: frizz
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.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: -1622205671497150469
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: -1622205671497150469
156
+ hash: -4483948247228393043
157
157
  version: '0'
158
158
  none: false
159
159
  requirements: []