Permalink
Browse files

Prepare for 1.7.5 release

  • Loading branch information...
1 parent 0e8fa7c commit f803f397d1a3ef839a80a669a09318c64b252e5f @sferik sferik committed Jun 2, 2013
Showing with 27 additions and 7 deletions.
  1. +8 −3 CHANGELOG.md
  2. +16 −1 lib/multi_json/version.rb
  3. +3 −3 multi_json.gemspec
View
@@ -1,3 +1,8 @@
+1.7.5
+-----
+* [Fix warning '*' interpreted as argument prefix](https://github.com/intridea/multi_json/commit/b698962c7f64430222a1f06430669706a47aff89)
+* [Remove stdlib warning](https://github.com/intridea/multi_json/commit/d06eec6b7996ac8b4ff0e2229efd835379b0c30f)
+
1.7.4
-----
* [Cache options for better performance](https://github.com/intridea/multi_json/commit/8a26ee93140c4bed36194ed9fb887a1b6919257b)
@@ -12,8 +17,8 @@
1.7.2
-----
-* [Renamed Jrjackson adapter to JrJackson](https://github.com/intridea/multi_json/commit/b36dc915fc0e6548cbad06b5db6f520e040c9c8b)
-* [Implemented jrjackson -> jr_jackson alias for back-compatability](https://github.com/intridea/multi_json/commit/aa50ab8b7bb646b8b75d5d65dfeadae8248a4f10)
+* [Rename Jrjackson adapter to JrJackson](https://github.com/intridea/multi_json/commit/b36dc915fc0e6548cbad06b5db6f520e040c9c8b)
+* [Implement jrjackson -> jr_jackson alias for back-compatability](https://github.com/intridea/multi_json/commit/aa50ab8b7bb646b8b75d5d65dfeadae8248a4f10)
* [Update vendored OkJson module](https://github.com/intridea/multi_json/commit/30a3f474e17dd86a697c3fab04f468d1a4fd69d7)
1.7.1
@@ -138,7 +143,7 @@
0.0.3
-----
-* [Improved defaulting and documentation](https://github.com/sferik/twitter/commit/3a0e41b9e4b0909201045fa47704b78c9d949b73)
+* [Improve defaulting and documentation](https://github.com/sferik/twitter/commit/3a0e41b9e4b0909201045fa47704b78c9d949b73)
0.0.2
-----
View
@@ -1,3 +1,18 @@
module MultiJson
- VERSION = '1.7.4' unless defined?(MultiJson::VERSION)
+ class Version
avsej
avsej Jun 3, 2013 Contributor

Did you heard about semantic versioning? MultiJson::VERSION is part of the public API, and if you are removing these bits, you should bump major version and also use deprecation or some kind of fallback

👎

rwz
rwz Jun 3, 2013 Member

Good point.

@sferik, we could put VERSION = Version.to_s for back-compatibility and release 1.7.6 and then remove it in 1.8.0.

avsej
avsej Jun 3, 2013 Contributor

Thanks a lot!

avsej
avsej Jun 3, 2013 Contributor

But http://semver.org/ is talking about releasing major release when you are removing things from API. like 2.0.0

+ MAJOR = 1 unless defined? MultiJson::Version::MAJOR
+ MINOR = 7 unless defined? MultiJson::Version::MINOR
+ PATCH = 5 unless defined? MultiJson::Version::PATCH
+ PRE = nil unless defined? MultiJson::Version::PRE
+
+ class << self
+
+ # @return [String]
+ def to_s
+ [MAJOR, MINOR, PATCH, PRE].compact.join('.')
+ end
+
+ end
+
+ end
end
View
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler', '~> 1.0'
spec.authors = ["Michael Bleigh", "Josh Kalderimis", "Erik Michaels-Ober", "Pavel Pravosud"]
spec.cert_chain = %w(certs/sferik.pem)
- spec.description = %q{A gem to provide easy switching between different JSON backends, including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem, and OkJson.}
+ spec.description = %q{A common interface to multiple JSON libraries, including Oj, Yajl, the JSON gem (with C-extensions), the pure-Ruby JSON gem, NSJSONSerialization, gson.rb, JrJackson, and OkJson.}
spec.email = ['michael@intridea.com', 'josh.kalderimis@gmail.com', 'sferik@gmail.com']
spec.files = Dir['.yardopts', 'CHANGELOG.md', 'CONTRIBUTING.md', 'LICENSE.md', 'README.md', 'Rakefile', 'multi_json.gemspec', 'Gemfile', '.document', '.rspec', '.travis.yml' ,'spec/**/*', 'lib/**/*']
spec.homepage = 'http://github.com/intridea/multi_json'
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']
spec.required_rubygems_version = '>= 1.3.5'
spec.signing_key = File.expand_path("~/.gem/private_key.pem") if $0 =~ /gem\z/
- spec.summary = %q{A gem to provide swappable JSON backends.}
+ spec.summary = %q{A common interface to multiple JSON libraries.}
spec.test_files = Dir['spec/**/*']
- spec.version = MultiJson::VERSION
+ spec.version = MultiJson::Version
end

0 comments on commit f803f39

Please sign in to comment.