graham-instagram 0.1.1 → 0.1.2

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: 2a0b19cee71e2bfb8624d3f3237b1d383e09e547
4
- data.tar.gz: 080b3e10e5f3e74385e821e38740bcbc4657b77b
3
+ metadata.gz: 98d47664646b467a1c3d2b2f2a23022864aa75ff
4
+ data.tar.gz: fec7ae00e22d4d550506fde7471874a342872ccc
5
5
  SHA512:
6
- metadata.gz: fd7623f6ebbeb20af9a22f0e5d7cc83d7bc96ec3cade6d50f9f3fc98833551190a20d682438c5d99e979757ff9b1735230209ed506ff5c03c221672d9a544b44
7
- data.tar.gz: 1fb58b70de26f9279058c8bd3655d60edebb55b564c2ebd97d1624efc38c94b34f221ad7f855f308474a1b64abca045d43bec2d2f6e815cf37b8b1adf155cbcf
6
+ metadata.gz: f1cbfaa78a3ce51dabf0539d39cc46e29bdce1b0f6ecd3b58fc1f9685bc369dccb3a7258062cf70dee6e5d3b4924f1ca7dff184b121250fb4062893b47c7bbd7
7
+ data.tar.gz: 91df51484a8317621b6bf9e071871d18568750360c8b80407f8d0223235a8bfd2b07f434664c0fef72822c0dfe4cd4e0e3e54d4d80827975ca50fc573b624cfb
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graham-instagram (0.1.1)
4
+ graham-instagram (0.1.2)
5
5
  faraday
6
6
  faraday_middleware
7
7
 
@@ -17,6 +17,10 @@ module Graham
17
17
  def signin_uri
18
18
  @config.signin_uri
19
19
  end
20
+
21
+ def authorization_uri
22
+ @config.authorization_uri
23
+ end
20
24
  end
21
25
 
22
26
  extend API
@@ -11,6 +11,10 @@ module Graham
11
11
 
12
12
  def signin_uri
13
13
  "https://api.instagram.com/oauth/authorize/?client_id=" + @client_id + "&redirect_uri=" + @redirect_uri + "&response_type=code" + "&scope=" + "basic+public_content+comments+relationships+likes+follower_list"
14
- end
14
+ end
15
+
16
+ def authorization_uri
17
+ "https://api.instagram.com/oauth/authorize/?client_id=" + @client_id + "&redirect_uri=" + @redirect_uri + "&response_type=token"
18
+ end
15
19
  end
16
20
  end
@@ -1,3 +1,3 @@
1
1
  module Graham
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graham-instagram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke Ohashi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-03 00:00:00.000000000 Z
11
+ date: 2016-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler