serverspec 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2485850c66b67c0974175f1ddcfa7ed640a3cfd9
4
- data.tar.gz: 574e7de2afd5ee8da989672fb16e8395be9ed98d
3
+ metadata.gz: 83861d63e2876141c625ad904e6bd7bb3852aa42
4
+ data.tar.gz: 809e499e7c29877b6b46aa0999a05c64972664cb
5
5
  SHA512:
6
- metadata.gz: 84f3caa4e2e4854d7dc641350c68148e68f3ef4c4fae831bf89d1e3eca3e8255dae866a3b14769f7e1888e721f59a45609444905ec38422ce5d453f09ed8d795
7
- data.tar.gz: 35e9a8aa6c47a99cc712dc6727da8aff0db7fa245be235006a9ea23f1cef6304cb8e95bc8bdc045cae5680c8fb8cc99936da4a881b558b23e40ef31ca9a5eb92
6
+ metadata.gz: 52cc0df625ef2f2eb68242803fbc06771c221e07fcac43940ee715c59a888e99d37ddcd51c107053bbee1c5dcb4d74e16e7dde94984c8620afe7085bff8a4c81
7
+ data.tar.gz: cb16fe9b39ce470d247f72fd5c26711dbdf97ff23185c298653817b0af90dfa90ad41d76af5d5896f7368fdf0524f8050ee255738eb945f9c7a4807d30861760
@@ -5,7 +5,7 @@ module Serverspec
5
5
  base cgroup command cron default_gateway file group host iis_website iis_app_pool interface
6
6
  ipfilter ipnat iptables kernel_module linux_kernel_parameter lxc mail_alias
7
7
  package php_config port process routing_table selinux service user yumrepo
8
- windows_feature windows_hot_fix windows_registry_key zfs
8
+ windows_feature windows_hot_fix windows_registry_key windows_scheduled_task zfs
9
9
  )
10
10
 
11
11
  types.each {|type| require "serverspec/type/#{type}" }
@@ -0,0 +1,9 @@
1
+ module Serverspec
2
+ module Type
3
+ class WindowsScheduledTask < Base
4
+ def exists?
5
+ backend.check_scheduled_task(@name)
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "1.5.0"
2
+ VERSION = "1.6.0"
3
3
  end
data/serverspec.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_runtime_dependency "net-ssh"
22
22
  spec.add_runtime_dependency "rspec", "~> 2.13"
23
23
  spec.add_runtime_dependency "highline"
24
- spec.add_runtime_dependency "specinfra", "~> 1.10"
24
+ spec.add_runtime_dependency "specinfra", "~> 1.11"
25
25
  spec.add_development_dependency "bundler", "~> 1.3"
26
26
  spec.add_development_dependency "rake", "~> 10.1.1"
27
27
  spec.add_development_dependency "octokit", "~> 2.7.2"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.10'
61
+ version: '1.11'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.10'
68
+ version: '1.11'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bundler
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -198,6 +198,7 @@ files:
198
198
  - lib/serverspec/type/windows_feature.rb
199
199
  - lib/serverspec/type/windows_hot_fix.rb
200
200
  - lib/serverspec/type/windows_registry_key.rb
201
+ - lib/serverspec/type/windows_scheduled_task.rb
201
202
  - lib/serverspec/type/yumrepo.rb
202
203
  - lib/serverspec/type/zfs.rb
203
204
  - lib/serverspec/version.rb