rspec-system-puppet 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/.nodeset.yml ADDED
@@ -0,0 +1,31 @@
1
+ ---
2
+ default_set: 'centos-64-x64'
3
+ sets:
4
+ 'centos-59-x64':
5
+ nodes:
6
+ "main":
7
+ prefab: 'centos-59-x64'
8
+ 'centos-64-x64':
9
+ nodes:
10
+ "main":
11
+ prefab: 'centos-64-x64'
12
+ 'fedora-18-x64':
13
+ nodes:
14
+ "main":
15
+ prefab: 'fedora-18-x64'
16
+ 'debian-607-x64':
17
+ nodes:
18
+ "main":
19
+ prefab: 'debian-607-x64'
20
+ 'debian-70rc1-x64':
21
+ nodes:
22
+ "main":
23
+ prefab: 'debian-70rc1-x64'
24
+ 'ubuntu-server-10044-x64':
25
+ nodes:
26
+ "main":
27
+ prefab: 'ubuntu-server-10044-x64'
28
+ 'ubuntu-server-12042-x64':
29
+ nodes:
30
+ "main":
31
+ prefab: 'ubuntu-server-12042-x64'
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
+ gem 'rake'
6
7
  gem 'mocha', :require => 'mocha/api'
7
8
  end
8
9
 
data/Rakefile ADDED
@@ -0,0 +1,11 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ Bundler.require :default
5
+
6
+ require 'rspec/core/rake_task'
7
+ require 'rspec-system/rake_task'
8
+
9
+ task :default do
10
+ sh %{rake -T}
11
+ end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # Metadata
4
4
  s.name = "rspec-system-puppet"
5
- s.version = "0.1.0"
5
+ s.version = "0.2.0"
6
6
  s.authors = ["Ken Barber"]
7
7
  s.email = ["ken@bob.sh"]
8
8
  s.homepage = "https://github.com/kbarber/rspec-system-puppet"
@@ -16,5 +16,5 @@ Gem::Specification.new do |s|
16
16
 
17
17
  # Dependencies
18
18
  s.required_ruby_version = '>= 1.8.7'
19
- s.add_runtime_dependency "rspec-system", '~> 0.1.4'
19
+ s.add_runtime_dependency "rspec-system", '~> 0.2.0'
20
20
  end
@@ -0,0 +1,6 @@
1
+ require 'rspec-system/spec_helper'
2
+ require 'rspec-system-puppet/helpers'
3
+
4
+ RSpec.configure do |c|
5
+ c.include RSpecSystemPuppet::Helpers
6
+ end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper_system'
2
+
3
+ describe "basic tests:" do
4
+ it "check system_puppet_install works" do
5
+ system_puppet_install()
6
+ end
7
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-system-puppet
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Barber
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-04-06 00:00:00 Z
18
+ date: 2013-04-11 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rspec-system
@@ -25,12 +25,12 @@ dependencies:
25
25
  requirements:
26
26
  - - ~>
27
27
  - !ruby/object:Gem::Version
28
- hash: 19
28
+ hash: 23
29
29
  segments:
30
30
  - 0
31
- - 1
32
- - 4
33
- version: 0.1.4
31
+ - 2
32
+ - 0
33
+ version: 0.2.0
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  description:
@@ -44,14 +44,18 @@ extra_rdoc_files: []
44
44
 
45
45
  files:
46
46
  - .gitignore
47
+ - .nodeset.yml
47
48
  - .ruby-version
48
49
  - Gemfile
49
50
  - LICENSE
50
51
  - README.md
52
+ - Rakefile
51
53
  - lib/rspec-system-puppet.rb
52
54
  - lib/rspec-system-puppet/helpers.rb
53
55
  - rspec-system-puppet.gemspec
54
56
  - spec/spec_helper.rb
57
+ - spec/spec_helper_system.rb
58
+ - spec/system/basic_spec.rb
55
59
  homepage: https://github.com/kbarber/rspec-system-puppet
56
60
  licenses: []
57
61
 
@@ -88,6 +92,6 @@ rubygems_version: 1.8.24
88
92
  signing_key:
89
93
  specification_version: 3
90
94
  summary: Puppet rspec-system plugin
91
- test_files: []
92
-
95
+ test_files:
96
+ - spec/system/basic_spec.rb
93
97
  has_rdoc: