From 61ad41055fc0ae985b5591b63b8595e2e98e0f78 Mon Sep 17 00:00:00 2001 From: james-stocks Date: Wed, 8 Mar 2017 14:38:18 +0000 Subject: [PATCH] gemspec should require 'date' Using ruby 2.3.1, I get a failure when running 'bundle exec rake -T' or 'tests/test.sh' like: There was an error while loading `metadata-json-lint.gemspec`: uninitialized constant Date This commit ensures that 'date' is required by the gemspec --- metadata-json-lint.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metadata-json-lint.gemspec b/metadata-json-lint.gemspec index 253f79a..7644e4b 100644 --- a/metadata-json-lint.gemspec +++ b/metadata-json-lint.gemspec @@ -1,3 +1,5 @@ +require 'date' + Gem::Specification.new do |s| s.name = 'metadata-json-lint' s.version = '1.0.0'