Skip to content

Commit

Permalink
gemspec should require 'date'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
james-stocks committed Mar 8, 2017
1 parent 2a5763b commit 61ad410
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metadata-json-lint.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'date'

Gem::Specification.new do |s|
s.name = 'metadata-json-lint'
s.version = '1.0.0'
Expand Down

0 comments on commit 61ad410

Please sign in to comment.