omniauth-facebook 4.0.0.rc1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b471d95eff279be1902d7aab1ea9762d8388112f
4
- data.tar.gz: 8fd01eb76108e6d05bd9ef3585ad8fb505d6327e
3
+ metadata.gz: 3ab5849447e8b93ec83749b3b565b236fc40e3a7
4
+ data.tar.gz: 3eb9ca95bb01b2134d9e62321f702b088670c123
5
5
  SHA512:
6
- metadata.gz: bc918011a72744c646376fb16e499ed9333552c906899e9433d73244b75bd272a17c5020958de2f311301a449b0035685d8c3a1123207ae8dc8be49352b43392
7
- data.tar.gz: 35e6d31f3a277fe98d6c3454f6c7d0306d9a4c62deaacd767804bdec69be576bdbcc35597bf5280212cedab657bd944e96e8f376663ecae74d5114ab80f7a850
6
+ metadata.gz: f81a6ec2294880f6a1db069c80621b3615950f1c6bfdfe3541bc9dccc640ea6d26a63a3ae376cf51fb08ffe0b033b81887720a025ad7363ca1568c528d91c856
7
+ data.tar.gz: e0d8e73d8a087fd2d5909b1694ed1c146a78c8c15bf101cdca3038eb6d5c99673ab39532168523d5e26d1aa09482cbc2dd3f814be26210b7674757385564b50c
@@ -4,6 +4,7 @@ before_install:
4
4
  - gem update --system
5
5
  - gem --version
6
6
  rvm:
7
+ - 2.3.0
7
8
  - 2.2
8
9
  - 2.1
9
10
  - 2.0
@@ -1,11 +1,11 @@
1
- ## 4.0.0 (Unreleased)
1
+ ## 4.0.0 (2016-07-26)
2
2
 
3
3
  Changes:
4
4
 
5
5
  - drop support for Ruby < 1.9.3 (@mkdynamic)
6
6
  - switch to versioned FB APIs, currently using v2.6 (#245, @printercu, @mkdynamic)
7
7
  - remove deprecated :nickname field from README example (#223, @abelorian)
8
- - add Ruby 2.2 to CI (#225, @tricknotes, @mkdynamic)
8
+ - add Ruby 2.2 + 2.3.0 to CI (#225, @tricknotes, @mkdynamic, @anoraak)
9
9
  - update example app (@mkynamic)
10
10
 
11
11
  ## 3.0.0 (2015-10-26)
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Facebook OAuth2 Strategy for OmniAuth.
6
6
 
7
- Supports the OAuth 2.0 server-side and client-side flows. Read the Facebook docs for more details: http://developers.facebook.com/docs/authentication
7
+ Supports OAuth 2.0 server-side and client-side flows. Read the Facebook docs for more details: http://developers.facebook.com/docs/authentication
8
8
 
9
9
  ## Installing
10
10
 
@@ -49,21 +49,21 @@ For example, to request `email`, `user_birthday` and `read_stream` permissions a
49
49
 
50
50
  ```ruby
51
51
  Rails.application.config.middleware.use OmniAuth::Builder do
52
- provider :facebook, ENV['FACEBOOK_KEY'], ENV['FACEBOOK_SECRET'],
53
- scope: 'email,user_birthday,read_stream', display: 'popup'
52
+ provider :facebook, ENV['APP_ID'], ENV['APP_SECRET'],
53
+ scope: 'email,user_birthday,read_stream', display: 'popup'
54
54
  end
55
55
  ```
56
56
 
57
57
  ### API Version
58
58
 
59
- OmniAuth Facebook uses versioned API endpoints by default (current v2.6). You can configure a different version via `client_options` hash passed to `provider`. For example:
59
+ OmniAuth Facebook uses versioned API endpoints by default (current v2.6). You can configure a different version via `client_options` hash passed to `provider`, specifically you should change the version in the `site` and `authorize_url` parameters. For example, to change to v3.0 (assuming that exists):
60
60
 
61
61
  ```ruby
62
62
  use OmniAuth::Builder do
63
63
  provider :facebook, ENV['APP_ID'], ENV['APP_SECRET'],
64
64
  client_options: {
65
- site: 'https://graph.facebook.com/v2.6',
66
- authorize_url: "https://www.facebook.com/v2.6/dialog/oauth"
65
+ site: 'https://graph.facebook.com/v3.0',
66
+ authorize_url: "https://www.facebook.com/v3.0/dialog/oauth"
67
67
  }
68
68
  end
69
69
  ```
@@ -109,7 +109,8 @@ Here's an example *Auth Hash* available in `request.env['omniauth.auth']`:
109
109
  timezone: -8,
110
110
  locale: 'en_US',
111
111
  verified: true,
112
- updated_time: '2011-11-11T06:21:03+0000'
112
+ updated_time: '2011-11-11T06:21:03+0000',
113
+ # ...
113
114
  }
114
115
  }
115
116
  }
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Facebook
3
- VERSION = "4.0.0.rc1"
3
+ VERSION = "4.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-facebook
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.rc1
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Dodwell
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-27 00:00:00.000000000 Z
12
+ date: 2016-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-oauth2
@@ -112,9 +112,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: 1.3.1
117
+ version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
120
  rubygems_version: 2.4.5.1