summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-07-30 14:15:35 -0700
committerTim Smith <tsmith@chef.io>2018-07-30 14:15:35 -0700
commitba175da9e2e13c78a19a9565ca6921d04341f73b (patch)
tree48e3b693491ea3bb6ed20da0d6b3a09babb33113
parent397a396cf66f274b80862b9cd6b40474a9aabb41 (diff)
downloadmixlib-shellout-ba175da9e2e13c78a19a9565ca6921d04341f73b.tar.gz
Move test deps to the gemfile + more
Add gems for yard docs Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--Gemfile17
-rw-r--r--mixlib-shellout.gemspec3
2 files changed, 15 insertions, 5 deletions
diff --git a/Gemfile b/Gemfile
index 609a5f4..430229a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -2,15 +2,28 @@ source "https://rubygems.org"
gemspec name: "mixlib-shellout"
-group(:test) do
+group :docs do
+ gem "yard"
+ gem "redcarpet"
+ gem "github-markup"
+end
+
+group :test do
gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
+ gem "rspec", "~> 3.0"
gem "rspec_junit_formatter"
gem "rake"
end
-group(:development) do
+group :development do
gem "pry"
gem "pry-byebug"
gem "pry-stack_explorer"
gem "rb-readline"
end
+
+instance_eval(ENV["GEMFILE_MOD"]) if ENV["GEMFILE_MOD"]
+
+# If you want to load debugging tools into the bundle exec sandbox,
+# add these additional dependencies into Gemfile.local
+eval_gemfile(__FILE__ + ".local") if File.exist?(__FILE__ + ".local") \ No newline at end of file
diff --git a/mixlib-shellout.gemspec b/mixlib-shellout.gemspec
index bbbe0df..ab014f7 100644
--- a/mixlib-shellout.gemspec
+++ b/mixlib-shellout.gemspec
@@ -14,9 +14,6 @@ Gem::Specification.new do |s|
s.required_ruby_version = ">= 2.2"
- s.add_development_dependency "rspec", "~> 3.0"
- s.add_development_dependency "chefstyle"
-
s.bindir = "bin"
s.executables = []
s.require_path = "lib"