rudy 0.6.2 → 0.6.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/Rudyfile CHANGED
@@ -5,8 +5,8 @@
5
5
  # Rudy automatically looks for configuration files in the
6
6
  # following locations (in this order):
7
7
  #
8
- # ~/.rudy/config
9
8
  # ./.rudy/config
9
+ # ~/.rudy/config
10
10
  #
11
11
  # ./Rudyfile
12
12
  # ./config/rudy/*.rb
@@ -17,11 +17,12 @@
17
17
  # NOT OVERRIDDEN. It's ADDED / APPENDED. This means you can
18
18
  # split configuration across many files as you please.
19
19
  #
20
- # There are three sections: accounts, defaults, machines.
20
+ # There are three sections: accounts, defaults, machines, and routines.
21
21
  #
22
22
  # By convention, accounts and defaults go in ~/.rudy/config or ./.rudy/config
23
- # machines configuration goes in ./Rudyfile or ./config/rudy/machines.rb
24
-
23
+ # machines and routines configuration goes in ./Rudyfile or
24
+ # ./config/rudy/machines.rb and ./config/rudy/routines.rb
25
+ #
25
26
 
26
27
  # --------------------------------------------------------- MACHINES --------
27
28
  # The machines block describes the "physical" characteristics
data/lib/rudy.rb CHANGED
@@ -65,7 +65,7 @@ module Rudy
65
65
  unless defined?(MAJOR)
66
66
  MAJOR = 0.freeze
67
67
  MINOR = 6.freeze
68
- TINY = 2.freeze
68
+ TINY = 3.freeze
69
69
  end
70
70
  def self.to_s; [MAJOR, MINOR, TINY].join('.'); end
71
71
  def self.to_f; self.to_s.to_f; end
@@ -13,8 +13,8 @@ module Rudy; module CLI;
13
13
  puts machine.to_s
14
14
  end
15
15
 
16
- if @@global.environment == @@config.default.environment &&
17
- @@global.role == @@config.default.role
16
+ if @@global.environment == @@config.defaults.environment &&
17
+ @@global.role == @@config.defaults.role
18
18
  puts
19
19
  puts "Try: #{$0} -u root ssh"
20
20
  end
data/lib/rudy/config.rb CHANGED
@@ -1,4 +1,4 @@
1
-
1
+ ``
2
2
  module Rudy
3
3
  require 'caesars'
4
4
 
@@ -15,6 +15,8 @@ module Rudy; module Routines;
15
15
  puts task_separator("BEFORE SCRIPTS (local)")
16
16
  Rudy::Routines::ScriptHelper.before_local(routine, sconf, rbox_local)
17
17
 
18
+ puts
19
+
18
20
  rmach.destroy do |machine|
19
21
  #rmach.list do |machine|
20
22
 
data/rudy.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "rudy"
3
3
  s.rubyforge_project = 'rudy'
4
- s.version = "0.6.2"
4
+ s.version = "0.6.3"
5
5
  s.summary = "Rudy: Not your grandparent's deployment tool."
6
6
  s.description = s.summary
7
7
  s.author = "Delano Mandelbaum"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum