foreman 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +13 -3
  2. data/lib/foreman.rb +1 -1
  3. 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
- sh "git add man/*.?"
34
- sh "git commit -m \"updating man pages\""
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
@@ -1,6 +1,6 @@
1
1
  module Foreman
2
2
 
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
 
5
5
  class AppDoesNotExist < Exception; end
6
6
 
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: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 1
10
- version: 0.4.1
9
+ - 2
10
+ version: 0.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Dollar