torquespec 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,13 +4,12 @@ module TorqueSpec
4
4
 
5
5
  # Accepts any combination of hashes, filenames, or heredocs
6
6
  def deploy(*descriptors)
7
- paths = descriptors.map do |descriptor|
8
- DeploymentDescriptor.new(descriptor, self.display_name).path
9
- end
10
7
  metaclass = class << self; self; end
11
8
  metaclass.send(:define_method, :deploy_paths) do
12
9
  FileUtils.mkdir_p(TorqueSpec.knob_root) unless File.exist?(TorqueSpec.knob_root)
13
- paths
10
+ descriptors.map do |descriptor|
11
+ DeploymentDescriptor.new(descriptor, self.display_name).path
12
+ end
14
13
  end
15
14
  end
16
15
 
@@ -1,3 +1,3 @@
1
1
  module TorqueSpec
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquespec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Crossley
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-04-30 00:00:00 -04:00
19
+ date: 2011-05-02 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency