instagram-community-maintained 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +7 -0
  5. data/.yardopts +9 -0
  6. data/Gemfile +3 -0
  7. data/LICENSE.md +30 -0
  8. data/PATENTS.md +23 -0
  9. data/README.md +261 -0
  10. data/Rakefile +27 -0
  11. data/instagram.gemspec +53 -0
  12. data/lib/faraday/loud_logger.rb +75 -0
  13. data/lib/faraday/oauth2.rb +42 -0
  14. data/lib/faraday/raise_http_exception.rb +59 -0
  15. data/lib/instagram.rb +27 -0
  16. data/lib/instagram/api.rb +31 -0
  17. data/lib/instagram/client.rb +21 -0
  18. data/lib/instagram/client/comments.rb +62 -0
  19. data/lib/instagram/client/embedding.rb +28 -0
  20. data/lib/instagram/client/geographies.rb +29 -0
  21. data/lib/instagram/client/likes.rb +58 -0
  22. data/lib/instagram/client/locations.rb +75 -0
  23. data/lib/instagram/client/media.rb +82 -0
  24. data/lib/instagram/client/subscriptions.rb +211 -0
  25. data/lib/instagram/client/tags.rb +59 -0
  26. data/lib/instagram/client/users.rb +310 -0
  27. data/lib/instagram/client/utils.rb +28 -0
  28. data/lib/instagram/configuration.rb +122 -0
  29. data/lib/instagram/connection.rb +31 -0
  30. data/lib/instagram/error.rb +31 -0
  31. data/lib/instagram/oauth.rb +36 -0
  32. data/lib/instagram/request.rb +82 -0
  33. data/lib/instagram/response.rb +21 -0
  34. data/lib/instagram/version.rb +3 -0
  35. data/spec/faraday/response_spec.rb +86 -0
  36. data/spec/fixtures/access_token.json +9 -0
  37. data/spec/fixtures/approve_user.json +8 -0
  38. data/spec/fixtures/block_user.json +8 -0
  39. data/spec/fixtures/deny_user.json +8 -0
  40. data/spec/fixtures/follow_user.json +8 -0
  41. data/spec/fixtures/followed_by.json +1 -0
  42. data/spec/fixtures/follows.json +1 -0
  43. data/spec/fixtures/geography_recent_media.json +1 -0
  44. data/spec/fixtures/liked_media.json +1 -0
  45. data/spec/fixtures/location.json +1 -0
  46. data/spec/fixtures/location_recent_media.json +1 -0
  47. data/spec/fixtures/location_search.json +1 -0
  48. data/spec/fixtures/location_search_fsq.json +1 -0
  49. data/spec/fixtures/media.json +1 -0
  50. data/spec/fixtures/media_comment.json +1 -0
  51. data/spec/fixtures/media_comment_deleted.json +1 -0
  52. data/spec/fixtures/media_comments.json +1 -0
  53. data/spec/fixtures/media_liked.json +1 -0
  54. data/spec/fixtures/media_likes.json +1 -0
  55. data/spec/fixtures/media_popular.json +1 -0
  56. data/spec/fixtures/media_search.json +1 -0
  57. data/spec/fixtures/media_shortcode.json +1 -0
  58. data/spec/fixtures/media_unliked.json +1 -0
  59. data/spec/fixtures/mikeyk.json +1 -0
  60. data/spec/fixtures/oembed.json +14 -0
  61. data/spec/fixtures/recent_media.json +1 -0
  62. data/spec/fixtures/relationship.json +9 -0
  63. data/spec/fixtures/requested_by.json +12 -0
  64. data/spec/fixtures/shayne.json +1 -0
  65. data/spec/fixtures/subscription.json +12 -0
  66. data/spec/fixtures/subscription_deleted.json +1 -0
  67. data/spec/fixtures/subscription_payload.json +14 -0
  68. data/spec/fixtures/subscriptions.json +22 -0
  69. data/spec/fixtures/tag.json +1 -0
  70. data/spec/fixtures/tag_recent_media.json +1 -0
  71. data/spec/fixtures/tag_search.json +1 -0
  72. data/spec/fixtures/unblock_user.json +8 -0
  73. data/spec/fixtures/unfollow_user.json +8 -0
  74. data/spec/fixtures/user_media_feed.json +1 -0
  75. data/spec/fixtures/user_search.json +1 -0
  76. data/spec/instagram/api_spec.rb +285 -0
  77. data/spec/instagram/client/comments_spec.rb +71 -0
  78. data/spec/instagram/client/embedding_spec.rb +36 -0
  79. data/spec/instagram/client/geography_spec.rb +37 -0
  80. data/spec/instagram/client/likes_spec.rb +66 -0
  81. data/spec/instagram/client/locations_spec.rb +127 -0
  82. data/spec/instagram/client/media_spec.rb +99 -0
  83. data/spec/instagram/client/subscriptions_spec.rb +174 -0
  84. data/spec/instagram/client/tags_spec.rb +79 -0
  85. data/spec/instagram/client/users_spec.rb +424 -0
  86. data/spec/instagram/client/utils_spec.rb +32 -0
  87. data/spec/instagram/client_spec.rb +23 -0
  88. data/spec/instagram/request_spec.rb +56 -0
  89. data/spec/instagram_spec.rb +109 -0
  90. data/spec/spec_helper.rb +71 -0
  91. metadata +328 -0
@@ -0,0 +1,32 @@
1
+ require File.expand_path('../../../spec_helper', __FILE__)
2
+
3
+ describe Instagram::Client do
4
+ Instagram::Configuration::VALID_FORMATS.each do |format|
5
+ context ".new(:format => '#{format}')" do
6
+
7
+ before do
8
+ @client = Instagram::Client.new(:format => format, :client_id => 'CID', :client_secret => 'CS', :client_ips => '1.2.3.4', :access_token => 'AT')
9
+ end
10
+
11
+ describe '.utils_raw_response' do
12
+ before do
13
+ stub_get("users/self/feed.#{format}").
14
+ with(:query => {:access_token => @client.access_token}).
15
+ to_return(:body => fixture("user_media_feed.#{format}"), :headers => {:content_type => "application/#{format}; charset=utf-8"})
16
+ end
17
+
18
+ before(:each) do
19
+ @response = @client.utils_raw_response
20
+ end
21
+
22
+ it 'return raw data' do
23
+ expect(@response).to be_instance_of(Faraday::Response)
24
+ end
25
+
26
+ it 'response content headers' do
27
+ expect(@response).to be_respond_to(:headers)
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,23 @@
1
+ require File.expand_path('../../spec_helper', __FILE__)
2
+
3
+ describe Instagram::Client do
4
+ it "should connect using the endpoint configuration" do
5
+ client = Instagram::Client.new
6
+ endpoint = URI.parse(client.endpoint)
7
+ connection = client.send(:connection).build_url(nil).to_s
8
+ (connection).should == endpoint.to_s
9
+ end
10
+
11
+ it "should not cache the user account across clients" do
12
+ stub_get("users/self.json").
13
+ with(:query => {:access_token => "at1"}).
14
+ to_return(:body => fixture("shayne.json"), :headers => {:content_type => "application/json; charset=utf-8"})
15
+ client1 = Instagram::Client.new(:access_token => "at1")
16
+ client1.send(:get_username).should == "shayne"
17
+ stub_get("users/self.json").
18
+ with(:query => {:access_token => "at2"}).
19
+ to_return(:body => fixture("mikeyk.json"), :headers => {:content_type => "application/json; charset=utf-8"})
20
+ client2 = Instagram::Client.new(:access_token => "at2")
21
+ client2.send(:get_username).should == "mikeyk"
22
+ end
23
+ end
@@ -0,0 +1,56 @@
1
+ require File.expand_path('../../spec_helper', __FILE__)
2
+
3
+ describe Instagram::Request do
4
+ describe "#post" do
5
+ before do
6
+ @ips = "1.2.3.4"
7
+ @secret = "CS"
8
+ digest = OpenSSL::Digest.new('sha256')
9
+ signature = OpenSSL::HMAC.hexdigest(digest, @secret, @ips)
10
+ @signed_header = [@ips, signature].join('|')
11
+ end
12
+
13
+ context "with signature=true" do
14
+ it "should set X-Insta-Forwarded-For header" do
15
+ client = Instagram::Client.new(:client_id => "CID", :client_secret => @secret, :client_ips => @ips, :access_token => "AT")
16
+ url = client.send(:connection).build_url("/media/123/likes.json").to_s
17
+ stub_request(:post, url).
18
+ with(:body => {"access_token"=>"AT"}).
19
+ to_return(:status => 200, :body => "", :headers => {})
20
+
21
+ client.post("/media/123/likes", {}, signature=true)
22
+ a_request(:post, url).
23
+ with(:headers => {'X-Insta-Forwarded-For'=> @signed_header}).
24
+ should have_been_made
25
+ end
26
+
27
+ it "should not set X-Insta-Fowarded-For header if client_ips is not provided" do
28
+ client = Instagram::Client.new(:client_id => "CID", :client_secret => @secret, :access_token => "AT")
29
+ url = client.send(:connection).build_url("/media/123/likes.json").to_s
30
+ stub_request(:post, url).
31
+ with(:body => {"access_token"=>"AT"}).
32
+ to_return(:status => 200, :body => "", :headers => {})
33
+
34
+ client.post("/media/123/likes", {}, signature=true)
35
+ a_request(:post, url).
36
+ with(:headers => {'X-Insta-Forwarded-For'=> @signed_header}).
37
+ should_not have_been_made
38
+ end
39
+ end
40
+
41
+ context "with signature=false" do
42
+ it "should set X-Insta-Forwarded-For header" do
43
+ client = Instagram::Client.new(:client_id => "CID", :client_secret => @secret, :client_ips => @ips, :access_token => "AT")
44
+ url = client.send(:connection).build_url("/media/123/likes.json").to_s
45
+ stub_request(:post, url).
46
+ with(:body => {"access_token"=>"AT"}).
47
+ to_return(:status => 200, :body => "", :headers => {})
48
+
49
+ client.post("/media/123/likes", {}, signature=false)
50
+ a_request(:post, url).
51
+ with(:headers => {'X-Insta-Forwarded-For'=> @signed_header}).
52
+ should_not have_been_made
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,109 @@
1
+ require File.expand_path('../spec_helper', __FILE__)
2
+
3
+ describe Instagram do
4
+ after do
5
+ Instagram.reset
6
+ end
7
+
8
+ context "when delegating to a client" do
9
+
10
+ before do
11
+ stub_get("users/self/feed.json").
12
+ to_return(:body => fixture("user_media_feed.json"), :headers => {:content_type => "application/json; charset=utf-8"})
13
+ end
14
+
15
+ it "should get the correct resource" do
16
+ Instagram.user_media_feed()
17
+ a_get("users/self/feed.json").should have_been_made
18
+ end
19
+
20
+ it "should return the same results as a client" do
21
+ Instagram.user_media_feed().should == Instagram::Client.new.user_media_feed()
22
+ end
23
+
24
+ end
25
+
26
+ describe ".client" do
27
+ it "should be a Instagram::Client" do
28
+ Instagram.client.should be_a Instagram::Client
29
+ end
30
+ end
31
+
32
+ describe ".adapter" do
33
+ it "should return the default adapter" do
34
+ Instagram.adapter.should == Instagram::Configuration::DEFAULT_ADAPTER
35
+ end
36
+ end
37
+
38
+ describe ".adapter=" do
39
+ it "should set the adapter" do
40
+ Instagram.adapter = :typhoeus
41
+ Instagram.adapter.should == :typhoeus
42
+ end
43
+ end
44
+
45
+ describe ".endpoint" do
46
+ it "should return the default endpoint" do
47
+ Instagram.endpoint.should == Instagram::Configuration::DEFAULT_ENDPOINT
48
+ end
49
+ end
50
+
51
+ describe ".endpoint=" do
52
+ it "should set the endpoint" do
53
+ Instagram.endpoint = 'http://tumblr.com'
54
+ Instagram.endpoint.should == 'http://tumblr.com'
55
+ end
56
+ end
57
+
58
+ describe ".format" do
59
+ it "should return the default format" do
60
+ Instagram.format.should == Instagram::Configuration::DEFAULT_FORMAT
61
+ end
62
+ end
63
+
64
+ describe ".format=" do
65
+ it "should set the format" do
66
+ Instagram.format = 'xml'
67
+ Instagram.format.should == 'xml'
68
+ end
69
+ end
70
+
71
+ describe ".user_agent" do
72
+ it "should return the default user agent" do
73
+ Instagram.user_agent.should == Instagram::Configuration::DEFAULT_USER_AGENT
74
+ end
75
+ end
76
+
77
+ describe ".user_agent=" do
78
+ it "should set the user_agent" do
79
+ Instagram.user_agent = 'Custom User Agent'
80
+ Instagram.user_agent.should == 'Custom User Agent'
81
+ end
82
+ end
83
+
84
+ describe ".loud_logger" do
85
+ it "should return the loud_logger status" do
86
+ Instagram.loud_logger.should == nil
87
+ end
88
+ end
89
+
90
+ describe ".loud_logger=" do
91
+ it "should set the loud_logger" do
92
+ Instagram.loud_logger = true
93
+ Instagram.loud_logger.should == true
94
+ end
95
+ end
96
+
97
+ describe ".configure" do
98
+
99
+ Instagram::Configuration::VALID_OPTIONS_KEYS.each do |key|
100
+
101
+ it "should set the #{key}" do
102
+ Instagram.configure do |config|
103
+ config.send("#{key}=", key)
104
+ Instagram.send(key).should == key
105
+ end
106
+ end
107
+ end
108
+ end
109
+ end
@@ -0,0 +1,71 @@
1
+ begin
2
+ require 'simplecov'
3
+ rescue LoadError
4
+ # ignore
5
+ else
6
+ SimpleCov.start do
7
+ add_group 'Instagram', 'lib/instagram'
8
+ add_group 'Faraday Middleware', 'lib/faraday'
9
+ add_group 'Specs', 'spec'
10
+ end
11
+ end
12
+
13
+ require File.expand_path('../../lib/instagram', __FILE__)
14
+
15
+ require 'rspec'
16
+ require 'webmock/rspec'
17
+ RSpec.configure do |config|
18
+ config.include WebMock::API
19
+ end
20
+
21
+ def capture_output(&block)
22
+ begin
23
+ old_stdout = $stdout
24
+ $stdout = StringIO.new
25
+ block.call
26
+ result = $stdout.string
27
+ ensure
28
+ $stdout = old_stdout
29
+ end
30
+ result
31
+ end
32
+
33
+ def a_delete(path)
34
+ a_request(:delete, Instagram.endpoint + path)
35
+ end
36
+
37
+ def a_get(path)
38
+ a_request(:get, Instagram.endpoint + path)
39
+ end
40
+
41
+ def a_post(path)
42
+ a_request(:post, Instagram.endpoint + path)
43
+ end
44
+
45
+ def a_put(path)
46
+ a_request(:put, Instagram.endpoint + path)
47
+ end
48
+
49
+ def stub_delete(path)
50
+ stub_request(:delete, Instagram.endpoint + path)
51
+ end
52
+
53
+ def stub_get(path)
54
+ stub_request(:get, Instagram.endpoint + path)
55
+ end
56
+
57
+ def stub_post(path)
58
+ stub_request(:post, Instagram.endpoint + path)
59
+ end
60
+
61
+ def stub_put(path)
62
+ stub_request(:put, Instagram.endpoint + path)
63
+ end
64
+
65
+ def fixture_path
66
+ File.expand_path("../fixtures", __FILE__)
67
+ end
68
+
69
+ def fixture(file)
70
+ File.new(fixture_path + '/' + file)
71
+ end
metadata ADDED
@@ -0,0 +1,328 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: instagram-community-maintained
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.6
5
+ platform: ruby
6
+ authors:
7
+ - Adapted from original author Shayne Sweeney
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-02-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.9.2.2
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.2.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.4'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: webmock
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bluecloth
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 2.2.0
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 2.2.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: faraday
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0.7'
76
+ - - "<"
77
+ - !ruby/object:Gem::Version
78
+ version: '0.11'
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0.7'
86
+ - - "<"
87
+ - !ruby/object:Gem::Version
88
+ version: '0.11'
89
+ - !ruby/object:Gem::Dependency
90
+ name: faraday_middleware
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0.8'
96
+ - - "<"
97
+ - !ruby/object:Gem::Version
98
+ version: '0.15'
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0.8'
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: '0.15'
109
+ - !ruby/object:Gem::Dependency
110
+ name: multi_json
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: 1.0.3
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '1.0'
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: 1.0.3
126
+ - - "~>"
127
+ - !ruby/object:Gem::Version
128
+ version: '1.0'
129
+ - !ruby/object:Gem::Dependency
130
+ name: hashie
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: 0.4.0
136
+ type: :runtime
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 0.4.0
143
+ description: A Ruby wrapper for the Instagram REST and Search APIs - Community Maintained
144
+ email:
145
+ - contact@geno.me
146
+ executables: []
147
+ extensions: []
148
+ extra_rdoc_files: []
149
+ files:
150
+ - ".gitignore"
151
+ - ".rspec"
152
+ - ".travis.yml"
153
+ - ".yardopts"
154
+ - Gemfile
155
+ - LICENSE.md
156
+ - PATENTS.md
157
+ - README.md
158
+ - Rakefile
159
+ - instagram.gemspec
160
+ - lib/faraday/loud_logger.rb
161
+ - lib/faraday/oauth2.rb
162
+ - lib/faraday/raise_http_exception.rb
163
+ - lib/instagram.rb
164
+ - lib/instagram/api.rb
165
+ - lib/instagram/client.rb
166
+ - lib/instagram/client/comments.rb
167
+ - lib/instagram/client/embedding.rb
168
+ - lib/instagram/client/geographies.rb
169
+ - lib/instagram/client/likes.rb
170
+ - lib/instagram/client/locations.rb
171
+ - lib/instagram/client/media.rb
172
+ - lib/instagram/client/subscriptions.rb
173
+ - lib/instagram/client/tags.rb
174
+ - lib/instagram/client/users.rb
175
+ - lib/instagram/client/utils.rb
176
+ - lib/instagram/configuration.rb
177
+ - lib/instagram/connection.rb
178
+ - lib/instagram/error.rb
179
+ - lib/instagram/oauth.rb
180
+ - lib/instagram/request.rb
181
+ - lib/instagram/response.rb
182
+ - lib/instagram/version.rb
183
+ - spec/faraday/response_spec.rb
184
+ - spec/fixtures/access_token.json
185
+ - spec/fixtures/approve_user.json
186
+ - spec/fixtures/block_user.json
187
+ - spec/fixtures/deny_user.json
188
+ - spec/fixtures/follow_user.json
189
+ - spec/fixtures/followed_by.json
190
+ - spec/fixtures/follows.json
191
+ - spec/fixtures/geography_recent_media.json
192
+ - spec/fixtures/liked_media.json
193
+ - spec/fixtures/location.json
194
+ - spec/fixtures/location_recent_media.json
195
+ - spec/fixtures/location_search.json
196
+ - spec/fixtures/location_search_fsq.json
197
+ - spec/fixtures/media.json
198
+ - spec/fixtures/media_comment.json
199
+ - spec/fixtures/media_comment_deleted.json
200
+ - spec/fixtures/media_comments.json
201
+ - spec/fixtures/media_liked.json
202
+ - spec/fixtures/media_likes.json
203
+ - spec/fixtures/media_popular.json
204
+ - spec/fixtures/media_search.json
205
+ - spec/fixtures/media_shortcode.json
206
+ - spec/fixtures/media_unliked.json
207
+ - spec/fixtures/mikeyk.json
208
+ - spec/fixtures/oembed.json
209
+ - spec/fixtures/recent_media.json
210
+ - spec/fixtures/relationship.json
211
+ - spec/fixtures/requested_by.json
212
+ - spec/fixtures/shayne.json
213
+ - spec/fixtures/subscription.json
214
+ - spec/fixtures/subscription_deleted.json
215
+ - spec/fixtures/subscription_payload.json
216
+ - spec/fixtures/subscriptions.json
217
+ - spec/fixtures/tag.json
218
+ - spec/fixtures/tag_recent_media.json
219
+ - spec/fixtures/tag_search.json
220
+ - spec/fixtures/unblock_user.json
221
+ - spec/fixtures/unfollow_user.json
222
+ - spec/fixtures/user_media_feed.json
223
+ - spec/fixtures/user_search.json
224
+ - spec/instagram/api_spec.rb
225
+ - spec/instagram/client/comments_spec.rb
226
+ - spec/instagram/client/embedding_spec.rb
227
+ - spec/instagram/client/geography_spec.rb
228
+ - spec/instagram/client/likes_spec.rb
229
+ - spec/instagram/client/locations_spec.rb
230
+ - spec/instagram/client/media_spec.rb
231
+ - spec/instagram/client/subscriptions_spec.rb
232
+ - spec/instagram/client/tags_spec.rb
233
+ - spec/instagram/client/users_spec.rb
234
+ - spec/instagram/client/utils_spec.rb
235
+ - spec/instagram/client_spec.rb
236
+ - spec/instagram/request_spec.rb
237
+ - spec/instagram_spec.rb
238
+ - spec/spec_helper.rb
239
+ homepage: https://github.com/GenomeUS/instagram-ruby-gem.git
240
+ licenses: []
241
+ metadata: {}
242
+ post_install_message: "********************************************************************************\n\n***
243
+ This is an 'Unofficial' version of the gem that is a direct clone of the 'official'
244
+ gem with \nmodifications to the dependency version numbers.\n\nInstagram REST and
245
+ Search APIs\n------------------------------\nOur developer site documents all the
246
+ Instagram REST and Search APIs.\n(http://instagram.com/developer)\n\nBlog\n----------------------------\nThe
247
+ Developer Blog features news and important announcements about the Instagram Platform.\nYou
248
+ will also find tutorials and best practices to help you build great platform integrations.\nMake
249
+ sure to subscribe to the RSS feed so you don't miss out on new posts:\n(http://developers.instagram.com).\n\nCommunity\n----------------------\nThe
250
+ Stack Overflow community is a great place to ask API related questions or if you
251
+ need help with your code.\nMake sure to tag your questions with the Instagram tag
252
+ to get fast answers from other fellow developers and members of the Instagram team.\n(http://stackoverflow.com/questions/tagged/instagram/)\n\n********************************************************************************\n"
253
+ rdoc_options: []
254
+ require_paths:
255
+ - lib
256
+ required_ruby_version: !ruby/object:Gem::Requirement
257
+ requirements:
258
+ - - ">="
259
+ - !ruby/object:Gem::Version
260
+ version: '0'
261
+ required_rubygems_version: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - ">="
264
+ - !ruby/object:Gem::Version
265
+ version: 1.3.6
266
+ requirements: []
267
+ rubyforge_project: instagram-community-maintained
268
+ rubygems_version: 2.6.10
269
+ signing_key:
270
+ specification_version: 4
271
+ summary: Ruby wrapper for the Instagram API - Community Maintained
272
+ test_files:
273
+ - spec/faraday/response_spec.rb
274
+ - spec/fixtures/access_token.json
275
+ - spec/fixtures/approve_user.json
276
+ - spec/fixtures/block_user.json
277
+ - spec/fixtures/deny_user.json
278
+ - spec/fixtures/follow_user.json
279
+ - spec/fixtures/followed_by.json
280
+ - spec/fixtures/follows.json
281
+ - spec/fixtures/geography_recent_media.json
282
+ - spec/fixtures/liked_media.json
283
+ - spec/fixtures/location.json
284
+ - spec/fixtures/location_recent_media.json
285
+ - spec/fixtures/location_search.json
286
+ - spec/fixtures/location_search_fsq.json
287
+ - spec/fixtures/media.json
288
+ - spec/fixtures/media_comment.json
289
+ - spec/fixtures/media_comment_deleted.json
290
+ - spec/fixtures/media_comments.json
291
+ - spec/fixtures/media_liked.json
292
+ - spec/fixtures/media_likes.json
293
+ - spec/fixtures/media_popular.json
294
+ - spec/fixtures/media_search.json
295
+ - spec/fixtures/media_shortcode.json
296
+ - spec/fixtures/media_unliked.json
297
+ - spec/fixtures/mikeyk.json
298
+ - spec/fixtures/oembed.json
299
+ - spec/fixtures/recent_media.json
300
+ - spec/fixtures/relationship.json
301
+ - spec/fixtures/requested_by.json
302
+ - spec/fixtures/shayne.json
303
+ - spec/fixtures/subscription.json
304
+ - spec/fixtures/subscription_deleted.json
305
+ - spec/fixtures/subscription_payload.json
306
+ - spec/fixtures/subscriptions.json
307
+ - spec/fixtures/tag.json
308
+ - spec/fixtures/tag_recent_media.json
309
+ - spec/fixtures/tag_search.json
310
+ - spec/fixtures/unblock_user.json
311
+ - spec/fixtures/unfollow_user.json
312
+ - spec/fixtures/user_media_feed.json
313
+ - spec/fixtures/user_search.json
314
+ - spec/instagram/api_spec.rb
315
+ - spec/instagram/client/comments_spec.rb
316
+ - spec/instagram/client/embedding_spec.rb
317
+ - spec/instagram/client/geography_spec.rb
318
+ - spec/instagram/client/likes_spec.rb
319
+ - spec/instagram/client/locations_spec.rb
320
+ - spec/instagram/client/media_spec.rb
321
+ - spec/instagram/client/subscriptions_spec.rb
322
+ - spec/instagram/client/tags_spec.rb
323
+ - spec/instagram/client/users_spec.rb
324
+ - spec/instagram/client/utils_spec.rb
325
+ - spec/instagram/client_spec.rb
326
+ - spec/instagram/request_spec.rb
327
+ - spec/instagram_spec.rb
328
+ - spec/spec_helper.rb