commit rubygem-jbuilder for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-jbuilder for openSUSE:Factory checked in at 2015-02-20 12:01:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-jbuilder (Old) and /work/SRC/openSUSE:Factory/.rubygem-jbuilder.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-jbuilder" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-jbuilder/rubygem-jbuilder.changes 2015-02-16 21:10:10.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-jbuilder.new/rubygem-jbuilder.changes 2015-02-20 12:01:27.000000000 +0100 @@ -1,0 +2,5 @@ +Sun Feb 15 05:29:08 UTC 2015 - coolo@suse.com + +- updated to version 2.2.7 + +------------------------------------------------------------------- Old: ---- jbuilder-2.2.6.gem New: ---- jbuilder-2.2.7.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-jbuilder.spec ++++++ --- /var/tmp/diff_new_pack.Gzq0ca/_old 2015-02-20 12:01:28.000000000 +0100 +++ /var/tmp/diff_new_pack.Gzq0ca/_new 2015-02-20 12:01:28.000000000 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-jbuilder -Version: 2.2.6 +Version: 2.2.7 Release: 0 %define mod_name jbuilder %define mod_full_name %{mod_name}-%{version} ++++++ jbuilder-2.2.6.gem -> jbuilder-2.2.7.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2014-12-18 03:55:38.000000000 +0100 +++ new/.travis.yml 2015-02-15 05:10:00.000000000 +0100 @@ -15,10 +15,18 @@ - gemfiles/rails_3_2.gemfile - gemfiles/rails_4_0.gemfile - gemfiles/rails_4_1.gemfile + - gemfiles/rails_4_2.gemfile matrix: - allow_failures: + exclude: + - rvm: 2.2 + gemfile: gemfiles/rails_3_0.gemfile + - rvm: 2.2 + gemfile: gemfiles/rails_3_1.gemfile - rvm: 2.2 + gemfile: gemfiles/rails_3_2.gemfile + + allow_failures: - rvm: jruby-19mode - rvm: rbx - rvm: ruby-head diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Appraisals new/Appraisals --- old/Appraisals 2014-12-18 03:55:38.000000000 +0100 +++ new/Appraisals 2015-02-15 05:10:00.000000000 +0100 @@ -22,3 +22,8 @@ gem "railties", "~> 4.1.0" gem "actionpack", "~> 4.1.0" end + +appraise "rails-4-2" do + gem "railties", "~> 4.2.0" + gem "actionpack", "~> 4.2.0" +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2014-12-18 03:55:38.000000000 +0100 +++ new/CHANGELOG.md 2015-02-15 05:10:00.000000000 +0100 @@ -1,5 +1,9 @@ # Changelog +2.2.7 +----- +* [Make Blank object serializable with Marshal](https://github.com/rails/jbuilder/commit/7083f28d8b665aa60d0d1b1927ae88bb5c6...) + 2.2.6 ----- * [Make sure dependency tracker loads after template handler](https://github.com/rails/jbuilder/commit/3ba404b1207b557e14771c90b8832bc01ae...) Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gemfiles/rails_4_2.gemfile new/gemfiles/rails_4_2.gemfile --- old/gemfiles/rails_4_2.gemfile 1970-01-01 01:00:00.000000000 +0100 +++ new/gemfiles/rails_4_2.gemfile 2015-02-15 05:10:00.000000000 +0100 @@ -0,0 +1,11 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rake" +gem "mocha", :require => false +gem "appraisal" +gem "railties", "~> 4.2.0" +gem "actionpack", "~> 4.2.0" + +gemspec :path => "../" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jbuilder.gemspec new/jbuilder.gemspec --- old/jbuilder.gemspec 2014-12-18 03:55:38.000000000 +0100 +++ new/jbuilder.gemspec 2015-02-15 05:10:00.000000000 +0100 @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'jbuilder' - s.version = '2.2.6' + s.version = '2.2.7' s.authors = ['David Heinemeier Hansson', 'Pavel Pravosud'] s.email = ['david@37signals.com', 'pavel@pravosud.com'] s.summary = 'Create JSON structures via a Builder-style DSL' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jbuilder/blank.rb new/lib/jbuilder/blank.rb --- old/lib/jbuilder/blank.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/lib/jbuilder/blank.rb 2015-02-15 05:10:00.000000000 +0100 @@ -0,0 +1,7 @@ +class Jbuilder + class Blank + def ==(other) + super || Blank === other + end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/jbuilder.rb new/lib/jbuilder.rb --- old/lib/jbuilder.rb 2014-12-18 03:55:38.000000000 +0100 +++ new/lib/jbuilder.rb 2015-02-15 05:10:00.000000000 +0100 @@ -1,4 +1,5 @@ require 'jbuilder/jbuilder' +require 'jbuilder/blank' require 'jbuilder/key_formatter' require 'jbuilder/errors' require 'multi_json' @@ -21,7 +22,7 @@ new(*args, &block).target! end - BLANK = ::Object.new + BLANK = Blank.new def set!(key, value = BLANK, *args, &block) result = if block diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2014-12-18 03:55:38.000000000 +0100 +++ new/metadata 2015-02-15 05:10:00.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: jbuilder version: !ruby/object:Gem::Version - version: 2.2.6 + version: 2.2.7 platform: ruby authors: - David Heinemeier Hansson @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2014-12-18 00:00:00.000000000 Z +date: 2015-02-15 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: activesupport @@ -66,6 +66,7 @@ - gemfiles/rails_3_2.gemfile - gemfiles/rails_4_0.gemfile - gemfiles/rails_4_1.gemfile +- gemfiles/rails_4_2.gemfile - jbuilder.gemspec - lib/generators/rails/jbuilder_generator.rb - lib/generators/rails/scaffold_controller_generator.rb @@ -73,6 +74,7 @@ - lib/generators/rails/templates/index.json.jbuilder - lib/generators/rails/templates/show.json.jbuilder - lib/jbuilder.rb +- lib/jbuilder/blank.rb - lib/jbuilder/dependency_tracker.rb - lib/jbuilder/errors.rb - lib/jbuilder/jbuilder.rb @@ -105,7 +107,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.4.3 +rubygems_version: 2.4.5 signing_key: specification_version: 4 summary: Create JSON structures via a Builder-style DSL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/jbuilder_template_test.rb new/test/jbuilder_template_test.rb --- old/test/jbuilder_template_test.rb 2014-12-18 03:55:38.000000000 +0100 +++ new/test/jbuilder_template_test.rb 2015-02-15 05:10:00.000000000 +0100 @@ -190,6 +190,27 @@ assert_equal '{"posts":[]}', json end + test 'cache an empty block' do + undef_context_methods :fragment_name_with_digest, :cache_fragment_name + + render_jbuilder <<-JBUILDER + json.cache! 'nothing' do + end + JBUILDER + + json = nil + + assert_nothing_raised do + json = render_jbuilder <<-JBUILDER + json.foo 'bar' + json.cache! 'nothing' do + end + JBUILDER + end + + assert_equal 'bar', MultiJson.load(json)['foo'] + end + test 'fragment caching a JSON object' do undef_context_methods :fragment_name_with_digest, :cache_fragment_name diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_helper.rb new/test/test_helper.rb --- old/test/test_helper.rb 2014-12-18 03:55:38.000000000 +0100 +++ new/test/test_helper.rb 2015-02-15 05:10:00.000000000 +0100 @@ -1,4 +1,5 @@ require "bundler/setup" +require "active_support" require "rails/version" if Rails::VERSION::STRING > "4.0" @@ -7,4 +8,7 @@ require "test/unit" end -require "active_support/test_case" + +if ActiveSupport.respond_to?(:test_order=) + ActiveSupport.test_order = :random +end -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de