busser-pester 0.0.6 → 0.0.8
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.
- checksums.yaml +13 -5
- data/README.md +0 -5
- data/lib/busser/pester/version.rb +1 -1
- data/lib/busser/runner_plugin/pester.rb +9 -3
- metadata +13 -12
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjJlZDQ3ZTQ1Nzc2ZmEzZTIyZDZjZWYyMjdmMzBkNTM0NTgzMDk2Ng==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTRmNDFkNmFjMGMyNmRhYTIwZGM5YjU3Y2QzNWM3ZjgwYTc5MDU0Ng==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MWNkYzFlYmI2MTcxNTUzZjJlMTEwMGY1MTQwNzdkN2U5ZDFhNDI1YzgzYzE2
|
10
|
+
NDhlNjk5ZmQ3NGVjNmMzNmM5YmMyYTE0NzQ3NjMwZmZiNDBmZDllMTgwMmEx
|
11
|
+
YTM1Yjc1MzRmOWE1YTY2NjRkMWIwMjljMmE2ZDU3MTRkYzBkYWQ=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
YjZlMDUzN2NhM2IxODRjNmJhYTU4ZGU3YmYxNWYzYjViODdkOWI0ZWI2NjE1
|
14
|
+
MjE3Mzg0MWY4MDBjMGMwNzIyNjQwMzFmZmIyODkwMjBjNGUzN2U5NGJkM2Uz
|
15
|
+
MGZjYWYyOTEyNTI4ZTlmOGUyMGQyMGZjMGY3MjhlY2E5NjAyMzI=
|
data/README.md
CHANGED
@@ -4,11 +4,6 @@ A [Busser](https://github.com/test-kitchen/busser) runner plugin for [Pester](ht
|
|
4
4
|
|
5
5
|
## <a name="installation"></a> Installation and Setup
|
6
6
|
|
7
|
-
This does not work yet. The only way to currently use this is to manually
|
8
|
-
`rake build` this gem, install it, run `busser plugin install pester --force_postinstall`,
|
9
|
-
and then `busser test pester`. And don’t forget to set BUSSER_ROOT.
|
10
|
-
|
11
|
-
Once there is a gem, busser will be able to install it automatically.
|
12
7
|
|
13
8
|
## <a name="usage"></a> Usage
|
14
9
|
|
@@ -19,16 +19,22 @@ require 'busser/runner_plugin'
|
|
19
19
|
class Busser::RunnerPlugin::Pester < Busser::RunnerPlugin::Base
|
20
20
|
postinstall do
|
21
21
|
banner "[pester] Installing PsGet"
|
22
|
-
|
22
|
+
download_psget = <<-DOWNLOADPSGET
|
23
|
+
c:\\windows\\sysnative\\windowspowershell\\v1.0\\powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -Command "if (-not (get-module -list pester)) {iex (new-object Net.WebClient).DownloadString('http://bit.ly/GetPsGet')}"
|
24
|
+
DOWNLOADPSGET
|
25
|
+
run!(download_psget)
|
23
26
|
banner "[pester] Installing Pester"
|
24
|
-
|
27
|
+
download_pester = <<-DOWNLOADPESTER
|
28
|
+
c:\\windows\\sysnative\\windowspowershell\\v1.0\\powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -Command "if (-not (get-module -list pester)) {Import-Module PsGet; Install-Module Pester}"
|
29
|
+
DOWNLOADPESTER
|
30
|
+
run!(download_pester)
|
25
31
|
end
|
26
32
|
|
27
33
|
def test
|
28
34
|
banner "[pester] Running"
|
29
35
|
pester_path = suite_path('pester').to_s
|
30
36
|
Dir.chdir(pester_path) do
|
31
|
-
run!("powershell.exe -NonInteractive -NoProfile -Command \"Import-Module Pester; Invoke-Pester -EnableExit\"")
|
37
|
+
run!("c:\\windows\\sysnative\\windowspowershell\\v1.0\\powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -Command \"Import-Module Pester; write-host ''; Invoke-Pester -EnableExit\"")
|
32
38
|
end
|
33
39
|
end
|
34
40
|
end
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: busser-pester
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay Mundrawala
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: busser
|
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: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.6'
|
34
34
|
type: :development
|
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: '1.6'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '10.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
55
|
description:
|
@@ -59,7 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
-
|
62
|
+
- .gitignore
|
63
63
|
- Gemfile
|
64
64
|
- LICENSE
|
65
65
|
- README.md
|
@@ -78,18 +78,19 @@ require_paths:
|
|
78
78
|
- lib
|
79
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- -
|
81
|
+
- - ! '>='
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ! '>='
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
89
|
requirements: []
|
90
90
|
rubyforge_project:
|
91
|
-
rubygems_version: 2.
|
91
|
+
rubygems_version: 2.4.1
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: A Busser runner plugin for Pester
|
95
95
|
test_files: []
|
96
|
+
has_rdoc:
|