commit rubygem-oauth2 for openSUSE:Factory

2020-05-11 Thread root
Hello community,

here is the log from the commit of package rubygem-oauth2 for openSUSE:Factory 
checked in at 2020-05-11 13:41:45

Comparing /work/SRC/openSUSE:Factory/rubygem-oauth2 (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-oauth2.new.2738 (New)


Package is "rubygem-oauth2"

Mon May 11 13:41:45 2020 rev:4 rq:802352 version:1.4.4

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-oauth2/rubygem-oauth2.changes
2020-03-07 21:39:17.976315136 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-oauth2.new.2738/rubygem-oauth2.changes  
2020-05-11 13:41:47.297174799 +0200
@@ -1,0 +2,10 @@
+Thu May  7 21:08:58 UTC 2020 - Stephan Kulow 
+
+- updated to version 1.4.4
+ see installed CHANGELOG.md
+
+  ## [1.4.4] - 2020-02-12
+  
+  - [#408](https://github.com/oauth-xx/oauth2/pull/408) - Fixed expires_at for 
formatted time (@Lomey)
+
+---

Old:

  oauth2-1.4.3.gem

New:

  oauth2-1.4.4.gem



Other differences:
--
++ rubygem-oauth2.spec ++
--- /var/tmp/diff_new_pack.w3q6Oy/_old  2020-05-11 13:41:48.069176438 +0200
+++ /var/tmp/diff_new_pack.w3q6Oy/_new  2020-05-11 13:41:48.073176446 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-oauth2
-Version:1.4.3
+Version:1.4.4
 Release:0
 %define mod_name oauth2
 %define mod_full_name %{mod_name}-%{version}

++ oauth2-1.4.3.gem -> oauth2-1.4.4.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md2020-01-29 10:01:48.0 +0100
+++ new/CHANGELOG.md2020-02-13 01:04:56.0 +0100
@@ -5,11 +5,16 @@
 
 - no changes yet
 
+## [1.4.4] - 2020-02-12
+
+- [#408](https://github.com/oauth-xx/oauth2/pull/408) - Fixed expires_at for 
formatted time (@Lomey)
+
 ## [1.4.3] - 2020-01-29
 
 - [#483](https://github.com/oauth-xx/oauth2/pull/483) - add project metadata 
to gemspec (@orien)
 - [#495](https://github.com/oauth-xx/oauth2/pull/495) - support additional 
types of access token requests (@SteveyblamFreeagent, @thomcorley, @dgholz)
   - Adds support for private_key_jwt and tls_client_auth
+- [#433](https://github.com/oauth-xx/oauth2/pull/433) - allow field names with 
square brackets and numbers in params (@asm256)
 
 ## [1.4.2] - 2019-10-01
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   2020-01-29 10:01:48.0 +0100
+++ new/README.md   2020-02-13 01:04:56.0 +0100
@@ -4,6 +4,7 @@
 
 | Version  | Release Date | Readme 
  |
 
|--|--|--|
+| 1.4.4| Feb 12, 2020 | 
https://github.com/oauth-xx/oauth2/blob/v1.4.4/README.md |
 | 1.4.3| Jan 29, 2020 | 
https://github.com/oauth-xx/oauth2/blob/v1.4.3/README.md |
 | 1.4.2| Oct 1, 2019  | 
https://github.com/oauth-xx/oauth2/blob/v1.4.2/README.md |
 | 1.4.1| Oct 13, 2018 | 
https://github.com/oauth-xx/oauth2/blob/v1.4.1/README.md |
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/oauth2/access_token.rb 
new/lib/oauth2/access_token.rb
--- old/lib/oauth2/access_token.rb  2020-01-29 10:01:48.0 +0100
+++ new/lib/oauth2/access_token.rb  2020-02-13 01:04:56.0 +0100
@@ -46,7 +46,7 @@
   end
   @expires_in ||= opts.delete('expires')
   @expires_in &&= @expires_in.to_i
-  @expires_at &&= @expires_at.to_i
+  @expires_at &&= convert_expires_at(@expires_at)
   @expires_at ||= Time.now.to_i + @expires_in if @expires_in
   @options = {:mode  => opts.delete(:mode) || :header,
   :header_format => opts.delete(:header_format) || 'Bearer %s',
@@ -169,5 +169,12 @@
 raise("invalid :mode option of #{options[:mode]}")
   end
 end
+
+def convert_expires_at(expires_at)
+  expires_at_i = expires_at.to_i
+  return expires_at_i if expires_at_i > Time.now.utc.to_i
+  return Time.parse(expires_at).to_i if expires_at.is_a?(String)
+  expires_at_i
+end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/oauth2/version.rb new/lib/oauth2/version.rb
--- old/lib/oauth2/version.rb   2020-01-29 10:01:48.0 +0100
+++ new/lib/oauth2/version.rb   2020-02-13 01:04:56.0 +0100
@@ -20,7 +20,7 @@
 #
 # @return [Integer]
 def patch
-  3
+  4
 end
 
 # The pre-release version, if any
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 

commit rubygem-oauth2 for openSUSE:Factory

2020-03-07 Thread root
Hello community,

here is the log from the commit of package rubygem-oauth2 for openSUSE:Factory 
checked in at 2020-03-07 21:39:11

Comparing /work/SRC/openSUSE:Factory/rubygem-oauth2 (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-oauth2.new.26092 (New)


Package is "rubygem-oauth2"

Sat Mar  7 21:39:11 2020 rev:3 rq:773826 version:1.4.3

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-oauth2/rubygem-oauth2.changes
2018-11-26 10:34:51.688707815 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-oauth2.new.26092/rubygem-oauth2.changes 
2020-03-07 21:39:17.976315136 +0100
@@ -1,0 +2,17 @@
+Mon Feb 10 15:17:46 UTC 2020 - Stephan Kulow 
+
+- updated to version 1.4.3
+ see installed CHANGELOG.md
+
+  ## [1.4.3] - 2020-01-29
+  
+  - [#483](https://github.com/oauth-xx/oauth2/pull/483) - add project metadata 
to gemspec (@orien)
+  - [#495](https://github.com/oauth-xx/oauth2/pull/495) - support additional 
types of access token requests (@SteveyblamFreeagent, @thomcorley, @dgholz)
+- Adds support for private_key_jwt and tls_client_auth
+  
+  ## [1.4.2] - 2019-10-01
+  
+  - [#478](https://github.com/oauth-xx/oauth2/pull/478) - support latest 
version of faraday & fix build (@pboling)
+- officially support Ruby 2.6 and truffleruby
+
+---

Old:

  oauth2-1.4.1.gem

New:

  oauth2-1.4.3.gem



Other differences:
--
++ rubygem-oauth2.spec ++
--- /var/tmp/diff_new_pack.PC8zs9/_old  2020-03-07 21:39:19.768316346 +0100
+++ /var/tmp/diff_new_pack.PC8zs9/_new  2020-03-07 21:39:19.768316346 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-oauth2
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # 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-oauth2
-Version:1.4.1
+Version:1.4.3
 Release:0
 %define mod_name oauth2
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  %{ruby >= 1.9.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-Url:https://github.com/oauth-xx/oauth2
+URL:https://github.com/oauth-xx/oauth2
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A Ruby wrapper for the OAuth 2.0 protocol

++ oauth2-1.4.1.gem -> oauth2-1.4.3.gem ++
 2119 lines of diff (skipped)




commit rubygem-oauth2 for openSUSE:Factory

2018-11-26 Thread root
Hello community,

here is the log from the commit of package rubygem-oauth2 for openSUSE:Factory 
checked in at 2018-11-26 10:33:12

Comparing /work/SRC/openSUSE:Factory/rubygem-oauth2 (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-oauth2.new.19453 (New)


Package is "rubygem-oauth2"

Mon Nov 26 10:33:12 2018 rev:2 rq:651612 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-oauth2/rubygem-oauth2.changes
2018-02-15 13:24:52.813340478 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-oauth2.new.19453/rubygem-oauth2.changes 
2018-11-26 10:34:51.688707815 +0100
@@ -1,0 +2,6 @@
+Thu Nov 22 05:23:58 UTC 2018 - Stephan Kulow 
+
+- updated to version 1.4.1
+  no changelog found
+
+---

Old:

  oauth2-1.4.0.gem

New:

  oauth2-1.4.1.gem



Other differences:
--
++ rubygem-oauth2.spec ++
--- /var/tmp/diff_new_pack.KiY8a7/_old  2018-11-26 10:34:54.068705030 +0100
+++ /var/tmp/diff_new_pack.KiY8a7/_new  2018-11-26 10:34:54.076705021 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-oauth2
 #
-# 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,16 +24,16 @@
 #
 
 Name:   rubygem-oauth2
-Version:1.4.0
+Version:1.4.1
 Release:0
 %define mod_name oauth2
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{ruby >= 1.9.0}
 BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
-Url:http://github.com/intridea/oauth2
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Url:https://github.com/oauth-xx/oauth2
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Summary:A Ruby wrapper for the OAuth 2.0 protocol
 License:MIT
@@ -49,7 +49,7 @@
 
 %install
 %gem_install \
-  --doc-files="LICENSE.md README.md" \
+  --doc-files="CHANGELOG.md LICENSE README.md" \
   -f
 
 %gem_packages

++ oauth2-1.4.0.gem -> oauth2-1.4.1.gem ++
 2541 lines of diff (skipped)