seedbed 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +19 -2
- data/VERSION +1 -1
- data/seedbed.gemspec +2 -2
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -1,12 +1,29 @@
|
|
1
1
|
= seedbed
|
2
|
+
Manage groups of seeds.
|
2
3
|
|
3
|
-
|
4
|
+
= Installation
|
5
|
+
gem install seedbed
|
4
6
|
|
5
|
-
|
7
|
+
= Usage
|
8
|
+
|
9
|
+
Create db/seeds/ directory; Place your seed files in the directory.
|
10
|
+
|
11
|
+
In seeds.rb
|
6
12
|
|
7
13
|
plant :seed_file_name
|
8
14
|
plant :another_seed_file_name
|
9
15
|
|
16
|
+
When rake db:seed is run all seed files invoked by 'plant' will be run.
|
17
|
+
|
18
|
+
= Automatic Rake Tasks
|
19
|
+
|
20
|
+
Seedbed automatically generates rake tasks for existing files in the db/seeds directory. For example, if you have the file db/seeds/admin_users.rb the following rake task will be available:
|
21
|
+
|
22
|
+
rake db:seed:admin_users
|
23
|
+
|
24
|
+
Nested directories are supported and will be used as the namespace in the rake task. For example, the file db/seeds/admin/users.rb would be accessed via:
|
25
|
+
|
26
|
+
rake db:seed:admin:users
|
10
27
|
|
11
28
|
== Copyright
|
12
29
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/seedbed.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{seedbed}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Spencer Markowski", "The Able Few"]
|
12
|
-
s.date = %q{2011-01-
|
12
|
+
s.date = %q{2011-01-20}
|
13
13
|
s.description = %q{Manage seeds in individual files in db/seeds/}
|
14
14
|
s.email = %q{spencer.markowski@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seedbed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Spencer Markowski
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-01-
|
19
|
+
date: 2011-01-20 00:00:00 -06:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|