Hello community, here is the log from the commit of package rubygem-listen for openSUSE:Factory checked in at 2015-03-27 09:41:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-listen (Old) and /work/SRC/openSUSE:Factory/.rubygem-listen.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-listen" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-listen/rubygem-listen.changes 2015-03-16 07:00:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-listen.new/rubygem-listen.changes 2015-03-27 09:41:54.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Mar 27 05:31:14 UTC 2015 - [email protected] + +- updated to version 2.10.0 + +------------------------------------------------------------------- Old: ---- listen-2.9.0.gem New: ---- listen-2.10.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-listen.spec ++++++ --- /var/tmp/diff_new_pack.7u0yQl/_old 2015-03-27 09:41:54.000000000 +0100 +++ /var/tmp/diff_new_pack.7u0yQl/_new 2015-03-27 09:41:54.000000000 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-listen -Version: 2.9.0 +Version: 2.10.0 Release: 0 %define mod_name listen %define mod_full_name %{mod_name}-%{version} ++++++ listen-2.9.0.gem -> listen-2.10.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2015-03-10 18:54:56.000000000 +0100 +++ new/README.md 2015-03-26 16:42:04.000000000 +0100 @@ -204,7 +204,7 @@ ### On \*BSD -If your are on \*BSD you can try to use the [`rb-kqueue`](https://github.com/mat813/rb-kqueue) instead of polling. +If your are on \*BSD you can try to use the [`rb-kqueue`](https://github.com/mat813/rb-kqueue) adapter instead of polling. Please add the following to your Gemfile: @@ -249,7 +249,9 @@ ## Forwarding file events over TCP -Listen is capable of forwarding file events over the network using a messaging protocol. This can be useful for virtualized development environments when file events are unavailable, as is the case with shared folders in VMs. [Vagrant](https://github.com/mitchellh/vagrant) uses Listen in it's rsync-auto mode to solve this issue. +Listen is capable of forwarding file events over the network using a messaging protocol. This can be useful for virtualized development environments when file events are unavailable, as is the case with shared folders in VMs. + +[Vagrant](https://github.com/mitchellh/vagrant) uses Listen in it's rsync-auto mode to solve this issue. To broadcast events over TCP programmatically, use the `forward_to` option with an address - just a port or a hostname/port combination: @@ -265,10 +267,13 @@ As a convenience, the `listen` script is supplied which listens to a directory and forwards the events to a network address ```bash -listen -f "10.0.0.2:4000" -listen -v -d "/projects/my_project" -f "10.0.0.2:4000" +listen -f "10.0.0.2:4000" # changes in current directory are sent as absolute paths +listen -r -f "10.0.0.2:4000" # changes in current directory are sent as relative paths +listen -v -d "/projects/my_project" -f "10.0.0.2:4000" # changes in given directory are also shown ``` +*NOTE: if you are using a gem like `guard` and the paths on host and guest are not exactly the same, you'll generally want to use the `-r` option for relative paths* + To connect to a broadcasting listener as a recipient, specify its address using `Listen.on`: ```ruby Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/listen/adapter/bsd.rb new/lib/listen/adapter/bsd.rb --- old/lib/listen/adapter/bsd.rb 2015-03-10 18:54:56.000000000 +0100 +++ new/lib/listen/adapter/bsd.rb 2015-03-26 16:42:04.000000000 +0100 @@ -93,6 +93,8 @@ def _watch_file(path, queue) queue.watch_file(path, *options.events, &@callback) + rescue Errno::ENOENT => e + _log :warn, "kqueue: watch file failed: #{e.message}" end # Quick rubocop workaround diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/listen/cli.rb new/lib/listen/cli.rb --- old/lib/listen/cli.rb 2015-03-10 18:54:56.000000000 +0100 +++ new/lib/listen/cli.rb 2015-03-26 16:42:04.000000000 +0100 @@ -21,7 +21,7 @@ banner: 'The address to forward filesystem events' class_option :directory, - type: :string, + type: :array, default: '.', aliases: '-d', banner: 'The directory to listen to' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/listen/version.rb new/lib/listen/version.rb --- old/lib/listen/version.rb 2015-03-10 18:54:56.000000000 +0100 +++ new/lib/listen/version.rb 2015-03-26 16:42:04.000000000 +0100 @@ -1,3 +1,3 @@ module Listen - VERSION = '2.9.0' + VERSION = '2.10.0' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-03-10 18:54:56.000000000 +0100 +++ new/metadata 2015-03-26 16:42:04.000000000 +0100 @@ -1,29 +1,29 @@ --- !ruby/object:Gem::Specification name: listen version: !ruby/object:Gem::Version - version: 2.9.0 + version: 2.10.0 platform: ruby authors: - Thibaud Guillaume-Gentil autorequire: bindir: bin cert_chain: [] -date: 2015-03-10 00:00:00.000000000 Z +date: 2015-03-26 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: celluloid requirement: !ruby/object:Gem::Requirement requirements: - - - ">=" + - - "~>" - !ruby/object:Gem::Version - version: 0.15.2 + version: 0.16.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - - ">=" + - - "~>" - !ruby/object:Gem::Version - version: 0.15.2 + version: 0.16.0 - !ruby/object:Gem::Dependency name: rb-fsevent requirement: !ruby/object:Gem::Requirement -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
