foreman 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +13 -3
- data/lib/foreman.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -26,12 +26,22 @@ end
|
|
26
26
|
|
27
27
|
desc 'Build the manual'
|
28
28
|
task :man do
|
29
|
-
require 'ronn'
|
30
29
|
ENV['RONN_MANUAL'] = "Foreman Manual"
|
31
30
|
ENV['RONN_ORGANIZATION'] = "Foreman #{Foreman::VERSION}"
|
32
31
|
sh "ronn -w -s toc -r5 --markdown man/*.ronn"
|
33
|
-
|
34
|
-
|
32
|
+
end
|
33
|
+
|
34
|
+
task :pages => :man do
|
35
|
+
sh %{
|
36
|
+
cp man/foreman.1.html /tmp/foreman.1.html
|
37
|
+
git checkout gh-pages
|
38
|
+
rm ./index.html
|
39
|
+
cp /tmp/foreman.1.html ./index.html
|
40
|
+
git add -u index.html
|
41
|
+
git commit -m "rebuilding man page"
|
42
|
+
git push origin -f gh-pages
|
43
|
+
git checkout master
|
44
|
+
}
|
35
45
|
end
|
36
46
|
|
37
47
|
######################################################
|
data/lib/foreman.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 2
|
10
|
+
version: 0.4.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Dollar
|