Skip to content

Commit

Permalink
Gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
paul committed Sep 11, 2009
1 parent e3ca15c commit 5738a16
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ begin
gem.authors = ["Paul Sadauskas"]
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings

gem.add_dependency "activesupport"
gem.add_dependency "uuidtools"
gem.add_dependency "activesupport", "~> 3.0"
gem.add_dependency "uuidtools", "~> 2.0"
end

rescue LoadError
Expand All @@ -23,6 +23,7 @@ require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
spec.spec_opts << ['--options', 'spec/spec.opts']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.0
0.1.0
55 changes: 55 additions & 0 deletions datapathy.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{datapathy}
s.version = "0.1.0"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Paul Sadauskas"]
s.date = %q{2009-09-11}
s.email = %q{psadauskas@gmail.com}
s.extra_rdoc_files = [
"LICENSE",
"README.rdoc"
]
s.files = [
".document",
".gitignore",
"LICENSE",
"README.rdoc",
"Rakefile",
"VERSION",
"lib/datapathy.rb",
"lib/datapathy/adapters/abstract_adapter.rb",
"lib/datapathy/adapters/memory_adapter.rb",
"lib/datapathy/model.rb",
"lib/datapathy/query.rb",
"spec/datapathy_spec.rb",
"spec/spec_helper.rb"
]
s.homepage = %q{http://github.com/paul/datapathy}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{TODO}
s.test_files = [
"spec/spec_helper.rb",
"spec/datapathy_spec.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0"])
s.add_runtime_dependency(%q<uuidtools>, ["~> 2.0"])
else
s.add_dependency(%q<activesupport>, ["~> 3.0"])
s.add_dependency(%q<uuidtools>, ["~> 2.0"])
end
else
s.add_dependency(%q<activesupport>, ["~> 3.0"])
s.add_dependency(%q<uuidtools>, ["~> 2.0"])
end
end
5 changes: 5 additions & 0 deletions spec/spec.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--colour
--format progress
--loadby random
--reverse
--drb

0 comments on commit 5738a16

Please sign in to comment.