seedy 0.6.3 → 0.6.4

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.3
1
+ 0.6.4
@@ -2,6 +2,7 @@ require 'mysql'
2
2
  require 'active_support/core_ext'
3
3
  require 'faker'
4
4
  require 'guid'
5
+ require 'set'
5
6
  require 'seedy/connection'
6
7
  require 'seedy/buffer'
7
8
  require 'seedy/exceptions'
@@ -1,6 +1,6 @@
1
1
  module Seedy
2
2
  class DatabaseBuffer < AbstractBuffer
3
- @@limit = 2
3
+ @@limit = 1000
4
4
  class << self
5
5
  def flush
6
6
  begin_db_transaction
@@ -13,9 +13,7 @@ class SimpleGraph < AbstractGraph
13
13
  :email_addresses => 80
14
14
  }
15
15
 
16
-
17
-
18
- @@buffer = Seedy::AbstractBuffer
16
+ @@buffer = Seedy::DatabaseBuffer
19
17
 
20
18
  # Creates a new user record, and all the dependent records listed above
21
19
  def initialize()
@@ -75,7 +75,7 @@ module Seedy
75
75
  end
76
76
 
77
77
  def clear_errors
78
- @errors = Set.new
78
+ @errors = ::Set.new
79
79
  end
80
80
 
81
81
  # Generates get/set methods for keys in the attributes hash
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{seedy}
8
- s.version = "0.6.3"
8
+ s.version = "0.6.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Carl Hicks"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seedy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 3
10
- version: 0.6.3
9
+ - 4
10
+ version: 0.6.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Carl Hicks