iisconfig 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -30,7 +30,7 @@ module IISConfig
30
30
  def build_commands(site, app_pool)
31
31
  commands = []
32
32
 
33
- commands << %W{ADD APP /site.name:#{site} /path:#{@path} /physicalPath:"#{@physical_path}"}
33
+ commands << %W{ADD APP /site.name:#{site} /path:#{@path} /physicalPath:"#{@physical_path.gsub(/\//, '\\')}"}
34
34
 
35
35
  app_pool = @app_pool unless @app_pool.nil?
36
36
  commands << %W{SET SITE /site.name:#{site}/#{@name} /[path='#{@path}'].applicationPool:#{app_pool}}
@@ -20,7 +20,7 @@ module IISConfig
20
20
  def build_commands(application)
21
21
  commands = []
22
22
 
23
- commands << %W{ADD VDIR /app.name:#{application} /path:#{@path} /physicalPath:"#{@physical_path}"}
23
+ commands << %W{ADD VDIR /app.name:#{application} /path:#{@path} /physicalPath:"#{@physical_path.gsub(/\//, '\\')}"}
24
24
 
25
25
  commands
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iisconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-03 00:00:00.000000000Z
12
+ date: 2012-02-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gli
16
- requirement: &21015972 !ruby/object:Gem::Requirement
16
+ requirement: &25024176 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *21015972
24
+ version_requirements: *25024176
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rainbow
27
- requirement: &21015420 !ruby/object:Gem::Requirement
27
+ requirement: &25023588 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *21015420
35
+ version_requirements: *25023588
36
36
  description: IIS Configuration
37
37
  email:
38
38
  - stuff@lukesmith.net
@@ -70,7 +70,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
70
  version: '0'
71
71
  segments:
72
72
  - 0
73
- hash: -1015543571
73
+ hash: 19016083
74
74
  required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  none: false
76
76
  requirements:
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  segments:
81
81
  - 0
82
- hash: -1015543571
82
+ hash: 19016083
83
83
  requirements: []
84
84
  rubyforge_project: iisconfig
85
85
  rubygems_version: 1.8.12