iisconfig 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/test/example.rb CHANGED
@@ -1,53 +1,54 @@
1
- before do
2
- puts 'before'
3
- end
4
-
5
- app_pool do |p|
6
- p.name :MyAppPool
7
- p.runtime_version :'v2.0'
8
- p.process_model do |m|
9
- m.identity_type :NetworkService
10
- m.idle_timeout '0.00:30:00'
11
- end
12
-
13
- p.site do |s|
14
- s.name :MySite
15
- s.path '/'
16
- s.binding 'http/*:8090:localhost'
17
- s.binding 'http/*:8090:test.local'
18
- s.binding "net.tcp/808:*"
19
- s.binding "net.pipe/*"
20
- s.physical_path 'c:\\temp\\MySite'
21
-
22
- s.application do |a|
23
- a.name :MyApp
24
- a.path '/MyApp'
25
- a.physical_path 'c:\\temp\\MySite\\MyApp'
26
-
27
- a.virtual_directory do |v|
28
- v.name :MyAppVirtualDirectory
29
- v.path '/AppVDir'
30
- v.physical_path 'c:\\temp\\MySite\MyVDir'
31
- end
32
- end
33
-
34
- s.virtual_directory do |v|
35
- v.name :MySiteVirtualDirectory
36
- v.path '/SiteVDir'
37
- v.physical_path 'c:\\temp\\MySite\MyVDir'
38
- end
39
- end
40
- end
41
-
42
- ftp_site do |s|
43
- s.name :MyFtp
44
- s.binding 'ftp://*:21'
45
- s.physical_path 'c:\\temp\\MyFtp'
46
- s.enable_authentication :anonymous
47
- s.allow_authorization [:read, :write], { :users => '*', :roles => '' }
48
- s.allow_ssl
49
- end
50
-
51
- after do
52
- puts "done"
1
+ before do
2
+ puts 'before'
3
+ end
4
+
5
+ app_pool do |p|
6
+ p.name :MyAppPool
7
+ p.runtime_version :'v2.0'
8
+ p.start_mode 'AlwaysRunning'
9
+ p.process_model do |m|
10
+ m.identity_type :NetworkService
11
+ m.idle_timeout '0.00:30:00'
12
+ end
13
+
14
+ p.site do |s|
15
+ s.name :MySite
16
+ s.path '/'
17
+ s.binding 'http/*:8090:localhost'
18
+ s.binding 'http/*:8090:test.local'
19
+ s.binding "net.tcp/808:*"
20
+ s.binding "net.pipe/*"
21
+ s.physical_path 'c:\\temp\\MySite'
22
+
23
+ s.application do |a|
24
+ a.name :MyApp
25
+ a.path '/MyApp'
26
+ a.physical_path 'c:\\temp\\MySite\\MyApp'
27
+
28
+ a.virtual_directory do |v|
29
+ v.name :MyAppVirtualDirectory
30
+ v.path '/AppVDir'
31
+ v.physical_path 'c:\\temp\\MySite\MyVDir'
32
+ end
33
+ end
34
+
35
+ s.virtual_directory do |v|
36
+ v.name :MySiteVirtualDirectory
37
+ v.path '/SiteVDir'
38
+ v.physical_path 'c:\\temp\\MySite\MyVDir'
39
+ end
40
+ end
41
+ end
42
+
43
+ ftp_site do |s|
44
+ s.name :MyFtp
45
+ s.binding 'ftp://*:21'
46
+ s.physical_path 'c:\\temp\\MyFtp'
47
+ s.enable_authentication :anonymous
48
+ s.allow_authorization [:read, :write], { :users => '*', :roles => '' }
49
+ s.allow_ssl
50
+ end
51
+
52
+ after do
53
+ puts "done"
53
54
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iisconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-01 00:00:00.000000000 Z
11
+ date: 2015-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rainbow
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: IIS Configuration
@@ -70,12 +70,12 @@ require_paths:
70
70
  - lib
71
71
  required_ruby_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
- - - ! '>='
78
+ - - ">="
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []