gitshapage 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +15 -0
- metadata +2 -2
- data/README +0 -13
data/README.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
Creates a page located at /version.txt with the git SHA of the release after a Capistrano deploy.
|
2
|
+
|
3
|
+
That's all it does.
|
4
|
+
|
5
|
+
If you're using bundler - put this in your Gemfile:
|
6
|
+
|
7
|
+
`gem "gitshapage", "0.0.3", :require => false`
|
8
|
+
|
9
|
+
Put this in your config/deploy.rb:
|
10
|
+
|
11
|
+
`require "gitshapage"`
|
12
|
+
|
13
|
+
After deploy:restart it will create the page.
|
14
|
+
|
15
|
+
Don't put it in your Rails config/environment.rb - that does bad things.
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gitshapage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.4
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Darron Froese
|
@@ -35,7 +35,7 @@ extensions: []
|
|
35
35
|
extra_rdoc_files: []
|
36
36
|
|
37
37
|
files:
|
38
|
-
- README
|
38
|
+
- README.md
|
39
39
|
- LICENSE.md
|
40
40
|
- lib/gitshapage.rb
|
41
41
|
has_rdoc: true
|
data/README
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
Creates a page located at /version.txt with the git SHA of the release after a Capistrano deploy.
|
2
|
-
|
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.
|