seedbank 0.0.2 → 0.0.3
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.md +10 -3
- data/seedbank.gemspec +10 -7
- metadata +4 -17
data/README.md
CHANGED
|
@@ -54,13 +54,20 @@ That's it!
|
|
|
54
54
|
|
|
55
55
|
### Rails 2.x
|
|
56
56
|
|
|
57
|
-
Add
|
|
57
|
+
Add to your config/environment.rb
|
|
58
58
|
|
|
59
|
-
config.gem '
|
|
59
|
+
config.gem 'seedbank'
|
|
60
|
+
|
|
61
|
+
Install the gem;
|
|
62
|
+
|
|
63
|
+
$ rake gems:install
|
|
60
64
|
|
|
61
65
|
Then in the bottom of your applications Rakefile:
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+
require 'seedbank'
|
|
68
|
+
Seedbank.load_tasks if defined?(Seedbank)
|
|
69
|
+
|
|
70
|
+
If you vendor the gem you'll need to change the require to the specific path.
|
|
64
71
|
|
|
65
72
|
Note on Patches/Pull Request
|
|
66
73
|
============================
|
data/seedbank.gemspec
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = %q{seedbank}
|
|
3
|
-
s.version = "0.0.
|
|
3
|
+
s.version = "0.0.3"
|
|
4
4
|
|
|
5
|
-
s.required_rubygems_version = Gem::Requirement.new(">=1.2.0") if s.respond_to?
|
|
5
|
+
s.required_rubygems_version = Gem::Requirement.new(">=1.2.0") if s.respond_to?(:required_rubygems_version=)
|
|
6
6
|
s.authors = ["James McCarthy"]
|
|
7
7
|
s.date = %q{2011-03-20}
|
|
8
|
-
s.description = %q{
|
|
9
|
-
|
|
8
|
+
s.description = %q{
|
|
9
|
+
Extends Rails seeds to split out complex seeds into multiple
|
|
10
|
+
seed files and lets each environment load it's own seeds.
|
|
11
|
+
}
|
|
10
12
|
s.email = %q{james2mccarthy@gmail.com}
|
|
11
13
|
s.extra_rdoc_files = [
|
|
12
14
|
"MIT-LICENSE",
|
|
@@ -17,11 +19,12 @@ Gem::Specification.new do |s|
|
|
|
17
19
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
18
20
|
s.require_paths = ["lib"]
|
|
19
21
|
s.rubygems_version = %q{1.3.5}
|
|
20
|
-
s.summary = %q{
|
|
21
|
-
|
|
22
|
+
s.summary = %q{
|
|
23
|
+
Extends Rails seeds to split out complex seeds into their own file
|
|
24
|
+
and have different seeds per environment.
|
|
25
|
+
}
|
|
22
26
|
s.test_files = Dir.glob('test/**/*')
|
|
23
27
|
|
|
24
|
-
s.add_runtime_dependency('rails')
|
|
25
28
|
s.add_development_dependency('test-unit')
|
|
26
29
|
end
|
|
27
30
|
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: seedbank
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.3
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- James McCarthy
|
|
@@ -13,31 +13,18 @@ cert_chain: []
|
|
|
13
13
|
date: 2011-03-20 00:00:00 +00:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
|
-
- !ruby/object:Gem::Dependency
|
|
17
|
-
name: rails
|
|
18
|
-
prerelease: false
|
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
20
|
-
none: false
|
|
21
|
-
requirements:
|
|
22
|
-
- - ">="
|
|
23
|
-
- !ruby/object:Gem::Version
|
|
24
|
-
version: "0"
|
|
25
|
-
type: :runtime
|
|
26
|
-
version_requirements: *id001
|
|
27
16
|
- !ruby/object:Gem::Dependency
|
|
28
17
|
name: test-unit
|
|
29
18
|
prerelease: false
|
|
30
|
-
requirement: &
|
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
31
20
|
none: false
|
|
32
21
|
requirements:
|
|
33
22
|
- - ">="
|
|
34
23
|
- !ruby/object:Gem::Version
|
|
35
24
|
version: "0"
|
|
36
25
|
type: :development
|
|
37
|
-
version_requirements: *
|
|
38
|
-
description:
|
|
39
|
-
Extends Rails seeds to split out complex seeds into multiple
|
|
40
|
-
seed files and lets each environment load it's own seeds.
|
|
26
|
+
version_requirements: *id001
|
|
27
|
+
description: "\n Extends Rails seeds to split out complex seeds into multiple \n seed files and lets each environment load it's own seeds.\n "
|
|
41
28
|
email: james2mccarthy@gmail.com
|
|
42
29
|
executables: []
|
|
43
30
|
|