extendi-instagram 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e4ae309d7e9da03d00f404799e14ce572108730
4
- data.tar.gz: fa515bc512ce8688871d6a0b23567ef2f45a8465
3
+ metadata.gz: bb4b31a72858e40ffa7996ecbacdc859f4541ffc
4
+ data.tar.gz: d49a7ce9d419dc3fd622ec1e11b6a7a4772783c0
5
5
  SHA512:
6
- metadata.gz: 4ce8513dfd65acf7bd614c7e79875d6163aeb5fa6609f850161d09093190aadd765a95b7563a75bbd4be76ca65f4648d485183e9f1d91a8e0f9689ef2d0aab47
7
- data.tar.gz: 99f92d7180fbc840a677d1c4fc91662c01e1c6ff28c95f48e3675777fc545d7b6a767ca6d71e9b4d6d4c53ce50aba2be60249c8939588f5e57d73c329371013c
6
+ metadata.gz: 05693cdd15b97f76cdc12df1a3977ba26167de91681ead785fc5b4b5fa0d155fdeea27dabf0a40747136ea818b343415a49cf0355be55354fc5b6730d9d5d384
7
+ data.tar.gz: a3f451a1360d50871647b7c324b5d959d10c8670eacd7ab1d2d9c3d1208b0c58fbb0fadbca80bab844aee84bfa235caadc3d0371e86d6e2617a3d9b19e81440b
@@ -8,7 +8,7 @@ module Instagram
8
8
 
9
9
  def connection(raw=false)
10
10
  options = {
11
- :headers => { 'Accept-Encoding' => 'none', 'Accept' => "application/#{format}; charset=utf-8", 'User-Agent' => user_agent},
11
+ :headers => { 'Accept-Encoding' => 'identity', 'Accept' => "application/#{format}; charset=utf-8", 'User-Agent' => user_agent},
12
12
  :proxy => proxy,
13
13
  :url => endpoint,
14
14
  }.merge(connection_options)
@@ -1,3 +1,3 @@
1
1
  module Instagram
2
- VERSION = '2.0.4'.freeze unless defined?(::Instagram::VERSION)
2
+ VERSION = '2.0.5'.freeze unless defined?(::Instagram::VERSION)
3
3
  end
@@ -234,7 +234,7 @@ describe Instagram::API do
234
234
  end
235
235
  expect(output).to include 'INFO -- : Started GET request to: https://api.instagram.com/v1/users/self/feed.json'
236
236
  expect(output).to include 'DEBUG -- : Response Headers:'
237
- expect(output).to include "Accept-Encoding : none"
237
+ expect(output).to include "Accept-Encoding : identity"
238
238
  expect(output).to include "Accept : application/json; charset=utf-8"
239
239
  expect(output).to include "User-Agent : #{Instagram::Configuration::DEFAULT_USER_AGENT}"
240
240
  expect(output).to include 'http://distillery.s3.amazonaws.com/media/2011/01/31/0f8e832c3dc6420bb6ddf0bd09f032f6_6.jpg'
@@ -255,7 +255,7 @@ describe Instagram::API do
255
255
 
256
256
  expect(output).to include 'INFO -- : Started GET request to: https://api.instagram.com/v1/users/self/feed.json'
257
257
  expect(output).to include 'DEBUG -- : Response Headers:'
258
- expect(output).to include "Accept-Encoding : none"
258
+ expect(output).to include "Accept-Encoding : identity"
259
259
  expect(output).to include "Accept : application/json; charset=utf-8"
260
260
  expect(output).to include "User-Agent : #{Instagram::Configuration::DEFAULT_USER_AGENT}"
261
261
  expect(output).to include '{"meta":{"error_message": "Bad words are bad."}}'
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.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shayne Sweeney