Hello community,
here is the log from the commit of package rubygem-winrm-fs for
openSUSE:Factory checked in at 2020-02-05 19:39:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-winrm-fs (Old)
and /work/SRC/openSUSE:Factory/.rubygem-winrm-fs.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-winrm-fs"
Wed Feb 5 19:39:21 2020 rev:9 rq: version:1.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-winrm-fs/rubygem-winrm-fs.changes
2020-02-04 19:57:59.845484123 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-winrm-fs.new.26092/rubygem-winrm-fs.changes
2020-02-05 19:39:23.311201456 +0100
@@ -2,11 +1,0 @@
-Tue Feb 4 14:53:01 UTC 2020 - Dan Čermák <[email protected]>
-
-- New upstream release 1.3.4
-
- # 1.3.4
- - Bump rubyzip dependency
-
- # 1.3.3
- - Replace erubis with erubi
-
--------------------------------------------------------------------
Old:
----
winrm-fs-1.3.4.gem
New:
----
winrm-fs-1.3.2.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-winrm-fs.spec ++++++
--- /var/tmp/diff_new_pack.xcfMrT/_old 2020-02-05 19:39:24.039201804 +0100
+++ /var/tmp/diff_new_pack.xcfMrT/_new 2020-02-05 19:39:24.039201804 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-winrm-fs
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2019 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
@@ -16,29 +16,30 @@
#
-%define mod_name winrm-fs
-%define mod_full_name %{mod_name}-%{version}
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
+
Name: rubygem-winrm-fs
-Version: 1.3.4
+Version: 1.3.2
Release: 0
-Summary: WinRM File System
-License: Apache-2.0
-Group: Development/Languages/Ruby
-URL: https://github.com/WinRb/winrm-fs
-Source: https://rubygems.org/gems/%{mod_full_name}.gem
-Source1: gem2rpm.yml
-BuildRequires: %{ruby >= 2.4.0}
+%define mod_name winrm-fs
+%define mod_full_name %{mod_name}-%{version}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: %{ruby >= 2.2.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
BuildRequires: update-alternatives
-# FIXME: use proper Requires(pre/post/preun/...)
+Url: http://github.com/WinRb/winrm-fs
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
+Source1: gem2rpm.yml
+Summary: WinRM File System
+License: Apache-2.0
+Group: Development/Languages/Ruby
PreReq: update-alternatives
%description
++++++ winrm-fs-1.3.4.gem -> winrm-fs-1.3.2.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/bin/rwinrmcp new/bin/rwinrmcp
--- old/bin/rwinrmcp 2019-11-14 16:58:24.000000000 +0100
+++ new/bin/rwinrmcp 2018-12-20 01:31:25.000000000 +0100
@@ -1,6 +1,4 @@
#!/usr/bin/env ruby
-# frozen_string_literal: true
-
#
# Copyright 2014 Shawn Neal <[email protected]>
#
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/winrm-fs/core/file_transporter.rb
new/lib/winrm-fs/core/file_transporter.rb
--- old/lib/winrm-fs/core/file_transporter.rb 2019-11-14 16:58:24.000000000
+0100
+++ new/lib/winrm-fs/core/file_transporter.rb 2018-12-20 01:31:25.000000000
+0100
@@ -1,5 +1,3 @@
-# frozen_string_literal: false
-
#
# Author:: Fletcher (<[email protected]>)
#
@@ -33,7 +31,7 @@
#
# @author Fletcher Nichol <[email protected]>
class FileTransporterFailed < ::WinRM::WinRMError; end
- # rubocop:disable Metrics/MethodLength, Metrics/AbcSize,
Metrics/ClassLength
+ # rubocop:disable MethodLength, AbcSize, ClassLength
# Exception for the case where upload source contains more than one
# StringIO object, or a combination of file/directory paths and StringIO
object
@@ -451,9 +449,8 @@
read_size = ((max_encoded_write - dest.length) / 4) * 3
chunk = 1
bytes = 0
- # Do not freeze this string
buffer = ''
- shell.run(<<-PS
+ shell.run(<<-EOS
$to =
$ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("#{dest}")
$parent = Split-Path $to
if(!(Test-path $parent)) { mkdir $parent | Out-Null }
@@ -472,7 +469,7 @@
# ClearScriptBlockCache to clear it.
$bindingFlags= [Reflection.BindingFlags] "NonPublic,Static"
$method = [scriptblock].GetMethod("ClearScriptBlockCache",
$bindingFlags)
- PS
+ EOS
)
while input_io.read(read_size, buffer)
@@ -489,11 +486,11 @@
end
def stream_command(encoded_bytes)
- <<-PS
+ <<-EOS
if($method) { $method.Invoke($Null, $Null) }
$bytes=[Convert]::FromBase64String('#{encoded_bytes}')
$fileStream.Write($bytes, 0, $bytes.length)
- PS
+ EOS
end
# Uploads a local file.
@@ -563,7 +560,7 @@
size / 3 * 4
end
end
- # rubocop:enable Metrics/MethodLength, Metrics/AbcSize,
Metrics/ClassLength
+ # rubocop:enable MethodLength, AbcSize, ClassLength
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/winrm-fs/core/tmp_zip.rb
new/lib/winrm-fs/core/tmp_zip.rb
--- old/lib/winrm-fs/core/tmp_zip.rb 2019-11-14 16:58:24.000000000 +0100
+++ new/lib/winrm-fs/core/tmp_zip.rb 2018-12-20 01:31:25.000000000 +0100
@@ -1,5 +1,3 @@
-# frozen_string_literal: true
-
#
# Author:: Fletcher (<[email protected]>)
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/winrm-fs/exceptions.rb
new/lib/winrm-fs/exceptions.rb
--- old/lib/winrm-fs/exceptions.rb 2019-11-14 16:58:24.000000000 +0100
+++ new/lib/winrm-fs/exceptions.rb 2018-12-20 01:31:25.000000000 +0100
@@ -1,5 +1,3 @@
-# frozen_string_literal: true
-
#
# Copyright 2015 Shawn Neal <[email protected]>
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/winrm-fs/file_manager.rb
new/lib/winrm-fs/file_manager.rb
--- old/lib/winrm-fs/file_manager.rb 2019-11-14 16:58:24.000000000 +0100
+++ new/lib/winrm-fs/file_manager.rb 2018-12-20 01:31:25.000000000 +0100
@@ -1,5 +1,3 @@
-# frozen_string_literal: true
-
#
# Copyright 2015 Shawn Neal <[email protected]>
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/winrm-fs/scripts/scripts.rb
new/lib/winrm-fs/scripts/scripts.rb
--- old/lib/winrm-fs/scripts/scripts.rb 2019-11-14 16:58:24.000000000 +0100
+++ new/lib/winrm-fs/scripts/scripts.rb 2018-12-20 01:31:25.000000000 +0100
@@ -1,5 +1,3 @@
-# frozen_string_literal: true
-
#
# Copyright 2015 Shawn Neal <[email protected]>
#
@@ -15,32 +13,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-require 'erubi'
+require 'erubis'
module WinRM
module FS
# PS1 scripts
module Scripts
- # rubocop:disable Metrics/MethodLength
def self.render(template, context)
- # rubocop:enable Metrics/MethodLength
template_path = File.expand_path(
"#{File.dirname(__FILE__)}/#{template}.ps1.erb"
)
template = File.read(template_path)
- case context
- when Hash
- b = binding
- locals = context.collect { |k, _| "#{k} = context[#{k.inspect}]; " }
- b.eval(locals.join)
- when Binding
- b = context
- when NilClass
- b = binding
- else
- raise ArgumentError
- end
- b.eval(Erubi::Engine.new(template).src)
+ Erubis::Eruby.new(template).result(context)
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/winrm-fs.rb new/lib/winrm-fs.rb
--- old/lib/winrm-fs.rb 2019-11-14 16:58:24.000000000 +0100
+++ new/lib/winrm-fs.rb 2018-12-20 01:31:25.000000000 +0100
@@ -1,5 +1,3 @@
-# frozen_string_literal: true
-
#
# Copyright 2015 Shawn Neal <[email protected]>
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2019-11-14 16:58:24.000000000 +0100
+++ new/metadata 2018-12-20 01:31:25.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: winrm-fs
version: !ruby/object:Gem::Version
- version: 1.3.4
+ version: 1.3.2
platform: ruby
authors:
- Shawn Neal
@@ -9,22 +9,22 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2019-11-14 00:00:00.000000000 Z
+date: 2018-12-19 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
- name: erubi
+ name: erubis
requirement: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '1.8'
+ version: '2.7'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '1.8'
+ version: '2.7'
- !ruby/object:Gem::Dependency
name: logging
requirement: !ruby/object:Gem::Requirement
@@ -51,14 +51,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '2.0'
+ version: '1.1'
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: '2.0'
+ version: '1.1'
- !ruby/object:Gem::Dependency
name: winrm
requirement: !ruby/object:Gem::Requirement
@@ -127,14 +127,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 0.68.0
+ version: '0.51'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 0.68.0
+ version: '0.51'
description: " Ruby library for file system operations via Windows Remote
Management\n"
email:
- [email protected]
@@ -178,7 +178,7 @@
requirements:
- - ">="
- !ruby/object:Gem::Version
- version: 2.4.0
+ version: 2.2.0
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
@@ -186,7 +186,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.7.8
+rubygems_version: 2.7.6
signing_key:
specification_version: 4
summary: WinRM File System