omniauth-instagram 1.1.0 → 1.2.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: 4901cc04b34ba21547740f5c24db2fada64a1136
4
- data.tar.gz: 196bd3e48f99f6bb8fc4bfcfe683602788e5ed76
3
+ metadata.gz: a99b13f17c403b3efc66a37cbb15c188cfbe2a75
4
+ data.tar.gz: 9da3438ad9d03e4ea18e71aebb115870635badb7
5
5
  SHA512:
6
- metadata.gz: 0a2eb95e52c28b554587b0de91903fe7b216be9490d7a0da6afe26837fde709e596e8d45328b25d9862089624e23d624b5fdb10b030a70636264382734d4a6f1
7
- data.tar.gz: fbbde0931be93b7c650d549e31e67240da5443d7649eea07900cf4792f3e1b98ef13d2127b32db70acf5554fb2bf88dec2ca76f1b334851b02123125d2a4bebc
6
+ metadata.gz: '048f95d2aed4eaaa6c18693d295dea63ddb67b746cadfe5e3e1ecef6909308808950bc1ad27220908fdc275f11d03e4327bcb9264bd891a292edcf1cf5aee6f6'
7
+ data.tar.gz: 0a38151cd144576aa13f3a3647eff303228ca90e495722ad42f2844ed16d409310fd829d0f29568afc5b201c700498866dfed8f75dcc8ed5d82e1cb4d30687e2
data/README.md CHANGED
@@ -7,14 +7,16 @@ on the [Instagram Developer website](http://instagram.com/developer/).
7
7
  ## Basic Usage
8
8
 
9
9
  use OmniAuth::Builder do
10
- provider :instagram, ENV['INSTAGRAM_ID'], ENV['INSTAGRAM_SECRET']
10
+ provider :instagram, ENV['INSTAGRAM_ID'], ENV['INSTAGRAM_SECRET'], scope: 'basic+media+public_content+follower_list+comments+relationships+likes'
11
11
  end
12
12
 
13
- P.S: Instagram has started enforcing signed requests for its API. If you have enabled `Enforce signed requests` in your app then, you can pass `enforce_signed_requests: true` in the above configuration. More info: https://instagram.com/developer/secure-api-requests/
13
+ ## Notes:
14
+ - For more information on scopes: https://www.instagram.com/developer/authorization/
15
+ - Instagram has started enforcing signed requests for its API. If you have enabled `Enforce signed requests` in your app then, you can pass `enforce_signed_requests: true` in the above configuration. More info: https://instagram.com/developer/secure-api-requests/
14
16
 
15
17
  ## License
16
18
 
17
- Copyright (c) 2011 Mihai Anca and Intridea, Inc.
19
+ Copyright (c) 2011-2017 Mihai Anca and Intridea, Inc.
18
20
 
19
21
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
20
22
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Instagram
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.2.0'.freeze
4
4
  end
5
5
  end
@@ -25,7 +25,6 @@ module OmniAuth
25
25
  {
26
26
  'nickname' => raw_info['username'],
27
27
  'name' => raw_info['full_name'],
28
- 'email' => raw_info['email'],
29
28
  'image' => raw_info['profile_picture'],
30
29
  'bio' => raw_info['bio'],
31
30
  'website' => raw_info['website']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-instagram
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mihai Anca
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth