Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Relax version constraint on gemfile

  • Loading branch information...
commit f747f1e0e6770e994dda8a4db019e6dbb3a1bb69 1 parent e065350
@chebyte chebyte authored
Showing with 42 additions and 31 deletions.
  1. +6 −6 Gemfile
  2. +15 −6 Gemfile.lock
  3. +21 −19 Rakefile
View
12 Gemfile
@@ -1,12 +1,12 @@
source 'http://rubygems.org'
-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 'oauth', '~> 0.4.4'
+gem 'oauth2', '~> 0.5.2'
+gem 'simple_oauth', '~> 0.1.5'
+gem 'faraday', '~> 0.7.3'
+gem 'jeweler', '~> 1.8.3'
gem 'builder'
group :test do
- gem 'webmock'
+ gem 'webmock', '~> 1.7.10'
end
View
21 Gemfile.lock
@@ -8,6 +8,13 @@ GEM
addressable (~> 2.2.6)
multipart-post (~> 1.1.0)
rack (>= 1.1.0, < 2)
+ git (1.2.5)
+ jeweler (1.8.3)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.6.5)
multi_json (1.0.4)
multipart-post (1.1.4)
oauth (0.4.4)
@@ -16,6 +23,8 @@ GEM
multi_json (~> 1.0)
rack (1.4.1)
rake (0.8.7)
+ rdoc (3.12)
+ json (~> 1.4)
simple_oauth (0.1.5)
webmock (1.7.10)
addressable (~> 2.2, > 2.2.5)
@@ -26,9 +35,9 @@ PLATFORMS
DEPENDENCIES
builder
- faraday (= 0.7.3)
- oauth (= 0.4.4)
- oauth2 (= 0.5.2)
- rake (= 0.8.7)
- simple_oauth (= 0.1.5)
- webmock
+ faraday (~> 0.7.3)
+ jeweler (~> 1.8.3)
+ oauth (~> 0.4.4)
+ oauth2 (~> 0.5.2)
+ simple_oauth (~> 0.1.5)
+ webmock (~> 1.7.10)
View
40 Rakefile
@@ -1,26 +1,28 @@
+# encoding: utf-8
+
require 'rubygems'
-gem 'rake', '0.8.7'
+require 'bundler'
+begin
+ Bundler.setup(:default, :test)
+rescue Bundler::BundlerError => e
+ $stderr.puts e.message
+ $stderr.puts "Run `bundle install` to install missing gems"
+ exit e.status_code
+end
require 'rake'
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = "youtube_it"
- gem.summary = %Q{The most complete Ruby wrapper for youtube api's}
- gem.description = %Q{Upload, delete, update, comment on youtube videos all from one gem.}
- 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')
- gem.authors = ["kylejginavan","chebyte", "mseppae"]
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "youtube_it (or a dependency) not available. Install it with: gem install youtube_it"
+require 'jeweler'
+Jeweler::Tasks.new do |gem|
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
+ gem.name = "youtube_it"
+ gem.summary = %Q{The most complete Ruby wrapper for youtube api's}
+ gem.description = %Q{Upload, delete, update, comment on youtube videos all from one gem.}
+ gem.email = "kylejginavan@gmail.com"
+ gem.homepage = "http://github.com/kylejginavan/youtube_it"
+ gem.authors = ["kylejginavan","chebyte", "mseppae"]
+ # dependencies defined in Gemfile
end
+Jeweler::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
Please sign in to comment.
Something went wrong with that request. Please try again.