Hello community,

here is the log from the commit of package rubygem-omniauth-google-oauth2 for 
openSUSE:Factory checked in at 2019-03-27 16:17:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-omniauth-google-oauth2 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-omniauth-google-oauth2.new.25356 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-omniauth-google-oauth2"

Wed Mar 27 16:17:50 2019 rev:5 rq:685128 version:0.6.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-omniauth-google-oauth2/rubygem-omniauth-google-oauth2.changes
    2019-03-04 09:20:38.200598158 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-omniauth-google-oauth2.new.25356/rubygem-omniauth-google-oauth2.changes
 2019-03-27 16:17:54.699573423 +0100
@@ -1,0 +2,20 @@
+Thu Mar 14 11:00:46 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to version 0.6.1
+ see installed CHANGELOG.md
+
+  ## 0.6.1 - 2019-03-07
+  
+  ### Added
+  - Return `email` and `email_verified` keys in response.
+  
+  ### Deprecated
+  - Nothing.
+  
+  ### Removed
+  - Nothing.
+  
+  ### Fixed
+  - Nothing.
+
+-------------------------------------------------------------------

Old:
----
  omniauth-google-oauth2-0.6.0.gem

New:
----
  omniauth-google-oauth2-0.6.1.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-omniauth-google-oauth2.spec ++++++
--- /var/tmp/diff_new_pack.1IboVl/_old  2019-03-27 16:17:55.927573168 +0100
+++ /var/tmp/diff_new_pack.1IboVl/_new  2019-03-27 16:17:55.931573167 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-omniauth-google-oauth2
-Version:        0.6.0
+Version:        0.6.1
 Release:        0
 %define mod_name omniauth-google-oauth2
 %define mod_full_name %{mod_name}-%{version}

++++++ omniauth-google-oauth2-0.6.0.gem -> omniauth-google-oauth2-0.6.1.gem 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2018-12-29 07:38:12.000000000 +0100
+++ new/CHANGELOG.md    2019-03-07 19:46:53.000000000 +0100
@@ -1,6 +1,20 @@
 # Changelog
 All notable changes to this project will be documented in this file.
 
+## 0.6.1 - 2019-03-07
+
+### Added
+- Return `email` and `email_verified` keys in response.
+
+### Deprecated
+- Nothing.
+
+### Removed
+- Nothing.
+
+### Fixed
+- Nothing.
+
 ## 0.6.0 - 2018-12-28
 
 ### Added
@@ -12,6 +26,7 @@
 ### Removed
 - Support for JWT 1.x.
 - Support for `raw_friend_info` and `raw_image_info`.
+- Stop using Google+ API endpoints.
 
 ### Fixed
 - Nothing.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/examples/Gemfile new/examples/Gemfile
--- old/examples/Gemfile        2018-12-29 07:38:12.000000000 +0100
+++ new/examples/Gemfile        2019-03-07 19:46:53.000000000 +0100
@@ -2,6 +2,6 @@
 
 source 'https://rubygems.org'
 
-gem 'omniauth-google-oauth2', '~> 0.5'
+gem 'omniauth-google-oauth2', '~> 0.6'
 gem 'rubocop'
 gem 'sinatra', '~> 1.4'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/omniauth/google_oauth2/version.rb 
new/lib/omniauth/google_oauth2/version.rb
--- old/lib/omniauth/google_oauth2/version.rb   2018-12-29 07:38:12.000000000 
+0100
+++ new/lib/omniauth/google_oauth2/version.rb   2019-03-07 19:46:53.000000000 
+0100
@@ -2,6 +2,6 @@
 
 module OmniAuth
   module GoogleOauth2
-    VERSION = '0.6.0'
+    VERSION = '0.6.1'
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/omniauth/strategies/google_oauth2.rb 
new/lib/omniauth/strategies/google_oauth2.rb
--- old/lib/omniauth/strategies/google_oauth2.rb        2018-12-29 
07:38:12.000000000 +0100
+++ new/lib/omniauth/strategies/google_oauth2.rb        2019-03-07 
19:46:53.000000000 +0100
@@ -46,7 +46,8 @@
       info do
         prune!(
           name: raw_info['name'],
-          email: verified_email,
+          email: raw_info['email'],
+          email_verified: raw_info['email_verified'],
           first_name: raw_info['given_name'],
           last_name: raw_info['family_name'],
           image: image_url,
@@ -135,10 +136,6 @@
         end
       end
 
-      def verified_email
-        raw_info['email_verified'] ? raw_info['email'] : nil
-      end
-
       def image_url
         return nil unless raw_info['picture']
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-12-29 07:38:12.000000000 +0100
+++ new/metadata        2019-03-07 19:46:53.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: omniauth-google-oauth2
 version: !ruby/object:Gem::Version
-  version: 0.6.0
+  version: 0.6.1
 platform: ruby
 authors:
 - Josh Ellithorpe
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-12-29 00:00:00.000000000 Z
+date: 2019-03-07 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: jwt
@@ -140,8 +140,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: 
-rubygems_version: 2.6.11
+rubygems_version: 3.0.3
 signing_key: 
 specification_version: 4
 summary: A Google OAuth2 strategy for OmniAuth 1.x
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/omniauth/strategies/google_oauth2_spec.rb 
new/spec/omniauth/strategies/google_oauth2_spec.rb
--- old/spec/omniauth/strategies/google_oauth2_spec.rb  2018-12-29 
07:38:12.000000000 +0100
+++ new/spec/omniauth/strategies/google_oauth2_spec.rb  2019-03-07 
19:46:53.000000000 +0100
@@ -177,8 +177,8 @@
 
     describe 'scope' do
       it 'should expand scope shortcuts' do
-        @options = { scope: 'plus.me' }
-        expect(subject.authorize_params['scope']).to 
eq('https://www.googleapis.com/auth/plus.me')
+        @options = { scope: 'calendar' }
+        expect(subject.authorize_params['scope']).to 
eq('https://www.googleapis.com/auth/calendar')
       end
 
       it 'should leave base scopes as is' do


Reply via email to