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.
- Loading branch information
Showing
3 changed files
with
21 additions
and
110 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
$:.unshift(File.join(File.dirname(__FILE__), 'lib')) | ||
|
||
require File.join(File.dirname(__FILE__), 'plugit/descriptor') | ||
# require File.join(File.dirname(__FILE__), 'plugit/descriptor') | ||
require 'rubygems' | ||
require 'spec/rake/spectask' | ||
|
||
|
@@ -11,21 +9,3 @@ Spec::Rake::SpecTask.new do |t| | |
t.spec_files = FileList['spec/**/*_spec.rb'] | ||
t.spec_opts = ['--options', 'spec/spec.opts'] | ||
end | ||
|
||
begin | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |s| | ||
s.name = 'dataset' | ||
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'] | ||
end | ||
rescue LoadError | ||
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
:patch: 2 | ||
:patch: 0 | ||
:major: 1 | ||
:minor: 3 | ||
:minor: 4 |
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 |
---|---|---|
@@ -1,92 +1,23 @@ | ||
# Generated by jeweler | ||
# DO NOT EDIT THIS FILE DIRECTLY | ||
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command | ||
# -*- encoding: utf-8 -*- | ||
Gem::Specification.new do |gem| | ||
gem.name = 'dataset' | ||
gem.version = '1.4.0.radiant' | ||
gem.date = Time.now.strftime('%Y-%m-%d') | ||
|
||
Gem::Specification.new do |s| | ||
s.name = %q{dataset} | ||
s.version = "1.3.2" | ||
gem.add_dependency 'activesupport', '>= 2.3.0' | ||
gem.add_dependency 'activerecord', '>= 2.3.0' | ||
# gem.add_development_dependency 'rspec', '~> 1.2.9' | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Adam Williams"] | ||
s.date = %q{2009-12-29} | ||
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.extra_rdoc_files = [ | ||
"LICENSE", | ||
"README", | ||
"TODO" | ||
] | ||
s.files = [ | ||
"CHANGELOG", | ||
"LICENSE", | ||
"README", | ||
"Rakefile", | ||
"TODO", | ||
"VERSION.yml", | ||
"lib/dataset.rb", | ||
"lib/dataset/base.rb", | ||
"lib/dataset/collection.rb", | ||
"lib/dataset/database/base.rb", | ||
"lib/dataset/database/mysql.rb", | ||
"lib/dataset/database/postgresql.rb", | ||
"lib/dataset/database/sqlite3.rb", | ||
"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/fixture.rb", | ||
"lib/dataset/record/heirarchy.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", | ||
"plugit/descriptor.rb", | ||
"tasks/dataset.rake" | ||
] | ||
s.homepage = %q{http://github.com/aiwilliams/dataset} | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_paths = ["lib", "tasks"] | ||
s.rubygems_version = %q{1.3.5} | ||
s.summary = %q{A simple API for creating and finding sets of data in your database, built on ActiveRecord.} | ||
s.test_files = [ | ||
"spec/dataset/cucumber_spec.rb", | ||
"spec/dataset/database/base_spec.rb", | ||
"spec/dataset/record/heirarchy_spec.rb", | ||
"spec/dataset/resolver_spec.rb", | ||
"spec/dataset/rspec_spec.rb", | ||
"spec/dataset/session_binding_spec.rb", | ||
"spec/dataset/session_spec.rb", | ||
"spec/dataset/test_unit_spec.rb", | ||
"spec/fixtures/datasets/constant_not_defined.rb", | ||
"spec/fixtures/datasets/ending_with_dataset.rb", | ||
"spec/fixtures/datasets/exact_name.rb", | ||
"spec/fixtures/datasets/not_a_dataset_base.rb", | ||
"spec/fixtures/more_datasets/in_another_directory.rb", | ||
"spec/models.rb", | ||
"spec/schema.rb", | ||
"spec/spec_helper.rb", | ||
"spec/stubs/mini_rails.rb", | ||
"spec/stubs/test_help.rb" | ||
] | ||
gem.summary = 'A simple API for creating and finding sets of data in your database, built on ActiveRecord.' | ||
# gem.description = "Longer description." | ||
|
||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 3 | ||
gem.authors = ['Adam Williams'] | ||
gem.email = '[email protected]' | ||
gem.homepage = 'http://github.com/aiwilliams/dataset' | ||
|
||
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 | ||
gem.rubyforge_project = nil | ||
gem.has_rdoc = false | ||
# gem.rdoc_options = ['--main', 'README.rdoc', '--charset=UTF-8'] | ||
# gem.extra_rdoc_files = ['README.rdoc', 'LICENSE', 'CHANGELOG.rdoc'] | ||
|
||
gem.files = Dir["[A-Z]*", "{lib,tasks}/**/*", "plugit/descriptor.rb"] | ||
end |