seed-fu 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -64,7 +64,7 @@ Constraints are used to identify seeds, so that they can be updated if necessary
64
64
  s.name = "Home"
65
65
  end
66
66
 
67
- The first time this seed is loaded, a `Point` record will be created. No suppose the name is changed:
67
+ The first time this seed is loaded, a `Point` record will be created. Now suppose the name is changed:
68
68
 
69
69
  Point.seed(:x, :y) do |s|
70
70
  s.x = 4
@@ -1,4 +1,4 @@
1
1
  module SeedFu
2
2
  # The current version of Seed Fu
3
- VERSION = '2.1.0'
3
+ VERSION = '2.2.0'
4
4
  end
@@ -5,8 +5,8 @@ module SeedFu
5
5
  #
6
6
  # @example Basic usage
7
7
  # SeedFu::Writer.write('path/to/file.rb', :class_name => 'Person', :constraints => [:first_name, :last_name]) do |writer|
8
- # writer.write(:first_name => 'Jon', :last_name => 'Smith', :age => 21)
9
- # writer.write(:first_name => 'Emily', :last_name => 'McDonald', :age => 24)
8
+ # writer.add(:first_name => 'Jon', :last_name => 'Smith', :age => 21)
9
+ # writer.add(:first_name => 'Emily', :last_name => 'McDonald', :age => 24)
10
10
  # end
11
11
  #
12
12
  # # Writes the following to the file:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seed-fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,33 +10,33 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-10-04 00:00:00.000000000Z
13
+ date: 2012-01-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord
17
- requirement: &8163260 !ruby/object:Gem::Requirement
17
+ requirement: &10914340 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
21
21
  - !ruby/object:Gem::Version
22
- version: 3.1.0
22
+ version: '3.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *8163260
25
+ version_requirements: *10914340
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: activesupport
28
- requirement: &8162740 !ruby/object:Gem::Requirement
28
+ requirement: &10912500 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.0
33
+ version: '3.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *8162740
36
+ version_requirements: *10912500
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &8162280 !ruby/object:Gem::Requirement
39
+ requirement: &10911120 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '2.0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *8162280
47
+ version_requirements: *10911120
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: pg
50
- requirement: &8161800 !ruby/object:Gem::Requirement
50
+ requirement: &10910080 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *8161800
58
+ version_requirements: *10910080
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: mysql2
61
- requirement: &8161340 !ruby/object:Gem::Requirement
61
+ requirement: &10909540 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *8161340
69
+ version_requirements: *10909540
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: sqlite3
72
- requirement: &8160920 !ruby/object:Gem::Requirement
72
+ requirement: &10908980 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,7 +77,7 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *8160920
80
+ version_requirements: *10908980
81
81
  description: Seed Fu is an attempt to once and for all solve the problem of inserting
82
82
  and maintaining seed data in a database. It uses a variety of techniques gathered
83
83
  from various places around the web and combines them to create what is hopefully
@@ -121,8 +121,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 1.8.6
124
+ rubygems_version: 1.8.10
125
125
  signing_key:
126
126
  specification_version: 3
127
127
  summary: Easily manage seed data in your Active Record application
128
128
  test_files: []
129
+ has_rdoc: