commit rubygem-rb-fsevent for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rb-fsevent for openSUSE:Factory checked in at 2016-03-01 09:40:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rb-fsevent (Old) and /work/SRC/openSUSE:Factory/.rubygem-rb-fsevent.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rubygem-rb-fsevent" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rb-fsevent/rubygem-rb-fsevent.changes 2015-09-08 17:47:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rb-fsevent.new/rubygem-rb-fsevent.changes 2016-03-01 09:40:17.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 21 05:44:49 UTC 2016 - coolo@suse.com + +- updated to version 0.9.7 + no changelog found + +------------------------------------------------------------------- Old: ---- rb-fsevent-0.9.6.gem New: ---- rb-fsevent-0.9.7.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rb-fsevent.spec ++++++ --- /var/tmp/diff_new_pack.WMwZ89/_old 2016-03-01 09:40:18.000000000 +0100 +++ /var/tmp/diff_new_pack.WMwZ89/_new 2016-03-01 09:40:18.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rb-fsevent # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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-rb-fsevent -Version: 0.9.6 +Version: 0.9.7 Release: 0 %define mod_name rb-fsevent %define mod_full_name %{mod_name}-%{version} ++++++ rb-fsevent-0.9.6.gem -> rb-fsevent-0.9.7.gem ++++++ Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rb-fsevent/version.rb new/lib/rb-fsevent/version.rb --- old/lib/rb-fsevent/version.rb 2015-09-02 10:33:09.000000000 +0200 +++ new/lib/rb-fsevent/version.rb 2015-12-29 15:49:45.000000000 +0100 @@ -1,5 +1,5 @@ # -*- encoding: utf-8 -*- class FSEvent - VERSION = '0.9.6' + VERSION = '0.9.7' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-09-02 10:33:09.000000000 +0200 +++ new/metadata 2015-12-29 15:49:45.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: rb-fsevent version: !ruby/object:Gem::Version - version: 0.9.6 + version: 0.9.7 platform: ruby authors: - Thibaud Guillaume-Gentil @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2015-09-02 00:00:00.000000000 Z +date: 2015-12-29 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: bundler @@ -85,11 +85,6 @@ - lib/rb-fsevent/fsevent.rb - lib/rb-fsevent/version.rb - rb-fsevent.gemspec -- spec/fixtures/custom 'path/.gitignore -- spec/fixtures/folder1/file1.txt -- spec/fixtures/folder1/folder2/file2.txt -- spec/rb-fsevent/fsevent_spec.rb -- spec/spec_helper.rb homepage: http://rubygems.org/gems/rb-fsevent licenses: - MIT @@ -110,14 +105,8 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.4.5.1 +rubygems_version: 2.5.1 signing_key: specification_version: 4 summary: Very simple & usable FSEvents API -test_files: -- spec/fixtures/custom 'path/.gitignore -- spec/fixtures/folder1/file1.txt -- spec/fixtures/folder1/folder2/file2.txt -- spec/rb-fsevent/fsevent_spec.rb -- spec/spec_helper.rb -has_rdoc: +test_files: [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rb-fsevent.gemspec new/rb-fsevent.gemspec --- old/rb-fsevent.gemspec 2015-09-02 10:33:09.000000000 +0200 +++ new/rb-fsevent.gemspec 2015-12-29 15:49:45.000000000 +0100 @@ -1,7 +1,7 @@ # coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "rb-fsevent/version" +require 'rb-fsevent/version' Gem::Specification.new do |s| s.name = 'rb-fsevent' @@ -13,12 +13,10 @@ s.description = 'FSEvents API with Signals catching (without RubyCocoa)' s.license = 'MIT' - s.files = `git ls-files`.split($/) - s.test_files = s.files.grep(%r{^spec/}) + s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) } s.require_path = 'lib' - s.add_development_dependency 'bundler', '~> 1.0' - s.add_development_dependency 'rspec', '~> 2.11' - s.add_development_dependency 'guard-rspec', '~> 4.2' + s.add_development_dependency 'bundler', '~> 1.0' + s.add_development_dependency 'rspec', '~> 2.11' + s.add_development_dependency 'guard-rspec', '~> 4.2' end - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rb-fsevent/fsevent_spec.rb new/spec/rb-fsevent/fsevent_spec.rb --- old/spec/rb-fsevent/fsevent_spec.rb 2015-09-02 10:33:09.000000000 +0200 +++ new/spec/rb-fsevent/fsevent_spec.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,88 +0,0 @@ -require 'spec_helper' - -describe FSEvent do - - before(:each) do - @results = [] - @fsevent = FSEvent.new - @fsevent.watch @fixture_path.to_s, {:latency => 0.5} do |paths| - @results += paths - end - end - - it "shouldn't pass anything to watch when instantiated without a path" do - fsevent = FSEvent.new - fsevent.paths.should be_nil - fsevent.callback.should be_nil - end - - it "should pass path and block to watch when instantiated with them" do - blk = proc { } - fsevent = FSEvent.new(@fixture_path, &blk) - fsevent.paths.should == [@fixture_path] - fsevent.callback.should == blk - end - - it "should have a watcher_path that resolves to an executable file" do - File.exists?(FSEvent.watcher_path).should be_true - File.executable?(FSEvent.watcher_path).should be_true - end - - it "should work with path with an apostrophe" do - custom_path = @fixture_path.join("custom 'path") - file = custom_path.join("newfile.rb").to_s - File.delete file if File.exists? file - @fsevent.watch custom_path.to_s do |paths| - @results += paths - end - @fsevent.paths.should == ["#{custom_path}"] - run - FileUtils.touch file - stop - File.delete file - @results.should == [custom_path.to_s + '/'] - end - - it "should catch new file" do - file = @fixture_path.join("newfile.rb") - File.delete file if File.exists? file - run - FileUtils.touch file - stop - File.delete file - @results.should == [@fixture_path.to_s + '/'] - end - - it "should catch file update" do - file = @fixture_path.join("folder1/file1.txt") - File.exists?(file).should be_true - run - FileUtils.touch file - stop - @results.should == [@fixture_path.join("folder1/").to_s] - end - - it "should catch files update" do - file1 = @fixture_path.join("folder1/file1.txt") - file2 = @fixture_path.join("folder1/folder2/file2.txt") - File.exists?(file1).should be_true - File.exists?(file2).should be_true - run - FileUtils.touch file1 - FileUtils.touch file2 - stop - @results.should == [@fixture_path.join("folder1/").to_s, @fixture_path.join("folder1/folder2/").to_s] - end - - def run - sleep 1 - Thread.new { @fsevent.run } - sleep 1 - end - - def stop - sleep 1 - @fsevent.stop - end - -end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/spec_helper.rb new/spec/spec_helper.rb --- old/spec/spec_helper.rb 2015-09-02 10:33:09.000000000 +0200 +++ new/spec/spec_helper.rb 1970-01-01 01:00:00.000000000 +0100 @@ -1,23 +0,0 @@ -require 'rspec' -require 'rb-fsevent' - -RSpec.configure do |config| - config.color_enabled = true - config.filter_run :focus => true - config.run_all_when_everything_filtered = true - - config.before(:each) do - @fixture_path = Pathname.new(File.expand_path('../fixtures/', __FILE__)) - end - - config.before(:all) do - system "cd ext; rake" - puts "fsevent_watch compiled" - end - - config.after(:all) do - gem_root = Pathname.new(File.expand_path('../../', __FILE__)) - system "rm -rf #{gem_root.join('bin')}" - end - -end \ No newline at end of file
participants (1)
-
root@hilbert.suse.de