Hello community,
here is the log from the commit of package rubygem-omniauth for openSUSE:Factory checked in at 2019-03-04 09:20:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-omniauth (Old)
and /work/SRC/openSUSE:Factory/.rubygem-omniauth.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-omniauth"
Mon Mar 4 09:20:29 2019 rev:3 rq:679528 version:1.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-omniauth/rubygem-omniauth.changes 2018-02-12 10:13:32.353128556 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-omniauth.new.28833/rubygem-omniauth.changes 2019-03-04 09:20:32.076599261 +0100
@@ -1,0 +2,6 @@
+Wed Dec 19 07:12:13 UTC 2018 - Stephan Kulow
+
+- updated to version 1.9.0
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
omniauth-1.8.1.gem
New:
----
omniauth-1.9.0.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-omniauth.spec ++++++
--- /var/tmp/diff_new_pack.zfrXWd/_old 2019-03-04 09:20:32.872599117 +0100
+++ /var/tmp/diff_new_pack.zfrXWd/_new 2019-03-04 09:20:32.876599117 +0100
@@ -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-omniauth
-Version: 1.8.1
+Version: 1.9.0
Release: 0
%define mod_name omniauth
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: %{ruby >= 2.1.9}
+BuildRequires: %{ruby >= 2.2}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
Url: https://github.com/omniauth/omniauth
++++++ omniauth-1.8.1.gem -> omniauth-1.9.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml
--- old/.rubocop.yml 2017-12-28 05:44:33.000000000 +0100
+++ new/.rubocop.yml 2018-12-14 18:31:47.000000000 +0100
@@ -1,6 +1,12 @@
+AllCops:
+ TargetRubyVersion: 2.2
+
Layout/AccessModifierIndentation:
EnforcedStyle: outdent
+Layout/AlignHash:
+ Enabled: false
+
Layout/DotPosition:
EnforcedStyle: trailing
@@ -50,6 +56,9 @@
Style/Encoding:
Enabled: false
+Style/ExpandPathArguments:
+ Enabled: false
+
Style/HashSyntax:
EnforcedStyle: hash_rockets
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2017-12-28 05:44:33.000000000 +0100
+++ new/.travis.yml 2018-12-14 18:31:47.000000000 +0100
@@ -9,11 +9,10 @@
language: ruby
rvm:
- jruby-9000
- - 2.1.10 # EOL Soon
- - 2.2.6
- - 2.3.3
- - 2.4.0
- - 2.5.0
+ - 2.2.9
+ - 2.3.5
+ - 2.4.4
+ - 2.5.3
- jruby-head
- ruby-head
matrix:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2017-12-28 05:44:33.000000000 +0100
+++ new/Gemfile 2018-12-14 18:31:47.000000000 +0100
@@ -13,14 +13,14 @@
group :test do
gem 'coveralls', :require => false
- gem 'hashie', '>= 3.4.6', '< 3.6.0', :platforms => [:jruby_18]
+ gem 'hashie', '>= 3.4.6', '< 3.7.0', :platforms => [:jruby_18]
gem 'json', '~> 2.0.3', :platforms => %i[jruby_18 jruby_19 ruby_19]
gem 'mime-types', '~> 3.1', :platforms => [:jruby_18]
- gem 'rack', '>= 1.6.2', :platforms => %i[jruby_18 jruby_19 ruby_19 ruby_20 ruby_21]
+ gem 'rack', '>= 2.0.6', :platforms => %i[jruby_18 jruby_19 ruby_19 ruby_20 ruby_21]
gem 'rack-test'
gem 'rest-client', '~> 2.0.0', :platforms => [:jruby_18]
gem 'rspec', '~> 3.5.0'
- gem 'rubocop', '>= 0.47', :platforms => %i[ruby_20 ruby_21 ruby_22 ruby_23 ruby_24]
+ gem 'rubocop', '>= 0.58.2', :platforms => %i[ruby_20 ruby_21 ruby_22 ruby_23 ruby_24]
gem 'tins', '~> 1.13.0', :platforms => %i[jruby_18 jruby_19 ruby_19]
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile 2017-12-28 05:44:33.000000000 +0100
+++ new/Rakefile 2018-12-14 18:31:47.000000000 +0100
@@ -30,6 +30,7 @@
def call_app(path = ENV['GET_PATH'] || '/')
result = @app.get(path)
raise "Did not succeed #{result.body}" unless result.status == 200
+
result
end
end
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/omniauth/auth_hash.rb new/lib/omniauth/auth_hash.rb
--- old/lib/omniauth/auth_hash.rb 2017-12-28 05:44:33.000000000 +0100
+++ new/lib/omniauth/auth_hash.rb 2018-12-14 18:31:47.000000000 +0100
@@ -20,9 +20,7 @@
end
def regular_writer(key, value)
- if key.to_s == 'info' && value.is_a?(::Hash) && !value.is_a?(InfoHash)
- value = InfoHash.new(value)
- end
+ value = InfoHash.new(value) if key.to_s == 'info' && value.is_a?(::Hash) && !value.is_a?(InfoHash)
super
end
@@ -36,6 +34,7 @@
return "#{first_name} #{last_name}".strip if first_name? || last_name?
return nickname if nickname?
return email if email?
+
nil
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/omniauth/builder.rb new/lib/omniauth/builder.rb
--- old/lib/omniauth/builder.rb 2017-12-28 05:44:33.000000000 +0100
+++ new/lib/omniauth/builder.rb 2018-12-14 18:31:47.000000000 +0100
@@ -41,6 +41,7 @@
def options(options = false)
return @options || {} if options == false
+
@options = options
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/omniauth/failure_endpoint.rb new/lib/omniauth/failure_endpoint.rb
--- old/lib/omniauth/failure_endpoint.rb 2017-12-28 05:44:33.000000000 +0100
+++ new/lib/omniauth/failure_endpoint.rb 2018-12-14 18:31:47.000000000 +0100
@@ -33,11 +33,13 @@
def strategy_name_query_param
return '' unless env['omniauth.error.strategy']
+
"&strategy=#{env['omniauth.error.strategy'].name}"
end
def origin_query_param
return '' unless env['omniauth.origin']
+
"&origin=#{Rack::Utils.escape(env['omniauth.origin'])}"
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/omniauth/form.rb new/lib/omniauth/form.rb
--- old/lib/omniauth/form.rb 2017-12-28 05:44:33.000000000 +0100
+++ new/lib/omniauth/form.rb 2018-12-14 18:31:47.000000000 +0100
@@ -82,6 +82,7 @@
def footer
return self if @footer
+
@html << "\n<button type='submit'>Connect</button>" unless @with_custom_button
@html << <<-HTML
</form>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/omniauth/strategy.rb new/lib/omniauth/strategy.rb
--- old/lib/omniauth/strategy.rb 2017-12-28 05:44:33.000000000 +0100
+++ new/lib/omniauth/strategy.rb 2018-12-14 18:31:47.000000000 +0100
@@ -140,6 +140,7 @@
self.class.args.each do |arg|
break if args.empty?
+
options[arg] = args.shift
end
@@ -187,6 +188,7 @@
return request_call if on_request_path? && OmniAuth.config.allowed_request_methods.include?(request.request_method.downcase.to_sym)
return callback_call if on_callback_path?
return other_phase if respond_to?(:other_phase)
+
@app.call(env)
end
@@ -268,6 +270,7 @@
def mock_call!(*)
return mock_request_call if on_request_path? && OmniAuth.config.allowed_request_methods.include?(request.request_method.downcase.to_sym)
return mock_callback_call if on_callback_path?
+
call_app!
end
@@ -361,6 +364,7 @@
def skip_info?
return false unless options.skip_info?
return true unless options.skip_info.respond_to?(:call)
+
options.skip_info.call(uid)
end
@@ -377,6 +381,7 @@
if options[kind].respond_to?(:call)
result = options[kind].call(env)
return nil unless result.is_a?(String)
+
result
else
options[kind]
@@ -401,7 +406,7 @@
options[:setup_path] || "#{path_prefix}/#{name}/setup"
end
- CURRENT_PATH_REGEX = %r{/$}
+ CURRENT_PATH_REGEX = %r{/$}.freeze
EMPTY_STRING = ''.freeze
def current_path
@current_path ||= request.path_info.downcase.sub(CURRENT_PATH_REGEX, EMPTY_STRING)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/omniauth/version.rb new/lib/omniauth/version.rb
--- old/lib/omniauth/version.rb 2017-12-28 05:44:33.000000000 +0100
+++ new/lib/omniauth/version.rb 2018-12-14 18:31:47.000000000 +0100
@@ -1,3 +1,3 @@
module OmniAuth
- VERSION = '1.8.1'.freeze
+ VERSION = '1.9.0'.freeze
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-12-28 05:44:33.000000000 +0100
+++ new/metadata 2018-12-14 18:31:47.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: omniauth
version: !ruby/object:Gem::Version
- version: 1.8.1
+ version: 1.9.0
platform: ruby
authors:
- Michael Bleigh
@@ -10,7 +10,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2017-12-28 00:00:00.000000000 Z
+date: 2018-12-14 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: hashie
@@ -21,7 +21,7 @@
version: 3.4.6
- - "<"
- !ruby/object:Gem::Version
- version: 3.6.0
+ version: 3.7.0
type: :runtime
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
@@ -31,7 +31,7 @@
version: 3.4.6
- - "<"
- !ruby/object:Gem::Version
- version: 3.6.0
+ version: 3.7.0
- !ruby/object:Gem::Dependency
name: rack
requirement: !ruby/object:Gem::Requirement
@@ -126,7 +126,7 @@
requirements:
- - ">="
- !ruby/object:Gem::Version
- version: 2.1.9
+ version: '2.2'
required_rubygems_version: !ruby/object:Gem::Requirement
requirements:
- - ">="
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniauth.gemspec new/omniauth.gemspec
--- old/omniauth.gemspec 2017-12-28 05:44:33.000000000 +0100
+++ new/omniauth.gemspec 2018-12-14 18:31:47.000000000 +0100
@@ -5,7 +5,7 @@
require 'omniauth/version'
Gem::Specification.new do |spec|
- spec.add_dependency 'hashie', ['>= 3.4.6', '< 3.6.0']
+ spec.add_dependency 'hashie', ['>= 3.4.6', '< 3.7.0']
spec.add_dependency 'rack', ['>= 1.6.2', '< 3']
spec.add_development_dependency 'bundler', '~> 1.14'
spec.add_development_dependency 'rake', '~> 12.0'
@@ -18,7 +18,7 @@
spec.name = 'omniauth'
spec.require_paths = %w[lib]
spec.required_rubygems_version = '>= 1.3.5'
- spec.required_ruby_version = '>= 2.1.9'
+ spec.required_ruby_version = '>= 2.2'
spec.summary = spec.description
spec.version = OmniAuth::VERSION
end