Hello community, here is the log from the commit of package rubygem-tins for openSUSE:Factory checked in at 2015-06-12 20:30:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-tins (Old) and /work/SRC/openSUSE:Factory/.rubygem-tins.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-tins" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-tins/rubygem-tins.changes 2015-04-27 13:04:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-tins.new/rubygem-tins.changes 2015-06-12 20:30:37.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 28 04:34:47 UTC 2015 - co...@suse.com + +- updated to version 1.5.2 + no changelog found + +------------------------------------------------------------------- Old: ---- tins-1.5.1.gem New: ---- tins-1.5.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-tins.spec ++++++ --- /var/tmp/diff_new_pack.walFCm/_old 2015-06-12 20:30:38.000000000 +0200 +++ /var/tmp/diff_new_pack.walFCm/_new 2015-06-12 20:30:38.000000000 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-tins -Version: 1.5.1 +Version: 1.5.2 Release: 0 %define mod_name tins %define mod_full_name %{mod_name}-%{version} ++++++ tins-1.5.1.gem -> tins-1.5.2.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2015-04-24 14:05:35.000000000 +0200 +++ new/VERSION 2015-05-27 17:03:39.000000000 +0200 @@ -1 +1 @@ -1.5.1 +1.5.2 Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tins/method_description.rb new/lib/tins/method_description.rb --- old/lib/tins/method_description.rb 2015-04-24 14:05:35.000000000 +0200 +++ new/lib/tins/method_description.rb 2015-05-27 17:03:39.000000000 +0200 @@ -18,7 +18,7 @@ if respond_to?(:parameters) generated_name = 'x0' result << parameters.map { |p_type, p_name| - p_name ||= generated_name.succ! + p_name ||= generated_name.succ!.dup case p_type when :block "&#{p_name}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/tins/version.rb new/lib/tins/version.rb --- old/lib/tins/version.rb 2015-04-24 14:05:35.000000000 +0200 +++ new/lib/tins/version.rb 2015-05-27 17:03:39.000000000 +0200 @@ -1,6 +1,6 @@ module Tins # Tins version - VERSION = '1.5.1' + VERSION = '1.5.2' VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc: VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc: VERSION_MINOR = VERSION_ARRAY[1] # :nodoc: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-04-24 14:05:35.000000000 +0200 +++ new/metadata 2015-05-27 17:03:39.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: tins version: !ruby/object:Gem::Version - version: 1.5.1 + version: 1.5.2 platform: ruby authors: - Florian Frank autorequire: bindir: bin cert_chain: [] -date: 2015-04-24 00:00:00.000000000 Z +date: 2015-05-27 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: gem_hadar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tests/method_description_test.rb new/tests/method_description_test.rb --- old/tests/method_description_test.rb 2015-04-24 14:05:35.000000000 +0200 +++ new/tests/method_description_test.rb 2015-05-27 17:03:39.000000000 +0200 @@ -1,73 +1,75 @@ require 'test_helper' require 'tins/xt' -if RUBY_VERSION >= "1.9" - module Tins - class MethodDescriptionTest < Test::Unit::TestCase - class A - def foo - end - - def self.foo - end +module Tins + class MethodDescriptionTest < Test::Unit::TestCase + class A + def foo end - def test_static_nonstatic - assert_equal 'Tins::MethodDescriptionTest::A#foo()', A.instance_method(:foo).to_s - assert_equal '#<UnboundMethod: Tins::MethodDescriptionTest::A#foo()>', A.instance_method(:foo).inspect - assert_equal 'Tins::MethodDescriptionTest::A.foo()', A.method(:foo).to_s - assert_equal '#<Method: Tins::MethodDescriptionTest::A.foo()>', A.method(:foo).inspect + def self.foo end + end - class B - def foo(x, y = 1, *r, &b) - end - end + def test_static_nonstatic + assert_equal 'Tins::MethodDescriptionTest::A#foo()', A.instance_method(:foo).to_s + assert_equal '#<UnboundMethod: Tins::MethodDescriptionTest::A#foo()>', A.instance_method(:foo).inspect + assert_equal 'Tins::MethodDescriptionTest::A.foo()', A.method(:foo).to_s + assert_equal '#<Method: Tins::MethodDescriptionTest::A.foo()>', A.method(:foo).inspect + end - def test_standard_parameters_namespace - assert_equal 'Tins::MethodDescriptionTest::B#foo(x,y=?,*r,&b)', - B.instance_method(:foo).to_s + class B + def foo(x, y = 1, *r, &b) end + end - def test_standard_parameters_name - assert_equal 'foo(x,y=?,*r,&b)', - B.instance_method(:foo).description(style: :name) - end + def test_standard_parameters_namespace + assert_equal 'Tins::MethodDescriptionTest::B#foo(x,y=?,*r,&b)', + B.instance_method(:foo).to_s + end - def test_standard_parameters_parameters - assert_equal 'x,y=?,*r,&b', - B.instance_method(:foo).description(style: :parameters) - end + def test_standard_parameters_name + assert_equal 'foo(x,y=?,*r,&b)', + B.instance_method(:foo).description(style: :name) + end - if RUBY_VERSION >= "2.0" - eval %{ - class C - def foo(x, k: true, &b) - end + def test_standard_parameters_parameters + assert_equal 'x,y=?,*r,&b', + B.instance_method(:foo).description(style: :parameters) + end - def bar(x, **k, &b) - end - end + def test_a_cstyle_method_from_hash + assert_equal "Hash#store(x1,x2)", ({}.method(:store).description) + end - def test_keyword_parameters - assert_equal 'Tins::MethodDescriptionTest::C#foo(x,k:?,&b)', C.instance_method(:foo).to_s - assert_equal 'Tins::MethodDescriptionTest::C#bar(x,**k,&b)', C.instance_method(:bar).to_s + if RUBY_VERSION >= "2.0" + eval %{ + class C + def foo(x, k: true, &b) end - } - end - if RUBY_VERSION >= "2.1" - eval %{ - class D - def foo(x, k:, &b) - end + def bar(x, **k, &b) end + end + + def test_keyword_parameters + assert_equal 'Tins::MethodDescriptionTest::C#foo(x,k:?,&b)', C.instance_method(:foo).to_s + assert_equal 'Tins::MethodDescriptionTest::C#bar(x,**k,&b)', C.instance_method(:bar).to_s + end + } + end - def test_keyword_parameters_required - assert_equal 'Tins::MethodDescriptionTest::D#foo(x,k:,&b)', D.instance_method(:foo).to_s + if RUBY_VERSION >= "2.1" + eval %{ + class D + def foo(x, k:, &b) end - } - end + end + + def test_keyword_parameters_required + assert_equal 'Tins::MethodDescriptionTest::D#foo(x,k:,&b)', D.instance_method(:foo).to_s + end + } end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tests/named_test.rb new/tests/named_test.rb --- old/tests/named_test.rb 2015-04-24 14:05:35.000000000 +0200 +++ new/tests/named_test.rb 2015-05-27 17:03:39.000000000 +0200 @@ -12,21 +12,19 @@ assert_equal [ 3 ], a.plus1.odd end - if RUBY_VERSION >= '1.9' - def foo(x, y, &block) - block.call x * y - end + def foo(x, y, &block) + block.call x * y + end - def test_more_complex - Object.named(:foo_with_block, :foo) do |z| - z ** 2 - end - assert_equal foo(2, 3) { |z| z ** 2 }, foo_with_block(2, 3) - Object.named(:foo_23, :foo, 2, 3) - assert_equal foo(2, 3) { |z| z ** 2 }, foo_23 { |z| z ** 2 } - Object.named(:foo_2, :foo, 2) - assert_equal foo(2, 3) { |z| z ** 2 }, foo_2(3) { |z| z ** 2 } + def test_more_complex + Object.named(:foo_with_block, :foo) do |z| + z ** 2 end + assert_equal foo(2, 3) { |z| z ** 2 }, foo_with_block(2, 3) + Object.named(:foo_23, :foo, 2, 3) + assert_equal foo(2, 3) { |z| z ** 2 }, foo_23 { |z| z ** 2 } + Object.named(:foo_2, :foo, 2) + assert_equal foo(2, 3) { |z| z ** 2 }, foo_2(3) { |z| z ** 2 } end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tests/proc_compose_test.rb new/tests/proc_compose_test.rb --- old/tests/proc_compose_test.rb 2015-04-24 14:05:35.000000000 +0200 +++ new/tests/proc_compose_test.rb 2015-05-27 17:03:39.000000000 +0200 @@ -13,11 +13,7 @@ def test_proc_compose_more_complex f = lambda { |x, y| 2 * x + y * 3 } g = lambda { |x| x + 1 } - if RUBY_VERSION >= "1.9" - assert_raise(ArgumentError) { (f * g).call(2, 3) } - else - assert_raise(TypeError) { (f * g).call(2, 3) } - end + assert_raise(ArgumentError) { (f * g).call(2, 3) } d = lambda { |x| [ x, x ] } assert_equal 15, (f * d * g).call(2) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tins.gemspec new/tins.gemspec --- old/tins.gemspec 2015-04-24 14:05:35.000000000 +0200 +++ new/tins.gemspec 2015-05-27 17:03:39.000000000 +0200 @@ -1,14 +1,14 @@ # -*- encoding: utf-8 -*- -# stub: tins 1.5.1 ruby lib +# stub: tins 1.5.2 ruby lib Gem::Specification.new do |s| s.name = "tins" - s.version = "1.5.1" + s.version = "1.5.2" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.require_paths = ["lib"] s.authors = ["Florian Frank"] - s.date = "2015-04-24" + s.date = "2015-05-27" s.description = "All the stuff that isn't good/big enough for a real library." s.email = "fl...@ping.de" s.extra_rdoc_files = ["README.md", "lib/dslkit.rb", "lib/dslkit/polite.rb", "lib/dslkit/rude.rb", "lib/spruz.rb", "lib/tins.rb", "lib/tins/alias.rb", "lib/tins/annotate.rb", "lib/tins/ask_and_send.rb", "lib/tins/attempt.rb", "lib/tins/bijection.rb", "lib/tins/case_predicate.rb", "lib/tins/concern.rb", "lib/tins/count_by.rb", "lib/tins/date_dummy.rb", "lib/tins/date_time_dummy.rb", "lib/tins/deep_const_get.rb", "lib/tins/deep_dup.rb", "lib/tins/dslkit.rb", "lib/tins/extract_last_argument_options.rb", "lib/tins/file_binary.rb", "lib/tins/find.rb", "lib/tins/generator.rb", "lib/tins/go.rb", "lib/tins/hash_symbolize_keys_recursive.rb", "lib/tins/hash_union.rb", "lib/tins/if_predicate.rb", "lib/tins/implement.rb", "lib/tins/limited.rb", "lib/tins/lines_file.rb", "lib/tins/memoize.rb", "lib/tins/method_description.rb", "lib/tins/minimize.rb", "lib/tins/module_group.rb", "lib/tins/named_set.rb", "lib/tins/null.rb", "lib/tins/once.rb", "lib/tins/p.rb", "lib/tins/partial_application.rb", "lib/tins/proc_compose.rb", "lib/tins/proc_prelude.rb", "lib/tins/range_plus.rb", "lib/tins/require_maybe.rb", "lib/tins/responding.rb", "lib/tins/rotate.rb", "lib/tins/secure_write.rb", "lib/tins/sexy_singleton.rb", "lib/tins/shuffle.rb", "lib/tins/string_byte_order_mark.rb", "lib/tins/string_camelize.rb", "lib/tins/string_underscore.rb", "lib/tins/string_version.rb", "lib/tins/subhash.rb", "lib/tins/terminal.rb", "lib/tins/thread_local.rb", "lib/tins/time_dummy.rb", "lib/tins/to.rb", "lib/tins/to_proc.rb", "lib/tins/token.rb", "lib/tins/uniq_by.rb", "lib/tins/version.rb", "lib/tins/write.rb", "lib/tins/xt.rb", "lib/tins/xt/annotate.rb", "lib/tins/xt/ask_and_send.rb", "lib/tins/xt/attempt.rb", "lib/tins/xt/blank.rb", "lib/tins/xt/case_predicate.rb", "lib/tins/xt/concern.rb", "lib/tins/xt/count_by.rb", "lib/tins/xt/date_dummy.rb", "lib/tins/xt/date_time_dummy.rb", "lib/tins/xt/deep_const_get.rb", "lib/tins/xt/deep_dup.rb", "lib/tins/xt/dslkit.rb", "lib/tins/xt/extract_last_argument_options.rb", "lib/tins/xt/file_binary.rb", "lib/tins/xt/full.rb", "lib/tins/xt/hash_symbolize_keys_recursive.rb", "lib/tins/xt/hash_union.rb", "lib/tins/xt/if_predicate.rb", "lib/tins/xt/implement.rb", "lib/tins/xt/irb.rb", "lib/tins/xt/method_description.rb", "lib/tins/xt/named.rb", "lib/tins/xt/null.rb", "lib/tins/xt/p.rb", "lib/tins/xt/partial_application.rb", "lib/tins/xt/proc_compose.rb", "lib/tins/xt/proc_prelude.rb", "lib/tins/xt/range_plus.rb", "lib/tins/xt/require_maybe.rb", "lib/tins/xt/responding.rb", "lib/tins/xt/rotate.rb", "lib/tins/xt/secure_write.rb", "lib/tins/xt/sexy_singleton.rb", "lib/tins/xt/shuffle.rb", "lib/tins/xt/string.rb", "lib/tins/xt/string_byte_order_mark.rb", "lib/tins/xt/string_camelize.rb", "lib/tins/xt/string_underscore.rb", "lib/tins/xt/string_version.rb", "lib/tins/xt/subhash.rb", "lib/tins/xt/symbol_to_proc.rb", "lib/tins/xt/time_dummy.rb", "lib/tins/xt/time_freezer.rb", "lib/tins/xt/to.rb", "lib/tins/xt/uniq_by.rb", "lib/tins/xt/write.rb"]