Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding oauth2 gem require

  • Loading branch information...
commit d7f45f3670f23ac60f8dfea9959774b547aa9d94 1 parent e4b682e
@chebyte chebyte authored
Showing with 23 additions and 12 deletions.
  1. +5 −3 Gemfile
  2. +15 −8 Gemfile.lock
  3. +2 −0  Rakefile
  4. +1 −1  test/test_video.rb
View
8 Gemfile
@@ -1,8 +1,10 @@
source 'http://rubygems.org'
-gem 'oauth'
-gem 'simple_oauth'
-gem 'faraday'
+gem 'rake', '0.8.7'
+gem 'oauth', '0.4.4'
+gem 'oauth2', '0.5.2'
+gem 'simple_oauth', '0.1.5'
+gem 'faraday', '0.7.3'
gem 'builder'
group :test do
View
23 Gemfile.lock
@@ -4,15 +4,20 @@ GEM
addressable (2.2.6)
builder (3.0.0)
crack (0.3.1)
- faraday (0.7.5)
+ faraday (0.7.3)
addressable (~> 2.2.6)
- multipart-post (~> 1.1.3)
+ multipart-post (~> 1.1.0)
rack (>= 1.1.0, < 2)
+ multi_json (1.0.4)
multipart-post (1.1.4)
- oauth (0.4.5)
- rack (1.4.0)
+ oauth (0.4.4)
+ oauth2 (0.5.2)
+ faraday (~> 0.7)
+ multi_json (~> 1.0)
+ rack (1.4.1)
+ rake (0.8.7)
simple_oauth (0.1.5)
- webmock (1.7.8)
+ webmock (1.7.10)
addressable (~> 2.2, > 2.2.5)
crack (>= 0.1.7)
@@ -21,7 +26,9 @@ PLATFORMS
DEPENDENCIES
builder
- faraday
- oauth
- simple_oauth
+ faraday (= 0.7.3)
+ oauth (= 0.4.4)
+ oauth2 (= 0.5.2)
+ rake (= 0.8.7)
+ simple_oauth (= 0.1.5)
webmock
View
2  Rakefile
@@ -1,4 +1,5 @@
require 'rubygems'
+gem 'rake', '0.8.7'
require 'rake'
begin
@@ -10,6 +11,7 @@ begin
gem.email = "kylejginavan@gmail.com"
gem.homepage = "http://github.com/kylejginavan/youtube_it"
gem.add_dependency('oauth','>=0.4.4')
+ gem.add_dependency('oauth2','>=0.5.2')
gem.add_dependency('simple_oauth', '>=0.1.5')
gem.add_dependency('faraday','>=0.7.3')
gem.add_dependency('builder')
View
2  test/test_video.rb
@@ -17,7 +17,7 @@ def test_should_have_related_videos
assert_equal "tag:youtube.com,2008:video:BDqs-OZWw9o:related", response.feed_id
assert_equal 25, response.max_result_count
- assert_equal 23, response.videos.length
+ assert_equal 20, response.videos.length
assert_equal 1, response.offset
assert(response.total_result_count > 0)
assert_instance_of Time, response.updated_at
Please sign in to comment.
Something went wrong with that request. Please try again.