From 46641ad562b0ffd5ef1205e551978a61e826bb81 Mon Sep 17 00:00:00 2001 From: Petri Partio Date: Fri, 12 Sep 2014 18:49:16 +0300 Subject: [PATCH 1/2] Fix double spacing --- instagram.gemspec | 2 +- lib/instagram/request.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/instagram.gemspec b/instagram.gemspec index 5d81cb48..3edab292 100644 --- a/instagram.gemspec +++ b/instagram.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.add_runtime_dependency('faraday', ['>= 0.7', '< 0.10']) s.add_runtime_dependency('faraday_middleware', ['>= 0.8', '< 0.10']) s.add_runtime_dependency('multi_json', '>= 1.0.3', '~> 1.0') - s.add_runtime_dependency('hashie', '>= 0.4.0') + s.add_runtime_dependency('hashie', '>= 0.4.0') s.authors = ["Shayne Sweeney"] s.description = %q{A Ruby wrapper for the Instagram REST and Search APIs} s.post_install_message =< Date: Fri, 12 Sep 2014 18:51:25 +0300 Subject: [PATCH 2/2] Change tabs to 2 spaces --- lib/instagram/client/embedding.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/instagram/client/embedding.rb b/lib/instagram/client/embedding.rb index 2f865171..f593714c 100644 --- a/lib/instagram/client/embedding.rb +++ b/lib/instagram/client/embedding.rb @@ -1,18 +1,18 @@ module Instagram class Client - # Defines methods related to embedding + # Defines methods related to embedding module Embedding - # Returns information about the media associated with the given short link + # Returns information about the media associated with the given short link # - # @overload oembed(url=nil, options={}) - # @param url [String] An instagram short link - # @param options [Hash] A customizable set of options - # @option options [Integer] :maxheight Maximum height of returned media - # @option options [Integer] :maxwidth Maximum width of returned media - # @option options [Integer] :callback A JSON callback to be invoked - # @return [Hashie::Mash] Information about the media associated with given short link - # @example Return information about the media associated with http://instagr.am/p/BUG/ - # Instagram.oembed(http://instagr.am/p/BUG/) + # @overload oembed(url=nil, options={}) + # @param url [String] An instagram short link + # @param options [Hash] A customizable set of options + # @option options [Integer] :maxheight Maximum height of returned media + # @option options [Integer] :maxwidth Maximum width of returned media + # @option options [Integer] :callback A JSON callback to be invoked + # @return [Hashie::Mash] Information about the media associated with given short link + # @example Return information about the media associated with http://instagr.am/p/BUG/ + # Instagram.oembed(http://instagr.am/p/BUG/) # # @see http://instagram.com/developer/embedding/#oembed # @format :json