# encoding: UTF-8
require 'date'
Gem::Specification.new do |s|
	s.name          = "neatjson"
	s.version       = "0.8.3"
	s.date          = Date.today.iso8601
	s.authors       = ["Gavin Kistner"]
	s.email         = "gavin@phrogz.net"
	s.homepage      = "http://github.com/Phrogz/NeatJSON"
	s.summary       = "Pretty, powerful, flexible JSON generation."
	s.description   = "Generate JSON strings from Ruby objects with flexible formatting options. Key features: keep arrays and objects on a single line when they fit; format floats to specific precision; sort and align object keys; adjust whitespace padding of arrays and objects, inside and around commas and colons. JavaScript version included."
	s.license       = "MIT license (MIT)"
  s.platform      = Gem::Platform::RUBY
  s.require_paths = ['lib']
  s.files         = Dir.glob("{lib,test,html}/**/*") + ['LICENSE.txt', 'README.md', '.yardopts', __FILE__]
	s.has_rdoc      = 'yard'
end

# encoding: UTF-8
require 'date'
Gem::Specification.new do |s|
	s.name          = "neatjson"
	s.version       = "0.8.3"
	s.date          = Date.today.iso8601
	s.authors       = ["Gavin Kistner"]
	s.email         = "gavin@phrogz.net"
	s.homepage      = "http://github.com/Phrogz/NeatJSON"
	s.summary       = "Pretty, powerful, flexible JSON generation."
	s.description   = "Generate JSON strings from Ruby objects with flexible formatting options. Key features: keep arrays and objects on a single line when they fit; format floats to specific precision; sort and align object keys; adjust whitespace padding of arrays and objects, inside and around commas and colons. JavaScript version included."
	s.license       = "MIT"
  s.platform      = Gem::Platform::RUBY
  s.require_paths = ['lib']
  s.files         = Dir.glob("{lib,test,html}/**/*") + ['LICENSE.txt', 'README.md', '.yardopts', __FILE__]
	s.has_rdoc      = 'yard'
end

Fix licenses in gemspec to Rubygems standard
Fix licenses in gemspec to Rubygems standard

According to [Rubygems](http://guides.rubygems.org/specification-reference/#license=), you should specify your license using an [SPDX ID](https://spdx.org/licenses/). This permits tools like [LicenseFinder](https://github.com/pivotal/LicenseFinder) to properly find the relevant data.

The only thing that this PR does is specify the existing MIT license in this way.