instagram_basic_display 0.2.2 → 0.2.3

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
  SHA256:
3
- metadata.gz: 917e8dc235fd078d724ccbd775d6306e5b61411443f3fe64a083e2dc988f89db
4
- data.tar.gz: 9d842051035ee2852e273d195109570dd953e053116caa99a242d337705fcbf8
3
+ metadata.gz: f98319c54eac9e05bb246a7d067848427a0936b83a9d88a94874030fecab20a7
4
+ data.tar.gz: da9c623816fbf34b2e0b6f636e596e96665f42c06a388886bef5bf7c9ebc5718
5
5
  SHA512:
6
- metadata.gz: 83c536d281626fe977a917869f805aee783f982b9c458c752da2b23f6b80d6af32d4e6c4add9d5ebc592e18f74861616fcb403a7a0ca990ba6c6b477ea636fc9
7
- data.tar.gz: 9099d5adad7117b3368fa7724f7dba4ec8379fb214b6de4585a4a72ec49e1975fae71c2ac5cebdb47635047da08da8cbb7a868c203cd37a340f492ff12f46ebd
6
+ metadata.gz: f18e2916e83e96149aae3bc9d11b3a8c3bfc162467ba6387655314e27255bfc8390561a36fe961ead43ef35a5f5c288f220364499d4b4bfbc02776cb104aabc7
7
+ data.tar.gz: 8c3afd7737fd09170c3f52bbfdb91c1b807abaa797eae71185af3d278ff483a5af0d58fd90dc5737b4e9375deef187c57b6651aa820d4332c910bada4cf928e7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- instagram_basic_display (0.2.2)
4
+ instagram_basic_display (0.2.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -31,7 +31,7 @@ GEM
31
31
  public_suffix (6.0.1)
32
32
  racc (1.8.1)
33
33
  rainbow (3.1.1)
34
- rake (13.2.1)
34
+ rake (13.0.6)
35
35
  regexp_parser (2.9.2)
36
36
  rexml (3.3.9)
37
37
  rspec (3.13.0)
@@ -77,7 +77,7 @@ DEPENDENCIES
77
77
  dotenv
78
78
  instagram_basic_display!
79
79
  pry
80
- rake (~> 13.2)
80
+ rake (~> 13.0.6)
81
81
  rspec (~> 3.13.0)
82
82
  rubocop (~> 1.68)
83
83
  vcr
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ['lib']
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 2.5.23'
25
- spec.add_development_dependency 'rake', '~> 13.2'
25
+ spec.add_development_dependency 'rake', '~> 13.0.6'
26
26
  spec.add_development_dependency 'rspec', '~> 3.13.0'
27
27
  end
@@ -46,7 +46,7 @@ module InstagramBasicDisplay
46
46
  # @return [InstagramBasicDisplay::Response] a response object containing either the token or an error
47
47
  def short_lived_token(access_code:)
48
48
  response = Net::HTTP.post_form(
49
- URI(auth_url),
49
+ URI('https://api.instagram.com/oauth/access_token'),
50
50
  client_id: configuration.client_id,
51
51
  client_secret: configuration.client_secret,
52
52
  grant_type: 'authorization_code',
@@ -97,13 +97,5 @@ module InstagramBasicDisplay
97
97
  private
98
98
 
99
99
  attr_reader :configuration
100
-
101
- def auth_url
102
- if configuration.version == 1
103
- 'https://api.instagram.com/oauth/access_token'
104
- else
105
- 'https://graph.instagram.com/oauth/access_token'
106
- end
107
- end
108
100
  end
109
101
  end
@@ -15,5 +15,5 @@
15
15
  # limitations under the License.
16
16
 
17
17
  module InstagramBasicDisplay
18
- VERSION = '0.2.2'
18
+ VERSION = '0.2.3'
19
19
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instagram_basic_display
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kit, LLC
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '13.2'
33
+ version: 13.0.6
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '13.2'
40
+ version: 13.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement