myronmarston-factory_data_preloader 0.3.0 → 0.3.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.
Files changed (3) hide show
  1. data/README.rdoc +2 -2
  2. data/VERSION.yml +1 -1
  3. metadata +1 -1
data/README.rdoc CHANGED
@@ -30,8 +30,8 @@ Load the gem using Rails' 2.1+ gem support, in either config/environment.rb, or
30
30
  :lib => 'factory_data_preloader',
31
31
  :source => 'http://gems.github.com'
32
32
 
33
- Define your preloaded data. Simply require the file(s) that define the preloaded data in your test/test_helper.rb.
34
- Define your data like this:
33
+ Define your preloaded data. FactoryData will automatically require test/factory_data.rb or test/factory_data/*.rb.
34
+ Define your data in these files like this:
35
35
 
36
36
  FactoryData.preload(:users) do |data|
37
37
  data[:thom] = User.create(:first_name => 'Thom', :last_name => 'York')
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :patch: 0
4
+ :patch: 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myronmarston-factory_data_preloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston