seedbank 0.4.0.pre → 0.4.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/lib/seedbank/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb10a690e591a93f925a5a62b4aa641f74117138
4
- data.tar.gz: 0ce601ae90ec0e75e3a35b61c8960a240cf9113f
3
+ metadata.gz: 8c3ba57609267657c1c16f55b5e2de397c104487
4
+ data.tar.gz: 0f2fde06d7f9288761c22607739677558065a1f4
5
5
  SHA512:
6
- metadata.gz: fe5ae40e4d059b807059998d066f0b75ad897ed5bd6b664613fd0555c8e550bbdfeac9462dda2083a9d9fa9a432e36454f6e34fbb41a9ce190648f5989a5c3fb
7
- data.tar.gz: d9062426df7dc228a3a767c1797894669cab812316c4b1ff6d7e226c87c8d00ed8561e53b6ada078e2af31a646a81d298f29b451a6a042ee3b350e627e7095a7
6
+ metadata.gz: a8e3cf1e8ace47e20bb827fd6f67a6037ec3c2f2b32a85b64dd3909b53e4c6640f32f2d9bbcb3c2e2227666dd25451eb85915d55309334b2cb46e6062572a933
7
+ data.tar.gz: 4d91e63092b1acceb133552a223f0669b94875710dec4639bca7ae67001de201491cd67521bb1941c42f29915cd8a074ee04433b79082209450e189137dd7eec
data/README.md CHANGED
@@ -3,7 +3,7 @@ Seedbank
3
3
 
4
4
  Seedbank allows you to structure your Rails seed data instead of having it all dumped into one large file. I find my seed data tended to fall into two categories:
5
5
 
6
- 1. Stuff that the entire application requires.
6
+ 1. Stuff that the entire application requires.
7
7
  2. Stuff to populate my development and staging environments.
8
8
 
9
9
  Seedbank assumes that your common seed data is kept under db/seeds and any directories under `db/seeds/` are specific to an environment, so `db/seeds/development` contains all your **development-only** seed data.
@@ -32,7 +32,6 @@ This would generate the following Rake tasks
32
32
  rake db:seed:common # Load the seed data from db/seeds.rb and db/seeds/*.seeds.rb.
33
33
  rake db:seed:development # Load the seed data from db/seeds.rb, db/seeds/*.seeds.rb and db/seeds/development/*.seeds.rb.
34
34
  rake db:seed:development:users # Load the seed data from db/seeds/development/users.seeds.rb
35
- rake db:seed:foo # Load the seed data from db/seeds/foo.seeds.rb
36
35
  rake db:seed:original # Load the seed data from db/seeds.rb
37
36
 
38
37
  Therefore, assuming `RAILS_ENV` is not set or it is "development":
@@ -41,12 +40,16 @@ Therefore, assuming `RAILS_ENV` is not set or it is "development":
41
40
 
42
41
  will load the seeds in `db/seeds.rb`, `db/seeds/bar.seeds.rb`, `db/seeds/foo.seeds.rb` and `db/seeds/development/users.seeds.rb`. Whereas, setting the `RAILS_ENV` variable, like so:
43
42
 
44
- $ RAILS_ENV=production db:seed
43
+ $ RAILS_ENV=production rake db:seed
45
44
 
46
45
  will load the seeds in `db/seeds.rb`, `db/seeds/bar.seeds.rb` and `db/seeds/foo.seeds.rb`.
47
46
 
48
47
  Installation
49
48
  ============
49
+ ### Rails 5.x
50
+
51
+ Seedbank has not been updated to work with Rails 5. I've not tested it with 5.x and am working on a new version specifically for 5.x. That said, I believe some
52
+ people are using it with no problems.
50
53
 
51
54
  ### Rails 3.x and 4.x
52
55
 
@@ -69,7 +72,7 @@ config.gem 'seedbank'
69
72
  Install the gem:
70
73
 
71
74
  $ rake gems:install
72
-
75
+
73
76
  Or, if you're using Bundler:
74
77
 
75
78
  $ bundle install
@@ -182,4 +185,4 @@ Note on Patches/Pull Request
182
185
 
183
186
  Copyright
184
187
  =========
185
- Copyright (c) 2011 James McCarthy, released under the MIT license
188
+ Copyright (c) 2011-2015 James McCarthy, released under the MIT license
@@ -1,3 +1,3 @@
1
1
  module Seedbank
2
- VERSION = "0.4.0.pre"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seedbank
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.pre
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James McCarthy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-14 00:00:00.000000000 Z
11
+ date: 2016-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: 1.2.0
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.2.2
126
+ rubygems_version: 2.5.1
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Extends Rails seeds to split out complex seeds into their own file and have