forked from aiwilliams/dataset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better gem dependency definition, added ability for your Rakefile to …
…"require 'dataset'; load 'dataset.rake'"
- Loading branch information
1 parent
65069cc
commit cfcb9fb
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,9 @@ begin | |
s.summary = 'A simple API for creating and finding sets of data in your database, built on ActiveRecord.' | ||
s.email = '[email protected]' | ||
s.files = FileList["[A-Z]*", "{lib,tasks}/**/*", "plugit/descriptor.rb"].exclude("tmp") | ||
s.require_paths = ["lib", "tasks"] | ||
s.add_dependency('activesupport', '>= 2.3.0') | ||
s.add_dependency('activerecord', '>= 2.3.0') | ||
s.homepage = "http://github.com/aiwilliams/dataset" | ||
s.description = s.summary | ||
s.authors = ['Adam Williams'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,12 @@ Gem::Specification.new do |s| | |
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Adam Williams"] | ||
s.date = %q{2009-04-14} | ||
s.date = %q{2009-06-12} | ||
s.description = %q{A simple API for creating and finding sets of data in your database, built on ActiveRecord.} | ||
s.email = %q{[email protected]} | ||
s.files = ["CHANGELOG", "LICENSE", "Rakefile", "README", "TODO", "VERSION.yml", "lib/dataset", "lib/dataset/base.rb", "lib/dataset/collection.rb", "lib/dataset/database", "lib/dataset/database/base.rb", "lib/dataset/database/mysql.rb", "lib/dataset/database/postgresql.rb", "lib/dataset/database/sqlite3.rb", "lib/dataset/extensions", "lib/dataset/extensions/cucumber.rb", "lib/dataset/extensions/rspec.rb", "lib/dataset/extensions/test_unit.rb", "lib/dataset/instance_methods.rb", "lib/dataset/load.rb", "lib/dataset/record", "lib/dataset/record/fixture.rb", "lib/dataset/record/meta.rb", "lib/dataset/record/model.rb", "lib/dataset/resolver.rb", "lib/dataset/session.rb", "lib/dataset/session_binding.rb", "lib/dataset/version.rb", "lib/dataset.rb", "tasks/dataset.rake", "plugit/descriptor.rb"] | ||
s.homepage = %q{http://github.com/aiwilliams/dataset} | ||
s.require_paths = ["lib"] | ||
s.require_paths = ["lib", "tasks"] | ||
s.rubygems_version = %q{1.3.1} | ||
s.summary = %q{A simple API for creating and finding sets of data in your database, built on ActiveRecord.} | ||
|
||
|
@@ -20,8 +20,14 @@ Gem::Specification.new do |s| | |
s.specification_version = 2 | ||
|
||
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then | ||
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.0"]) | ||
s.add_runtime_dependency(%q<activerecord>, [">= 2.3.0"]) | ||
else | ||
s.add_dependency(%q<activesupport>, [">= 2.3.0"]) | ||
s.add_dependency(%q<activerecord>, [">= 2.3.0"]) | ||
end | ||
else | ||
s.add_dependency(%q<activesupport>, [">= 2.3.0"]) | ||
s.add_dependency(%q<activerecord>, [">= 2.3.0"]) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters