mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Move all gem installation to Gemfile/bundle install
Do not use omnibus-software gem definitions for installing gems, and use the Gemfile in the inspec project as the source of truth. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
This commit is contained in:
parent
8cdd7cfe03
commit
e16206f1d0
3 changed files with 8 additions and 29 deletions
9
Gemfile
9
Gemfile
|
@ -1,11 +1,17 @@
|
|||
# encoding: utf-8
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gemspec name: 'inspec'
|
||||
gem 'inspec', path: '.'
|
||||
|
||||
gem 'ffi', '>= 1.9.14'
|
||||
gem 'aws-sdk', '~> 2'
|
||||
|
||||
group :omnibus do
|
||||
gem 'rb-readline'
|
||||
gem 'appbundler'
|
||||
gem 'unf_ext', git: 'https://github.com/jquick/ruby-unf_ext.git', ref: 'c0b3bd922214a172976f6f368c0b4e4fbf91ed78'
|
||||
end
|
||||
|
||||
group :test do
|
||||
gem 'minitest', '~> 5.5'
|
||||
gem 'rake', '>= 10'
|
||||
|
@ -36,7 +42,6 @@ end
|
|||
|
||||
group :tools do
|
||||
gem 'pry', '~> 0.10'
|
||||
gem 'rb-readline'
|
||||
gem 'license_finder'
|
||||
gem 'git', '~> 1.4'
|
||||
end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# encoding: utf-8
|
||||
#
|
||||
# Copyright:: Copyright 2016, Chef Software Inc.
|
||||
# Copyright:: Copyright 2016-2019, Chef Software Inc.
|
||||
# License:: Apache License, Version 2.0
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
@ -22,10 +22,6 @@ name 'inspec'
|
|||
dependency 'ruby'
|
||||
dependency 'rubygems'
|
||||
dependency 'bundler'
|
||||
dependency 'rb-readline'
|
||||
dependency 'appbundler'
|
||||
dependency 'unf_ext'
|
||||
dependency 'train'
|
||||
|
||||
license :project_license
|
||||
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
# encoding: utf-8
|
||||
# override for unf_ext until
|
||||
# https://github.com/knu/ruby-unf_ext/pull/39
|
||||
# is merged and released
|
||||
|
||||
name 'unf_ext'
|
||||
|
||||
dependency 'ruby'
|
||||
dependency 'rubygems'
|
||||
dependency 'bundler'
|
||||
dependency 'appbundler'
|
||||
|
||||
license :project_license
|
||||
default_version 'c0b3bd922214a172976f6f368c0b4e4fbf91ed78'
|
||||
source git: 'https://github.com/jquick/ruby-unf_ext.git'
|
||||
|
||||
build do
|
||||
env = with_standard_compiler_flags(with_embedded_path)
|
||||
delete "#{name}-*.gem"
|
||||
gem "build #{name}.gemspec", env: env
|
||||
gem "install #{name}-*.gem --no-document", env: env
|
||||
end
|
Loading…
Reference in a new issue