Initial commit - lay down basic structure

Add gemspec file, license, README, empty changelog, and empty library
files.

Note: the README proposes that this gem always be installed from the
master branch of the git repository. This would save us the trouble of
having make releases on the ruby forge and would mean that emergency
fixes added to the gem would be available immediately, but also means
that whenever we break it it breaks everything immediately. This
proposal is open to feedback and we can always revisit it.

Change-Id: I1490e3ec35235e057b3f0c13ae29b5913e7f8d49
This commit is contained in:
Colleen Murphy 2015-11-04 13:18:09 -08:00
parent 294fec6cb0
commit de2638066e
7 changed files with 67 additions and 0 deletions

0
CHANGELOG.md Normal file
View File

13
LICENSE Normal file
View File

@ -0,0 +1,13 @@
Copyright 2012 OpenStack Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

25
README.md Normal file
View File

@ -0,0 +1,25 @@
Puppet-OpenStack Spec Helper
============================
This gem provides helper utilities for running rspec tests in the
[OpenStack Puppet Modules](https://wiki.openstack.org/wiki/Puppet).
Usage
-----
Include this gem in your Gemfile:
```
gem 'puppet-openstack_spec_helper',
:git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
:require => false
```
In your Rakefile, require the rake\_tasks library:
```
require 'puppet-openstack_spec_helper/rake_tasks'
```
Instructions for using `puppet-openstack_spec_helper/beaker_spec_helper` in
`spec/spec_helper_acceptance.rb` to come soon.

View File

@ -0,0 +1,3 @@
require 'beaker-rspec'
# Function for spec_helper_acceptance.rb goes here

View File

@ -0,0 +1,3 @@
require 'rake'
# Tasks defined here

View File

@ -0,0 +1,5 @@
module PuppetOpenstackSpecHelper
module Version
STRING = '0.0.1'
end
end

View File

@ -0,0 +1,18 @@
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'puppet-openstack_spec_helper/version'
Gem::Specification.new do |spec|
spec.name = "puppet-openstack_spec_helper"
spec.version = PuppetOpenstackSpecHelper::Version::STRING
spec.authors = ["OpenStack Puppet Modules Team"]
spec.description = %q{Helpers for OpenStack module testing}
spec.summary = %q{Puppet-OpenStack spec helper}
spec.homepage = ""
spec.license = "Apache-2.0"
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
end