screwcap 0.6.pre4 → 0.6.pre5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ Hoe.plugin :newgem
11
11
  # Generate all the Rake tasks
12
12
  # Run 'rake -T' to see list of generated tasks (from gem root directory)
13
13
  $hoe = Hoe.spec 'screwcap' do
14
- self.version = '0.6.pre4'
14
+ self.version = '0.6.pre5'
15
15
  self.developer 'Grant Ammons', 'grant@pipelinedeals.com'
16
16
  self.rubyforge_name = self.name # TODO this is default value
17
17
  self.extra_deps = [['net-ssh','>= 2.0.23'],['net-ssh-gateway','>=1.0.1'], ['net-scp','>=1.0.4']]
@@ -34,6 +34,7 @@ class Server < Screwcap::Base
34
34
  end
35
35
 
36
36
  def __with_connection_for(address, &block)
37
+ debugger
37
38
  if self.__gateway
38
39
  __gateway.__get_gateway_connection.ssh(address, self.__user, options_for_net_ssh) do |ssh|
39
40
  yield ssh
@@ -132,7 +132,7 @@ class TaskManager < Screwcap::Base
132
132
  # * *:keys* can be used to specify the key to use to connect to the server
133
133
  # * *:password* specify the password to connect with. Not recommended. Use keys.
134
134
  def server(name, options = {}, &block)
135
- server = Server.new(options.merge(:name => name))
135
+ server = Server.new(options.merge(:name => name, :servers => self.__servers))
136
136
  self.__servers << server
137
137
  end
138
138
 
data/lib/screwcap.rb CHANGED
@@ -16,7 +16,7 @@ require 'screwcap/sequence'
16
16
  require 'screwcap/task_manager'
17
17
 
18
18
  module Screwcap
19
- VERSION='0.6.pre4'
19
+ VERSION='0.6.pre5'
20
20
 
21
21
  class TaskNotFound < RuntimeError; end
22
22
  class NoServersDefined < Exception; end
data/screwcap.gemspec CHANGED
@@ -6,7 +6,7 @@ require 'bundler/version'
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "screwcap"
9
- s.version = "0.6.pre4"
9
+ s.version = "0.6.pre5"
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.author = "Grant Ammons"
12
12
  s.email = ["grant@pipelinedealsco.com"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: screwcap
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1876988233
4
+ hash: -1876988236
5
5
  prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - pre4
10
- version: 0.6.pre4
9
+ - pre5
10
+ version: 0.6.pre5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Grant Ammons