blazing 0.1.0.alpha6 → 0.1.0

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.
Files changed (4) hide show
  1. data/Gemfile.lock +1 -1
  2. data/README.md +29 -4
  3. data/lib/blazing/version.rb +1 -1
  4. metadata +24 -24
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- blazing (0.1.0.alpha6)
4
+ blazing (0.1.0)
5
5
  activesupport
6
6
  grit
7
7
  i18n
data/README.md CHANGED
@@ -31,7 +31,7 @@ When I started working on blazing, I had some design goals in mind which I think
31
31
 
32
32
  I looked at [Inploy](https://github.com/dcrec1/inploy) and [Vlad](https://github.com/seattlerb/vlad) after having used [Capistrano](https://github.com/capistrano/capistrano) for several
33
33
  years. Then got inspired by defunkt's
34
- [blog post](https://github.com/blog/470-deployment-script-spring-cleaning) about deployment script spring cleaning. Other's doing a similar thing with git push deployments are Mislav's [git-deploy](https://github.com/mislav/git-deploy) and [pushand](https://github.com/remi/pushand.git) by remi. If you don't like blazing, you might give them a try.
34
+ [blog post](https://github.com/blog/470-deployment-script-spring-cleaning) about deployment script spring cleaning. Other's doing a similar thing with git push deployments are Mislav's [git-deploy](https://github.com/mislav/git-deploy) (which was a great inspiration and resource) and [pushand](https://github.com/remi/pushand.git) by remi. If you don't like blazing, you might give them a try.
35
35
 
36
36
  ## Installation
37
37
 
@@ -45,7 +45,7 @@ Run `blazing init` in your project root to create a sample config file.
45
45
 
46
46
  ### Configuration
47
47
 
48
- See the generated configuration file or [the template file](https://github.com/effkay/blazing/blob/master/lib/blazing/templates/config.erb) for availabel configuration options.
48
+ See the generated configuration file or [the template file](https://github.com/effkay/blazing/blob/master/lib/blazing/templates/config.erb) for available configuration options.
49
49
 
50
50
  ### Setup
51
51
 
@@ -65,15 +65,40 @@ Whenever you change something in your blazing config file you can run the update
65
65
 
66
66
  Just push to your remote… so if you set up a target named `:production`, use `git push production master` to deploy your master branch there.
67
67
 
68
+ ### Recipes
69
+
70
+ Right now blazing does the following things out of the box:
71
+
72
+ * use rvm if you specify it in your config (by passing an rvm string or just `:rvmrc`, which will load the rvmrc)
73
+ * checkout the pushed ref… so if you do git push production master, the last commit of the master branch will be checked out. Before doing a checkout blazing will reset to HEAD so no errors happen due to changed files. **This means that you will loose any uncommited changes on the production repository. Having changes there is a bad idea anyway!**
74
+ * run bundle --deployment so the dependencies are installed
75
+ * run all recipes, in the order that they are defined
76
+ * run the rake task if one was specified
77
+
78
+ Run all recipes? Well yes, blazing can be extended by recipes. So far, these are available:
79
+
80
+ * [blazing-passenger](https://github.com/effkay/blazing-passenger)
81
+ * `:passenger_restart` will touch `tmp/retart.txt`
82
+ * `:passenger_kickstart, :url => 'http:://somehost'` will do a get requst on somehost to kickstart passenger
83
+ * [blazing-rails](https://github.com/effkay/blazing-rails)
84
+ * `:precompile_assets` will precompile the assets when deploying
85
+
86
+ Feel free to roll your own recipes!
87
+
68
88
  ## Development & Contribution
69
89
 
70
90
  ### Improving Blazing itself
71
91
 
72
92
  If you like blazing and want to improve/fix something, feel free, I'm glad for every pull request. Maybe contact me beforehand so we don't fix the same bugs twice and make sure you stick with a similar code style and have tests in your pull request.
73
93
 
74
- ### Blazing Recipes
94
+ ### Creating custom Blazing Recipes
95
+
96
+ I would like to add recipes that encapuslate common deployment strategies to blazing. If you have an idea for that, you are welcome to contribute. Right now I am still working on a clever API for this. At the moment the recipe API works as follows:
75
97
 
76
- I would like to add recipes that encapuslate common deployment strategies to blazing. If you have an idea for that, you are welcome to contribute. Right now I am still working on a clever API for this so no futher documentation yet.
98
+ * recipes should live in gems called `blazing-<somename>`
99
+ * blazing converts the symbol given in the config to the class name and calls run on it. So if you have `recipe :passenger_restart` blazing will try to run `Blazing::Recipe::PassengerRestart.run` with the options provided.
100
+ * Recipes should live in the `Blazing::Recipe` namespace and inherit from `Blazing::Recipe` as well
101
+ * Recipes are run in the order they are specified in the config, so there is no way to handle inter-recipe dependencies yet.
77
102
 
78
103
  ## Authors
79
104
 
@@ -1,3 +1,3 @@
1
1
  module Blazing
2
- VERSION = "0.1.0.alpha6"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blazing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha6
5
- prerelease: 6
4
+ version: 0.1.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Felipe Kaufmann
@@ -13,7 +13,7 @@ date: 2011-10-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
16
- requirement: &70288701541080 !ruby/object:Gem::Requirement
16
+ requirement: &70120543055980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70288701541080
24
+ version_requirements: *70120543055980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70288701540580 !ruby/object:Gem::Requirement
27
+ requirement: &70120543055480 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.9.2
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70288701540580
35
+ version_requirements: *70120543055480
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70288701540160 !ruby/object:Gem::Requirement
38
+ requirement: &70120543055060 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70288701540160
46
+ version_requirements: *70120543055060
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: guard
49
- requirement: &70288701539660 !ruby/object:Gem::Requirement
49
+ requirement: &70120543054600 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70288701539660
57
+ version_requirements: *70120543054600
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: guard-rspec
60
- requirement: &70288701539240 !ruby/object:Gem::Requirement
60
+ requirement: &70120543054160 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70288701539240
68
+ version_requirements: *70120543054160
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: growl
71
- requirement: &70288701538820 !ruby/object:Gem::Requirement
71
+ requirement: &70120543053720 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70288701538820
79
+ version_requirements: *70120543053720
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rb-fsevent
82
- requirement: &70288701538400 !ruby/object:Gem::Requirement
82
+ requirement: &70120543053300 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70288701538400
90
+ version_requirements: *70120543053300
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: grit
93
- requirement: &70288701537980 !ruby/object:Gem::Requirement
93
+ requirement: &70120543052880 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70288701537980
101
+ version_requirements: *70120543052880
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: activesupport
104
- requirement: &70288701537560 !ruby/object:Gem::Requirement
104
+ requirement: &70120543052460 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *70288701537560
112
+ version_requirements: *70120543052460
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: i18n
115
- requirement: &70288701537140 !ruby/object:Gem::Requirement
115
+ requirement: &70120543052040 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,7 +120,7 @@ dependencies:
120
120
  version: '0'
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *70288701537140
123
+ version_requirements: *70120543052040
124
124
  description: git push deployent utility, ready to be extended by your own recipes
125
125
  email:
126
126
  - felipekaufmann@gmail.com
@@ -178,9 +178,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  none: false
180
180
  requirements:
181
- - - ! '>'
181
+ - - ! '>='
182
182
  - !ruby/object:Gem::Version
183
- version: 1.3.1
183
+ version: '0'
184
184
  requirements: []
185
185
  rubyforge_project: blazing
186
186
  rubygems_version: 1.8.10