Hello community,

here is the log from the commit of package rubygem-diffy for openSUSE:Factory 
checked in at 2017-03-13 15:34:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-diffy (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-diffy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-diffy"

Mon Mar 13 15:34:01 2017 rev:3 rq:478953 version:3.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-diffy/rubygem-diffy.changes      
2015-12-24 12:16:45.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-diffy.new/rubygem-diffy.changes 
2017-03-13 15:35:16.115140078 +0100
@@ -1,0 +2,6 @@
+Sun Mar 12 05:42:00 UTC 2017 - co...@suse.com
+
+- updated to version 3.2.0
+ see installed CHANGELOG
+
+-------------------------------------------------------------------

Old:
----
  diffy-3.1.0.gem

New:
----
  diffy-3.2.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-diffy.spec ++++++
--- /var/tmp/diff_new_pack.YxaVL0/_old  2017-03-13 15:35:16.611069994 +0100
+++ /var/tmp/diff_new_pack.YxaVL0/_new  2017-03-13 15:35:16.615069429 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-diffy
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-diffy
-Version:        3.1.0
+Version:        3.2.0
 Release:        0
 %define mod_name diffy
 %define mod_full_name %{mod_name}-%{version}

++++++ diffy-3.1.0.gem -> diffy-3.2.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2015-12-17 07:58:46.000000000 +0100
+++ new/.travis.yml     2017-03-12 00:35:24.000000000 +0100
@@ -1,8 +1,19 @@
 language: ruby
+sudo: false
 rvm:
   - 1.8.7
-  - 1.9.2
-  - 1.9.3
-  - 2.0.0
-  - 2.1.0
-  - 2.1.1
+  - 1.9.3-p551
+  - 2.0.0-p648
+  - 2.1.9
+  - 2.2.6
+  - 2.3.3
+  - 2.4.0
+  - jruby-9.1.5.0
+  - rbx
+  - rbx-2
+matrix:
+  allow_failures:
+    - rvm: 1.8.7
+    - rvm: jruby-9.1.5.0
+    - rvm: rbx
+    - rvm: rbx-2
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CONTRIBUTORS new/CONTRIBUTORS
--- old/CONTRIBUTORS    2015-12-17 07:58:46.000000000 +0100
+++ new/CONTRIBUTORS    2017-03-12 00:35:24.000000000 +0100
@@ -10,3 +10,4 @@
 * Bryan Ricker
 * JasonBarnabe
 * Skye Shaw
+* Abinoam P. Marques Jr.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2015-12-17 07:58:46.000000000 +0100
+++ new/Gemfile 2017-03-12 00:35:24.000000000 +0100
@@ -4,7 +4,4 @@
   gem 'rubysl', '~> 2.0'
 end
 
-
-group :test, :development do
-  gemspec
-end
+gemspec
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2015-12-17 07:58:46.000000000 +0100
+++ new/README.md       2017-03-12 00:35:24.000000000 +0100
@@ -149,9 +149,9 @@
 may be changed by passing the format with the options hash (see below), and all
 default formats are supported.
 
-Unlinke `Diffy::Diff`, `Diffy::SplitDiff` does not use `#to_s` to output
+Unlike `Diffy::Diff`, `Diffy::SplitDiff` does not use `#to_s` to output
 the resulting diff.  Instead, two self-explanatory methods are used to output
-the diff; `#left` and `#right`.  Using the earlier example, this is what they
+the diff: `#left` and `#right`.  Using the earlier example, this is what they
 look like in action:
 
 ```
@@ -315,16 +315,6 @@
 Use `#map`, `#inject`, or any of Enumerable's methods.  Go crazy.
 
 
-Ruby Version Compatibility
--------------------------
-
-Support for Ruby 1.8.6 was dropped beginning at version 2.0 in order to support
-the chainable enumerators available in 1.8.7 and 1.9.
-
-If you want to use Diffy and Ruby 1.8.6 then:
-
-    $ gem install diffy -v1.1.0
-
 Testing
 ------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile        2015-12-17 07:58:46.000000000 +0100
+++ new/Rakefile        2017-03-12 00:35:24.000000000 +0100
@@ -3,6 +3,8 @@
 task :default => :spec
 
 desc "Run all specs in spec directory"
+
 RSpec::Core::RakeTask.new(:spec) do |t|
   t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
+  t.ruby_opts = "-w"
 end
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/diffy.gemspec new/diffy.gemspec
--- old/diffy.gemspec   2015-12-17 07:58:46.000000000 +0100
+++ new/diffy.gemspec   2017-03-12 00:35:24.000000000 +0100
@@ -19,5 +19,5 @@
   spec.require_paths = ["lib"]
 
   spec.add_development_dependency "rake"
-  spec.add_development_dependency "rspec", '~> 2.14'
-end
+  spec.add_development_dependency "rspec"
+end
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/diffy/diff.rb new/lib/diffy/diff.rb
--- old/lib/diffy/diff.rb       2015-12-17 07:58:46.000000000 +0100
+++ new/lib/diffy/diff.rb       2017-03-12 00:35:24.000000000 +0100
@@ -12,7 +12,7 @@
     class << self
       attr_writer :default_format
       def default_format
-        @default_format || :text
+        @default_format ||= :text
       end
 
       # default options passed to new Diff objects
@@ -23,7 +23,7 @@
 
     end
     include Enumerable
-    attr_reader :string1, :string2, :options, :diff
+    attr_reader :string1, :string2, :options
 
     # supported options
     # +:diff+::    A cli options string passed to diff
@@ -67,15 +67,17 @@
       end
     ensure
       # unlink the tempfiles explicitly now that the diff is generated
-      Array(@tempfiles).each do |t|
-        begin
-          # check that the path is not nil and file still exists.
-          # REE seems to be very agressive with when it magically removes
-          # tempfiles
-          t.unlink if t.path && File.exist?(t.path)
-        rescue => e
-          warn "#{e.class}: #{e}"
-          warn e.backtrace.join("\n")
+      if defined? @tempfiles # to avoid Ruby warnings about undefined ins var.
+        Array(@tempfiles).each do |t|
+          begin
+            # check that the path is not nil and file still exists.
+            # REE seems to be very agressive with when it magically removes
+            # tempfiles
+            t.unlink if t.path && File.exist?(t.path)
+          rescue => e
+            warn "#{e.class}: #{e}"
+            warn e.backtrace.join("\n")
+          end
         end
       end
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/diffy/version.rb new/lib/diffy/version.rb
--- old/lib/diffy/version.rb    2015-12-17 07:58:46.000000000 +0100
+++ new/lib/diffy/version.rb    2017-03-12 00:35:24.000000000 +0100
@@ -1,3 +1,3 @@
 module Diffy
-  VERSION = '3.1.0'
+  VERSION = '3.2.0'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-12-17 07:58:46.000000000 +0100
+++ new/metadata        2017-03-12 00:35:24.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: diffy
 version: !ruby/object:Gem::Version
-  version: 3.1.0
+  version: 3.2.0
 platform: ruby
 authors:
 - Sam Goldstein
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-12-17 00:00:00.000000000 Z
+date: 2017-03-11 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -28,16 +28,16 @@
   name: rspec
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - "~>"
+    - - ">="
       - !ruby/object:Gem::Version
-        version: '2.14'
+        version: '0'
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - "~>"
+    - - ">="
       - !ruby/object:Gem::Version
-        version: '2.14'
+        version: '0'
 description: Convenient diffing in ruby
 email:
 - sgr...@gmail.org
@@ -84,7 +84,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.4.5.1
+rubygems_version: 2.5.1
 signing_key: 
 specification_version: 4
 summary: A convenient way to diff string in ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/diffy_spec.rb new/spec/diffy_spec.rb
--- old/spec/diffy_spec.rb      2015-12-17 07:58:46.000000000 +0100
+++ new/spec/diffy_spec.rb      2017-03-12 00:35:24.000000000 +0100
@@ -115,7 +115,7 @@
   describe "handling temp files" do
     it "should unlink tempfiles after generating the diff" do
       before_tmpfiles = Dir.entries(Dir.tmpdir)
-      d = ::Diffy::Diff.new("a", "b").to_s
+      ::Diffy::Diff.new("a", "b").to_s
       after_tmpfiles = Dir.entries(Dir.tmpdir)
       expect(before_tmpfiles).to match_array(after_tmpfiles)
     end


Reply via email to