gitshapage 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README +11 -1
- metadata +1 -1
data/README
CHANGED
@@ -1,3 +1,13 @@
|
|
1
1
|
Creates a page located at /version.txt with the git SHA of the release after a Capistrano deploy.
|
2
2
|
|
3
|
-
That's all it does.
|
3
|
+
That's all it does.
|
4
|
+
|
5
|
+
Just put:
|
6
|
+
|
7
|
+
require "gitshapage"
|
8
|
+
|
9
|
+
In your config/deploy.rb - after deploy:restart it will create the page.
|
10
|
+
|
11
|
+
Don't put it in your config/environment.rb - that does bad things.
|
12
|
+
|
13
|
+
Haven't tried it with Bundler yet.
|