trinidad_hotdeploy_extension 0.4.0 → 0.4.1

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.
@@ -1,3 +1,7 @@
1
+ == 0.4.1 (2011-01-16)
2
+
3
+ * Fix command line options parser
4
+
1
5
  == 0.4.0 (2010-11-04)
2
6
 
3
7
  * Warbler support
@@ -3,7 +3,7 @@ module Trinidad
3
3
  require File.expand_path('../../trinidad-libs/trinidad-hotdeploy-extension.jar', __FILE__)
4
4
 
5
5
  module Hotdeploy
6
- VERSION = '0.4.0'
6
+ VERSION = '0.4.1'
7
7
  end
8
8
 
9
9
  class HotdeployWebAppExtension < WebAppExtension
@@ -28,7 +28,7 @@ module Trinidad
28
28
  class HotdeployOptionsExtension < OptionsExtension
29
29
  def configure(parser, default_options)
30
30
  default_options[:extensions] ||= {}
31
- default_options[:extensions][:hotdeploy] = []
31
+ default_options[:extensions][:hotdeploy] = {}
32
32
  end
33
33
  end
34
34
  end
@@ -59,5 +59,6 @@ describe Trinidad::Extensions::HotdeployOptionsExtension do
59
59
  subject.configure(parser, options)
60
60
 
61
61
  options[:extensions].keys.should include(:hotdeploy)
62
+ options[:extensions][:hotdeploy].should be_instance_of(Hash)
62
63
  end
63
64
  end
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'trinidad_hotdeploy_extension'
16
- s.version = '0.4.0'
17
- s.date = '2010-11-04'
16
+ s.version = '0.4.1'
17
+ s.date = '2011-01-16'
18
18
  s.rubyforge_project = 'trinidad_hotdeploy_extension'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 0
9
- version: 0.4.0
8
+ - 1
9
+ version: 0.4.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Calavera
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-04 00:00:00 -07:00
17
+ date: 2011-01-16 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency