Merge branch 'master' of git://github.com/couchrest/couchrest_model

This commit is contained in:
Lucas Renan 2011-05-17 22:27:00 -03:00
commit f11a99dbfb
2 changed files with 11 additions and 15 deletions

View file

@ -1,23 +1,20 @@
require 'rubygems' require 'rubygems'
require 'bundler' require 'bundler'
Bundler::GemHelper.install_tasks require 'rspec/core/rake_task'
require 'rake'
require "rake/rdoctask" require "rake/rdoctask"
require 'rspec' Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
desc "Run all specs" desc "Run all specs"
Rspec::Core::RakeTask.new(:spec) do |spec| RSpec::Core::RakeTask.new(:spec) do |spec|
spec.rspec_opts = ["--color"] spec.rspec_opts = ["--color"]
spec.pattern = 'spec/**/*_spec.rb' spec.pattern = 'spec/**/*_spec.rb'
end end
desc "Print specdocs" desc "Print specdocs"
Rspec::Core::RakeTask.new(:doc) do |spec| RSpec::Core::RakeTask.new(:doc) do |spec|
spec.rspec_opts = ["--format", "specdoc"] spec.rspec_opts = ["--format", "specdoc"]
spec.pattern = 'spec/*_spec.rb' spec.pattern = 'spec/*_spec.rb'
end end
desc "Generate the rdoc" desc "Generate the rdoc"
@ -38,4 +35,4 @@ module Rake
end end
Rake.remove_task("github:release") Rake.remove_task("github:release")
Rake.remove_task("release") Rake.remove_task("release")

View file

@ -17,17 +17,16 @@ Gem::Specification.new do |s|
s.homepage = %q{http://github.com/couchrest/couchrest_model} s.homepage = %q{http://github.com/couchrest/couchrest_model}
s.rubygems_version = %q{1.3.7} s.rubygems_version = %q{1.3.7}
s.summary = %q{Extends the CouchRest Document for advanced modelling.} s.summary = %q{Extends the CouchRest Document for advanced modelling.}
s.files = `git ls-files`.split("\n") s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"] s.require_paths = ["lib"]
s.add_dependency(%q<couchrest>, "1.1.0.pre2") s.add_dependency(%q<couchrest>, "1.1.0.pre2")
s.add_dependency(%q<mime-types>, "~> 1.15") s.add_dependency(%q<mime-types>, "~> 1.15")
s.add_dependency(%q<activemodel>, "~> 3.0") s.add_dependency(%q<activemodel>, "~> 3.0")
s.add_dependency(%q<tzinfo>, "~> 0.3.22") s.add_dependency(%q<tzinfo>, "~> 0.3.22")
s.add_dependency(%q<railties>, "~> 3.0")
s.add_development_dependency(%q<rspec>, ">= 2.0.0") s.add_development_dependency(%q<rspec>, ">= 2.0.0")
s.add_development_dependency(%q<rack-test>, ">= 0.5.7") s.add_development_dependency(%q<rack-test>, ">= 0.5.7")
# s.add_development_dependency("jruby-openssl", ">= 0.7.3") # s.add_development_dependency("jruby-openssl", ">= 0.7.3")