mirror of
https://github.com/inspec/inspec
synced 2024-12-23 03:23:27 +00:00
7963131670
* Sketch out in comments the unit and functional tests for the installer * Make a test fixture gem, v0.1.0 * Add a 0.2.0 version of the test fixture gem, this one with a dependency * Add a fixture with a pre-installed gem * Correct test-fixture 0.1.0 gem * Moockup of installed inspec-test-fixture gems * Uggh add gemspec files to mock installs * Update gem fixtures, and add a script that does it for me * Able to load from and list privately managed gems # Conflicts: # lib/inspec/plugin/v2/loader.rb * Expanded tests, starting on implementation of installer # Conflicts: # test/unit/plugin/v2/loader_test.rb * Install plugin from local gem file works * Writes the plugins.json file; needs refactor * Gem install works; no version pinning * Install with pinned version works * Install from path works * update works * Validation for uninstall * Uninstall from path works * Uninstaller works on gems * Add search to installer API. Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
30 lines
1.1 KiB
Ruby
30 lines
1.1 KiB
Ruby
|
|
lib = File.expand_path("../lib", __FILE__)
|
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
require "inspec-test-fixture/version"
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = "inspec-test-fixture"
|
|
spec.version = InspecPlugins::TestFixture::VERSION
|
|
spec.authors = ["InSpec Engineering Team"]
|
|
spec.email = ["hello@chef.io"]
|
|
|
|
spec.summary = %q{A simple test plugin gem for InSpec}
|
|
spec.description = %q{This gem is used to test the gem search and install capabilities of InSpec's plugin V2 system. It is not a good example or starting point for plugin development.}
|
|
spec.homepage = "https://github.com/inspec/inspec"
|
|
|
|
spec.files = [
|
|
'inspec-test-fixture.gemspec',
|
|
'lib/inspec-test-fixture.rb',
|
|
'lib/inspec-test-fixture/plugin.rb',
|
|
'lib/inspec-test-fixture/mock_plugin.rb',
|
|
'lib/inspec-test-fixture/version.rb',
|
|
]
|
|
spec.executables = []
|
|
spec.require_paths = ["lib"]
|
|
|
|
spec.add_development_dependency "rake", "~> 10.0"
|
|
if InspecPlugins::TestFixture::VERSION == '0.2.0'
|
|
spec.add_dependency "ordinal_array", "~> 0.2.0"
|
|
end
|
|
end
|