- Postgres 9.2 to include native JSON data type
Postgres 9.2 will include a native JSON datatype. In addition to verifying that the data stored in the field is valid JSON, there’s also a couple of SQL functions that could be handy (array_to_json, and row_to_json).
There’s a promising pull request for ActiveRecord to support the new json data type.
- Show gem license on rubygems.org
Our open source developers this week have submitted a pull request to rubygems.org to display a gem’s license on the gem version’s page.
Make sure you add a license to your gemspecs!
Gem::Specification.new do |s| s.license = "MIT" #.... end
Gem::Specification.new do |s| s.licenses = ["MIT", "BSD"] #.... end
Pull request: https://github.com/rubygems/rubygems.org/pull/458