extendi-instagram 2.0.5 → 2.0.6

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: bb4b31a72858e40ffa7996ecbacdc859f4541ffc
4
- data.tar.gz: d49a7ce9d419dc3fd622ec1e11b6a7a4772783c0
3
+ metadata.gz: 570289dbb0f77ff4b31a0d8f3ad794e43a836122
4
+ data.tar.gz: 44e4c9430138d55666589b42c921bf6f86607f22
5
5
  SHA512:
6
- metadata.gz: 05693cdd15b97f76cdc12df1a3977ba26167de91681ead785fc5b4b5fa0d155fdeea27dabf0a40747136ea818b343415a49cf0355be55354fc5b6730d9d5d384
7
- data.tar.gz: a3f451a1360d50871647b7c324b5d959d10c8670eacd7ab1d2d9c3d1208b0c58fbb0fadbca80bab844aee84bfa235caadc3d0371e86d6e2617a3d9b19e81440b
6
+ metadata.gz: 8b0c4d6f0af46d482c6bfbebb88201e97241c2d486c4ef361c19393b598aa60cefe6774ea11859d60db4ebad32324d8ed6e858b532d2e2cadd2e274ff05f5471
7
+ data.tar.gz: bc86b72e268c8d41d252713872f27f2bac4c7216c7ffca61d179d34b5aeb6ab89eb52c07490d900b139b063b83212ae4296fcd6cebec381269ae94c40a9ab240
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.add_runtime_dependency('faraday_middleware', '~> 0')
11
11
  s.add_runtime_dependency('multi_json', '~> 1')
12
12
  s.add_runtime_dependency('hashie', '~> 3')
13
- s.authors = ["Shayne Sweeney", "extendi"]
13
+ s.authors = ['Shayne Sweeney', 'extendi']
14
14
  s.licenses = ['MIT']
15
15
  s.description = %q{A Ruby wrapper for the Instagram REST and Search APIs}
16
16
  s.post_install_message =<<eos
@@ -40,8 +40,8 @@ module Instagram
40
40
 
41
41
  def tag_recent_media_page(id, *args)
42
42
  options = args.last.is_a?(Hash) ? args.pop : {}
43
- response = get("tags/#{id}/media/recent", options, false, true, false)
44
- JSON.parse(response.body)
43
+ response = get("tags/#{id}/media/recent", options, false, false, false)
44
+ response
45
45
  end
46
46
 
47
47
  # Returns a list of tags starting with the given search query
@@ -1,3 +1,3 @@
1
1
  module Instagram
2
- VERSION = '2.0.5'.freeze unless defined?(::Instagram::VERSION)
2
+ VERSION = '2.0.6'.freeze unless defined?(::Instagram::VERSION)
3
3
  end
@@ -67,11 +67,10 @@ describe Instagram::Client do
67
67
  end
68
68
 
69
69
  it "should return the raw of media" do
70
- raw = @client.tag_recent_media_page('cat')
71
- media = raw['data']
72
- expect(raw['pagination']).to_not be nil
70
+ media = @client.tag_recent_media_page('cat')
73
71
  expect(media).to be_a Array
74
- expect(media.first['user']['username']).to eq("amandavan")
72
+ expect(media.first['user']['username']).to eq('amandavan')
73
+ expect(media.pagination).to_not be nil
75
74
  end
76
75
 
77
76
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extendi-instagram
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shayne Sweeney