diff --git a/Gemfile b/Gemfile index 1320318..9bd1180 100644 --- a/Gemfile +++ b/Gemfile @@ -10,8 +10,10 @@ gem <<~GEM_NAME.chomp pry-byebug GEM_NAME -# Need this to be loaded by bundler, to exercise the "excluded" logic, since faker is excluded. -gem "faker" +# Need faker be loaded by bundler for evaluation in specs +gem "faker", "~> 3.4", ">= 3.4.2" +# Need test-unit be loaded by bundler for evaluation in specs +gem "test-unit", "~> 3.6" # Specify your gem's dependencies in gem_bench.gemspec gemspec diff --git a/Gemfile.lock b/Gemfile.lock index db5259a..c6094d9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -43,6 +43,7 @@ GEM racc patience_diff (1.2.0) optimist (~> 3.0) + power_assert (2.0.3) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) @@ -155,6 +156,8 @@ GEM patience_diff terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) + test-unit (3.6.1) + power_assert unicode-display_width (2.6.0) version_gem (1.1.4) yard (0.9.37) @@ -170,7 +173,7 @@ PLATFORMS DEPENDENCIES bundler byebug (>= 2.0.3) - faker + faker (~> 3.4, >= 3.4.2) gem_bench! kettle-soup-cover (~> 1.0, >= 1.0.2) method_source (>= 1.1.0) @@ -183,6 +186,7 @@ DEPENDENCIES rubocop-rspec (~> 3.0) standard (~> 1.40) super_diff (~> 0.12, >= 0.12.1) + test-unit (~> 3.6) yard (~> 0.9, >= 0.9.34) yard-junk (~> 0.0.10) diff --git a/gemfiles/ancient.gemfile b/gemfiles/ancient.gemfile index 857e3b2..dc1fb2a 100644 --- a/gemfiles/ancient.gemfile +++ b/gemfiles/ancient.gemfile @@ -12,13 +12,17 @@ source "https://rubygems.org" gem "bundler", ">= 1.14" gem "version_gem", "~> 1.1", ">= 1.1.4" -gem "faker", "~> 3.4", ">= 3.4.2" gem "method_source", ">= 1.1.0" gem "rake" gem "rspec" gem "rspec-block_is_expected" gem "super_diff" +# Need faker be loaded by bundler for evaluation in specs +gem "faker", "~> 3.4", ">= 3.4.2" +# Need test-unit be loaded by bundler for evaluation in specs +gem "test-unit", "~> 3.6" + # For debugging, casecmp is only available in Ruby 2.4+ if RUBY_VERSION > "2.4" && ENV.fetch("DEBUG", "false").casecmp?("true") gem "byebug" diff --git a/spec/gem_bench/scout_spec.rb b/spec/gem_bench/scout_spec.rb index 1cf9015..5df227f 100644 --- a/spec/gem_bench/scout_spec.rb +++ b/spec/gem_bench/scout_spec.rb @@ -165,7 +165,8 @@ [ "# For complexity!\n", "# (this syntax is not supported by gem_bench, but also shouldn't make it blow up)\n", - %(# Need this to be loaded by bundler, to exercise the "excluded" logic, since faker is excluded.\n), + "# Need faker be loaded by bundler for evaluation in specs\n", + "# Need test-unit be loaded by bundler for evaluation in specs\n", "# Specify your gem's dependencies in gem_bench.gemspec\n", ], ) @@ -205,7 +206,8 @@ [ "# For complexity!\n", "# (this syntax is not supported by gem_bench, but also shouldn't make it blow up)\n", - %(# Need this to be loaded by bundler, to exercise the "excluded" logic, since faker is excluded.\n), + "# Need faker be loaded by bundler for evaluation in specs\n", + "# Need test-unit be loaded by bundler for evaluation in specs\n", "# Specify your gem's dependencies in gem_bench.gemspec\n", ], ) @@ -228,7 +230,8 @@ [ "# For complexity!\n", "# (this syntax is not supported by gem_bench, but also shouldn't make it blow up)\n", - %(# Need this to be loaded by bundler, to exercise the "excluded" logic, since faker is excluded.\n), + "# Need faker be loaded by bundler for evaluation in specs\n", + "# Need test-unit be loaded by bundler for evaluation in specs\n", "# Specify your gem's dependencies in gem_bench.gemspec\n", ], )