Hello community,
here is the log from the commit of package rubygem-jekyll-watch for
openSUSE:Factory checked in at 2018-11-26 10:33:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-jekyll-watch (Old)
and /work/SRC/openSUSE:Factory/.rubygem-jekyll-watch.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-jekyll-watch"
Mon Nov 26 10:33:02 2018 rev:4 rq:651609 version:2.1.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-jekyll-watch/rubygem-jekyll-watch.changes
2018-02-12 10:13:06.726052080 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-jekyll-watch.new.19453/rubygem-jekyll-watch.changes
2018-11-26 10:34:26.328737500 +0100
@@ -1,0 +2,6 @@
+Thu Nov 22 05:18:33 UTC 2018 - Stephan Kulow <[email protected]>
+
+- updated to version 2.1.2
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
jekyll-watch-2.0.0.gem
New:
----
jekyll-watch-2.1.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-jekyll-watch.spec ++++++
--- /var/tmp/diff_new_pack.qtt1rF/_old 2018-11-26 10:34:27.576736039 +0100
+++ /var/tmp/diff_new_pack.qtt1rF/_new 2018-11-26 10:34:27.576736039 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-jekyll-watch
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,12 +24,12 @@
#
Name: rubygem-jekyll-watch
-Version: 2.0.0
+Version: 2.1.2
Release: 0
%define mod_name jekyll-watch
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{ruby >= 2.1.0}
+BuildRequires: %{ruby >= 2.3.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
Url: https://github.com/jekyll/jekyll-watch
++++++ jekyll-watch-2.0.0.gem -> jekyll-watch-2.1.2.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/jekyll/commands/watch.rb
new/lib/jekyll/commands/watch.rb
--- old/lib/jekyll/commands/watch.rb 2017-12-02 22:53:15.000000000 +0100
+++ new/lib/jekyll/commands/watch.rb 2018-10-17 17:11:03.000000000 +0200
@@ -13,7 +13,6 @@
Jekyll.logger.log_level = :error if options["quiet"]
Jekyll::Watcher.watch(options) if options["watch"]
end
-
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/jekyll/watcher.rb new/lib/jekyll/watcher.rb
--- old/lib/jekyll/watcher.rb 2017-12-02 22:53:15.000000000 +0100
+++ new/lib/jekyll/watcher.rb 2018-10-17 17:11:04.000000000 +0200
@@ -30,7 +30,7 @@
unless options["serving"]
trap("INT") do
listener.stop
- puts " Halting auto-regeneration."
+ Jekyll.logger.info "", "Halting auto-regeneration."
exit 0
end
@@ -41,6 +41,7 @@
end
private
+
def build_listener(site, options)
Listen.to(
options["source"],
@@ -50,36 +51,30 @@
)
end
- private
def listen_handler(site)
proc do |modified, added, removed|
t = Time.now
c = modified + added + removed
n = c.length
- Jekyll.logger.info "Regenerating:",
- "#{n} file(s) changed at #{t.strftime("%Y-%m-%d %H:%M:%S")}"
- c.map { |path| path.sub("#{site.source}/", "") }.each do |file|
- Jekyll.logger.info "", file
- end
+ Jekyll.logger.info "Regenerating:",
+ "#{n} file(s) changed at #{t.strftime("%Y-%m-%d
%H:%M:%S")}"
+ c.each { |path| Jekyll.logger.info "",
path["#{site.source}/".length..-1] }
process(site, t)
end
end
- private
def custom_excludes(options)
Array(options["exclude"]).map { |e|
Jekyll.sanitized_path(options["source"], e) }
end
- private
def config_files(options)
%w(yml yaml toml).map do |ext|
Jekyll.sanitized_path(options["source"], "_config.#{ext}")
end
end
- private
def to_exclude(options)
[
config_files(options),
@@ -93,14 +88,14 @@
# options - A Hash of options passed to the command
#
# Returns a list of relative paths from source that should be ignored
- private
def listen_ignore_paths(options)
- source = Pathname.new(options["source"]).expand_path
- paths = to_exclude(options)
+ source = Pathname.new(options["source"]).expand_path
+ paths = to_exclude(options)
paths.map do |p|
absolute_path = Pathname.new(p).expand_path
next unless absolute_path.exist?
+
begin
relative_path = absolute_path.relative_path_from(source).to_s
unless relative_path.start_with?("../")
@@ -114,12 +109,10 @@
end.compact + [%r!\.jekyll\-metadata!]
end
- private
def sleep_forever
loop { sleep 1000 }
end
- private
def process(site, time)
begin
site.process
@@ -128,7 +121,7 @@
Jekyll.logger.warn "Error:", e.message
Jekyll.logger.warn "Error:", "Run jekyll build --trace for more
information."
end
- puts ""
+ Jekyll.logger.info ""
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/jekyll-watch/version.rb
new/lib/jekyll-watch/version.rb
--- old/lib/jekyll-watch/version.rb 2017-12-02 22:53:15.000000000 +0100
+++ new/lib/jekyll-watch/version.rb 2018-10-17 17:11:03.000000000 +0200
@@ -2,6 +2,6 @@
module Jekyll
module Watch
- VERSION = "2.0.0".freeze
+ VERSION = "2.1.2"
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-12-02 22:53:15.000000000 +0100
+++ new/metadata 2018-10-17 17:11:03.000000000 +0200
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: jekyll-watch
version: !ruby/object:Gem::Version
- version: 2.0.0
+ version: 2.1.2
platform: ruby
authors:
- Parker Moore
autorequire:
bindir: bin
cert_chain: []
-date: 2017-12-02 00:00:00.000000000 Z
+date: 2018-10-17 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: listen
@@ -81,19 +81,19 @@
- !ruby/object:Gem::Version
version: '3.0'
- !ruby/object:Gem::Dependency
- name: rubocop
+ name: rubocop-jekyll
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '0.51'
+ version: '0.2'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '0.51'
+ version: '0.2'
description:
email:
- [email protected]
@@ -117,7 +117,7 @@
requirements:
- - ">="
- !ruby/object:Gem::Version
- version: 2.1.0
+ version: 2.3.0
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
@@ -125,7 +125,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.7.1
+rubygems_version: 2.7.7
signing_key:
specification_version: 4
summary: Rebuild your Jekyll site when a file changes with the `--watch`
switch.