Skip to content
Browse files

Jeweler 1.5

  • Loading branch information...
1 parent 15b6df1 commit fd04f750675df3a39995de1b34bc13eb218ca259 @RISCfuture RISCfuture committed Nov 26, 2010
Showing with 73 additions and 76 deletions.
  1. +14 −19 Gemfile.lock
  2. +1 −1 LICENSE
  3. +11 −13 Rakefile
  4. +47 −43 dropbox.gemspec
View
33 Gemfile.lock
@@ -2,31 +2,26 @@ GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.2)
- gemcutter (0.6.1)
git (1.2.5)
- jeweler (1.4.0)
- gemcutter (>= 0.1.0)
+ jeweler (1.5.1)
+ bundler (~> 1.0.0)
git (>= 1.2.5)
- rubyforge (>= 2.0.0)
+ rake
json (1.4.6)
- json_pure (1.4.6)
mechanize (1.0.0)
nokogiri (>= 1.2.1)
multipart-post (1.0.1)
- nokogiri (1.4.3.1)
- oauth (0.4.3)
- rspec (2.0.1)
- rspec-core (~> 2.0.1)
- rspec-expectations (~> 2.0.1)
- rspec-mocks (~> 2.0.1)
- rspec-core (2.0.1)
- rspec-expectations (2.0.1)
- diff-lcs (>= 1.1.2)
- rspec-mocks (2.0.1)
- rspec-core (~> 2.0.1)
- rspec-expectations (~> 2.0.1)
- rubyforge (2.0.4)
- json_pure (>= 1.1.7)
+ nokogiri (1.4.4)
+ oauth (0.4.4)
+ rake (0.8.7)
+ rspec (2.1.0)
+ rspec-core (~> 2.1.0)
+ rspec-expectations (~> 2.1.0)
+ rspec-mocks (~> 2.1.0)
+ rspec-core (2.1.0)
+ rspec-expectations (2.1.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.1.0)
PLATFORMS
ruby
View
2 LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 Tim Morgan
+Copyright (c) 2010 Tim Morgan
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
24 Rakefile
@@ -1,26 +1,24 @@
-require 'rake'
+require 'rubygems'
+require 'bundler'
begin
- require 'bundler'
-rescue LoadError
- puts "Bundler is not installed; install with `gem install bundler`."
- exit 1
+ Bundler.setup(:default, :development)
+rescue Bundler::BundlerError => e
+ $stderr.puts e.message
+ $stderr.puts "Run `bundle install` to install missing gems"
+ exit e.status_code
end
+require 'rake'
-Bundler.require :default
-
+require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "dropbox"
gem.summary = %Q{Ruby client library for the official Dropbox API}
gem.description = %Q{An easy-to-use client library for the official Dropbox API.}
gem.email = "dropbox@timothymorgan.info"
gem.homepage = "http://github.com/RISCfuture/dropbox"
gem.authors = [ "Tim Morgan" ]
- gem.add_dependency 'oauth', '>= 0.3.6'
- gem.add_dependency 'json', '>= 1.2.0'
- gem.add_dependency 'multipart-post', '>= 1.0'
- gem.add_dependency 'mechanize', '>= 1.0.0'
end
-Jeweler::GemcutterTasks.new
+Jeweler::RubygemsDotOrgTasks.new
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new
@@ -36,4 +34,4 @@ Rake::RDocTask.new(:doc) do |rdoc|
rdoc.rdoc_files.include('lib/**/*.rb')
end
-task(default: :spec)
+task :default => :spec
View
90 dropbox.gemspec
@@ -1,69 +1,67 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{dropbox}
- s.version = "1.1.2"
+ s.version = "1.2.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Tim Morgan"]
- s.date = %q{2010-10-31}
+ s.date = %q{2010-11-26}
s.description = %q{An easy-to-use client library for the official Dropbox API.}
s.email = %q{dropbox@timothymorgan.info}
s.extra_rdoc_files = [
"ChangeLog",
- "LICENSE",
- "README.rdoc"
+ "LICENSE",
+ "README.rdoc"
]
s.files = [
".document",
- ".gitignore",
- ".rspec",
- "ChangeLog",
- "Gemfile",
- "Gemfile.lock",
- "LICENSE",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "dropbox.gemspec",
- "keys.json.example",
- "lib/dropbox.rb",
- "lib/dropbox/api.rb",
- "lib/dropbox/entry.rb",
- "lib/dropbox/event.rb",
- "lib/dropbox/extensions/array.rb",
- "lib/dropbox/extensions/hash.rb",
- "lib/dropbox/extensions/module.rb",
- "lib/dropbox/extensions/object.rb",
- "lib/dropbox/extensions/string.rb",
- "lib/dropbox/extensions/to_bool.rb",
- "lib/dropbox/memoization.rb",
- "lib/dropbox/revision.rb",
- "lib/dropbox/session.rb",
- "spec/dropbox/api_spec.rb",
- "spec/dropbox/entry_spec.rb",
- "spec/dropbox/event_spec.rb",
- "spec/dropbox/revision_spec.rb",
- "spec/dropbox/session_spec.rb",
- "spec/dropbox_spec.rb",
- "spec/spec_helper.rb"
+ ".rspec",
+ "ChangeLog",
+ "Gemfile",
+ "Gemfile.lock",
+ "LICENSE",
+ "README.rdoc",
+ "Rakefile",
+ "VERSION",
+ "dropbox.gemspec",
+ "keys.json.example",
+ "lib/dropbox.rb",
+ "lib/dropbox/api.rb",
+ "lib/dropbox/entry.rb",
+ "lib/dropbox/event.rb",
+ "lib/dropbox/extensions/array.rb",
+ "lib/dropbox/extensions/hash.rb",
+ "lib/dropbox/extensions/module.rb",
+ "lib/dropbox/extensions/object.rb",
+ "lib/dropbox/extensions/string.rb",
+ "lib/dropbox/extensions/to_bool.rb",
+ "lib/dropbox/memoization.rb",
+ "lib/dropbox/revision.rb",
+ "lib/dropbox/session.rb",
+ "spec/dropbox/api_spec.rb",
+ "spec/dropbox/entry_spec.rb",
+ "spec/dropbox/event_spec.rb",
+ "spec/dropbox/revision_spec.rb",
+ "spec/dropbox/session_spec.rb",
+ "spec/dropbox_spec.rb",
+ "spec/spec_helper.rb"
]
s.homepage = %q{http://github.com/RISCfuture/dropbox}
- s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{Ruby client library for the official Dropbox API}
s.test_files = [
"spec/dropbox/api_spec.rb",
- "spec/dropbox/entry_spec.rb",
- "spec/dropbox/event_spec.rb",
- "spec/dropbox/revision_spec.rb",
- "spec/dropbox/session_spec.rb",
- "spec/dropbox_spec.rb",
- "spec/spec_helper.rb"
+ "spec/dropbox/entry_spec.rb",
+ "spec/dropbox/event_spec.rb",
+ "spec/dropbox/revision_spec.rb",
+ "spec/dropbox/session_spec.rb",
+ "spec/dropbox_spec.rb",
+ "spec/spec_helper.rb"
]
if s.respond_to? :specification_version then
@@ -75,17 +73,23 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<json>, [">= 1.2.0"])
s.add_runtime_dependency(%q<multipart-post>, [">= 1.0"])
s.add_runtime_dependency(%q<mechanize>, [">= 1.0.0"])
+ s.add_runtime_dependency(%q<jeweler>, [">= 0"])
+ s.add_runtime_dependency(%q<rspec>, [">= 2.0"])
else
s.add_dependency(%q<oauth>, [">= 0.3.6"])
s.add_dependency(%q<json>, [">= 1.2.0"])
s.add_dependency(%q<multipart-post>, [">= 1.0"])
s.add_dependency(%q<mechanize>, [">= 1.0.0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<rspec>, [">= 2.0"])
end
else
s.add_dependency(%q<oauth>, [">= 0.3.6"])
s.add_dependency(%q<json>, [">= 1.2.0"])
s.add_dependency(%q<multipart-post>, [">= 1.0"])
s.add_dependency(%q<mechanize>, [">= 1.0.0"])
+ s.add_dependency(%q<jeweler>, [">= 0"])
+ s.add_dependency(%q<rspec>, [">= 2.0"])
end
end

0 comments on commit fd04f75

Please sign in to comment.
Something went wrong with that request. Please try again.