capigen 0.1.2 → 0.1.3

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.
data/Capfile CHANGED
@@ -4,11 +4,10 @@
4
4
 
5
5
  load 'deploy' if respond_to?(:namespace) # cap2 differentiator
6
6
 
7
- # Patches for capistrano
8
- load "recipes/bootstrap/patch.rb"
7
+ require 'lib/capigen'
9
8
 
10
9
  # Load recipes
11
- Dir['recipes/*.rb'].each { |plugin| load(plugin) }
10
+ Dir["lib/recipes/**/*.rb"].each { |recipe| load recipe }
12
11
 
13
12
  require 'erb'
14
13
 
@@ -18,5 +17,8 @@ set :user, Proc.new { Capistrano::CLI.ui.ask('Bootstrap user: ') }
18
17
  # Roles
19
18
  role :base, Capistrano::CLI.ui.ask('Server: ')
20
19
 
20
+ # Profile
21
+ set :profile, Proc.new { load choose_profile }
21
22
 
22
- set :profile, Proc.new { load choose_profile }
23
+ # Reset the password var
24
+ reset_password
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.1.3 2008-02-06
2
+
3
+ * Fixing local recipes
4
+
1
5
  == 0.1.2 2008-02-06
2
6
 
3
7
  * Loading recipes from gem
@@ -1,6 +1,6 @@
1
1
  module Capigen::Profiles
2
2
 
3
- ProfileDir = File.dirname(__FILE__) + "/../../profiles"
3
+ ProfileDir = File.dirname(__FILE__) + "/../profiles"
4
4
 
5
5
  def recipe_profiles(prefix = "")
6
6
  Dir[ProfileDir + "/#{prefix}*.rb"].collect { |file| File.basename(file)[0...-3] }
@@ -2,7 +2,7 @@ module Capigen::Templates
2
2
 
3
3
  # Root of templates path
4
4
  def template_root
5
- @template_root ||= File.expand_path(File.dirname(__FILE__) + "/../../templates")
5
+ @template_root ||= File.expand_path(File.dirname(__FILE__) + "/../templates")
6
6
  end
7
7
 
8
8
  # Get full template path
@@ -2,7 +2,7 @@ module Capigen #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>capigen</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/capigen"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/capigen" class="numbers">0.1.2</a>
36
+ <a href="http://rubyforge.org/projects/capigen" class="numbers">0.1.3</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;capigen&#8217;</h1>
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capigen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ""
6
6
  authors:
7
7
  - Gabriel Handford