Skip to content

Commit 76190d5

Browse files
committed
added gemspec file
1 parent f371440 commit 76190d5

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
lines changed

Rakefile

+19
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
require 'rake'
22
require 'spec/rake/spectask'
33

4+
begin
5+
require 'jeweler'
6+
Jeweler::Tasks.new do |gem|
7+
gem.name = "yaml_db"
8+
gem.summary = %Q{yaml_db allows export/import of database into/from yaml files}
9+
gem.description = %Q{
10+
YamlDb is a database-independent format for dumping and restoring data. It complements the the database-independent schema format found in db/schema.rb. The data is saved into db/data.yml.
11+
This can be used as a replacement for mysqldump or pg_dump, but only for the databases typically used by Rails apps. Users, permissions, schemas, triggers, and other advanced database features are not supported - by design.
12+
Any database that has an ActiveRecord adapter should work
13+
}
14+
gem.email = "[email protected]"
15+
gem.homepage = "http://github.com/ludicast/yaml_db"
16+
gem.authors = ["Adam Wiggins","Orion Henry"]
17+
end
18+
Jeweler::GemcutterTasks.new
19+
rescue LoadError
20+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
21+
end
22+
423
desc "Run all specs"
524
Spec::Rake::SpecTask.new('spec') do |t|
625
t.spec_files = FileList['spec/*_spec.rb']

yaml_db.gemspec

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Generated by jeweler
2+
# DO NOT EDIT THIS FILE DIRECTLY
3+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4+
# -*- encoding: utf-8 -*-
5+
6+
Gem::Specification.new do |s|
7+
s.name = %q{yaml_db}
8+
s.version = "0.1.0"
9+
10+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11+
s.authors = ["Adam Wiggins", "Orion Henry"]
12+
s.date = %q{2009-12-27}
13+
s.description = %q{
14+
YamlDb is a database-independent format for dumping and restoring data. It complements the the database-independent schema format found in db/schema.rb. The data is saved into db/data.yml.
15+
This can be used as a replacement for mysqldump or pg_dump, but only for the databases typically used by Rails apps. Users, permissions, schemas, triggers, and other advanced database features are not supported - by design.
16+
Any database that has an ActiveRecord adapter should work
17+
}
18+
s.email = %q{[email protected]}
19+
s.extra_rdoc_files = [
20+
"README"
21+
]
22+
s.files = [
23+
"README",
24+
"Rakefile",
25+
"VERSION",
26+
"about.yml",
27+
"init.rb",
28+
"lib/csv_db.rb",
29+
"lib/serialization_helper.rb",
30+
"lib/yaml_db.rb",
31+
"spec/base.rb",
32+
"spec/serialization_helper_base_spec.rb",
33+
"spec/serialization_helper_dump_spec.rb",
34+
"spec/serialization_helper_load_spec.rb",
35+
"spec/serialization_utils_spec.rb",
36+
"spec/yaml_dump_spec.rb",
37+
"spec/yaml_load_spec.rb",
38+
"spec/yaml_utils_spec.rb",
39+
"tasks/yaml_db_tasks.rake"
40+
]
41+
s.homepage = %q{http://github.com/ludicast/yaml_db}
42+
s.rdoc_options = ["--charset=UTF-8"]
43+
s.require_paths = ["lib"]
44+
s.rubygems_version = %q{1.3.5}
45+
s.summary = %q{yaml_db allows export/import of database into/from yaml files}
46+
s.test_files = [
47+
"spec/base.rb",
48+
"spec/serialization_helper_base_spec.rb",
49+
"spec/serialization_helper_dump_spec.rb",
50+
"spec/serialization_helper_load_spec.rb",
51+
"spec/serialization_utils_spec.rb",
52+
"spec/yaml_dump_spec.rb",
53+
"spec/yaml_load_spec.rb",
54+
"spec/yaml_utils_spec.rb"
55+
]
56+
57+
if s.respond_to? :specification_version then
58+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
59+
s.specification_version = 3
60+
61+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
62+
else
63+
end
64+
else
65+
end
66+
end
67+

0 commit comments

Comments
 (0)